/* Dispatch4Career v4
   Transport-brand language (inspired by Uber's public design system, not official Uber material):
   navy ink + one amber accent, Outfit display + Geist text, pill for every interactive element,
   16px cards, 8px inputs, flat surfaces with polarity-flipped navy bands. */

@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy-950: #0b1222;
  --navy-900: #0f1930;
  --navy-800: #15213b;
  --navy-700: #1f2e50;
  --amber-400: #f4b41a;
  --amber-300: #ffc53a;
  --mist-200: #c9d2e3;

  /* Semantic tokens (light) */
  --bg: #fbfbfd;
  --surface: #f0f2f6;
  --surface-2: #ffffff;
  --ink: #0f1930;
  --body: #4a5570;
  --line: #dde2ea;
  --input-line: #8d99ae;
  --accent: var(--amber-400);
  --accent-hover: var(--amber-300);
  --on-accent: #0f1930;
  --error: #b42318;
  --shadow: 0 4px 16px rgba(15, 25, 48, .10);
  --on-dark: #f7f8fb;
  --on-dark-muted: var(--mist-200);

  --display: "Outfit", "Helvetica Neue", Arial, system-ui, sans-serif;
  --text: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 6.5rem);
  --header-h: 4.25rem;
  --r-card: 16px;
  --r-input: 8px;
  --r-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1222;
    --surface: #131d33;
    --surface-2: #18243d;
    --ink: #eef1f6;
    --body: #aab4c8;
    --line: #26334f;
    --input-line: #52607c;
    --error: #ff8a80;
    --shadow: 0 4px 16px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); color-scheme: light dark; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: var(--on-accent); padding: .75rem 1rem; font-weight: 600; border-radius: var(--r-pill); }
.skip:focus { left: 1rem; top: 1rem; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 600; }
p { margin: 0 0 1em; max-width: 65ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--surface); }
.lede { font-size: 1.2rem; color: var(--body); }

/* Buttons: every interactive element is a pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.4rem; white-space: nowrap;
  font: 600 1.02rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--soft { background: var(--surface); color: var(--ink); }
.btn--soft:hover { background: var(--line); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(127, 140, 165, .14); }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--accent); }
.text-link:hover { text-decoration-color: currentColor; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li, .chip { display: inline-flex; align-items: center; min-height: 2.25rem; padding: .3rem .95rem; border-radius: var(--r-pill); background: var(--surface); font-size: .95rem; font-weight: 500; }
a.chip { text-decoration: none; transition: background-color .2s var(--ease); }
a.chip:hover { background: var(--line); }

/* Header (always navy: the logo is white) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); color: var(--on-dark); transition: box-shadow .2s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 2.6rem; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a { display: flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: var(--r-pill); transition: background-color .2s var(--ease); }
.nav a:hover { background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .12); }
.nav .nav-cta a { margin-left: .5rem; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.nav .nav-cta a:hover { background: var(--accent-hover); }
.nav-toggle { display: none; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 1.1rem; background: rgba(255, 255, 255, .08); border: 0; border-radius: var(--r-pill); color: var(--on-dark); font: 600 1rem var(--text); cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1); padding: .75rem var(--gutter) 1.5rem; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav a { min-height: 3.1rem; padding: 0 1rem; }
  .nav .nav-cta a { margin: .75rem 0 0; justify-content: center; }
}

/* Hero: full-bleed photograph, left-aligned copy */
.hero { position: relative; display: flex; align-items: center; min-height: min(84dvh, 46rem); background: var(--navy-900); color: var(--on-dark); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11, 18, 34, .94) 0%, rgba(11, 18, 34, .82) 38%, rgba(11, 18, 34, .25) 70%, rgba(11, 18, 34, .05) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero h1 { max-width: 22ch; margin-bottom: .45em; }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--on-dark-muted); max-width: 34rem; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(0deg, rgba(11, 18, 34, .96) 0%, rgba(11, 18, 34, .85) 55%, rgba(11, 18, 34, .45) 100%); }
  .hero-inner { padding-top: 8rem; }
}

/* Facts strip under the hero */
.facts { background: var(--surface); }
.facts ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts li { padding: 1.75rem 1.5rem 1.9rem; font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line); }
.facts span { display: block; font-family: var(--text); font-weight: 400; font-size: .98rem; color: var(--body); margin-top: .3rem; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li:first-child { padding: 1.15rem 0; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* Featured courses: asymmetric bento, 3 items, 3 cells */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.bento { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1rem; }
.bento .tile:first-child { grid-row: 1 / span 2; min-height: 36rem; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 22rem; color: var(--on-dark); background: var(--navy-800); border-radius: var(--r-card); overflow: hidden; isolation: isolate; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 18, 34, .97) 0%, rgba(11, 18, 34, .88) 55%, rgba(11, 18, 34, .3) 100%); }
.bento .tile:first-child::before { background: linear-gradient(0deg, rgba(11, 18, 34, .96) 0%, rgba(11, 18, 34, .82) 40%, rgba(11, 18, 34, .1) 75%); }
.tile--plain::before { display: none; }
.tile-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; margin-bottom: .4em; }
.tile p { color: var(--on-dark-muted); font-size: 1rem; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.tile .ticks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.tile .ticks li { display: flex; gap: .5rem; align-items: center; font-weight: 500; font-size: .98rem; }
.tile .ticks .icon { color: var(--accent); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento .tile:first-child { grid-row: auto; min-height: 26rem; }
}
@media (max-width: 480px) { .tile .ticks { grid-template-columns: 1fr; } }

.price { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.price small { font-family: var(--text); font-size: .9rem; font-weight: 500; color: var(--body); margin-left: .25rem; }
.tile .price small, .featured .price small { color: var(--on-dark-muted); }

/* Founder promo: polarity-flipped navy card */
.promo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; background: var(--navy-800); color: var(--on-dark); border-radius: var(--r-card); padding: clamp(2rem, 5vw, 4rem); }
.promo h3 { margin-bottom: 1.25rem; }
.promo p { color: var(--on-dark-muted); }
.promo .btn-row { margin-top: 1.5rem; }
.promo .chips li { background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.tools-label { margin: 2rem 0 .75rem; font-size: .95rem; color: var(--on-dark-muted); }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }
.promo, .featured, .tile { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* Career route (founder roles) */
.route { list-style: none; margin: 0 0 1.5rem; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: .45rem; top: 1rem; bottom: 1.2rem; width: 2px; background: var(--line); }
.route li { position: relative; padding: .4rem 0 .4rem 2rem; font-weight: 600; font-size: 1.05rem; }
.route li::before { content: ""; position: absolute; left: 0; top: .78rem; width: .95rem; height: .95rem; background: var(--bg); border: 2px solid var(--ink); border-radius: 50%; }
.route li:last-child::before { background: var(--accent); border-color: var(--accent); }
.route--light::before { background: rgba(255, 255, 255, .25); }
.route--light li { font-size: 1.2rem; font-weight: 500; }
.route--light li::before { background: var(--navy-800); border-color: var(--on-dark); }
.route--light li:last-child::before { background: var(--accent); border-color: var(--accent); }

/* Student stories */
.stories-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: 2.5rem; align-items: start; }
.story { margin: 0; }
.story blockquote { margin: 0; }
.story--lead p { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.25; max-width: 26ch; }
.story--lead p::before { content: "\201C"; display: block; font-size: 4rem; line-height: .7; color: var(--accent); margin-bottom: .5rem; }
.story figcaption { margin-top: 1.25rem; font-size: .95rem; color: var(--body); }
.story figcaption strong { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.story-list { display: grid; gap: 1rem; }
.story-list .story { background: var(--surface); border-radius: var(--r-card); padding: 1.5rem 1.6rem; }
.story-list p { font-size: 1rem; line-height: 1.6; margin: 0; }
.story-list figcaption { margin-top: .85rem; }
.story-list figcaption strong { display: inline; margin-right: .4rem; font-size: 1.05rem; }
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr; } }

/* Contact + form */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.details { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .75rem; }
.details li { display: flex; align-items: center; gap: 1rem; }
.details .ico { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface); color: var(--ink); flex: none; }
.details .k { display: block; font-size: .88rem; color: var(--body); }
.details a, .details .v { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.details a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.socials a { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background-color .2s var(--ease); }
.socials a:hover { background: var(--line); }
.map { margin-top: 2rem; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form h3 { margin-bottom: .35rem; }
.form-intro { font-size: .98rem; color: var(--body); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .98rem; }
.field .opt { color: var(--body); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 3rem; padding: .7rem .9rem;
  border: 1.5px solid var(--input-line); border-radius: var(--r-input); background: var(--bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 180, 26, .45); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { display: flex; gap: .4rem; align-items: center; margin: 0; font-size: .92rem; font-weight: 600; color: var(--error); }
.field-error[hidden] { display: none; }
.error-summary { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 2px solid var(--error); border-radius: var(--r-input); background: var(--bg); }
.error-summary h4 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--error); }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--error); font-weight: 600; }
.form .btn { width: 100%; margin-top: .5rem; }
.form-note { font-size: .95rem; color: var(--body); margin: 1rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inner page head */
.page-head { background: var(--navy-900); color: var(--on-dark); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.75rem); }
.page-head h1 { margin-bottom: .3em; font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.page-head p { color: var(--on-dark-muted); font-size: 1.15rem; margin: 0; }
.page-head .chips { margin-top: 1.75rem; }
.page-head a.chip { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.page-head a.chip:hover { background: rgba(255, 255, 255, .18); }

/* Courses page */
.group + .group { margin-top: clamp(3.5rem, 7vw, 5rem); }
.group-head { margin-bottom: 1.75rem; }
.group-head h2 { margin-bottom: .2em; }
.group-head p { color: var(--body); margin: 0; }

/* Solo: 2x2 cards */
.solo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.course { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2rem); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.course:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.course-ico { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy-800); color: var(--accent); margin-bottom: 1.25rem; }
.course-ico .icon { width: 1.4rem; height: 1.4rem; }
.course h3 { margin-bottom: .45em; }
.course p { color: var(--body); font-size: 1rem; }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.25rem; }
@media (max-width: 760px) { .solo-grid { grid-template-columns: 1fr; } }

/* Bundles: wide rows */
.bundle-list { display: grid; gap: 1rem; }
.bundle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.4rem, 3vw, 2.25rem); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.bundle:hover { border-color: var(--input-line); box-shadow: var(--shadow); }
.bundle h3 { margin-bottom: .35em; }
.bundle p { color: var(--body); font-size: 1rem; margin-bottom: .9rem; }
.bundle .chips li { font-size: .88rem; min-height: 2rem; }
.bundle-buy { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; text-align: right; }
/* Sale pricing: crossed-out regular price, current price, amber saving badge */
.price-wrap { display: inline-flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.was { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--body); text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.tile .was, .featured .was { color: var(--on-dark-muted); }
.save, .course p.save, .featured p.save { display: flex; width: fit-content; color: var(--on-accent); align-items: center; margin: 0 0 .5rem; padding: .15rem .7rem; border-radius: var(--r-pill); background: var(--accent); font-size: .85rem; font-weight: 600; }
@media (max-width: 720px) {
  .bundle { grid-template-columns: 1fr; }
  .bundle-buy { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
  .bundle-buy .save { flex-basis: 100%; order: -1; }
}

/* Full course: featured navy card with photo */
.featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: var(--navy-800); color: var(--on-dark); border-radius: var(--r-card); overflow: hidden; }
.featured-body { padding: clamp(1.75rem, 4.5vw, 3.25rem); }
.featured h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; }
.featured p { color: var(--on-dark-muted); }
.featured .chips li { background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.featured p.save { margin-top: 1.5rem; }
.featured-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1rem; }
.featured-media { position: relative; min-height: 18rem; }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured-media { order: -1; min-height: 14rem; } }

.help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border-radius: var(--r-card); }
.help p { margin: 0; color: var(--body); }
.help strong { display: block; font-family: var(--display); font-size: 1.4rem; line-height: 1.2; margin-bottom: .2rem; color: var(--ink); }
.help .btn-row { margin: 0; }
.help .btn--soft, .section--surface .details .ico, .section--surface .socials a { background: var(--surface-2); }
.help .btn--soft:hover, .section--surface .socials a:hover { background: var(--line); }

/* About page */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose p { font-size: 1.1rem; line-height: 1.75; color: var(--body); }
.prose p:first-child { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); margin-bottom: 2rem; }
.aside h2 { font-size: 1.4rem; margin-bottom: 1rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .aside { position: static; } }
.topic-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.topic-group { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem 1.6rem; }
.topic-group h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin-bottom: 1rem; }
.topic-group h3 .icon { color: var(--accent); width: 1.35rem; height: 1.35rem; }
.topic-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.topic-group li { display: flex; gap: .55rem; align-items: baseline; color: var(--body); }
.topic-group li .icon { color: var(--ink); width: .95em; height: .95em; transform: translateY(.12em); }
@media (max-width: 900px) { .topic-groups { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 3.5rem 1.35rem 0; position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-top: -1.125rem; border-radius: 50%; background: var(--surface); font: 500 1.4rem/1 var(--text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 1.05rem; line-height: 1.7; color: var(--body); padding-bottom: 1.35rem; margin: 0; }

/* CTA band */
.cta-band { padding: 0 0 var(--section-y); }
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; background: var(--accent); color: var(--on-accent); border-radius: var(--r-card); padding: clamp(2rem, 5vw, 3.25rem); }
.cta-card h2 { margin: 0; max-width: 18ch; }
.cta-card .btn-row { margin: 0; }
.cta-card .btn--dark { background: var(--navy-900); color: var(--on-dark); }
.cta-card .btn--dark:hover { background: var(--navy-700); }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 4rem 0 2rem; font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--text); font-size: 1rem; font-weight: 600; color: var(--on-dark); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer .brand span { color: var(--on-dark); }
.foot-tag { margin-top: 1rem; max-width: 22em; }
.foot-base { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

.message { min-height: 60vh; display: flex; align-items: center; }
.message h1 { max-width: 16ch; }

/* Motion: entrance on hero, reveal on scroll. Content stays visible without JS. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .7s var(--ease) both; }
  .hero-inner > *:nth-child(2) { animation-delay: 80ms; }
  .hero-inner > *:nth-child(3) { animation-delay: 160ms; }
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Blog ---------- */
.crumbs { font-size: .9rem; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-head h1 { max-width: 22ch; }
.page-head .post-meta { margin-top: 1.25rem; font-size: .95rem; }
.post-wrap { display: flex; justify-content: center; }
.post { width: 100%; max-width: 46rem; }
.post p, .post li { color: var(--body); font-size: 1.08rem; line-height: 1.75; }
.post strong { color: var(--ink); }
.post h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.75rem 0 .8rem; }
.post h3 { font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
.post ul { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.post li { margin-bottom: .55rem; }
.post li::marker { color: var(--accent); }
.post-figure { margin: 0 0 2.25rem; border-radius: var(--r-card); overflow: hidden; }
.post-figure img { display: block; width: 100%; height: auto; }
.post .post-lede { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.compare { overflow-x: auto; margin: 1.75rem 0 1rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface-2); }
.compare:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.compare table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 1.05rem; color: var(--on-dark); background: var(--navy-900); }
.compare tbody th { width: 26%; font-weight: 600; color: var(--ink); }
.compare td { color: var(--body); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.post-callout { margin: 3rem 0 2rem; padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--surface); border-radius: var(--r-card); border-left: 4px solid var(--accent); }
.post-callout h2 { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.post-callout .btn-row { margin-top: 1.25rem; }
.post-callout .btn--soft { background: var(--surface-2); }
.post .post-note { font-size: .92rem; line-height: 1.6; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.post-note a { color: var(--ink); }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-card h2 { font-size: 1.4rem; margin: 0; }
.post-card p { margin: 0; color: var(--body); }
.post-card-tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--accent); align-self: flex-start; padding: .25rem .65rem; border-radius: var(--r-pill); }
.post-card-meta { margin-top: auto; padding-top: .5rem; font-size: .88rem; color: var(--body); }
