/* ══════════════════════════════════════════════════════════════════
   STEVE'S STUDY HOUSE — Public site design system
   One stylesheet for every public page (index, courses, results,
   about, faq, practice). Load it LAST so it wins over legacy sheets.

   Breakpoints: 1280 (laptop) · 1100 (nav → drawer) · 1024 (tablet
   landscape) · 768 (tablet) · 640 (phone)
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* Palette — drawn from the crest: Oxford green, burnished gold, crimson */
  --c-bg: #FBF8F1;
  --c-bg-alt: #F4EEE1;
  --c-surface: #FFFFFF;
  --c-ink: #14231D;
  --c-ink-2: #43524B;
  --c-ink-3: #6B7770;
  --c-line: #E5DDCB;
  --c-line-strong: #D3C7AC;

  --c-green: #123B2E;
  --c-green-800: #0D2D23;
  --c-green-900: #081E17;
  --c-green-600: #1D5743;
  --c-green-50: #E9F1EC;

  --c-gold: #C9A13B;
  --c-gold-700: #94731F;
  --c-gold-300: #E6CB80;
  --c-gold-50: #F8F0DA;

  --c-crimson: #7E1F1D;
  --c-crimson-50: #F7E9E6;

  /* Type */
  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & depth */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(20, 35, 29, .06), 0 2px 8px -2px rgba(20, 35, 29, .08);
  --sh-2: 0 2px 4px rgba(20, 35, 29, .05), 0 14px 32px -12px rgba(20, 35, 29, .22);
  --sh-3: 0 30px 60px -24px rgba(8, 30, 23, .45);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(64px, 9vw, 112px);

  /* Legacy aliases — homepage translations in lang.js reference these */
  --sh-green: var(--c-green);
  --sh-navy: var(--c-ink);
  --sh-gold: var(--c-gold);
}

/* Remap the older token set so legacy components (courses, practice,
   results, about, faq) pick up the new palette automatically. */
body.site {
  --ink: var(--c-ink);
  --ink-soft: var(--c-ink-2);
  --ink-faint: var(--c-ink-3);
  --paper: var(--c-bg);
  --paper-raised: var(--c-surface);
  --paper-sunken: var(--c-bg-alt);
  --rule: var(--c-line);
  --primary: var(--c-green);
  --primary-strong: var(--c-green-800);
  --primary-tint: var(--c-green-50);
  --gold: var(--c-gold);
  --gold-strong: var(--c-gold-700);
  --gold-tint: var(--c-gold-50);
  --radius-s: var(--r-sm);
  --radius-m: var(--r-md);
  --shadow: var(--sh-1);
  --focus: var(--c-green-600);
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body.site {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:where(body.site) img { max-width: 100%; height: auto; display: block; }
:where(body.site) a { color: inherit; }
:where(body.site) :where(h1, h2, h3, h4) {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  text-wrap: balance;
  margin: 0;
}
:where(body.site) p { text-wrap: pretty; }
body.site :focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: 4px; }
body.site main { display: block; }

.sh-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--c-green); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; transition: top .15s;
}
.sh-skip:focus { top: 12px; }

.sh-container, body.site .wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Eyebrow label */
body.site .eyebrow, .sh-eyebrow {
  display: inline-flex; align-items: center; gap: .65em;
  font-family: var(--f-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-gold-700);
}
body.site .eyebrow::before, .sh-eyebrow::before {
  content: ""; width: 1.6em; height: 2px; border-radius: 2px; background: currentColor; opacity: .7;
}
.sh-eyebrow--center { justify-content: center; }
.sh-eyebrow--light { color: var(--c-gold-300); }

.sh-lede, body.site .lede {
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  line-height: 1.7;
  color: var(--c-ink-2);
  max-width: 62ch;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.sh-btn, body.site .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.25;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.sh-btn:hover, body.site .btn-primary:hover { transform: translateY(-1px); }
.sh-btn:active, body.site .btn-primary:active { transform: translateY(0); }

.sh-btn--primary, body.site .btn-primary {
  background: var(--c-green); color: #fff; box-shadow: 0 8px 20px -10px rgba(18, 59, 46, .7);
}
.sh-btn--primary:hover, body.site .btn-primary:hover { background: var(--c-green-800); color: #fff; }

.sh-btn--gold {
  background: var(--c-gold); color: var(--c-green-900); box-shadow: 0 10px 24px -12px rgba(201, 161, 59, .9);
}
.sh-btn--gold:hover { background: var(--c-gold-300); }

.sh-btn--ghost { background: transparent; color: var(--c-green); border-color: var(--c-line-strong); }
.sh-btn--ghost:hover { border-color: var(--c-green); background: var(--c-green-50); }

.sh-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.sh-btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.sh-btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.sh-btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }

/* ══════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════ */
.sh-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.sh-nav {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}

.sh-brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--c-ink);
  flex-shrink: 0;
}
.sh-brand__crest {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 3px var(--c-gold), var(--sh-1);
  transition: transform .25s ease;
}
.sh-brand:hover .sh-brand__crest { transform: rotate(-6deg) scale(1.04); }
.sh-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.sh-brand__name {
  font-family: var(--f-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
}
.sh-brand__name em { font-style: italic; color: var(--c-green-600); font-weight: 600; }
.sh-brand__tag {
  margin-top: 3px;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-700);
  white-space: nowrap;
}

.sh-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.sh-links a {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 500; color: var(--c-ink-2);
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.sh-links a:hover { color: var(--c-ink); background: rgba(18, 59, 46, .06); }
.sh-links a[aria-current="page"] { color: var(--c-green); font-weight: 600; background: var(--c-green-50); }
.sh-links__portal { display: none; }

.sh-nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Language toggle (injected by lang.js before .nav-cta) */
.sh-header .lang-toggle-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 14px 6px 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  font-family: var(--f-body); font-size: .82rem; font-weight: 600; color: var(--c-ink-2);
  cursor: pointer; transform: none;
  transition: border-color .15s, color .15s;
}
.sh-header .lang-toggle-btn:hover { border-color: var(--c-green); color: var(--c-green); background: var(--c-surface); transform: none; }

.sh-nav .nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  background: var(--c-surface); color: var(--c-ink);
  border: 1px solid var(--c-line-strong); border-radius: 12px;
  cursor: pointer;
}
.sh-nav .nav-toggle svg { width: 22px; height: 22px; }
.sh-nav .nav-toggle[aria-expanded="true"] { background: var(--c-green); color: #fff; border-color: var(--c-green); }

/* Drawer for laptop-narrow, tablet and phone */
@media (max-width: 1360px) {
  .sh-links a { padding: 8px 10px; font-size: .9rem; }
  .sh-nav { gap: 16px; }
}
@media (max-width: 1100px) {
  .sh-nav .nav-toggle { display: inline-flex; }
  .sh-links {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px -24px rgba(8, 30, 23, .35);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .sh-links.open { display: flex; animation: shDrawer .18s ease-out; }
  .sh-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--r-md); }
  .sh-nav__actions { margin-left: auto; }
}
@keyframes shDrawer { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .sh-nav { gap: 12px; }
  .sh-brand { gap: 10px; }
  .sh-brand__crest { width: 40px; height: 40px; }
  .sh-brand__name { font-size: 1.08rem; }
  .sh-brand__tag { display: none; }
  .sh-nav .nav-cta { display: none; }
  .sh-links__portal { display: block; margin-top: 8px; }
  .sh-links__portal a {
    justify-content: center; background: var(--c-green); color: #fff; font-weight: 600;
  }
  .sh-links__portal a:hover { background: var(--c-green-800); color: #fff; }
  .sh-header .lang-toggle-btn { min-height: 44px; min-width: 44px; padding: 6px 10px; justify-content: center; }
}
@media (max-width: 360px) {
  .sh-brand__name { font-size: .98rem; }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.sh-footer {
  background: var(--c-green-900);
  color: rgba(255, 255, 255, .72);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  font-size: .95rem;
}
.sh-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .15s; }
.sh-footer a:hover { color: var(--c-gold-300); }
.sh-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}
.sh-footer .sh-brand { color: #fff; }
.sh-footer .sh-brand__name em { color: var(--c-gold-300); }
.sh-footer .sh-brand__crest { box-shadow: 0 0 0 2px var(--c-green-900), 0 0 0 3px var(--c-gold); }
.sh-footer__tagline { margin: 18px 0 0; max-width: 36ch; line-height: 1.7; }
.sh-footer h2 {
  font-family: var(--f-body); font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-300);
  margin: 6px 0 16px;
}
.sh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; color: rgba(255, 255, 255, .55);
}
@media (max-width: 1024px) {
  .sh-footer__grid { grid-template-columns: 1fr 1fr; }
  .sh-footer__intro { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .sh-footer__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   SECTIONS (shared)
   ══════════════════════════════════════════════════════════════════ */
.sh-section { padding: var(--section-y) 0; position: relative; }
.sh-section--alt { background: var(--c-bg-alt); }
.sh-section--white { background: var(--c-surface); }
.sh-section--dark { background: var(--c-green-900); color: #fff; }
.sh-section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sh-section-head h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); margin: 14px 0 0; }
.sh-section-head p { margin: 16px auto 0; color: var(--c-ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.12rem); max-width: 60ch; }

/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE
   ══════════════════════════════════════════════════════════════════ */

/* Hero */
.sh-hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(201, 161, 59, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(18, 59, 46, .08), transparent 60%),
    var(--c-bg);
}
.sh-hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.sh-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.sh-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 600; color: var(--c-ink-2);
  box-shadow: var(--sh-1);
}
.sh-chip img { width: 26px; height: 26px; border-radius: 50%; }
.sh-chip__dot { width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: #2E9B6A; box-shadow: 0 0 0 4px rgba(46, 155, 106, .18); }

.sh-hero h1 {
  font-size: clamp(2.2rem, 1.35rem + 3.6vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.sh-hero h1 em { font-style: italic; color: var(--c-green-600) !important; }
.sh-hero__copy { margin-top: 22px; display: grid; gap: 14px; }
.sh-hero__copy p { margin: 0; }
.sh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sh-hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: .92rem; color: var(--c-ink-3); }
.sh-stars { color: var(--c-gold); letter-spacing: 2px; font-size: 1.05rem; flex-shrink: 0; }

.sh-hero__media { position: relative; }
.sh-hero__photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 3.4;
}
.sh-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.sh-hero__photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  background: linear-gradient(180deg, transparent 55%, rgba(8, 30, 23, .25));
}
.sh-hero__frame {
  position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--c-gold); border-radius: var(--r-lg); opacity: .55;
}
.sh-bubble {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  max-width: 290px; padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, .96);
  border-radius: 16px; box-shadow: var(--sh-2);
  animation: shFloat 6s ease-in-out infinite;
}
.sh-bubble--a { top: 24px; left: -28px; }
.sh-bubble--b { bottom: 28px; right: -24px; animation-delay: -3s; }
.sh-bubble__avatar {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; color: #fff;
}
.sh-bubble__text b { display: block; font-size: .88rem; line-height: 1.35; color: var(--c-ink); font-weight: 600; }
.sh-bubble__text span { display: block; margin-top: 2px; font-size: .76rem; color: var(--c-ink-3); }
@keyframes shFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Trust strip */
.sh-trust { background: var(--c-green); color: #fff; padding: clamp(28px, 4vw, 40px) 0; }
.sh-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sh-trust__item { display: flex; align-items: center; gap: 16px; }
.sh-trust__item + .sh-trust__item { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 24px; }
.sh-trust__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(201, 161, 59, .16); color: var(--c-gold-300);
}
.sh-trust__item b { display: block; font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); font-weight: 600; line-height: 1.2; color: #fff; }
.sh-trust__item span { display: block; font-size: .9rem; color: rgba(255, 255, 255, .72); line-height: 1.45; margin-top: 2px; }

/* Story cards */
.sh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.sh-card {
  display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sh-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.sh-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.sh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sh-card:hover .sh-card__media img { transform: scale(1.04); }
.sh-card__badge {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(8, 30, 23, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: .78rem; font-weight: 600;
}
.sh-card__badge svg { color: var(--c-gold-300); }
.sh-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.sh-card__body h3 { font-size: 1.4rem; }
.sh-card__body p { margin: 12px 0 0; color: var(--c-ink-2); font-size: .97rem; }
.sh-card__quote {
  margin-top: auto;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--c-gold-50); border-left: 3px solid var(--c-gold);
  font-family: var(--f-display); font-style: italic; font-size: 1rem; line-height: 1.5; color: var(--c-ink);
}

/* Two futures */
.sh-compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.sh-compare__card { padding: clamp(26px, 3.5vw, 44px); border-radius: var(--r-lg); }
.sh-compare__card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 10px 0 12px; }
.sh-compare__card > p { margin: 0 0 22px; }
.sh-compare__label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sh-compare__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sh-compare__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; line-height: 1.5; }
.sh-compare__list svg { flex-shrink: 0; margin-top: 2px; }

.sh-compare__card--before { background: var(--c-surface); border: 1px solid var(--c-line); }
.sh-compare__card--before .sh-compare__label { color: var(--c-crimson); }
.sh-compare__card--before > p { color: var(--c-ink-2); }
.sh-compare__card--before .sh-compare__list li { color: var(--c-ink-2); }
.sh-compare__card--before svg { color: var(--c-crimson); opacity: .8; }

.sh-compare__card--after {
  background: linear-gradient(160deg, var(--c-green-600) 0%, var(--c-green) 45%, var(--c-green-900) 100%);
  color: #fff; box-shadow: var(--sh-3); position: relative; overflow: hidden;
}
.sh-compare__card--after::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 59, .28), transparent 70%);
}
.sh-compare__card--after h3 { color: #fff; }
.sh-compare__card--after .sh-compare__label { color: var(--c-gold-300); }
.sh-compare__card--after > p, .sh-compare__card--after .sh-compare__list li { color: rgba(255, 255, 255, .86); }
.sh-compare__card--after svg { color: var(--c-gold-300); }

/* Visualizer */
.sh-vis {
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(201, 161, 59, .18), transparent 65%),
    linear-gradient(180deg, var(--c-green-800), var(--c-green-900));
  color: #fff;
}
.sh-vis__panel {
  max-width: 880px; margin: 0 auto; text-align: center;
  padding: clamp(28px, 5vw, 56px);
  background: var(--c-surface); color: var(--c-ink);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  position: relative;
}
.sh-vis__panel::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--c-gold-300); border-radius: 16px; pointer-events: none; opacity: .6;
}
.sh-vis__panel h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin: 12px 0 10px; }
.sh-vis__panel > p { color: var(--c-ink-2); max-width: 54ch; margin: 0 auto; }
.sh-vis__form {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 30px; text-align: left;
}
.sh-field { display: grid; gap: 6px; }
.sh-field label { font-size: .8rem; font-weight: 600; color: var(--c-ink-2); }
.sh-input, .sh-select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--c-ink);
  background: var(--c-bg); border: 1.5px solid var(--c-line-strong); border-radius: var(--r-md);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.sh-select {
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23123B2E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.sh-input:focus, .sh-select:focus { outline: none; border-color: var(--c-green); background-color: #fff; box-shadow: 0 0 0 4px rgba(18, 59, 46, .12); }
.sh-vis__form .sh-btn { grid-column: 1 / -1; justify-self: center; min-height: 52px; min-width: min(100%, 320px); margin-top: 6px; }

.vis-result-card {
  display: none;
  position: relative; z-index: 1;
  margin-top: 28px; padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(160deg, var(--c-green), var(--c-green-900));
  color: #fff; border-radius: var(--r-lg); text-align: center;
  animation: shReveal .5s ease-out;
}
@keyframes shReveal { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.vis-result-card .sh-vis__crest { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--c-gold); }
.vis-result-card .sh-vis__date { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold-300); }
.vis-result-card h3 { color: #fff; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); line-height: 1.35; margin: 10px auto 14px; max-width: 34ch; }
.vis-result-card h3 #visChildName { color: var(--c-gold-300); font-style: italic; }
.vis-result-card p { color: rgba(255, 255, 255, .78); max-width: 56ch; margin: 0 auto 22px; }
/* Starting-level finder result */
.sh-vis__level { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 2rem; border-radius: 50%; background: rgba(230, 203, 128, .14); box-shadow: 0 0 0 1px rgba(230, 203, 128, .35); }
.vis-result-card h3 em { color: var(--c-gold-300); font-style: italic; }
.vis-result-card .sh-vis__focus { margin-bottom: 14px; color: rgba(255, 255, 255, .88); }
.sh-vis__topics { list-style: none; margin: 0 auto 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 560px; }
.sh-vis__topics li { padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .9rem; font-weight: 500; }
.vis-result-card .sh-vis__note { font-size: .88rem; color: rgba(255, 255, 255, .66); }

/* Founder */
.sh-founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1000px; margin: 0 auto; }
.sh-founder__crest {
  width: clamp(140px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 6px var(--c-surface), 0 0 0 8px var(--c-gold), var(--sh-2);
}
.sh-founder blockquote { margin: 0; }
.sh-founder h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); font-style: italic; }
.sh-founder p { margin: 18px 0 0; color: var(--c-ink-2); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.8; }
.sh-founder__sig { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.sh-founder__sig b { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--c-ink); }
.sh-founder__sig span { display: block; font-size: .88rem; color: var(--c-ink-3); margin-top: 2px; }

/* Closing CTA band (home + courses) */
.sh-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 60px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(201, 161, 59, .25), transparent 70%),
    linear-gradient(140deg, var(--c-green-600), var(--c-green) 50%, var(--c-green-900));
  color: #fff; box-shadow: var(--sh-3);
}
.sh-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); max-width: 20ch; }
.sh-cta p { margin: 12px 0 0; color: rgba(255, 255, 255, .78); max-width: 52ch; }
.sh-cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.sh-cta__actions a.sh-cta__link { color: rgba(255, 255, 255, .8); font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.sh-cta__actions a.sh-cta__link:hover { color: #fff; }

/* Reveal-on-scroll (progressive — only when JS adds .sh-js) */
.sh-js .sh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.sh-js .sh-reveal.is-in { opacity: 1; transform: none; }

/* ── Homepage responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .sh-bubble--a { left: -12px; }
  .sh-bubble--b { right: -8px; }
}
@media (max-width: 1024px) {
  .sh-hero__grid { grid-template-columns: 1fr; }
  .sh-hero__content { max-width: 720px; }
  .sh-hero__media { max-width: 720px; width: 100%; margin: 8px auto 0; }
  .sh-hero__photo { aspect-ratio: 16 / 11; }
  .sh-cards { grid-template-columns: 1fr 1fr; }
  .sh-cards > :last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .sh-cards > :last-child .sh-card__media { aspect-ratio: auto; height: 100%; min-height: 260px; }
  .sh-vis__form { grid-template-columns: 1fr 1fr; }
  .sh-vis__form .sh-btn { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .sh-trust__grid { grid-template-columns: 1fr; gap: 18px; }
  .sh-trust__item + .sh-trust__item { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; }
  .sh-cards { grid-template-columns: 1fr; }
  .sh-cards > :last-child { display: flex; grid-column: auto; }
  .sh-cards > :last-child .sh-card__media { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .sh-compare { grid-template-columns: 1fr; }
  .sh-founder { grid-template-columns: 1fr; text-align: center; }
  .sh-founder__crest { margin: 0 auto; }
  .sh-cta { flex-direction: column; align-items: flex-start; }
  .sh-cta__actions { align-items: flex-start; }
}
@media (max-width: 640px) {
  .sh-hero__actions .sh-btn { width: 100%; }
  .sh-hero__proof { align-items: flex-start; }
  .sh-bubble { position: relative; inset: auto; max-width: none; margin-top: 12px; animation: none; }
  .sh-hero__frame { display: none; }
  .sh-hero__photo { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
  .sh-vis__form { grid-template-columns: 1fr; }
  .sh-card__body { padding: 20px; }
  .sh-cta__actions, .sh-cta__actions .sh-btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════
   INNER PAGES — restyle legacy components from styles.css
   ══════════════════════════════════════════════════════════════════ */
body.site main > section,
body.site main section { border-bottom: 0; }
body.site main > section:not(.sh-section):not(.sh-hero):not(.sh-trust):not(.sh-page-hero) { padding: clamp(48px, 7vw, 88px) 0; }

/* Page hero band used on every inner page */
.sh-page-hero {
  padding: clamp(44px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(800px 380px at 100% 0%, rgba(201, 161, 59, .14), transparent 65%),
    var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
}
.sh-page-hero h1, body.site .page-head h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.12; letter-spacing: -.02em;
  margin-top: 14px; max-width: 24ch;
}
.sh-page-hero .lede, body.site .page-head .lede { margin-top: 18px; }
body.site .page-head { padding: 0; }

/* FAQ */
body.site .faq-list { max-width: 820px; display: grid; gap: 12px; }
body.site details.faq-item {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 0; box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s;
}
body.site details.faq-item[open] { border-color: var(--c-line-strong); box-shadow: var(--sh-2); }
body.site details.faq-item summary {
  padding: 20px 22px; font-family: var(--f-display); font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); font-weight: 600;
  line-height: 1.35; color: var(--c-ink);
}
body.site details.faq-item summary::after {
  content: ""; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  background: var(--c-green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23123B2E' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .2s ease;
}
body.site details.faq-item[open] summary::after { content: ""; transform: rotate(45deg); }
body.site details.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--c-ink-2); font-size: 1rem; line-height: 1.75; max-width: 68ch; }
.sh-faq-help {
  max-width: 820px; margin-top: 32px; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1px dashed var(--c-line-strong); border-radius: var(--r-md);
}
.sh-faq-help p { margin: 0; color: var(--c-ink-2); }

/* Results */
body.site .results-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
body.site .script-card {
  display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 28px 26px 22px; box-shadow: var(--sh-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
body.site .script-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
body.site .script-card::before {
  content: "\201C"; display: block; height: 36px;
  font-family: var(--f-display); font-size: 4rem; line-height: 1; color: var(--c-gold);
}
body.site .script-card .quote { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.6; color: var(--c-ink); margin: 0 0 22px; }
body.site .script-card .script-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line); }
body.site .script-who b { font-weight: 700; }
body.site .script-who span { color: var(--c-ink-3); font-size: .86rem; }
body.site .soft-cta {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 26px 30px; box-shadow: var(--sh-1);
}
body.site .soft-cta p { font-size: 1rem; }
body.site .soft-cta a { color: var(--c-green); }
@media (max-width: 1024px) { body.site .results-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { body.site .results-grid { grid-template-columns: 1fr; } }

/* About */
body.site .about-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sh-portrait {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--sh-2); text-align: center;
}
.sh-portrait img {
  width: min(78%, 300px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 6px var(--c-surface), 0 0 0 8px var(--c-gold), var(--sh-2);
}
.sh-portrait__caption { margin-top: 26px; display: grid; gap: 4px; }
.sh-portrait__caption b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--c-ink); }
.sh-portrait__caption span { font-size: .86rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-700); }
body.site .about-grid h1 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.9rem); line-height: 1.15; margin-top: 14px; }
body.site .cred-list { gap: 12px; margin: 30px 0 32px; }
body.site .cred-item {
  align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
}
body.site .cred-item .mono {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; padding: 0;
  display: grid; place-items: center;
  background: var(--c-gold-50); color: var(--c-gold-700); font-family: var(--f-body); font-weight: 700; font-size: .85rem;
}
body.site .cred-item p { font-size: 1rem; line-height: 1.55; color: var(--c-ink-2); }
@media (max-width: 900px) { body.site .about-grid { grid-template-columns: 1fr; } .sh-portrait { max-width: 440px; } }

/* Courses */
body.site .levels-table-wrap { border-radius: var(--r-lg); border-color: var(--c-line); box-shadow: var(--sh-1); background: var(--c-surface); -webkit-overflow-scrolling: touch; }
body.site table.levels-table th { font-family: var(--f-body); font-weight: 700; font-size: .74rem; letter-spacing: .1em; background: var(--c-bg-alt); color: var(--c-ink-2); }
body.site table.levels-table td { font-size: .95rem; }
body.site table.levels-table tbody tr:hover td { background: var(--c-bg); }
body.site .unit-tab { min-height: 42px; padding: 8px 18px; font-weight: 500; background: var(--c-surface); border-color: var(--c-line-strong); }
body.site .unit-tab.active { background: var(--c-green); border-color: var(--c-green); color: #fff; }
body.site .unit-grid-note { font-family: var(--f-body); font-size: .85rem; }
body.site .unit-tile { border-radius: var(--r-md); border-color: var(--c-line); background: var(--c-surface); box-shadow: var(--sh-1); }
body.site .unit-tile:hover { border-color: var(--c-gold); box-shadow: var(--sh-2); }
body.site .dl-guide { border-radius: var(--r-lg); border: 1px solid var(--c-line); border-left: 4px solid var(--c-gold); background: var(--c-surface); box-shadow: var(--sh-1); padding: clamp(24px, 4vw, 40px); }
body.site .dl-btn { min-height: 48px; border-radius: var(--r-pill); padding: 10px 20px; background: var(--c-surface); border-color: var(--c-line-strong); }
body.site .dl-btn:hover { border-color: var(--c-green); }
body.site .dl-btn span { font-family: var(--f-body); font-weight: 700; }
body.site .dl-btn-primary { background: var(--c-green); border-color: var(--c-green); color: #fff; }
body.site .dl-btn-primary:hover { background: var(--c-green-800); }
body.site .whats-inside { gap: 18px; }
body.site .whats-inside-item {
  text-align: left; padding: 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
}
body.site .whats-inside-item .wi-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c-gold-50); font-size: 1.5rem; margin-bottom: 14px;
}
body.site .whats-inside-item h4 { font-size: 1.15rem; }
body.site .whats-inside-item p { font-size: .94rem; line-height: 1.6; margin-top: 6px; }
:where(body.site main) :where(h2) { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
@media (max-width: 1024px) { body.site .whats-inside { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { body.site .whats-inside { grid-template-columns: 1fr; } }

/* Legacy CTA band → new look */
body.site .cta-band {
  border-radius: var(--r-lg); padding: clamp(32px, 5vw, 60px);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(201, 161, 59, .25), transparent 70%),
    linear-gradient(140deg, var(--c-green-600), var(--c-green) 50%, var(--c-green-900));
  box-shadow: var(--sh-3);
}
body.site .cta-band h2 { color: #fff; }
body.site .cta-band p { color: rgba(255, 255, 255, .78); }
body.site .cta-band .btn-primary { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-green-900); }
body.site .cta-band .btn-primary:hover { background: var(--c-gold-300); }
@media (max-width: 768px) {
  body.site .cta-band { flex-direction: column; align-items: flex-start; }
  body.site .cta-band > div:last-child { align-items: flex-start !important; width: 100%; }
}

/* Practice room keeps its own component styles; just align the page head */
body.site .practice-room { padding-top: clamp(28px, 4vw, 48px) !important; }

/* ── Print ───────────────────────────────────────────────────── */
@media print {
  .sh-header, .sh-footer, .sh-skip { display: none !important; }
  body.site { background: #fff; }
}

@media (max-width: 640px) {
  .sh-eyebrow--center::before { display: none; }
}
body.site table.levels-table { min-width: 760px; }
body.site table.levels-table td:nth-child(2) { white-space: nowrap; }
body.site table.levels-table td.level-cell-focus, body.site table.levels-table td:nth-child(4) { min-width: 220px; }
body.site .sh-page-hero h1 { font-family: var(--f-display); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   PHONE SIMPLIFICATION — keep headlines, photos and actions; drop the
   long supporting copy so each section reads at a glance.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Hero: one short paragraph, no badge row, no quote bubbles */
  .sh-hero__chips { display: none; }
  .sh-hero__copy p + p { display: none; }
  .sh-bubble { display: none; }
  .sh-hero__media { margin-top: 0; }
  .sh-hero__proof { margin-top: 20px; font-size: .86rem; }

  /* Trust strip: compact three-up numbers, no captions */
  .sh-trust { padding: 22px 0; }
  .sh-trust__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sh-trust__item, .sh-trust__item + .sh-trust__item {
    flex-direction: column; text-align: center; gap: 8px;
    border: 0; padding: 0;
  }
  .sh-trust__icon { width: 40px; height: 40px; border-radius: 12px; }
  .sh-trust__item b { font-size: 1rem; line-height: 1.25; }
  .sh-trust__item span { display: none; }

  /* Section intros: heading only */
  .sh-section-head p { display: none; }
  .sh-section-head { margin-bottom: 28px; }

  /* Story cards: photo, title and a short description */

  /* Two futures: just the label, title and the three points */
  .sh-compare__card > p { display: none; }

  /* Visualizer: no intro paragraph */
  .sh-vis__panel > p { display: none; }

  /* Founder: crest, quote and signature */
  .sh-founder p { display: none; }
  .sh-founder__crest { width: 120px; }
  .sh-founder__sig span { display: none; }

  /* Closing CTA: heading and buttons */
  .sh-cta p { display: none; }

  /* Footer: brand, parents links and contact — the nav already covers "Explore" */
  .sh-footer__tagline { display: none; }
  .sh-footer__grid > div:nth-child(2) { display: none; }
  .sh-footer__bottom span + span { display: none; }

  /* Inner pages: compact hero intros. (A 3-line clamp used to cut these off
     mid-sentence with "…" and no way to read the rest.) */
  .sh-page-hero .lede { font-size: 1rem; line-height: 1.6; }
}
.sh-footer a[href^="mailto:"] { overflow-wrap: anywhere; }
