/* ==========================================================================
   AutoQB - site stylesheet
   Hand-written. No framework. Spacing follows an 8px rhythm.
   ========================================================================== */

:root {
  /* Colour */
  --navy-950: #07142a;
  --navy: #0b1b33;
  --navy-800: #122a4b;
  --navy-700: #1b3a62;
  --teal: #12b5b0;
  --teal-600: #0f9a96;
  --teal-700: #0b7c79;
  --teal-50: #eaf8f7;
  --teal-100: #cdeeec;
  --ink: #0b1b33;
  --ink-2: #33445c;
  --muted: #56657a;
  --line: #dbe2eb;
  --line-soft: #e8edf3;
  --surface: #f3f6fa;
  --white: #ffffff;
  --amber-50: #fff8ea;
  --amber-200: #f4d9a4;
  --amber-800: #7a4f00;

  /* Type */
  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.5vw, 2.375rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 3vw, 3.75rem);
  --fs-display: clamp(2.375rem, 1.55rem + 4vw, 4.25rem);

  /* Space (8px rhythm) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 56px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;
  --s-14: 112px;
  --section: clamp(64px, 5vw + 40px, 120px);

  /* Shape */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(11, 27, 51, 0.06);
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.05), 0 2px 8px -2px rgba(11, 27, 51, 0.08);
  --shadow-md: 0 2px 4px rgba(11, 27, 51, 0.04), 0 12px 32px -12px rgba(11, 27, 51, 0.18);
  --shadow-lg: 0 4px 8px rgba(11, 27, 51, 0.04), 0 24px 56px -16px rgba(11, 27, 51, 0.28);

  /* Layout */
  --container: 1200px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: var(--fs-h4); line-height: 1.35; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--teal-100); color: var(--navy); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { --btn-bg: var(--teal); --btn-fg: var(--navy); }
.btn-primary:hover { --btn-bg: #1cc4bf; }
.btn-dark { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn-dark:hover { --btn-bg: var(--navy-800); }
.btn-ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.7); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(11, 27, 51, 0.07);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(11, 27, 51, 0.35); background: rgba(255, 255, 255, 0.9); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--navy); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.brand-name span { color: var(--teal-700); }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand-name span { color: var(--teal); }
.brand--light .brand-mark rect:first-child { fill: #17325c; }

.site-nav { display: flex; align-items: center; gap: var(--s-4); }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-list a:hover { color: var(--navy); background: var(--surface); }
.nav-list a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }
.site-header.is-open .nav-toggle-bar { background: transparent; }
.site-header.is-open .nav-toggle-bar::before { transform: rotate(45deg); background: var(--navy); }
.site-header.is-open .nav-toggle-bar::after { transform: rotate(-45deg); background: var(--navy); }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-2);
    padding: var(--s-2) var(--gutter) var(--s-3);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11, 27, 51, 0.35);
  }
  .js .site-header.is-open .site-nav { display: flex; animation: navIn 0.25s var(--ease); }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list a {
    width: 100%;
    min-height: 52px;
    padding: 12px 8px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.0625rem;
  }
  .js .nav-list a:hover { background: transparent; }
  .js .nav-list a[aria-current="page"]::after { left: 0; right: auto; top: 50%; bottom: auto; width: 3px; height: 20px; margin-top: -10px; }
  .js .nav-list a[aria-current="page"] { padding-left: 16px; }
  .js .nav-cta { width: 100%; min-height: 48px; }

  /* Without JavaScript the navigation simply wraps below the logo. */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 8px; }
  html:not(.js) .nav-list { flex-wrap: wrap; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }
.section--tight { padding-block: clamp(48px, 4vw + 24px, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-2);
  color: var(--teal-700);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow--light { color: var(--teal); }
.eyebrow--plain::before { display: none; }

.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-3);
  max-width: none;
}
.section-head--split > div { max-width: 640px; }
.section-head p:not(.eyebrow) { margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; }

.lede { color: var(--ink-2); font-size: var(--fs-lg); line-height: 1.6; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--teal-700); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(580px, 86vh, 780px);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  transform: scale(1.04);
  animation: heroSettle 1.6s var(--ease) forwards;
}
@keyframes heroSettle { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 20, 42, 0.92) 0%, rgba(11, 27, 51, 0.78) 38%, rgba(11, 27, 51, 0.25) 70%, rgba(11, 27, 51, 0.05) 100%),
    linear-gradient(0deg, rgba(7, 20, 42, 0.85) 0%, rgba(7, 20, 42, 0) 45%);
}
.hero-content { padding-top: var(--s-12); padding-bottom: clamp(120px, 10vw + 64px, 176px); }
.hero-content > * { max-width: 680px; }
.hero h1 {
  color: var(--white);
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-lede {
  margin-top: var(--s-3);
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fs-lg);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-5); }
.hero-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 84px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  text-shadow: 0 1px 2px rgba(7, 20, 42, 0.6);
}
@media (max-width: 560px) { .hero-credit { bottom: 64px; } }
.hero-credit a { color: inherit; }
.hero-credit a:hover { color: var(--white); }

.hero-in > * { opacity: 0; animation: riseIn 0.9s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: 0.08s; }
.hero-in > *:nth-child(3) { animation-delay: 0.16s; }
.hero-in > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Facts strip that overlaps the bottom of the hero */
.facts {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}
.facts-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.facts-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: var(--s-3) var(--s-3);
}
.facts-list li + li { border-left: 1px solid var(--line-soft); }
.facts-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.facts-icon svg { width: 20px; height: 20px; }
.facts-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 0.96875rem; font-weight: 600; line-height: 1.3; }
.facts-list span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }

@media (max-width: 960px) {
  .facts-list { grid-template-columns: repeat(2, 1fr); }
  .facts-list li + li { border-left: 0; }
  .facts-list li:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .facts-list li:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .facts { margin-top: -48px; }
  .facts-list { grid-template-columns: 1fr; }
  .facts-list li { padding: 20px; }
  .facts-list li:nth-child(even) { border-left: 0; }
  .facts-list li + li { border-top: 1px solid var(--line-soft); }
}

/* --------------------------------------------------------------------------
   Intro / value
   -------------------------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.intro-copy h2 { margin-bottom: var(--s-3); }
.intro-copy p + p { margin-top: var(--s-2); }
.intro-copy .lede { color: var(--ink-2); }
.intro-copy .muted { color: var(--muted); }

.value-list { display: grid; gap: var(--s-2); list-style: none; }
.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: var(--s-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.value-item:hover { border-color: var(--teal-100); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
}
.value-item h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.value-item p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Guide cards
   -------------------------------------------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  list-style: none;
}
@media (max-width: 1000px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.guide-card:focus-within { box-shadow: 0 0 0 3px var(--teal), var(--shadow-md); }
.guide-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
}
.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.guide-card:hover .guide-card-media img { transform: scale(1.05); }
.guide-card-num {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(11, 27, 51, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.guide-card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: var(--s-3); }
.guide-card-tag {
  color: var(--teal-700);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.guide-card h3 { font-size: 1.1875rem; line-height: 1.3; }
.guide-card h3 a { color: var(--navy); text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.guide-card h3 a:focus-visible { outline: none; }
.guide-card p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.guide-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.guide-card-meta .read { display: inline-flex; align-items: center; gap: 6px; }
.guide-card-meta svg { width: 16px; height: 16px; }
.guide-card-go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.guide-card:hover .guide-card-go { background: var(--teal); color: var(--navy); transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Editorial standards (split)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.split-media figcaption, .media-credit {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}
.split-media figcaption a, .media-credit a { color: inherit; }
.split-badge {
  position: absolute;
  right: -16px;
  bottom: 48px;
  max-width: 240px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
}
.split-badge strong { display: block; margin-bottom: 4px; color: var(--teal); font-family: var(--font-head); font-size: 0.9375rem; }

.standards-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); list-style: none; }
.standards-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.standards-list .tick {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.standards-list .tick svg { width: 18px; height: 18px; }
.standards-list h3 { font-size: var(--fs-h4); margin-bottom: 4px; }
.standards-list p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 3 / 2; }
  .split-badge { position: static; max-width: none; margin-top: 16px; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: block;
  padding: 24px 48px 24px 0;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--teal-100); }
.faq-item summary:hover { color: var(--teal-700); }
.faq-answer { padding: 0 48px 24px 0; color: var(--muted); }
.faq-answer p + p { margin-top: 12px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Sign-up band + forms
   -------------------------------------------------------------------------- */
.signup-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(18, 181, 176, 0.22), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(29, 58, 98, 0.9), transparent 70%),
    var(--navy);
  color: rgba(255, 255, 255, 0.84);
}
.signup-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.signup-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.signup-band h2 { color: var(--white); }
.signup-band .signup-copy p:not(.eyebrow) { margin-top: var(--s-2); font-size: var(--fs-lg); line-height: 1.6; }
.signup-points { display: grid; gap: 12px; margin-top: var(--s-4); list-style: none; }
.signup-points li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); }
.signup-points svg { width: 20px; height: 20px; margin-top: 2px; flex: none; color: var(--teal); }
.signup-band .form-card { background: var(--white); color: var(--ink-2); }
@media (max-width: 900px) { .signup-grid { grid-template-columns: 1fr; } }

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { color: var(--navy); font-size: 0.875rem; font-weight: 600; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #c9d3df;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #9fb0c3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(18, 181, 176, 0.22); }
.field-hint { color: var(--muted); font-size: 0.8125rem; }

.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--teal-700);
  cursor: pointer;
}
.check label { color: var(--ink-2); font-size: 0.8125rem; line-height: 1.6; cursor: pointer; }
.check label a { color: var(--teal-700); font-weight: 500; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn { min-width: 180px; }
.form-fineprint { color: var(--muted); font-size: 0.8125rem; line-height: 1.55; }

.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}
.form-status:empty { display: none; }
.form-status.is-success { background: var(--teal-50); border: 1px solid var(--teal-100); color: #075a58; }
.form-status.is-error { background: #fdeeee; border: 1px solid #f3c6c6; color: #8f1d1d; }

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 8vw + 32px, 144px) clamp(56px, 6vw + 24px, 104px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(7, 20, 42, 0.95) 0%, rgba(11, 27, 51, 0.82) 45%, rgba(11, 27, 51, 0.45) 100%);
}
.page-hero h1 { max-width: 820px; color: var(--white); }
.page-hero p.page-hero-lede { max-width: 640px; margin-top: var(--s-3); font-size: var(--fs-lg); line-height: 1.6; }
.page-hero--plain { background: var(--surface); color: var(--ink-2); }
.page-hero--plain::after { display: none; }
.page-hero--plain h1 { color: var(--navy); }
.page-hero--plain .eyebrow { color: var(--teal-700); }

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 0.875rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: #aab6c5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */
.article-header {
  padding-top: clamp(40px, 4vw + 16px, 72px);
  padding-bottom: var(--s-5);
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}
.article-header .breadcrumb { margin-bottom: var(--s-4); }
.article-header h1 { max-width: 900px; }
.article-dek { max-width: 760px; margin-top: var(--s-3); color: var(--ink-2); font-size: var(--fs-lg); line-height: 1.6; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: var(--s-3);
  list-style: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.article-meta li { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 16px; height: 16px; color: var(--teal-700); }

.article-hero { margin: 0 auto; }
.article-hero img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.article-hero figcaption { margin-top: 12px; color: var(--muted); font-size: 0.75rem; }
.article-hero figcaption a { color: inherit; }
@media (max-width: 640px) { .article-hero img { aspect-ratio: 3 / 2; } }

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  padding-top: var(--s-8);
  padding-bottom: var(--s-10);
}
.article-aside { position: relative; }
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--white);
}
.toc summary {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc ol { display: grid; gap: 2px; margin-top: 12px; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc ol a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px;
  padding: 8px 8px 8px 0;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.toc ol a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-size: 0.75rem; font-weight: 600; padding-top: 2px; }
.toc ol a:hover, .toc ol a.is-active { color: var(--navy); }
.toc a.is-active::before { color: var(--teal-700); }
.toc-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.toc-foot a { font-size: 0.875rem; }

@media (max-width: 1023px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); padding-top: var(--s-5); }
  .toc { position: static; background: var(--surface); border-color: transparent; }
  .toc summary { display: flex; justify-content: space-between; align-items: center; }
  .toc summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--teal-700); }
  .toc[open] summary::after { content: "\2212"; }
}

/* Long-form text */
.prose { min-width: 0; max-width: 720px; color: var(--ink-2); font-size: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem); line-height: 1.75; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { margin-top: 1.8em; font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); }
.prose h2 + *, .prose h3 + * { margin-top: 0.75em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--teal-700); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { overflow-wrap: anywhere; }
.prose .first-section { margin-top: 2em; }

.takeaways {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--teal-100);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--teal-50) 0%, #f5fbfb 100%);
}
.takeaways h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.takeaways h2 svg { width: 24px; height: 24px; color: var(--teal-700); }
.takeaways ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.takeaways li { position: relative; margin: 0; padding-left: 28px; font-size: 1rem; line-height: 1.6; }
.takeaways li + li { margin-top: 0; }
.takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal);
  transform: rotate(45deg);
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--teal);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.65;
}
.callout-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--white); color: var(--teal-700); box-shadow: var(--shadow-xs); }
.callout-icon svg { width: 20px; height: 20px; }
.callout-title { display: block; margin-bottom: 4px; color: var(--navy); font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.callout p + p { margin-top: 8px; }
.callout--caution { border-left-color: #d99a1e; background: var(--amber-50); border-color: var(--amber-200); border-left-color: #d99a1e; }
.callout--caution .callout-icon { color: var(--amber-800); }
@media (max-width: 480px) { .callout { grid-template-columns: 1fr; padding: 20px; } }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  -webkit-overflow-scrolling: touch;
}
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.prose th, .prose td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.prose thead th { background: var(--surface); color: var(--navy); font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--navy); font-weight: 600; }

/* Stacked tables on small screens: each row becomes a labeled card */
@media (max-width: 600px) {
  .table-stack { overflow: visible; border: 0; border-radius: 0; }
  .table-stack table { min-width: 0; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .table-stack tbody { display: grid; gap: 12px; }
  .table-stack tr { display: block; padding: 16px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--white); }
  .table-stack td { display: block; padding: 0; border: 0; }
  .table-stack td + td { margin-top: 8px; }
  .table-stack td::before { content: attr(data-label); display: block; color: var(--muted); font-family: var(--font-head); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
  .table-stack td:first-child { font-family: var(--font-head); font-size: 1rem; }
  .table-stack td:first-child::before { display: none; }
}

.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps > li { position: relative; padding-left: 52px; counter-increment: step; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
}
.steps > li + li { margin-top: 1em; }

.official {
  margin-top: 3em !important;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}
.official h2 { margin: 0 0 8px; color: var(--white); font-size: 1.375rem; }
.official > p { font-size: 0.9375rem; }
.resource-list { display: grid; gap: 12px; margin-top: 20px !important; padding: 0 !important; list-style: none; }
.resource-list li { margin: 0 !important; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9375rem; line-height: 1.6; }
.resource-list a { color: var(--teal); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.resource-list a:hover { color: var(--white); text-decoration: underline; }
.resource-list span { display: block; margin-top: 2px; }
.resource-list .ext { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; }

.article-note {
  margin-top: 2em !important;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
}

/* Keep reading */
.keep-reading { padding-block: var(--section); background: var(--surface); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; list-style: none; }
.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  height: 100%;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-card:focus-within { box-shadow: 0 0 0 3px var(--teal); }
.mini-card img { width: 112px; height: 88px; object-fit: cover; border-radius: 10px; }
.mini-card .guide-card-tag { font-size: 0.6875rem; }
.mini-card h3 { margin-top: 4px; font-size: 1rem; line-height: 1.35; }
.mini-card h3 a { color: var(--navy); text-decoration: none; }
.mini-card h3 a::after { content: ""; position: absolute; inset: 0; }
.mini-card h3 a:focus-visible { outline: none; }
.mini-card .mini-meta { margin-top: 6px; color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 400px) {
  .mini-card { grid-template-columns: 88px 1fr; }
  .mini-card img { width: 88px; height: 76px; }
}

/* CTA card */
.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(18, 181, 176, 0.25), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.cta-card p { margin-top: 12px; max-width: 560px; }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Resources index
   -------------------------------------------------------------------------- */
.guide-rows { display: grid; gap: var(--s-3); list-style: none; }
.guide-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.guide-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.guide-row:focus-within { box-shadow: 0 0 0 3px var(--teal), var(--shadow-md); }
.guide-row-media { position: relative; min-height: 240px; overflow: hidden; }
.guide-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.guide-row:hover .guide-row-media img { transform: scale(1.04); }
.guide-row-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); }
.guide-row-top { display: flex; align-items: center; gap: 16px; }
.guide-row-num { color: var(--muted); font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; }
.guide-row h2 { font-size: clamp(1.3125rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.25; }
.guide-row h2 a { color: var(--navy); text-decoration: none; }
.guide-row h2 a::after { content: ""; position: absolute; inset: 0; }
.guide-row h2 a:focus-visible { outline: none; }
.guide-row p { color: var(--muted); }
.guide-row-covers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.guide-row-covers li { padding: 4px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }
.guide-row .guide-card-meta { border-top: 0; padding-top: 8px; }
@media (max-width: 760px) {
  .guide-row { grid-template-columns: 1fr; }
  .guide-row-media { min-height: 0; aspect-ratio: 16 / 9; }
}

.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); }
.glossary div { padding: 20px 0; border-top: 1px solid var(--line); }
.glossary dt { color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.glossary dd { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr; } }

.official-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; list-style: none; }
.official-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.official-card:hover { border-color: var(--teal-100); box-shadow: var(--shadow-md); }
.official-card a { color: var(--navy); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.official-card a::after { content: ""; position: absolute; inset: 0; }
.official-card a:focus-visible { outline: none; }
.official-card:focus-within { box-shadow: 0 0 0 3px var(--teal); }
.official-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.official-card .domain { color: var(--teal-700); font-size: 0.8125rem; font-weight: 500; }

/* --------------------------------------------------------------------------
   About / generic content blocks
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); list-style: none; }
.pillar { padding: var(--s-4); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-soft); }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--navy); color: var(--teal); }
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.covers-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin-top: var(--s-3); }
.covers-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); background: var(--surface); font-size: 0.9375rem; line-height: 1.5; }
.covers-list svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--teal-700); }
@media (max-width: 560px) { .covers-list { grid-template-columns: 1fr; } }

.not-list li svg { color: #b0473f; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-aside { display: grid; gap: var(--s-3); }
.info-card { padding: var(--s-4); border-radius: var(--r-lg); background: var(--surface); }
.info-card h2 { font-size: 1.25rem; margin-bottom: 12px; }
.info-card p { color: var(--muted); font-size: var(--fs-sm); }
.info-card p + p { margin-top: 12px; }
.info-card ul { display: grid; gap: 10px; margin-top: 12px; padding-left: 1.2em; color: var(--muted); font-size: var(--fs-sm); }
.info-card li::marker { color: var(--teal-700); }
.info-card--dark { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.info-card--dark h2 { color: var(--white); }
.info-card--dark p { color: rgba(255, 255, 255, 0.82); }
.email-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--teal); font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.email-link:hover { color: var(--white); }
.email-link svg { width: 20px; height: 20px; flex: none; }
.aside-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: var(--s-8) var(--s-12); }
.legal-updated { display: inline-flex; margin-top: var(--s-3); padding: 6px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.875rem; font-weight: 500; }
.legal .prose h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.legal .prose { font-size: 1rem; }
@media (max-width: 1023px) { .legal-layout { grid-template-columns: minmax(0, 1fr); padding-top: var(--s-5); } }

/* Status pages (thank-you, 404) */
.status-page { padding-block: clamp(80px, 10vw + 32px, 160px); background: radial-gradient(800px 400px at 50% 0%, var(--teal-50), transparent 70%), var(--white); text-align: center; }
.status-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto var(--s-4); border-radius: 22px; background: var(--navy); color: var(--teal); box-shadow: var(--shadow-lg); }
.status-icon svg { width: 32px; height: 32px; }
.status-code { display: block; margin-bottom: 8px; color: var(--teal-700); font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.status-page h1 { max-width: 720px; margin-inline: auto; }
.status-page .lede { max-width: 580px; margin: var(--s-3) auto 0; color: var(--muted); }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--s-5); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(56px, 5vw + 24px, 96px);
  padding-bottom: var(--s-4);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand p { max-width: 340px; margin-top: var(--s-2); line-height: 1.6; }
.footer-email { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-3); color: var(--white); font-weight: 500; text-decoration: none; }
.footer-email svg { width: 18px; height: 18px; color: var(--teal); }
.footer-email:hover { color: var(--teal); }
.footer-title {
  margin-bottom: var(--s-2);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 10px; list-style: none; }
.footer-col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; line-height: 1.45; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-disclaimer {
  margin-top: var(--s-4);
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: var(--s-4);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.8); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); } }

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JavaScript is running)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-media { transform: none; }
  .hero-in > * { opacity: 1; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .signup-band, .keep-reading, .toc, .nav-toggle { display: none !important; }
  body { color: #000; }
  .prose { max-width: none; }
}
