@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&display=swap");

:root {
  --green: #1d7a35;
  --green-dark: #145a27;
  --green-hover: #176a2d;
  --mint: #7ee07f;
  --ink: #12201a;
  --muted: #3d4a42;
  --soft: #4a5850;
  --line: #e1e8e3;
  --mint-bg: #eef6ef;
  --footer: #0c2418;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Figtree, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #e6ece7;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.logo img { height: 58px; width: auto; display: block; }
.bar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 0;
}
.nav-links a.is-on { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--green); }
.nav-links a:hover { color: var(--green); }
.nav-rule { width: 1px; height: 32px; background: #d9e2db; }
.nav-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--mint-bg); color: var(--green); }
.nav-drop {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 16px;
}
.nav-drop a {
  display: block;
  padding: 12px 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #eef3ef;
}
.nav-drop a.is-on,
.nav-drop a:hover { color: var(--green); }
body:has(.site-nav) nav.navbar,
body:has(.site-nav) footer.web-footer,
body:has(.site-nav) .web-footer,
body:has(.site-nav) .sidebar-column,
body:has(.site-nav) .tn-root,
body:has(.site-nav) #portal-ai-root,
body:has(.site-nav) #staff-ai-root { display: none !important; }
.account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  max-width: 260px;
  padding: 0 14px 0 8px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.account:hover { background: var(--mint-bg); color: var(--ink); }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}
.account-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.account b { font-size: 14px; font-weight: 700; }
.account small {
  font-size: 11px;
  font-weight: 500;
  color: var(--soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}
.btn-outline, .btn-primary, .btn-ghost, .btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-outline { border: 1.5px solid var(--green); color: var(--ink); background: #fff; }
.btn-outline:hover { background: var(--mint-bg); color: var(--ink); }
.btn-primary, .btn-green { background: var(--green); color: #fff; }
.btn-primary:hover, .btn-green:hover { background: var(--green-hover); color: #fff; }
.btn-ghost { height: 54px; padding: 0 26px; border: 1.5px solid #fff; color: #fff; background: transparent; font-size: 15px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 15px; gap: 10px; }

.hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  color: #fff;
  background: #0c1a12;
}
.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-media { z-index: 0; }
.hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(8,24,14,.84) 0%, rgba(8,24,14,.58) 40%, rgba(8,24,14,.18) 72%);
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.is-on { opacity: 1; }
img.hero-slide,
video.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  image-rendering: auto;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-copy {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 88px 0 120px;
}
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow i { width: 40px; height: 2px; background: var(--green); display: block; }
.eyebrow span, .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .eyebrow i { background: #5fd36a; }
.hero .eyebrow span { color: #e3efe5; }
.kicker-row img { display: none; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { margin: 0; font-size: 18px; line-height: 1.55; color: #eef4ef; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

.band {
  position: relative;
  z-index: 5;
  background: var(--mint-bg);
}
.stats-row { display: flex; justify-content: flex-end; }
.stats {
  margin-top: -96px;
  position: relative;
  z-index: 6;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(16,40,24,.12);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 540px;
}
.stat { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.stat + .stat { border-left: 1px solid #e3e9e4; padding-left: 20px; }
.stat:not(:last-child) { padding-right: 20px; }
.stat svg { display: block; }
.stat strong { font-size: 30px; font-weight: 700; letter-spacing: -0.5px; }
.stat span { font-size: 14px; color: var(--soft); font-weight: 500; }

.issue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 40px 0 88px;
}
.issue-copy, .issue-side { flex: 1 1 480px; min-width: 0; }
.issue-copy { display: flex; flex-direction: column; gap: 18px; }
.issue h2, .block h2, .faq-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.issue p, .block .intro { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.issue-side { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; }
.doc-art {
  position: relative;
  width: 168px;
  height: 176px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16,40,24,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.doc-sheet {
  width: 96px; height: 118px; background: #f1f3f2; border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.06); padding: 18px 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.doc-sheet i { height: 6px; background: #d6dbd8; border-radius: 3px; display: block; }
.doc-send {
  position: absolute; top: 46px; right: 10px;
  width: 46px; height: 46px; border-radius: 50%; background: #2b9a44;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(29,122,53,.35);
}
.points { flex: 1 1 240px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.points li { display: flex; gap: 16px; align-items: flex-start; }
.points .bubble {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: #fff;
  box-shadow: 0 4px 12px rgba(16,40,24,.08);
  display: flex; align-items: center; justify-content: center;
}
.points strong { display: block; font-size: 15px; }
.points span { display: block; margin-top: 4px; font-size: 14px; color: var(--soft); }

.block { padding: 88px 0 48px; display: flex; flex-direction: column; gap: 32px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--green); padding: 10px 0 4px; color: var(--green);
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.doc-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 2px 8px rgba(16,40,24,.04); color: inherit; text-decoration: none;
}
.doc-card b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.doc-card small { display: block; margin-top: 6px; font-size: 13px; color: #5a6760; }
.doc-card .dl {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; background: var(--mint-bg);
  display: flex; align-items: center; justify-content: center; color: var(--green);
}

.wiki {
  margin-top: 8px;
  border-radius: 14px;
  padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  color: #fff;
  background-image:
    linear-gradient(90deg, #1b6e33 0%, #1b6e33 55%, rgba(27,110,51,.35) 80%, rgba(27,110,51,.1) 100%),
    url("/assets/portal2026/wiki-park.jpg");
  background-size: cover;
  background-position: right center;
  overflow: hidden;
}
.wiki-main { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; flex: 1 1 520px; min-width: 0; }
.wiki-book {
  width: 88px; height: 88px; border-radius: 14px; background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.wiki .eyebrow span { letter-spacing: 1.8px; color: #d4ecd8; }
.wiki h3 { margin: 0; font-size: 28px; font-weight: 700; }
.wiki p { margin: 0; font-size: 16px; line-height: 1.55; color: #eaf5ec; max-width: 460px; }
.wiki .btn-outline { background: #fff; color: var(--green-dark); height: 52px; padding: 0 28px; font-weight: 700; }
.wiki .btn-outline:hover { background: var(--mint-bg); }

.faq-wrap { padding: 48px 0 96px; display: flex; flex-direction: column; gap: 32px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.faq details[open] { border-color: #cfe3d3; background: #f6faf6; }
.faq summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #f6faf6; }
.faq .q {
  flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: #8a958f; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.faq .q .ico { display: none; }
.faq .q::after { content: "?"; }
.faq details[open] .q { background: #2b9a44; }
.faq details[open] summary { font-weight: 700; color: var(--green-dark); }
.faq .q-label, .faq summary > span:nth-child(2) { flex: 1 1 auto; min-width: 0; text-align: left; }
.faq .chev, .faq .ico-chevron {
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  background: none;
  mask: none;
  transform: rotate(45deg);
  margin-right: 4px;
}
.faq details[open] .chev, .faq details[open] .ico-chevron { transform: rotate(225deg); }
.faq p { margin: 0; padding: 4px 22px 22px 64px; font-size: 15px; line-height: 1.65; color: var(--muted); white-space: pre-wrap; }

.foot { background: var(--footer); color: #dfe9e2; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 64px 0 48px;
}
.foot-logo { height: 72px; width: auto; display: block; }
.foot p { margin: 0; font-size: 15px; line-height: 1.6; color: #c9d6cd; max-width: 260px; }
.foot h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #fff; }
.foot a { color: #c9d6cd; text-decoration: none; font-size: 14px; }
.foot a:hover { color: #fff; }
.foot nav, .contact { display: flex; flex-direction: column; gap: 12px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: #c9d6cd; }
.contact-line svg { flex: 0 0 auto; margin-top: 2px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.store {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 14px; border: 1px solid #5d6f64; border-radius: 8px;
  background: #000; color: #fff; text-decoration: none; line-height: 1.05;
}
.store small { display: block; font-size: 9px; color: #fff; }
.store b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.legal {
  border-top: 1px solid #23402f;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 20px 0; font-size: 13px; color: #c9d6cd;
}
.legal span:last-child { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.legal a { color: #c9d6cd; text-decoration: none; }
.legal a:hover { color: #fff; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.story-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(16, 40, 24, .05);
  min-width: 0;
  min-height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
.story-card:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 40, 24, .09);
}
.story-thumb {
  aspect-ratio: 16 / 10;
  background: var(--mint-bg);
  overflow: hidden;
}
.story-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.story-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--green);
}
.story-card h3, .story-card h2 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.story-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-empty { margin: 0; color: var(--muted); font-size: 15px; }
.story-page { width: min(1200px, calc(100% - 48px)); margin: 0 auto 64px; padding-top: 36px; }
.story-crumb { display: flex; gap: 8px; align-items: center; color: var(--soft); font-size: 14px; margin-bottom: 18px; }
.story-crumb a { color: var(--green); text-decoration: none; font-weight: 600; }
.story-article { width: min(760px, calc(100% - 48px)); margin: 0 auto 72px; padding-top: 36px; }
.article-cover {
  border-radius: 12px;
  overflow: hidden;
  background: var(--mint-bg);
  margin: 4px 0 22px;
}
.article-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.article-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
}
.article-title {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.5px;
}
.article-dek {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}
.story-prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.story-prose p { margin: 0 0 1em; }
.story-prose img { border-radius: 12px; height: auto; }
.story-back { margin-top: 28px; font-weight: 700; }
.story-more {
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.story-more h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

main.container { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.page-pad { padding-top: 8px; }
.kicker-row { display: flex; align-items: center; gap: 14px; color: var(--muted); letter-spacing: 1.6px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.muted { color: var(--muted); }

@media (max-width: 1100px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links, .nav-rule, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .bar-right { margin-left: auto; gap: 0; }
  .topbar.is-open .nav-drop { display: flex; }
  .hero-copy { padding: 48px 0 88px; }
  .stats { margin-top: -56px; max-width: none; padding: 18px 12px; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .issue, .block, .faq-wrap { padding-left: 0; padding-right: 0; }
  .wiki { padding: 28px 20px; }
  .nav-actions { width: auto; }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; }
  .article-cover img { height: 180px; }
}
@media (max-width: 520px) {
  .bar { padding: 12px 0; }
  .logo img { height: 46px; }
  .nav-actions a, .account { max-width: none; }
  .account small { max-width: none; }
}

.signed-out-note {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: #163024;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(22, 48, 36, 0.22);
}
.signed-out-note[hidden] { display: none !important; }
