/* ============================================================
   The A-Level Clinic — stylesheet
   Concept: "the clinic for grades" — clinical precision meets
   the D→A* journey and medical-school aspiration.
   ============================================================ */

:root {
  --ink:        #0b1e2a;
  --ink-2:      #102c3d;
  --ink-soft:   #c4d6df;
  --ink-faint:  #8aa6b4;
  --paper:      #ffffff;
  --mist:       #eef3f4;
  --mist-2:     #f7fafa;
  --emerald:    #138a5e;
  --emerald-br: #18a673;
  --emerald-dk: #0d6a48;
  --gold:       #e3ad38;
  --slate:      #3f5666;
  --muted:      #6d8595;
  --line:       #e0e8eb;
  --line-soft:  #edf1f3;

  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:24px;
  --shadow-sm: 0 1px 2px rgba(11,30,42,.06);
  --shadow:    0 14px 40px rgba(11,30,42,.10);
  --shadow-lg: 0 32px 80px rgba(11,30,42,.18);
  --maxw: 1160px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--slate);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; font-weight: 700; }
h1,h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--emerald-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 10px 24px rgba(19,138,94,.32); }
.btn-primary:hover { background: var(--emerald-dk); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px rgba(227,173,56,.34); }
.btn-gold:hover { background: #d59f2a; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { background: transparent; color: var(--emerald-dk); border-color: var(--emerald); }
.btn-outline:hover { background: var(--emerald); color: #fff; }
.btn .play { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(145deg, var(--ink), var(--emerald));
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.brand .mark span { transform: translateY(-1px); }
.brand-logo { height: 50px; width: auto; flex: 0 0 auto; display: block; }
/* name stacked over three lines, the way the original logo set it */
.brand-words { display: flex; flex-direction: column; line-height: 1.0; letter-spacing: -.015em; }
.brand-words .w1 { font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.brand-words .w2 { font-size: 19px; font-weight: 700; }
.brand-words .w3 { font-size: 19px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--emerald-dk); text-decoration: none; }
.nav-cta { padding: 11px 22px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(24,166,115,.22), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(227,173,56,.12), transparent 50%),
    linear-gradient(170deg, #0b1e2a 0%, #0d2636 60%, #113042 100%);
  color: #eaf2f5;
}
.hero::before {   /* faint exam-paper grid */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 34px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.hero .wrap { position: relative; z-index: 2; padding: 72px 24px 80px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }   /* let the column shrink on narrow phones instead of being clipped */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gold); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); display: inline-block; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; margin-bottom: 22px; font-weight: 500; }
.hero h1 em { font-style: italic; color: #fff; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 40ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.hero-cta .text-link { color: #fff; font-weight: 500; font-size: 15px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-trust > div { font-size: 14px; color: var(--ink-faint); }
.hero-trust b { display: block; color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.01em; }

/* Hero card — grade transformation + VSL hook */
.gradecard {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 10px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(4px);
}
.gradecard .screen {
  background: linear-gradient(160deg, #0a1b26, #10323f);
  border-radius: 18px; padding: 26px; border: 1px solid rgba(255,255,255,.07);
}
.gradecard .tag { font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em; }
.transform { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 20px; }
.gr { text-align: center; }
.gr .lbl { font-size: 12px; color: var(--ink-faint); margin-bottom: 6px; }
.gr .val { font-family: var(--serif); font-size: 60px; font-weight: 600; line-height: 1; }
.gr.before .val { color: #6f8695; }
/* strike only the number — the "<" sitting on the line read as an arrowhead */
.gr.before .val .num { text-decoration: line-through; text-decoration-thickness: 3px; }
.gr.before .val .lt { margin-right: 9px; }
.gr.after .val { color: var(--gold); }
.transform .arrow { color: var(--emerald-br); font-size: 26px; }
.proofline { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: rgba(24,166,115,.12); border: 1px solid rgba(24,166,115,.28); border-radius: 12px; }
.proofline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-br); flex: 0 0 auto; }
.proofline p { margin: 0; font-size: 14px; color: #dcebec; }
.proofline b { color: #fff; }
.vsl-hook { display: flex; align-items: center; gap: 13px; margin-top: 12px; padding: 14px 10px 6px; }
.vsl-hook .playbtn {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto;
  background: var(--gold); display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(227,173,56,.4);
}
.vsl-hook .playbtn svg { width: 18px; height: 18px; margin-left: 2px; }
.vsl-hook div b { color: #fff; display: block; font-size: 15px; }
.vsl-hook div span { font-size: 13px; color: var(--ink-faint); }
.vsl-hook a { position: absolute; inset: 0; }
.vsl-wrap { position: relative; }

/* ---------- Trust strip ---------- */
.trustbar { background: var(--ink); color: var(--ink-soft); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; padding: 20px 24px; font-size: 14.5px; }
.trustbar span { display: inline-flex; align-items: center; gap: 9px; }
.trustbar span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-br); }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-soft { background: var(--mist-2); }
.section-tint { background: var(--mist); }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head .kicker { color: var(--emerald-dk); }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--emerald-dk); margin-bottom: 14px; }

/* ---------- Problem (editorial statement) ---------- */
.statement { max-width: 940px; margin: 0 auto; text-align: center; }
.statement h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.15; margin-bottom: 20px; }
.statement h2 .hl { color: var(--emerald-dk); font-style: italic; }
.statement .lead { font-size: 20px; max-width: 60ch; margin: 0 auto 48px; }
.prob-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prob-cell { background: var(--paper); padding: 34px 28px; text-align: left; }
.prob-cell h3 { font-family: var(--sans); font-size: 18px; margin-bottom: 8px; }
.prob-cell p { font-size: 15px; color: var(--muted); margin: 0; }
.prob-cell .n { font-family: var(--serif); font-size: 15px; color: var(--emerald); font-weight: 600; }

/* ---------- Story ---------- */
.story-sec { background: var(--ink); color: var(--ink-soft); }
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.story-visual {
  border-radius: var(--radius-lg); aspect-ratio: 4/5;
  background:
    radial-gradient(130% 100% at 20% 10%, rgba(24,166,115,.3), transparent 60%),
    linear-gradient(160deg, #0f2a3a, #0a1f2b);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 40px; text-align: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.story-visual .shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 12%;
}
.story-visual .shot-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,30,.10) 0%, rgba(8,22,30,.55) 46%, rgba(8,22,30,.93) 76%, #0a1f2b 100%);
}
.story-visual .big, .story-visual .cap { position: relative; z-index: 2; }
.story-visual .big { font-family: var(--serif); font-weight: 600; font-size: clamp(66px,10vw,104px); line-height: .92; color: #fff; }
.story-visual .big .d { color: #70879a; text-decoration: line-through; text-decoration-thickness: 4px; }
.story-visual .big .a { color: var(--gold); }
.story-visual .cap { margin-top: 24px; color: var(--ink-faint); font-size: 14px; max-width: 24ch; }
.story-sec .kicker { color: var(--gold); }
.story-text h2 { color: #fff; font-size: clamp(28px,3.4vw,40px); margin-bottom: 20px; }
.story-text p { color: var(--ink-soft); font-size: 17px; }
.story-sign { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.story-sign .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: block; flex: 0 0 auto; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.story-sign .who { color: #fff; font-weight: 600; font-size: 15px; }
.story-sign .who span { display: block; color: var(--ink-faint); font-weight: 400; font-size: 13.5px; }

/* ---------- Method (a real sequence → numbered) ---------- */
.method { max-width: 860px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.step:first-child { border-top: 0; }
.step .idx { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--emerald); line-height: 1; }
.step .idx span { font-size: 15px; color: var(--muted); display: block; margin-top: 4px; font-family: var(--sans); font-weight: 500; }
.step h3 { font-family: var(--sans); font-size: 22px; margin-bottom: 7px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.method-note { max-width: 680px; margin: 44px auto 0; padding: 24px 28px; background: var(--mist); border-radius: var(--radius); font-size: 15.5px; color: var(--slate); }
.method-note b { color: var(--ink); }

/* ---------- Results ---------- */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.result {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.result .jump { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.result .jump .from { font-family: var(--serif); font-size: 30px; color: var(--muted); font-weight: 600; }
.result .jump .to { font-family: var(--serif); font-size: 44px; color: var(--emerald); font-weight: 600; line-height: 1; }
.result .jump .arr { color: var(--gold); font-size: 22px; }
.result blockquote { margin: 0 0 16px; font-size: 17px; color: var(--slate); line-height: 1.6; }
.result .who { font-weight: 600; color: var(--ink); font-size: 15px; }
.result .who span { color: var(--muted); font-weight: 400; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; max-width: 760px; margin: 0 auto; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border-color: var(--emerald); box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--emerald); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-family: var(--sans); font-size: 20px; margin-bottom: 4px; }
.price-card .amt { font-family: var(--serif); font-size: 46px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.price-card .amt small { font-size: 16px; color: var(--muted); font-weight: 400; font-family: var(--sans); }
.price-card .per-hour { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.price-card .per-hour strong { color: var(--emerald-dk); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; }
.price-card li { padding: 7px 0 7px 28px; position: relative; font-size: 15.5px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.price-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 26px auto 0; max-width: 54ch; }

/* Cost justification */
.cost-why { max-width: 720px; margin: 52px auto 0; text-align: center; }
.cost-why > p { font-size: 17px; color: var(--slate); }
.cost-why .killer { font-family: var(--serif); font-size: clamp(22px,3vw,30px); line-height: 1.32; color: var(--ink); margin: 26px auto; max-width: 20ch; }
.cost-why .killer em { font-style: italic; color: var(--emerald-dk); }
.cost-why .nohidden { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.cost-why .nohidden span { display: inline-flex; align-items: center; gap: 7px; }
.cost-why .nohidden span::before { content: "✓"; color: var(--emerald); font-weight: 700; }

/* Founder credentials */
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.creds span { font-size: 13px; color: var(--ink-soft); border: 1px solid rgba(255,255,255,.2); padding: 7px 13px; border-radius: 999px; }

/* Insight section */
.insight .wrap { max-width: 820px; text-align: center; }
.insight .kicker { color: var(--emerald-dk); }
.insight h2 { font-size: clamp(28px,3.8vw,42px); margin-bottom: 20px; }
.insight p { font-size: 18px; color: var(--slate); }
.insight .big-line { font-family: var(--serif); font-size: clamp(23px,3vw,30px); color: var(--ink); margin: 24px auto; line-height: 1.32; max-width: 24ch; }
.insight .big-line em { font-style: italic; color: var(--emerald-dk); }

/* ---------- VSL conversion block ---------- */
.vsl-sec { background: var(--ink); color: #fff; }
.vsl-box { max-width: 900px; margin: 0 auto; text-align: center; }
.vsl-sec .kicker { color: var(--gold); }
.vsl-box h2 { color: #fff; font-size: clamp(30px,4vw,46px); margin-bottom: 16px; }
.vsl-box p { color: var(--ink-soft); font-size: 19px; max-width: 56ch; margin: 0 auto 36px; }
.vsl-thumb {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/8; max-width: 760px; margin: 0 auto 32px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(24,166,115,.4), transparent 60%),
    linear-gradient(160deg, #11313f, #0a1a24);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.vsl-thumb:hover { text-decoration: none; }
.vsl-thumb .play {
  width: 88px; height: 88px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; box-shadow: 0 16px 40px rgba(227,173,56,.5);
  transition: transform .2s ease;
}
.vsl-thumb:hover .play { transform: scale(1.06); }
.vsl-thumb .play svg { width: 32px; height: 32px; margin-left: 4px; }
.vsl-thumb .cap { position: absolute; bottom: 20px; left: 24px; font-size: 14px; color: var(--ink-soft); }

/* Still frame from the VSL, behind the play button */
.vsl-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 10%;
}
.vsl-thumb .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,30,.12) 0%, rgba(8,22,30,.08) 40%, rgba(8,22,30,.75) 100%);
}
.vsl-thumb .cap { z-index: 2; }
.vsl-thumb .play {
  position: absolute; z-index: 2; left: 50%; top: 70%;
  transform: translate(-50%,-50%);
}
.vsl-thumb:hover .play { transform: translate(-50%,-50%) scale(1.06); }
.vsl-meta { color: var(--ink-faint); font-size: 14px; margin-top: 10px; }

/* ---------- FAQ teaser ---------- */
.faq-teaser { max-width: 760px; margin: 0 auto; }
.faq-teaser .q { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.faq-teaser .q:last-of-type { border-bottom: 1px solid var(--line); }
.faq-teaser .q h3 { font-family: var(--sans); font-size: 18px; margin: 0; }
.faq-teaser .q p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- CTA band (shared) ---------- */
.cta-band { background: linear-gradient(135deg, var(--emerald-dk), var(--emerald)); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: 60px 32px; }
.cta-band h2 { color: #fff; font-size: clamp(26px,3.4vw,38px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 54ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #081821; color: #9db4c0; padding: 60px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr; gap: 34px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: .04em; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9db4c0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.foot-about { max-width: 32ch; color: #7e97a4; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: #6f8694; }

/* ---------- Generic page header (sub-pages) ---------- */
.page-hero { background: linear-gradient(165deg, #0b1e2a, #0f2c3c); color: #fff; padding: 72px 0 60px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(32px,4.6vw,48px); margin-bottom: 12px; }
.page-hero p { color: var(--ink-soft); font-size: 18px; max-width: 60ch; margin: 0 auto; }

/* ---------- FAQ page ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--paper); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 26px; font-size: 17.5px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--sans); }
.faq-q:hover { color: var(--emerald-dk); }
.faq-q .chev { flex: 0 0 auto; transition: transform .2s ease; color: var(--emerald); font-size: 20px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--slate); font-size: 16px; }
.faq-cats { max-width: 820px; margin: 0 auto 40px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.faq-cat { font-size: 14px; font-weight: 600; color: var(--emerald-dk); background: var(--mist); padding: 7px 16px; border-radius: 999px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 15px; margin-bottom: 24px; align-items: flex-start; }
.contact-info .info-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; font-size: 20px; }
.contact-info h4 { font-family: var(--sans); font-size: 16px; margin-bottom: 3px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 15.5px; margin: 0; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--sans); font-size: 15.5px; color: var(--ink); background: var(--paper); transition: border .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(19,138,94,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form-msg { display: none; padding: 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 15px; background: #e7f5ef; color: #156b4b; border: 1px solid #b6e0cf; }
.form-msg.show { display: block; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-family: var(--sans); font-size: 22px; margin: 36px 0 12px; color: var(--ink); }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--slate); font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal .updated { color: var(--muted); font-size: 14.5px; font-style: italic; }

/* ---------- Motion ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .story, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gradecard { order: 2; max-width: 460px; }
  .story-visual { max-width: 420px; order: 2; }
  .results, .price-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s ease; }
  .nav-links.show { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 12px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .prob-row, .results, .price-grid, .foot-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero .wrap { padding: 44px 24px 44px; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; }
  /* hero grade card: the 60px figures overran a phone screen */
  .gradecard .screen { padding: 20px 18px; }
  .gr .val { font-size: clamp(36px, 11vw, 60px); }
  .transform .arrow { font-size: 20px; }
  .gr.before .val .lt { margin-right: 5px; }
  /* trust figures in a tidy 2-up instead of a ragged wrap */
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .hero-trust b { font-size: 22px; }
  /* trust strip: centred items made a ragged zigzag on a narrow screen */
  .trustbar .wrap { justify-content: flex-start; gap: 12px 26px; }
  /* "Grade C -> Grade A" was breaking across lines */
  .result .jump { flex-wrap: nowrap; gap: 10px; }
  .result .jump .from, .result .jump .to { white-space: nowrap; }
  .result .jump .from { font-size: 24px; }
  .result .jump .to { font-size: 34px; }
  /* smaller play button so the still reads properly on a phone */
  .vsl-thumb .play { width: 56px; height: 56px; top: 62%; }
  .vsl-thumb .play svg { width: 22px; height: 22px; margin-left: 3px; }
  .vsl-thumb .cap { bottom: 14px; left: 16px; font-size: 13px; }
}
