/* hugvis.com — shared stylesheet. Tokens and components from the concept art direction (design/concept/README.md). */

:root {
  /* colour */
  --navy: #0B1330;
  --navy-2: #1A2550;
  --cream: #F3EEE4;
  --cream-wash: #EAE3D5;
  --cobalt: #3B5BFF;
  --cobalt-hover: #2A4BB8;
  --blue: #2A4BB8;          /* text-safe blue on cream (links, eyebrows) */
  --blue-700: #1F3A94;
  --blue-100: #E6EBF8;
  --blue-200: #C9D4F2;
  --sky: #8FA6FF;           /* light blue accent on navy */
  --pale: #DCE6FF;
  --sage: #8FA6FF;          /* legacy token name, now light blue */
  --bg: #F3EEE4;
  --white: #FBF9F4;         /* card surface on cream */
  --sunken: #EAE3D5;
  --deeper: #DFD7C7;
  --ink-900: #13203F;
  --ink-700: #3D4A5C;
  --ink-500: #5F6B7C;
  --ink-400: #5F6B7C;
  --ink-300: #8B95A6;
  --green: #2F7D4F;
  --green-100: #E4F2E9;
  --risk: #9A3F1C;
  --line: #D9D1C2;
  --line-strong: #BFB5A2;
  --line-navy: #2B3760;
  --border-btn: #13203F;
  --dark: #0B1330;
  --dark-muted: #C9D2F0;
  --dark-faint: #9AA6CC;
  /* type */
  --font-serif: "Spectral", Georgia, "Times New Roman", serif;
  --font-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* shape */
  --r-sm: 3px;
  --r-md: 3px;
  --r-lg: 4px;
  --r-pill: 4px;   /* María: near-rectangle corners, never pills */
  --gutter: clamp(20px, 4vw, 48px);
  --ease: linear;
  --t: 160ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--ink-900); }
button { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Typography ---------- */
.h1, .h2, .h3, .serif {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  text-wrap: balance;
}
.h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -0.03em; }
.h1--hero { font-size: clamp(3rem, 8.6vw, 8.6rem); line-height: 0.95; letter-spacing: -0.035em; }
.h1--tool { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.02; }
.h2--sm { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; }
.h2--card { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; }
.h2--q { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -0.015em; }
.h3 { font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.015em; }
.h3--sm { font-size: 1.45rem; }
.h3--lg { font-size: 1.8rem; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink-700); max-width: 54ch; text-wrap: pretty; }
.lead--wide { max-width: 60ch; }
.muted { color: var(--ink-500); }
.faint { color: var(--ink-400); }
.small { font-size: 15px; }
.tiny { font-size: 14px; }
.note { font-size: 14px; color: var(--ink-500); }
.strong { font-weight: 700; color: var(--ink-900); }
.measure { max-width: 58ch; }
.measure--wide { max-width: 70ch; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.3;
}
.wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.wordmark:hover { color: var(--ink-900); }
.wordmark span { color: var(--blue); }
.wordmark--footer { font-size: 28px; }

/* ---------- Layout ---------- */
.container { max-width: 1400px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 760px; }
.band { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.home .band { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.band--hero { padding-top: clamp(40px, 7vw, 110px); padding-bottom: clamp(40px, 6vw, 72px); }
.band--tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.band--flush-top { padding-top: 0 !important; }
.band--white { background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--white + .band--white { border-top: 0; }
.band--dark { background: var(--dark); color: var(--cream); }
.band--dark .h1, .band--dark .h2, .band--dark .h3, .band--dark .serif { color: var(--cream); }
.band--dark p, .band--dark .lead, .band--dark .muted, .band--dark .small { color: var(--dark-muted); }
.band--dark .tiny, .band--dark .faint { color: var(--dark-faint); }
.band--dark .eyebrow { color: var(--sky); }
.band--dark .tag--accent { background: var(--navy-2); color: var(--pale); }
.band--dark .tag--neutral { background: var(--navy-2); color: var(--dark-muted); }
.band--dark .btn--secondary, .hero .btn--secondary { color: var(--cream); border-color: #4A5680; }
.band--dark .btn--secondary:hover, .hero .btn--secondary:hover { background: transparent; border-color: var(--cream); color: var(--cream); }
.band--dark a:not(.btn) { color: var(--cream); }
.band--dark a:not(.btn):hover { color: var(--sky); }
.band--dark .photo { border: 0; background: var(--navy-2); }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--tight { gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { max-width: 58ch; text-wrap: pretty; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--sm { gap: 10px; }
.stack--xs { gap: 6px; }
.stack--md { gap: 20px; }
.stack--lg { gap: 24px; }
.stack--xl { gap: 28px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.row--between { justify-content: space-between; }
.row--tight { gap: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 280px)), 1fr)); gap: var(--gap, 20px); }
.grid--center { align-items: center; }
.grid--start { align-items: start; }
.grid--stretch { align-items: stretch; }
.grid--wide-gap { --gap: clamp(32px, 5vw, 80px); }
.grid--mid-gap { --gap: clamp(32px, 5vw, 64px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Header (on navy) ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--navy);
  color: var(--cream);
}
.site-header__bar { min-height: 92px; padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .wordmark, .site-header .wordmark:hover { color: var(--cream); }
.site-header .wordmark span { color: var(--sky); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); font-size: 16px; }
.nav a { color: var(--dark-muted); text-decoration: none; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav a:hover { color: #FFFFFF; }
.nav a[aria-current="page"] { color: #FFFFFF; box-shadow: inset 0 -1px 0 var(--sky); }
.site-header__actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.site-header__login { color: var(--dark-muted); text-decoration: none; padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.site-header__login:hover { color: #FFFFFF; }
.site-header .btn--primary { background: var(--cream); color: var(--navy); border-color: var(--cream); white-space: nowrap; }
.site-header .btn--primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy); }
.menu-btn {
  display: none;
  height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border: 1px solid #4A5680;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition: border-color var(--t) var(--ease);
}
.menu-btn:hover { border-color: var(--cream); }
.menu-btn span { display: none; }   /* hamburger icon only: everyone knows it (María 28.11) */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-navy);
  background: var(--navy);
  padding: 8px var(--gutter) 24px;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 14px 0; min-height: 48px; display: flex; align-items: center; color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line-navy); font-size: 18px; }
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
/* Collapse to the hamburger EARLY (translated labels are long) and never let the nav wrap.
   The Start free button stays visible beside the hamburger at every width. */
@media (max-width: 1240px) {
  .nav, .site-header__login { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header__bar { gap: 12px; }
  .site-header__actions { margin-left: auto; gap: 12px; }
}
@media (max-width: 860px) {
  .site-header__bar { min-height: 76px; }
  .wordmark { font-size: 30px; }
}
@media (max-width: 420px) {
  .site-header .btn--primary { padding: 10px 14px; font-size: 15px; }
  .wordmark { font-size: 26px; }
}

/* ---------- Buttons (pills) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.btn--primary { background: var(--cobalt); color: #FFFFFF; border-color: var(--cobalt); }
.btn--primary:hover { background: var(--cobalt-hover); border-color: var(--cobalt-hover); color: #FFFFFF; }
.btn--secondary { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn--secondary:hover { background: var(--cream-wash); border-color: var(--ink-900); color: var(--ink-900); }
.btn--ghost { background: transparent; color: var(--blue); border-color: transparent; }
.btn--ghost:hover { background: var(--cream-wash); color: var(--ink-900); }
.btn--lg { padding: 20px 28px; min-height: 56px; font-size: 17px; }
.btn--sm { padding: 8px 16px; min-height: 40px; font-size: 15px; }
.btn--full { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--cobalt); border-color: var(--cobalt); }
.linkbtn {
  background: transparent;
  border: 0;
  padding: 12px 0;
  min-height: 44px;
  color: var(--ink-700);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.linkbtn:hover { color: var(--ink-900); }
.arrow { font-family: var(--font-serif); font-size: 1.3em; line-height: 0; }

/* ---------- Tags (pills) ---------- */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  background: var(--cream-wash);
  color: var(--ink-700);
}
.tag--verified { background: var(--green-100); color: var(--green); }
.tag--accent { background: var(--blue-100); color: var(--blue); }
.tag--neutral { background: var(--cream-wash); color: var(--ink-700); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t) var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card--pad { padding: 28px; }
.card--pad-lg { padding: clamp(24px, 4vw, 40px); }
.card--tint { background: var(--white); }
.card--featured { border: 1.5px solid var(--cobalt); }
.card--featured:hover { border-color: var(--cobalt); }
.card--flex { display: flex; flex-direction: column; }
.card--image { overflow: hidden; display: flex; flex-direction: column; }
.card__media { border-bottom: 1px solid var(--line); }
.card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.card__body--course { padding: 28px; gap: 18px; flex: 1; }
.card__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-sm); border: 0; background: var(--cream-wash); }
.photo img, .photo--plain img { width: 100%; height: 100%; object-fit: cover; }
.photo--5x4 { aspect-ratio: 5 / 4; min-height: 280px; }
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--16x10 { aspect-ratio: 16 / 10; min-height: 240px; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--plain { aspect-ratio: 3 / 2; overflow: hidden; }
.photo--circle { width: 56px; height: 56px; border-radius: 999px; flex: 0 0 auto; }
.photo--thumb { width: 96px; height: 96px; flex: 0 0 auto; border-radius: 999px; }
.photo--thumb-lg { width: 112px; height: 112px; flex: 0 0 auto; border-radius: 999px; }
.photo--arch { border-radius: 999px 999px 3px 3px; }
.photo__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  pointer-events: none;
}
.photo__badge::before { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--cream); }

/* ---------- Lists ---------- */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist--sm { gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-700); }
.checklist li::before { content: "\2713"; color: var(--green); font-weight: 700; flex: 0 0 auto; }
.checklist--15 li { font-size: 15px; line-height: 1.45; gap: 8px; }
.dotlist { display: flex; flex-direction: column; gap: 10px; }
.dotlist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.dotlist li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--cobalt); flex: 0 0 auto; margin-top: 11px; }

/* ---------- Trust strip ---------- */
.trust { padding: clamp(40px, 5vw, 64px) 0 0; }
.trust__grid { --min: 200px; --gap: 0; border-top: 1px solid var(--ink-900); }
.trust__stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.trust__grid > .trust__stat:not(:first-child) { padding-left: 24px; border-left: 1px solid var(--line); }
.trust__num { font-family: var(--font-serif); font-size: clamp(1.9rem, 2.6vw, 2.6rem); font-weight: 300; letter-spacing: -0.025em; color: var(--ink-900); line-height: 1; }
.trust__label { font-size: 15px; color: var(--ink-500); }
.trust__note { padding: 14px 0; }
@media (max-width: 700px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid > .trust__stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .trust__stat { padding: 20px 16px 20px 0; }
}

/* ---------- Lesson trail (7 steps, columns with hairline dividers) ---------- */
.trail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; position: relative; border-top: 1px solid var(--line); }
.trail__step { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: relative; padding: 28px 20px 8px 0; border-right: 1px solid var(--line); }
.trail__step:not(:first-child) { padding-left: 20px; }
.trail__step:last-child { border-right: 0; }
.trail__node {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 10px;
}
.trail__step:last-child .trail__node { color: var(--ink-900); }
.trail__role { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.trail__name { font-weight: 700; color: var(--ink-900); line-height: 1.3; }
.trail__meta { font-size: 15px; color: var(--ink-500); }
.band--dark .trail { border-top-color: var(--line-navy); }
.band--dark .trail__step { border-right-color: var(--line-navy); }
.band--dark .trail__node { color: var(--sky); }
.band--dark .trail__step:last-child .trail__node { color: var(--cream); }
.band--dark .trail__name { color: var(--cream); }
.band--dark .trail__meta { color: var(--dark-faint); }
@media (max-width: 1000px) {
  .trail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trail__step { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .trail__step:nth-child(4) { border-right: 0; }
  .trail__step:nth-child(5) { padding-left: 0; }
  .band--dark .trail__step { border-bottom-color: var(--line-navy); }
}
@media (max-width: 640px) {
  .trail { grid-template-columns: 1fr 1fr; }
  .trail__step, .trail__step:nth-child(5) { padding-left: 16px; }
  .trail__step:nth-child(odd) { padding-left: 0; }
  .trail__step:nth-child(4) { border-right: 1px solid var(--line); }
  .trail__step:nth-child(even) { border-right: 0; }
  .band--dark .trail__step:nth-child(4) { border-right-color: var(--line-navy); }
  .trail__node { font-size: 2.2rem; }
}

/* ---------- Shared gains ---------- */
.gains__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 14px; }
.gains__bar span:nth-child(1) { background: var(--navy); border-radius: 999px 0 0 999px; }
.gains__bar span:nth-child(2) { background: var(--cobalt); }
.gains__bar span:nth-child(3) { background: var(--sky); border-radius: 0 999px 999px 0; }
.gains__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gains__frac { font-family: var(--font-serif); font-weight: 300; font-size: 2rem; color: var(--ink-900); }

/* ---------- Home: hero ---------- */
.hero { background: var(--navy); color: var(--cream); }
.hero__text { padding-top: clamp(32px, 6vw, 96px); }
.hero .eyebrow { color: var(--sky); margin-bottom: clamp(20px, 3vw, 28px); font-size: 14px; letter-spacing: 0.18em; }
.hero .h1 { color: var(--cream); max-width: 15ch; }
.hero .h1 em { font-style: italic; color: var(--sky); }
.hero__below { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(32px, 5vw, 72px); }
.hero__below .lead { color: var(--dark-muted); max-width: 36ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.hero__media { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-bottom: 0; }
.hero__arch { aspect-ratio: 16 / 8; min-height: 320px; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--navy-2); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute;
  right: clamp(28px, 6vw, 96px);
  bottom: -28px;
  background: var(--cream);
  color: var(--ink-900);
  border-radius: var(--r-md);
  padding: 22px 26px;
  max-width: 300px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); /* the only shadow on the site */
}
.hero__card .eyebrow { color: var(--blue); font-size: 13px; letter-spacing: 0.16em; margin: 0 0 8px; display: block; }
.hero__card .serif { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; display: block; }
.hero__card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 500; color: var(--ink-900); text-decoration: none; border-bottom: 1px solid currentColor; min-height: 32px; }
.hero__card a:hover { color: var(--blue); }
.home .trust { padding-top: clamp(72px, 9vw, 120px); }
@media (max-width: 860px) {
  .hero__actions { justify-content: flex-start; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__arch { aspect-ratio: 4 / 3; min-height: 240px; border-radius: 999px 999px 0 0; }
  .hero__card { position: static; max-width: none; margin: 0 auto; box-shadow: none; border-radius: 0 0 var(--r-md) var(--r-md); border: 1px solid var(--line-navy); border-top: 0; }
  .home .trust { padding-top: clamp(48px, 8vw, 72px); }
}
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding: 16px 24px; }
}
@media (max-width: 480px) {
  .hero__arch { aspect-ratio: 1 / 1; min-height: 0; border-radius: 999px 999px 0 0; }
  .hero__card { padding: 20px 20px; }
}

/* ---------- Home: manifesto ---------- */
.manifesto__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.manifesto__body { grid-column: span 2; }
.manifesto__title { font-style: italic; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.05; letter-spacing: -0.025em; }
.manifesto__body p:not(.eyebrow) { margin-top: 32px; font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 58ch; text-wrap: pretty; }
.manifesto__body > a { display: inline-block; margin-top: 20px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; color: var(--ink-900); }
.manifesto__body > a:hover { color: var(--blue); }
.thirds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--ink-900); }
.thirds > div { padding: 36px 28px; border-bottom: 1px solid var(--line); }
.thirds > div:first-child { padding-left: 0; }
.thirds > div:last-child { padding-right: 0; }
.thirds__frac { font-family: var(--font-serif); font-weight: 300; font-size: clamp(4rem, 8vw, 7.5rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--ink-900); }
.thirds > div:nth-child(2) .thirds__frac { color: var(--blue); }
.thirds__name { margin-top: 18px; font-weight: 700; color: var(--ink-900); }
.thirds__text { color: var(--ink-700); }
@media (max-width: 900px) {
  .manifesto__body { grid-column: auto; }
  .thirds > div { padding-left: 0; padding-right: 0; }
}

/* ---------- Home: course ladder ---------- */
.ladder__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.ladder__head a { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; color: var(--ink-900); }
.ladder__head a:hover { color: var(--blue); }
.ladder__row {
  display: grid;
  grid-template-columns: minmax(80px, 0.6fr) minmax(0, 2.4fr) minmax(0, 1.6fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
  color: var(--ink-900);
  text-decoration: none;
  transition: background-color var(--t) var(--ease);
}
.ladder__row:first-of-type { border-top-color: var(--ink-900); }
.ladder__row:last-of-type { border-bottom: 1px solid var(--ink-900); }
.ladder__row:hover { background: var(--cream-wash); color: var(--ink-900); }
.ladder__num { font-family: var(--font-serif); font-weight: 300; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.9; letter-spacing: -0.04em; }
.ladder__title { display: block; font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin-top: 14px; color: var(--ink-900); }
.ladder__who { display: block; margin-top: 10px; color: var(--ink-500); font-size: 15px; }
.ladder__text { display: block; margin-top: 10px; color: var(--ink-700); max-width: 52ch; text-wrap: pretty; }
.ladder__photo { aspect-ratio: 3 / 2; border-radius: var(--r-sm); overflow: hidden; display: block; background: var(--cream-wash); }
.ladder__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .ladder__row { grid-template-columns: minmax(56px, auto) minmax(0, 1fr); row-gap: 20px; }
  .ladder__photo { grid-column: 1 / -1; }
  .ladder__num { font-size: 2.6rem; }
}

/* ---------- Home: Fair AI Score band ---------- */
.score-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  align-items: center;
  background: var(--cobalt);
  color: #FFFFFF;
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 64px);
  text-decoration: none;
  transition: background-color var(--t) var(--ease);
}
.score-band:hover { background: var(--cobalt-hover); color: #FFFFFF; }
.score-band .eyebrow { color: var(--pale); }
.score-band .h2 { color: #FFFFFF; margin-top: 12px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; }
.score-band p:not(.eyebrow):not(.score-band__cta) { color: var(--pale); margin-top: 16px; max-width: 48ch; }
.score-band__cta { justify-self: end; display: inline-flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; border: 1px solid #FFFFFF; border-radius: var(--r-pill); padding: 18px 26px; line-height: 1; white-space: nowrap; }
@media (max-width: 700px) { .score-band__cta { justify-self: start; } }

/* ---------- Home: final CTA ---------- */
.final { text-align: center; padding-top: clamp(100px, 14vw, 220px) !important; padding-bottom: clamp(80px, 10vw, 140px) !important; }
.final .h2 { font-size: clamp(3rem, 9vw, 8.5rem); line-height: 0.95; letter-spacing: -0.035em; }
.final .h2 em { color: var(--blue); font-style: italic; }
.final p { margin-top: 28px; font-size: 1.15rem; }
.final .row { justify-content: center; margin-top: 40px; gap: 14px; }
.final .btn--primary { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.final .btn--primary:hover { background: var(--cobalt-hover); border-color: var(--cobalt-hover); color: #FFFFFF; }

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--ink-900); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 24px 4px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: baseline;
  color: var(--ink-900);
  transition: background-color var(--t) var(--ease);
}
.accordion__btn:hover { background: var(--cream-wash); }
.accordion__num { font-family: var(--font-serif); font-weight: 300; font-size: 1.8rem; color: var(--blue); min-width: 44px; letter-spacing: -0.03em; }
.accordion__title { font-family: var(--font-serif); font-weight: 300; font-size: 1.45rem; letter-spacing: -0.015em; line-height: 1.2; display: block; color: var(--ink-900); }
.accordion__q { font-size: 15px; color: var(--ink-500); font-style: italic; display: block; margin-top: 4px; }
.accordion__meta { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-500); white-space: nowrap; }
.chevron { display: inline-block; width: 12px; height: 12px; transition: transform var(--t) var(--ease); }
.accordion__btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.accordion__panel { padding: 0 4px 28px 70px; display: flex; flex-direction: column; gap: 16px; }
.lessons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 24px; }
.lessons li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-700); padding: 8px 0; border-bottom: 1px solid var(--line); }
.lessons li span:first-child { color: var(--ink-500); min-width: 22px; font-family: var(--font-serif); }
.keymsg { display: flex; gap: 10px; align-items: flex-start; background: var(--blue-100); border: 0; border-radius: var(--r-sm); padding: 14px 18px; font-size: 15px; color: var(--ink-700); }
.keymsg strong { color: var(--blue); flex: 0 0 auto; }
@media (max-width: 600px) {
  .accordion__btn { grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
  .accordion__meta { grid-column: 2; }
  .accordion__panel { padding-left: 4px; }
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--ink-900); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 4px; font-weight: 500; font-size: 1.1rem; color: var(--ink-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chevron { color: var(--ink-500); flex: 0 0 auto; }
.faq details[open] summary .chevron { transform: rotate(180deg); }
.faq p { padding: 0 4px 22px; color: var(--ink-700); max-width: 70ch; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 15px; font-weight: 500; color: var(--ink-900); }
.input, .select {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t) var(--ease);
}
.input::placeholder { color: var(--ink-500); }
.input:hover, .select:hover { border-color: var(--ink-700); }
.input:focus-visible, .select:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 0; border-color: var(--cobalt); }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2313203F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.select--sm { min-height: 44px; width: 170px; font-size: 15px; border-radius: var(--r-pill); padding: 8px 40px 8px 16px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__hint { font-size: 14px; color: var(--ink-500); }
.form__done { display: flex; flex-direction: column; gap: 10px; }
input[type="range"] { width: 100%; accent-color: var(--cobalt); height: 44px; margin: 0; cursor: pointer; }

/* ---------- Segmented toggle ---------- */
.seg { display: inline-flex; border: 1px solid var(--ink-900); border-radius: var(--r-pill); padding: 4px; background: transparent; }
.seg__btn {
  padding: 10px 20px;
  min-height: 40px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  color: var(--ink-900);
  display: flex;
  gap: 8px;
  align-items: center;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.seg__btn small { font-size: 12px; font-weight: 400; opacity: 0.85; }
.seg__btn[aria-pressed="true"] { background: var(--navy); color: var(--cream); }

/* ---------- Progress bar ---------- */
.progress { height: 4px; background: var(--cream-wash); border-radius: 999px; overflow: hidden; }
.progress--thick { height: 6px; }
.progress__fill { height: 100%; width: 0; background: var(--cobalt); transition: width 200ms var(--ease); }
.progress-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-500); }

/* ---------- Option buttons (quiz) ---------- */
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  min-height: 56px;
  border-radius: var(--r-pill);
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.option:hover { border-color: var(--ink-900); }
.option--scored { grid-template-columns: auto 1fr auto; }
.option__score { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1rem; background: var(--cream-wash); color: var(--ink-900); }
.option__dot { width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); flex: 0 0 auto; justify-self: end; }
.option.is-selected, .option[aria-pressed="true"] { background: var(--blue-100); border-color: var(--cobalt); }
.option.is-selected .option__dot, .option[aria-pressed="true"] .option__dot { background: var(--cobalt); border-color: var(--cobalt); }
.option.is-selected .option__score, .option[aria-pressed="true"] .option__score { background: var(--cobalt); color: #FFFFFF; }
.tool { display: flex; flex-direction: column; gap: 28px; min-height: 70vh; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 120px); }
.tool__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; }
.score { display: flex; align-items: baseline; gap: 10px; }
.score__num { font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.03em; font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: 1; color: var(--ink-900); }
.score__den { font-size: 1.2rem; color: var(--ink-500); }
.score--risk .score__num, .score--risk .progress__fill { color: var(--risk); background-color: var(--risk); }
.score--risk .score__num { background: none; }
.score--mid .progress__fill { background-color: var(--cobalt); }
.score--mid .score__num { color: var(--blue); }
.score--good .progress__fill { background-color: var(--green); }
.score--good .score__num { color: var(--green); }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.pillars div { display: flex; flex-direction: column; gap: 6px; }
.pillars .tiny { font-size: 13px; }
.pillars .serif { font-size: 1.4rem; letter-spacing: 0; }
.pillars .serif small { font-size: 0.9rem; color: var(--ink-500); font-weight: 300; }
@media (max-width: 520px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.improve { display: flex; flex-direction: column; gap: 10px; }
.improve li { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; }
.improve__n { font-family: var(--font-serif); font-weight: 300; color: var(--blue); font-size: 1.5rem; line-height: 1.2; }
.path { display: flex; flex-direction: column; }
.path li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.path__rail { display: flex; flex-direction: column; align-items: center; }
.path__node { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--ink-900); background: transparent; color: var(--ink-900); display: grid; place-items: center; font-family: var(--font-serif); font-size: 15px; flex: 0 0 auto; }
.path li:first-child .path__node { border-color: var(--cobalt); background: var(--cobalt); color: #FFFFFF; }
.path__line { width: 1px; flex: 1; background: var(--line-strong); min-height: 16px; }
.path li:last-child .path__line { background: transparent; }
.path__body { display: flex; flex-direction: column; gap: 4px; padding-bottom: 28px; }
.path__when { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--ink-500); }
.path__title { font-weight: 700; color: var(--ink-900); font-size: 1.1rem; }

/* ---------- Dividend / companies ---------- */
.formula { font-family: var(--font-mono); font-size: 14px; color: var(--ink-700); background: var(--cream-wash); border-radius: var(--r-sm); padding: 14px 18px; line-height: 1.5; }
.ledger { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.ledger__total { padding: 24px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ledger__row { padding: 18px 28px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; }
.ledger__row:last-child { border-bottom: 0; }
.ledger__swatch { width: 14px; height: 14px; border-radius: 999px; }
.ledger__amount { font-family: var(--font-serif); font-weight: 300; font-size: 1.5rem; color: var(--ink-900); letter-spacing: -0.02em; }
.ledger__amount--big { font-size: 2.4rem; }
.seats__total { font-family: var(--font-serif); font-weight: 300; font-size: 2.4rem; color: var(--ink-900); line-height: 1.1; letter-spacing: -0.02em; }
.seats__total small { font-family: var(--font-sans); font-size: 1rem; color: var(--ink-500); }

/* ---------- Pricing ---------- */
.plan { position: relative; padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.plan__badge { position: absolute; top: -13px; left: 20px; }
.plan__name { font-family: var(--font-serif); font-weight: 300; color: var(--ink-900); font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.15; }
.plan__who { font-size: 14px; color: var(--ink-500); min-height: 42px; }
.plan__price { font-family: var(--font-serif); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--ink-900); letter-spacing: -0.03em; }
.plan__period { font-size: 14px; color: var(--ink-500); }
.plan .checklist { flex: 1; }
.plan__fine { font-size: 13px; color: var(--ink-500); text-align: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare th { text-align: center; font-weight: 700; color: var(--ink-900); background: var(--cream-wash); padding: 14px 12px; }
.compare th:first-child, .compare td:first-child { text-align: left; position: sticky; left: 0; background: var(--white); }
.compare th:first-child { background: var(--cream-wash); }
.compare tbody tr:nth-child(even) td { background: var(--cream); }
.compare td { text-align: center; color: var(--ink-700); }
.compare td.yes { color: var(--green); font-weight: 700; }
.compare td.no { color: var(--ink-300); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: transparent; margin-top: auto; }
.site-footer__grid { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); --min: 200px; --gap: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__col a { color: var(--ink-700); text-decoration: none; padding: 2px 0; }
.site-footer__col a:hover { color: var(--ink-900); }
.site-footer__brand { gap: 14px; }
.site-footer__legal { border-top: 1px solid var(--line); }
.site-footer__legal .container { padding-top: 16px; padding-bottom: 16px; font-size: 14px; color: var(--ink-500); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Components on navy bands ---------- */
.band--dark .seg { border-color: #4A5680; }
.band--dark .seg__btn { color: var(--cream); }
.band--dark .seg__btn[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.band--dark .photo__badge { background: var(--cream); color: var(--navy); }
.band--dark .photo__badge::before { border-left-color: var(--navy); }
