:root {
  color-scheme: dark;
  --page-bg: #061321;
  --page-bg-raised: #0b2237;
  --page-panel: rgba(10, 31, 50, .92);
  --page-panel-soft: rgba(15, 43, 67, .72);
  --page-border: rgba(236, 195, 101, .28);
  --page-border-blue: rgba(143, 202, 234, .24);
  --page-gold: #f1cc72;
  --page-gold-bright: #ffe8a8;
  --page-ink: #f5efe3;
  --page-muted: #bdcedb;
  --page-link: #9bd8ff;
  --page-font-display: "Cinzel", Georgia, serif;
  --page-font-body: "IM Fell English", Georgia, serif;
  --page-font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-cyan: #79d6e8;
  --page-green: #9bd6a7;
  --page-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--page-ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(60, 140, 180, .16), transparent 28rem),
    radial-gradient(circle at 90% 32%, rgba(202, 142, 47, .09), transparent 24rem),
    linear-gradient(180deg, #091d30, var(--page-bg) 42%, #040b12);
  font-family: var(--page-font-system);
  line-height: 1.65;
}

a {
  color: var(--page-link);
}

a:hover,
a:focus-visible {
  color: var(--page-gold-bright);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 17, 29, .92);
  backdrop-filter: blur(12px);
}

.site-nav {
  width: min(var(--page-max), calc(100% - 2rem));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--page-gold-bright);
  font: 900 1.05rem/1 var(--page-font-display);
  letter-spacing: .04em;
  text-decoration: none;
}

.site-brand img {
  border-radius: 9px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .4));
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem .9rem;
}

.site-nav-links a {
  color: #d8e7f1;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav-links a[aria-current="page"] {
  color: var(--page-gold-bright);
}

.site-nav .nav-play {
  padding: .42rem .7rem;
  color: #271902;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe8a8, #d69730);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.site-menu-toggle {
  display: none;
  min-height: 40px;
  padding: .5rem .75rem;
  color: var(--page-ink);
  border: 1px solid var(--page-border-blue);
  border-radius: 8px;
  background: rgba(13, 41, 63, .8);
  font-weight: 800;
}

.site-main {
  width: min(var(--page-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.site-hero {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(1.4rem, 5vw, 3.5rem);
  border: 1px solid var(--page-border);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, .96) 0%, rgba(4, 14, 24, .84) 50%, rgba(4, 14, 24, .35)),
    linear-gradient(180deg, rgba(5, 12, 20, .08), rgba(5, 12, 20, .9)),
    url("/assets/optimized/login-background-1448x1086-cec197d384ba.webp") center / cover no-repeat;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .42);
}

.site-hero-copy {
  max-width: 690px;
}

.site-eyebrow {
  display: block;
  margin-bottom: .5rem;
  color: var(--page-gold);
  font: 900 .72rem/1.3 var(--page-font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: #fff3c7;
  font: 900 clamp(2rem, 6vw, 4.35rem)/1.03 var(--page-font-display);
  text-wrap: balance;
}

.site-hero p {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: #e0e9ef;
  font: 400 clamp(1.05rem, 2vw, 1.25rem)/1.55 var(--page-font-body);
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.25rem;
}

.site-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border: 1px solid rgba(255, 235, 174, .7);
  border-radius: 10px;
  color: #251704;
  background: linear-gradient(180deg, #ffe7a7, #d99a31);
  font: 900 .82rem/1 var(--page-font-display);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 24px rgba(0,0,0,.28);
}

.site-button.secondary {
  color: #e7f3fb;
  background: rgba(6, 23, 39, .72);
  border-color: rgba(151, 207, 236, .36);
}

.site-button.ghost {
  color: #c9e6f5;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.hero-play-button {
  min-width: 218px;
  min-height: 62px;
  flex-direction: column;
  gap: .22rem;
  padding: .8rem 1.35rem;
  font-size: .94rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 1px rgba(255,218,117,.16), 0 14px 34px rgba(0,0,0,.4);
}

.hero-play-button small {
  color: #5a3909;
  font: 800 .68rem/1 var(--page-font-body);
  letter-spacing: .04em;
}

.content-section {
  margin-top: 1.25rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--page-border-blue);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--page-panel), rgba(5, 18, 30, .94));
  box-shadow: 0 16px 38px rgba(0,0,0,.24);
}

.content-section h2 {
  margin: 0 0 .75rem;
  color: var(--page-gold-bright);
  font: 800 clamp(1.35rem, 3vw, 2rem)/1.2 var(--page-font-display);
}

.content-section h3 {
  margin: 1.25rem 0 .35rem;
  color: #f0d691;
  font: 800 1rem/1.3 var(--page-font-display);
}

.content-section p,
.content-section li {
  color: var(--page-muted);
}

.content-section p {
  max-width: 78ch;
  margin: .7rem 0 0;
}

.content-section strong {
  color: #f4e8ce;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.content-card {
  padding: 1rem;
  border: 1px solid rgba(240, 203, 116, .2);
  border-radius: 14px;
  background: var(--page-panel-soft);
}

.content-card h3 {
  margin-top: 0;
}

.content-card p {
  margin-bottom: 0;
}

.article-heading {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  text-align: center;
}

.article-heading h1 {
  margin: 0;
  color: var(--page-gold-bright);
  font: 900 clamp(2rem, 5vw, 3.5rem)/1.08 var(--page-font-display);
  text-wrap: balance;
}

.article-heading p {
  margin: .8rem auto 0;
  color: var(--page-muted);
  font: 400 1.12rem/1.55 var(--page-font-body);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.article-index {
  position: sticky;
  top: 86px;
  display: grid;
  gap: .45rem;
  padding: 1rem;
  border: 1px solid var(--page-border-blue);
  border-radius: 14px;
  background: rgba(6, 23, 38, .88);
}

.article-index strong {
  color: var(--page-gold);
  font: 800 .76rem/1.3 var(--page-font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-index a {
  color: #d4e5f0;
  font-size: .8rem;
  text-decoration: none;
}

.article-body {
  display: grid;
  gap: 1rem;
}

.numbered-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #241604;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe5a0, #c98926);
  font-weight: 950;
}

.notice {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--page-border);
  border-radius: 12px;
  color: #e7dcc5;
  background: rgba(77, 53, 21, .24);
}

.faq-list {
  display: grid;
  gap: .8rem;
}

.faq-list details {
  padding: .9rem 1rem;
  border: 1px solid var(--page-border-blue);
  border-radius: 12px;
  background: rgba(9, 31, 50, .74);
}

.faq-list summary {
  color: #f3dfaa;
  cursor: pointer;
  font-weight: 850;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(3, 10, 17, .72);
}

.site-footer-inner {
  width: min(var(--page-max), calc(100% - 2rem));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .7rem 1rem;
  margin: 0 auto;
  padding: 1.4rem 0 2rem;
  color: #8fa7b9;
  font-size: .78rem;
}

.reading-progress {
  position: fixed;
  z-index: 30;
  inset: 0 auto auto 0;
  width: var(--reading-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--page-cyan), var(--page-gold-bright));
  box-shadow: 0 0 12px rgba(121, 214, 232, .65);
}

.home-main {
  overflow: hidden;
}

.home-hero {
  min-height: min(760px, calc(100vh - 100px));
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  background:
    linear-gradient(90deg, rgba(3, 10, 18, .97), rgba(5, 20, 34, .86) 48%, rgba(5, 20, 34, .42)),
    linear-gradient(180deg, rgba(5, 12, 20, .06), rgba(5, 12, 20, .88)),
    url("/assets/optimized/login-background-1448x1086-cec197d384ba.webp") center / cover no-repeat;
}

.home-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 5.5vw, 4.8rem);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.4rem;
  margin: 1.7rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  list-style: none;
}

.hero-facts li {
  display: grid;
  gap: .05rem;
}

.hero-facts strong {
  color: #fff1c3;
  font: 800 .92rem/1.2 var(--page-font-display);
}

.hero-facts span {
  color: #a9bfce;
  font-size: .75rem;
}

.hero-report-card {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 229, 155, .36);
  border-radius: 18px;
  color: #f9ead1;
  background: rgba(3, 13, 22, .84);
  text-decoration: none;
  transform: rotate(1.5deg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .55);
  transition: transform .25s ease, border-color .25s ease;
}

.hero-report-card:hover,
.hero-report-card:focus-visible {
  color: #fff4cd;
  border-color: rgba(255, 229, 155, .8);
  transform: rotate(0) translateY(-4px);
}

.hero-report-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-report-card span {
  display: block;
  padding: 1rem 1.1rem;
  font-size: .9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1rem 0 0;
  border: 1px solid rgba(143, 202, 234, .16);
  border-radius: 14px;
  background: rgba(5, 20, 33, .72);
}

.trust-strip span {
  padding: .9rem 1rem;
  color: #b9ccda;
  border-right: 1px solid rgba(143, 202, 234, .12);
  font-size: .75rem;
  text-align: center;
}

.trust-strip span:last-child { border-right: 0; }

.home-intro {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 9vw, 8rem) clamp(.25rem, 4vw, 3rem);
}

.home-intro h2,
.section-heading-row h2,
.planner-section h2,
.latest-update h2,
.final-cta h2,
.guide-hero h1 {
  margin: 0;
  color: #fff0bd;
  font: 900 clamp(1.8rem, 4vw, 3.25rem)/1.1 var(--page-font-display);
  text-wrap: balance;
}

.home-intro-copy p {
  margin: 0 0 1rem;
  color: #c1d1dc;
  font: 400 1.12rem/1.72 var(--page-font-body);
}

.feature-story-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.2rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--page-border-blue);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(11, 35, 56, .92), rgba(5, 17, 29, .95));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.feature-story.reverse img { order: 2; }
.feature-story.reverse div { order: 1; }

.feature-story img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
}

.feature-story h2 {
  margin: .3rem 0 .8rem;
  color: #ffe9ac;
  font: 850 clamp(1.45rem, 3vw, 2.35rem)/1.14 var(--page-font-display);
}

.feature-story p { color: #b9cad6; }
.feature-story a { font-weight: 800; text-decoration: none; }
.feature-number { position: absolute; top: 1rem; right: 1.2rem; color: rgba(255, 231, 166, .2); font: 900 2.8rem/1 var(--page-font-display); }

.planner-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  margin: clamp(4rem, 8vw, 7rem) 0;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--page-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(231, 176, 71, .15), transparent 40%),
    linear-gradient(145deg, rgba(12, 39, 61, .96), rgba(5, 19, 32, .98));
}

.planner-copy p { color: #b9ccd8; }
.planner-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.25rem; }
.planner-controls label { color: #ecd99d; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.planner-controls select,
.guide-search input,
.update-filter select {
  width: 100%;
  min-height: 46px;
  margin-top: .35rem;
  padding: .65rem .75rem;
  color: #edf6fa;
  border: 1px solid rgba(151, 207, 236, .3);
  border-radius: 9px;
  background: #0a253b;
  font: 700 .92rem var(--page-font-system);
}

.planner-output {
  align-self: stretch;
  padding: 1.3rem 1.5rem;
  border: 1px solid rgba(121, 214, 232, .28);
  border-radius: 16px;
  background: rgba(4, 17, 29, .78);
}
.planner-output strong { color: var(--page-cyan); font: 800 1rem var(--page-font-display); }
.planner-output li { margin: .7rem 0; color: #d7e5ed; }
.planner-output a { font-weight: 850; text-decoration: none; }

.guide-preview { margin: 0 0 clamp(4rem, 8vw, 7rem); }
.section-heading-row { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.2rem; }
.section-heading-row > a { font-weight: 850; text-decoration: none; }
.guide-card img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.guide-card > span { display: block; margin-top: .8rem; color: var(--page-cyan); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.guide-card > a { display: inline-block; margin-top: .75rem; font-weight: 850; text-decoration: none; }

.latest-update {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-block: 1px solid rgba(143, 202, 234, .17);
}
.latest-update img { width: 100%; height: auto; filter: drop-shadow(0 16px 25px rgba(0,0,0,.45)); }
.latest-update p, .final-cta p { color: #b9ccd8; font-size: 1.02rem; }

.final-cta {
  max-width: 900px;
  margin: clamp(4rem, 10vw, 9rem) auto 2rem;
  text-align: center;
}
.final-cta .site-actions { justify-content: center; }

.footer-expanded {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  padding-top: 2.5rem;
}
.footer-expanded > div p { max-width: 32ch; }
.footer-expanded nav { display: grid; align-content: start; }
.footer-expanded nav strong { color: #ead799; font: 800 .72rem var(--page-font-display); text-transform: uppercase; }
.footer-legal { width: min(var(--page-max), calc(100% - 2rem)); margin: 0 auto; padding: 0 0 1.4rem; color: #6f899b; font-size: .72rem; }

.guide-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, .68fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 1.4rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--page-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(11, 36, 58, .96), rgba(4, 16, 28, .98));
}
.guide-hero p { color: #bed0dc; font: 400 1.08rem/1.6 var(--page-font-body); }
.guide-hero img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 45px rgba(0,0,0,.38); }
.guide-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; color: #91aabd; font-size: .75rem; }

.guide-controls {
  position: sticky;
  z-index: 5;
  top: 78px;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(143, 202, 234, .19);
  border-radius: 14px;
  background: rgba(5, 18, 30, .94);
  backdrop-filter: blur(12px);
}
.guide-search label, .update-filter label { color: #d9c788; font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-buttons button {
  min-height: 38px;
  padding: .5rem .7rem;
  color: #c9dce8;
  border: 1px solid rgba(143, 202, 234, .22);
  border-radius: 999px;
  background: rgba(12, 43, 68, .7);
  font-weight: 800;
  cursor: pointer;
}
.filter-buttons button[aria-pressed="true"] { color: #221503; border-color: #f1cc72; background: #f1cc72; }
.guide-result-count { align-self: center; color: #8fa8b9; font-size: .78rem; white-space: nowrap; }
.guide-library { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-library [hidden] { display: none; }
.library-card { min-height: 300px; display: flex; flex-direction: column; }
.library-card .card-icon { width: 78px; height: 78px; object-fit: contain; }
.library-card .card-shot { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 9px; }
.library-card .card-kicker { margin-top: .8rem; color: var(--page-cyan); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.library-card a { margin-top: auto; padding-top: 1rem; font-weight: 850; text-decoration: none; }

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  justify-content: center;
  margin-top: .9rem;
  color: #91a9ba;
  font-size: .76rem;
}
.article-image { width: 100%; height: auto; display: block; margin-top: 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.comparison-panel { padding: 1rem; border: 1px solid rgba(143,202,234,.18); border-radius: 12px; background: rgba(8,29,47,.72); }
.comparison-panel h3 { margin-top: 0; }
.data-table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .88rem; }
.data-table th, .data-table td { padding: .7rem .75rem; border-bottom: 1px solid rgba(143,202,234,.14); text-align: left; vertical-align: top; }
.data-table th { color: #efd99a; font-family: var(--page-font-display); }
.data-table td { color: #bfd0dc; }
.callout { margin-top: 1rem; padding: 1rem 1.1rem; border-left: 3px solid var(--page-cyan); border-radius: 0 10px 10px 0; color: #d8e5ec; background: rgba(18,61,86,.38); }

.updates-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.2rem; align-items: start; }
.update-feed { display: grid; gap: 1rem; }
.update-post { padding: clamp(1.2rem,3vw,2rem); border: 1px solid var(--page-border-blue); border-radius: 16px; background: var(--page-panel); }
.update-post h2 { margin: .3rem 0 .6rem; color: #ffe6a5; font: 850 1.45rem/1.2 var(--page-font-display); }
.update-post time, .update-post .update-type { color: #8ea8ba; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.update-post li, .update-post p { color: #bdceda; }
.update-post [hidden] { display: none; }
.updates-aside { position: sticky; top: 90px; padding: 1rem; border: 1px solid var(--page-border); border-radius: 14px; background: rgba(7,25,41,.9); }
.updates-aside h2 { margin-top: 0; color: #f4dc9e; font: 800 1rem var(--page-font-display); }

[data-reveal] { transition: opacity .6s ease, transform .6s ease; }
.public-site-ready [data-reveal]:not(.is-visible) { opacity: .12; transform: translateY(18px); }

@media (max-width: 940px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-report-card { max-width: 620px; transform: none; }
  .feature-story, .feature-story.reverse { grid-template-columns: 1fr; }
  .feature-story.reverse img, .feature-story.reverse div { order: initial; }
  .guide-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-expanded { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-expanded nav:last-child { grid-column: 2 / -1; }
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .85rem;
}

.site-footer a {
  color: #b9d9ed;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .site-nav {
    min-height: 0;
    align-items: center;
    flex-flow: row wrap;
    padding: .9rem 0;
  }

  .site-nav .site-brand { min-height: 40px; }
  .site-nav-actions { margin-left: auto; }
  .site-menu-toggle { display: inline-flex; }
  .site-nav .nav-play { min-height: 40px; display: inline-flex; align-items: center; padding: .55rem .8rem; }
  .site-nav-links { width: 100%; padding-top: .4rem; }
  .site-nav-links[data-site-menu] { display: none; }
  .site-nav-links[data-site-menu][data-open] { display: flex; }

  .site-nav-links {
    justify-content: flex-start;
  }

  .site-main {
    padding-top: 1rem;
  }

  .site-hero {
    min-height: 430px;
    padding: 1.25rem;
    background-position: 58% center;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .home-hero { padding-top: 3rem; }
  .home-hero .site-actions { align-items: stretch; flex-direction: column; }
  .home-hero .site-button { width: 100%; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip span:nth-child(2) { border-right: 0; }
  .trust-strip span:nth-child(-n+2) { border-bottom: 1px solid rgba(143,202,234,.12); }
  .home-intro, .planner-section, .guide-hero, .latest-update, .updates-layout { grid-template-columns: 1fr; }
  .feature-story { padding: 1rem; }
  .planner-controls, .comparison-grid { grid-template-columns: 1fr; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .guide-controls { position: static; grid-template-columns: 1fr; }
  .guide-library { grid-template-columns: 1fr; }
  .footer-expanded { grid-template-columns: 1fr 1fr; }
  .footer-expanded > div { grid-column: 1 / -1; }
  .footer-expanded nav:last-child { grid-column: auto; }
  .updates-aside { position: static; }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-index {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
