
:root {
  --flame: #E85D3A;
  --flame-light: #F2816A;
  --flame-dark: #C94A2B;
  --flame-ink: #C0432A; /* darker flame for small text on light backgrounds — WCAG AA (~4.7:1 on cream) */
  --sun: #F5A623;
  --sun-light: #FFD080;
  --ocean: #1A7A6D;
  --ocean-light: #2BA696;
  --ocean-dark: #14605A;
  --ink: #141E2B;
  --ink-mid: #2B3A4E;
  --ink-soft: #5A6B7F;
  --ink-muted: #68727F;
  --sand: #FBF6F0;
  --sand-dark: #F0E8DC;
  --sand-mid: #E8DFD2;
  --white: #FFFFFF;
  --mint: #48BB78;
  --rose: #E53E3E;
  --star: #F6AD55;
  --gold: #F5A623;
  --grey: #5A6B7F;
  --violet: #805AD5;
  --shadow-xs: 0 1px 2px rgba(20,30,43,0.05);
  --shadow-sm: 0 2px 8px rgba(20,30,43,0.07);
  --shadow-md: 0 4px 20px rgba(20,30,43,0.10);
  --shadow-lg: 0 12px 40px rgba(20,30,43,0.13);
  --shadow-xl: 0 24px 60px rgba(20,30,43,0.16);
  --r: 12px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --font: var(--font-body);
}
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:var(--font-body);background:var(--sand);color:var(--ink);line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
h1,h2,h3,.serif{font-family:var(--font-display);font-weight:400;}
input,select,textarea,button{font-family:var(--font-body);}

/* SCROLLBAR */
::-webkit-scrollbar{width:6px;}
::-webkit-scrollbar-track{background:transparent;}
::-webkit-scrollbar-thumb{background:var(--sand-dark);border-radius:3px;}

/* ━━ SCROLL REVEAL ━━ */
.reveal,.reveal-left,.reveal-right,.reveal-scale{opacity:0;transition:opacity 0.45s ease-out,transform 0.45s ease-out;will-change:opacity,transform;}
.reveal{transform:translate3d(0,30px,0);}
.reveal-left{transform:translate3d(-30px,0,0);}
.reveal-right{transform:translate3d(30px,0,0);}
.reveal-scale{transform:scale(0.95);}
.reveal-up{opacity:0;transform:translate3d(0,30px,0);transition:opacity 0.45s ease,transform 0.45s ease;}
.reveal-up:nth-child(1){transition-delay:0s;}
.reveal-up:nth-child(2){transition-delay:0.04s;}
.reveal-up:nth-child(3){transition-delay:0.08s;}
.reveal-up:nth-child(4){transition-delay:0.12s;}
.reveal-up:nth-child(5){transition-delay:0.16s;}
.reveal-up:nth-child(6){transition-delay:0.2s;}
.reveal.visible,.reveal-left.visible,.reveal-right.visible,.reveal-scale.visible,.reveal-up.visible{opacity:1;transform:translate3d(0,0,0) scale(1);}
@media(prefers-reduced-motion:reduce){.reveal,.reveal-left,.reveal-right,.reveal-scale,.reveal-up{opacity:1!important;transform:none!important;transition:none!important;}}
/* Stagger — each child delays slightly */
.stagger .reveal:nth-child(1){transition-delay:0s;}
.stagger .reveal:nth-child(2){transition-delay:0.08s;}
.stagger .reveal:nth-child(3){transition-delay:0.16s;}
.stagger .reveal:nth-child(4){transition-delay:0.24s;}
.stagger .reveal:nth-child(5){transition-delay:0.32s;}
.stagger .reveal:nth-child(6){transition-delay:0.4s;}
/* Hero entrance */
.hero-inner h1{opacity:0;transform:translate3d(0,20px,0);animation:heroIn 0.6s ease-out 0.1s forwards;will-change:opacity,transform;}
.hero-sub{opacity:0;transform:translate3d(0,20px,0);animation:heroIn 0.6s ease-out 0.25s forwards;will-change:opacity,transform;}
.search-bar{opacity:0;transform:translate3d(0,20px,0);animation:heroIn 0.6s ease-out 0.4s forwards;will-change:opacity,transform;}
.hero-stats{opacity:0;transform:translate3d(0,20px,0);animation:heroIn 0.6s ease-out 0.55s forwards;will-change:opacity,transform;}
@keyframes heroIn{to{opacity:1;transform:translate3d(0,0,0);}}

/* ━━ NAV ━━ */
nav{position:fixed;top:12px;left:16px;right:16px;z-index:100;background:rgba(251,246,240,0.70);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(20,30,43,0.06);border-radius:18px;height:60px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px rgba(20,30,43,0.05);transition:background .28s ease,box-shadow .28s ease,top .28s ease;will-change:transform;}
nav.nav-solid{background:rgba(251,246,240,0.97);box-shadow:0 10px 34px rgba(20,30,43,0.14);top:8px;}
.nav-inner{width:100%;max-width:1200px;padding:0 clamp(16px,4vw,40px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;}
.logo{justify-self:start;font-family:var(--font-display);font-size:1.45rem;color:var(--flame);cursor:pointer;font-weight:600;letter-spacing:-0.5px;transition:opacity .2s;}
.logo:hover{opacity:0.8;}
.logo span{color:var(--ink);}
.nav-mid{display:flex;gap:4px;align-items:center;justify-content:center;}
.nav-link{padding:7px 16px;border-radius:8px;font-size:0.84rem;font-weight:500;color:var(--ink-soft);cursor:pointer;border:none;background:none;transition:all .2s;}
.nav-link:hover{color:var(--ink);background:rgba(20,30,43,0.04);}
.nav-link.active{color:var(--flame-ink);background:rgba(232,93,58,0.07);}
.nav-right{display:flex;gap:6px;align-items:center;justify-content:flex-end;}
.btn{padding:8px 20px;border-radius:100px;font-size:0.85rem;font-weight:600;cursor:pointer;border:none;transition:all .25s;display:inline-flex;align-items:center;gap:6px;}
.btn:active{transform:scale(0.97);}
.btn-ghost{background:none;color:var(--flame-ink);border:1.5px solid var(--flame);}
.btn-ghost:hover{background:var(--flame);color:#fff;}
/* GHOST MEANS GHOST ON THE DASHBOARDS (25 Nov 2026, live journey test item 7). On the built site every
   .btn-ghost rendered as a solid orange button with white text, the same as .btn-primary, so "Close",
   "Not now" and "These hours are still right" read as the main action. Cause: the cascade bug the
   comments at .sn-shopband .btn-ghost and #browseMoreBtn describe. site-tokens.css's `.btn` fill is
   the same specificity as `.btn-ghost` (0,1,0) and is injected after this <style>, so it wins.
   The fix restores THIS file's own ghost (transparent, --flame-ink text, the --flame border above), at
   a specificity that beats the token layer, but only on the two dashboards and the session-detail
   panel (.sn-sess-detail, appended to <body>). Site-wide would repaint ~50 buttons on public pages
   nobody has looked at in this round. Hover is a tint, not the old --flame fill: several of these
   buttons carry an inline text colour (the red cancel buttons), which would sit unreadably on a fill.
   Inline colours still win over this rule, as they should. */
#p-dash-student .btn.btn-ghost,#p-dash-tutor .btn.btn-ghost,.sn-sess-detail .btn.btn-ghost{background:none;color:var(--flame-ink);}
#p-dash-student .btn.btn-ghost:hover,#p-dash-tutor .btn.btn-ghost:hover,.sn-sess-detail .btn.btn-ghost:hover{background:rgba(192,67,42,0.08);}
/* Blocked conversation. The block is enforced by trg_message_block_enforce on public.messages
   (migration 0175); this is only how it reads. The copy deliberately states that nothing has been
   deleted - the thread is the evidence of why the block exists. */
.sn-blocked{padding:12px 16px;border-top:1px solid rgba(20,30,43,0.08);background:var(--sand);font-size:0.82rem;color:var(--ink-soft);line-height:1.5;}
.sn-blocked strong{color:var(--ink);}
.sn-blocked p{margin:8px 0 0;}
.btn-primary{background:var(--flame);color:#fff;box-shadow:0 2px 8px rgba(232,93,58,0.2);}
.btn-primary:hover{background:var(--flame-dark);transform:translateY(-1px);box-shadow:0 4px 16px rgba(232,93,58,0.3);}
.btn-ocean{background:var(--ocean);color:#fff;box-shadow:0 2px 8px rgba(26,122,109,0.2);}
.btn-ocean:hover{background:var(--ocean-dark);transform:translateY(-1px);box-shadow:0 4px 16px rgba(26,122,109,0.3);}
.btn-lg{padding:13px 28px;font-size:0.95rem;border-radius:10px;}
.btn-full{width:100%;justify-content:center;padding:13px;border-radius:100px;font-size:0.95rem;}
.btn-icon{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;}

/* ━━ PAGES ━━ */
.page{display:none;padding-top:64px;min-height:100vh;}
.page.active{display:block;animation:fadeUp .6s cubic-bezier(0.25,0.46,0.45,0.94);}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}

/* ━━ HERO ━━ */
/* THE HERO RUNS TO THE TOP OF THE PAGE and the bar floats over it, restored 20 Oct 2026 at the
   owner's request. The shared header is sticky and therefore occupies a row of layout before
   main; this negative margin pulls the hero back up under it so the gradient starts at y=0 and
   the bar sits on top. 82px is the bar's own height plus its 12px inset, measured.
   The 120px of top padding already in this rule is what keeps the headline clear of the bar - it
   was written for exactly this overlay before the shared header replaced it, and is why nothing
   else has to move. */
#p-home .hero{margin-top:-82px;}
@media(max-width:560px){ #p-home .hero{margin-top:-74px;} }
.hero{position:relative;padding:120px clamp(16px,4vw,40px) 140px;background:linear-gradient(145deg,var(--ink) 0%,#1F3044 30%,#2A1B3D 60%,var(--flame-dark) 100%);background-size:300% 300%;animation:heroGradient 12s ease infinite;overflow:hidden;}
@keyframes heroGradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.hero::before{content:'';position:absolute;top:-40%;right:-15%;width:700px;height:700px;background:radial-gradient(circle,rgba(232,93,58,0.25) 0%,transparent 70%);border-radius:50%;animation:heroPulse 8s ease-in-out infinite;}
.hero::after{content:'';position:absolute;bottom:-25%;left:-8%;width:500px;height:500px;background:radial-gradient(circle,rgba(245,166,35,0.15) 0%,transparent 70%);border-radius:50%;animation:heroPulse 10s ease-in-out infinite reverse;}
@keyframes heroPulse{0%{transform:scale(1);opacity:0.6}50%{transform:scale(1.15);opacity:1}100%{transform:scale(1);opacity:0.6}}
@keyframes heroFloat{0%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-20px) rotate(5deg)}100%{transform:translateY(0) rotate(0deg)}}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(232,93,58,0.4)}70%{box-shadow:0 0 0 8px rgba(232,93,58,0)}100%{box-shadow:0 0 0 0 rgba(232,93,58,0)}}
@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}
.skeleton{background:linear-gradient(90deg,rgba(20,30,43,0.06) 25%,rgba(20,30,43,0.1) 50%,rgba(20,30,43,0.06) 75%);background-size:800px 100%;animation:shimmer 1.5s infinite;border-radius:8px;}
.skel-card{background:#fff;border-radius:var(--r-lg);padding:20px;box-shadow:var(--shadow-xs);}
.skel-line{height:14px;margin-bottom:10px;border-radius:6px;}
.skel-circle{border-radius:50%;}
.skel-block{border-radius:10px;}
.faq-item{background:#fff;border-radius:12px;overflow:hidden;border:1px solid rgba(20,30,43,0.06);transition:all .2s;}
.faq-item:hover{border-color:rgba(232,93,58,0.15);}
.faq-q{padding:18px 22px;font-weight:600;font-size:0.95rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;user-select:none;transition:color .2s;}
.faq-q:hover{color:var(--flame-ink);}
.faq-icon{font-size:1.2rem;color:var(--flame-ink);transition:transform .3s;flex-shrink:0;}
.faq-a{padding:0 22px;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;font-size:0.9rem;color:var(--ink-soft);line-height:1.7;}
.faq-item.open .faq-a{max-height:500px;padding:0 22px 20px;}
.faq-item.open .faq-icon{transform:rotate(45deg);}
.hero-inner{position:relative;z-index:10;max-width:640px;margin:0 auto;text-align:center;}
.hero h1{font-size:clamp(1.3rem,4.8vw,3.5rem);color:#fff;line-height:1.12;margin-bottom:24px;font-weight:300;}
.hero h1 em{color:var(--sun-light);font-style:italic;font-weight:400;}
.hero-sub{font-size:1.22rem;color:rgba(255,255,255,0.6);margin-bottom:48px;font-weight:300;max-width:540px;margin-left:auto;margin-right:auto;line-height:1.7;}
.search-bar{background:#fff;border-radius:16px;padding:8px;display:flex;gap:6px;box-shadow:var(--shadow-xl);max-width:640px;margin:0 auto;position:relative;z-index:20;}
.search-bar input{font-size:1rem;padding:14px 18px;}
.search-bar select{font-size:0.95rem;padding:14px 12px;}
.search-bar button{font-size:0.95rem;padding:14px 28px;}
.search-bar input,.search-bar select{border:none;padding:13px 16px;font-size:0.9rem;background:var(--sand);border-radius:9px;outline:none;flex:1;color:var(--ink);}
.search-bar select{flex:0.55;cursor:pointer;color:var(--ink-soft);}
.search-bar button{background:var(--flame);color:#fff;border:none;padding:13px 24px;border-radius:9px;font-weight:600;font-size:0.9rem;cursor:pointer;transition:all .25s;white-space:nowrap;}
.search-bar button:hover{background:var(--flame-dark);}
.hero-stats{display:flex;justify-content:center;gap:clamp(28px,6vw,60px);margin-top:56px;position:relative;z-index:1;}
.hero-stat-n{font-family:var(--font-display);font-size:2.2rem;color:var(--sun-light);}
.hero-stat-l{font-size:0.88rem;}
.hero-stat-l{font-size:0.78rem;color:rgba(255,255,255,0.45);font-weight:300;}

/* ━━ SECTIONS ━━ */
.section{padding:70px clamp(16px,4vw,40px);max-width:1160px;margin:0 auto;}
/* ── 1.4 Nav wrapping between ~1024px and ~1150px ─────────────────────────────────────────────
   Audit 8 Sep 2026: header buttons broke onto two lines ("LOG / IN", "GET / MATCHED / →") from
   roughly 1024px to 1150px — iPad landscape and smaller MacBook windows. Confirmed broken at
   1060px, fine at 1221px. Labels must never wrap; the intermediate step tightens spacing before
   the existing mobile collapse takes over. */
.nav-right .btn,.sn-hdr-cta,.nav-link{white-space:nowrap;}
@media(min-width:861px) and (max-width:1180px){
  .nav-mid{gap:14px;}
  .nav-link{font-size:.88rem;letter-spacing:0;}
  .nav-right .btn{padding-left:14px;padding-right:14px;font-size:.86rem;}
}

/* ── Full-bleed dark band ─────────────────────────────────────────────────────────────────────
   Same gradient as the hero AI matcher. Scoped ENTIRELY to .sn-band — nothing here touches body or
   .section, so no other page or SPA view can inherit it. (Setting this on <body> is what turned
   every view dark on 8 Sep; it is not a global background for that reason.)

   Full bleed via a ::before layer that extends to the viewport edges, because .section is a centred
   1160px column and a background on it would render as a narrow strip. Content is lifted with
   z-index:1 rather than pushing the layer to z-index:-1, which would depend on the ancestor stacking
   context and is the fragile version of this trick. body already has overflow-x:hidden, so the
   100vw layer cannot create a horizontal scrollbar. */
.sn-band{position:relative;color:#fff;padding-top:clamp(48px,6vw,84px);padding-bottom:clamp(48px,6vw,84px);margin-top:clamp(28px,4vw,56px);margin-bottom:clamp(28px,4vw,56px);}
.sn-band::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;
  background:linear-gradient(158deg,#33204d 0%,#232f59 44%,#15203a 100%);}
.sn-band > *{position:relative;z-index:1;}
/* ── .sn-band--hero: the ACTUAL hero treatment ────────────────────────────────────────────────
   The comment above claimed this band already used "the same gradient as the hero AI matcher".
   It did not: the band was a static 158deg purple-navy, while the hero is a 145deg gradient sized
   at 300% and animated over 12s. This modifier applies the real thing — same stops, same easing,
   same duration — so the two read as one surface rather than two similar dark blues.
   Opt-in per band, so no other dark section changes. */
.sn-band--hero::before{
  background:linear-gradient(145deg,var(--ink) 0%,#1F3044 30%,#2A1B3D 60%,var(--flame-dark) 100%);
  background-size:300% 300%;
  animation:heroGradient 12s ease infinite;
}
/* Floating shapes, matching the hero's. Confined to a full-bleed layer with overflow:hidden so a
   shape cannot spill sideways and create a horizontal scrollbar, and pointer-events:none so it can
   never intercept a click on the CTA. Beats `.sn-band > *` on specificity to sit BEHIND content.
   (A stray `}` sat here until 16 Nov 2026. The CSS parser drops a stray brace together with the
   NEXT rule, which used to be .sn-safe-lede; once the safeguarding CSS below was removed, the next
   rule became the one under this comment and the glow blobs scrolled the homepage sideways.) */
/* Safeguarding band (.sn-safe-*) CSS removed 16 Nov 2026 with its markup; see the note in #p-home. */
.sn-band > .sn-deco{position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;
  overflow:hidden;pointer-events:none;z-index:0;}
.sn-deco i{position:absolute;display:block;}
/* ── Drifting glow blobs: the hero's living background, extended to every dark band so the whole
   page reads as one animated surface (Oct 2026). Blurred radial gradients that slowly drift on a
   transform-only (GPU-composited) animation. They live inside the existing .sn-deco layer
   (z-index:0, pointer-events:none, overflow:hidden), so they never touch content or clicks, and
   the reduced-motion block below (`.sn-deco{display:none}`) freezes them for free. Separate <b>
   tag from the geometric-shape <i>, so the two decorations style independently. */
.sn-band .sn-deco b{position:absolute;display:block;border-radius:50%;filter:blur(56px);}
.sn-band .sn-deco b.g1{width:46vw;height:44vw;left:-10vw;top:-20vw;background:radial-gradient(circle,rgba(139,92,246,.28),transparent 62%);animation:snGlow1 24s ease-in-out infinite alternate;}
.sn-band .sn-deco b.g2{width:44vw;height:42vw;right:-12vw;bottom:-20vw;background:radial-gradient(circle,rgba(92,195,178,.20),transparent 62%);animation:snGlow2 28s ease-in-out infinite alternate;}
@keyframes snGlow1{to{transform:translate(12vw,10vh) scale(1.25)}}
@keyframes snGlow2{to{transform:translate(-10vw,-8vh) scale(1.2)}}
.sn-band h2,.sn-band h3{color:#fff;}
.sn-band .eyebrow{color:#F6C177;}
.sn-band p{color:rgba(255,255,255,.78);}
.sn-band .sig-i{color:#F6C177;}
/* The .sn-band .hiw-num / .hiw-step / .hiw-cta overrides were removed 22 Sep 2026: how-it-works
   is no longer a band, so they matched nothing. Restore all three together if it ever goes back
   on navy — the numerals are flame on cream and would be unreadable there.
   `.sn-band .subj-card` went the same day: the subject grid became .subj-pill, which draws its own
   border against the band instead of having one imposed from up here. */
.sn-band .section-head a{background:#fff;color:var(--flame-ink)!important;
  border-radius:100px;padding:11px 22px;font-weight:700;text-decoration:none;
  display:inline-flex;align-items:center;}
/* ── Social proof (family audience) ──────────────────────────────────────────────────────────
   Designed to be correct at a count of ONE. A fixed grid stretches a single card across the full
   width and makes a small honest count look like a mistake; centred flex with a capped card width
   makes one read as deliberate and reflows to 2/4/8 with no redesign.
   min-height reserves space so revealing the section cannot cause layout shift (CLS). */
.sn-proof{padding-top:8px;padding-bottom:40px;}
.sn-proof{position:relative;}
/* A hairline ::before used to sit here, tying the proof to the stats band above. It was removed
   22 Sep 2026 when the proof became a full-bleed navy band: an element has ONE ::before, and this
   rule came after .sn-band::before in the cascade, so keeping it would have silently replaced the
   band's background with a 1px line — the section would have rendered with no background at all.
   The tint now does the tying the hairline was there for. */

/* ── .sn-proof as a navy band ────────────────────────────────────────────────────────────────
   These rules exist because .sn-proof is declared AFTER .sn-band in this stylesheet, so its
   padding wins on source order alone; and because the cards come from partials/testimonials.html,
   which is shared with /become-a-tutor and must keep emitting white cards there. Everything below
   is scoped to .sn-band so nothing here can reach the partial's other callers. */
.sn-band.sn-proof{padding-top:clamp(48px,6vw,84px);padding-bottom:clamp(48px,6vw,84px);}
/* .sn-band p sets white text on every <p> inside the band. .sn-quote-body IS a <p>, and it sits on
   a white card — without this the quotes would be white on white, i.e. the proof section would
   render as blank cards. Lower specificity than .sn-band p, hence the compound selector. */
.sn-band .sn-quote-body{color:var(--ink);}
.sn-band .sn-quote cite,.sn-band .sn-quote-src{color:var(--grey);}
.sn-band .sn-quote-about,.sn-band .sn-quote-when{color:var(--ink-muted);}
.sn-band .sn-quote-more{color:var(--flame-ink);}
.sn-band .sn-trustbar-label{color:rgba(255,255,255,.62);}
.sn-band .sn-proof-note,.sn-band .sn-dbs-note{color:rgba(255,255,255,.72);}
/* .sn-proof-grid and every .sn-quote* rule now live in partials/testimonials.html, alongside the
   component that emits them — /become-a-tutor renders the same cards and used to carry a second,
   divergent stylesheet for them. What stays here is this SECTION's chrome (the divider, the
   trustbar, the note), which is the homepage's and nowhere else's. */
.sn-trustbar{text-align:center;margin-bottom:26px;}
.sn-proof-note{max-width:620px;margin:8px auto 0;font-size:.86rem;color:var(--ink-soft);line-height:1.6;}
.sn-dbs-note{margin-top:12px;font-size:.82rem;color:var(--ink-soft);}
.sn-trustbar-label{font-size:.78rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--grey);font-weight:600;margin-bottom:14px;}
.sn-trustbar-logos{display:flex;justify-content:center;gap:clamp(14px,3vw,32px);align-items:center;flex-wrap:wrap;}
.sn-trustchip{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background:#fff;border-radius:10px;text-decoration:none;box-shadow:0 1px 4px rgba(0,0,0,.04);transition:transform .2s,box-shadow .2s;}
.sn-trustchip span{font-weight:600;font-size:.88rem;color:var(--ink);}
.sn-trustchip:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08);}
.sn-trustchip:focus-visible{outline:3px solid var(--flame);outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.sn-trustchip{transition:none;}}
/* ━━ TRUSTPILOT NAVY BAND ━━ */
.tpb-band{width:100vw;position:relative;left:50%;margin-left:-50vw;background:linear-gradient(155deg,#141E2B 0%,#1b2940 60%,#16313c 100%);overflow:hidden;padding:76px clamp(16px,4vw,40px) 84px;}
.tpb-band::before{content:'';position:absolute;top:-180px;right:-120px;width:480px;height:480px;border-radius:50%;background:radial-gradient(circle,rgba(232,93,58,0.35),transparent 70%);animation:tpbGlow1 16s ease-in-out infinite alternate;}
.tpb-band::after{content:'';position:absolute;bottom:-200px;left:-140px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(0,182,122,0.20),transparent 70%);animation:tpbGlow2 19s ease-in-out infinite alternate;}
.tpb-inner{max-width:1080px;margin:0 auto;position:relative;z-index:1;}
.tpb-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:38px;flex-wrap:wrap;gap:16px;}
.tpb-head h2{font-family:var(--font-display);font-size:clamp(1.7rem,3.4vw,2.4rem);color:#fff;letter-spacing:-0.5px;line-height:1.15;}
.tpb-head h2 span{color:var(--gold);font-style:italic;}
.tpb-rating{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,0.12);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.2);padding:12px 18px;border-radius:14px;}
.tpb-rating b{color:#fff;font-size:0.95rem;line-height:1.25;}
.tpb-rating small{display:block;color:rgba(255,255,255,0.7);font-size:0.72rem;font-weight:400;}
.tpb-stars{display:inline-flex;gap:3px;}
.tpb-stars i{background:#00B67A;width:24px;height:24px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;}
.tpb-stars i svg{display:block;}
.tpb-layout{columns:2;column-gap:24px;}
@keyframes tpbGlow1{from{transform:translate(0,0) scale(1);}to{transform:translate(-60px,44px) scale(1.18);}}
@keyframes tpbGlow2{from{transform:translate(0,0) scale(1);}to{transform:translate(72px,-50px) scale(1.15);}}
@keyframes tpbCardIn{from{opacity:0;transform:translateY(34px) scale(0.96);}to{opacity:1;transform:translateY(0) scale(1);}}
@keyframes tpbStarPop{0%{transform:scale(0);}60%{transform:scale(1.3);}100%{transform:scale(1);}}
.tpb-layout .tpb-mini.visible{animation:tpbCardIn .65s cubic-bezier(.22,.9,.36,1) backwards;}
.tpb-layout .tpb-mini.visible:nth-of-type(2){animation-delay:.12s;}
.tpb-layout .tpb-mini.visible:nth-of-type(3){animation-delay:.24s;}
.tpb-layout .tpb-mini.visible:nth-of-type(4){animation-delay:.36s;}
.tpb-layout .tpb-mini.visible .tpb-stars i{animation:tpbStarPop .45s cubic-bezier(.34,1.56,.64,1) backwards;}
.tpb-layout .tpb-mini.visible .tpb-stars i:nth-child(1){animation-delay:.35s;}
.tpb-layout .tpb-mini.visible .tpb-stars i:nth-child(2){animation-delay:.43s;}
.tpb-layout .tpb-mini.visible .tpb-stars i:nth-child(3){animation-delay:.51s;}
.tpb-layout .tpb-mini.visible .tpb-stars i:nth-child(4){animation-delay:.59s;}
.tpb-layout .tpb-mini.visible .tpb-stars i:nth-child(5){animation-delay:.67s;}
@media (prefers-reduced-motion:reduce){.tpb-band::before,.tpb-band::after,.tpb-layout .tpb-mini.visible,.tpb-layout .tpb-mini.visible .tpb-stars i{animation:none;}}
.tpb-who{display:flex;align-items:center;gap:12px;margin-top:24px;}
.tpb-av{border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;}
.tpb-who b{display:block;color:var(--ink);font-size:0.95rem;}
.tpb-who span{font-size:0.76rem;color:var(--grey);}
.tpb-mini{background:rgba(255,255,255,0.10);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.18);border-radius:16px;padding:24px;break-inside:avoid;margin-bottom:24px;position:relative;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;}
.tpb-mini::after{content:'\201D';position:absolute;top:-34px;right:10px;font-family:var(--font-display);font-size:7.5rem;line-height:1;color:rgba(255,255,255,0.07);pointer-events:none;}
.tpb-mini.visible:hover{transform:translateY(-6px);border-color:rgba(255,255,255,0.34);box-shadow:0 18px 44px rgba(0,0,0,0.35);}
.tpb-mini .tpb-stars i{width:18px;height:18px;}
.tpb-mini h4{font-family:var(--font-display);color:#fff;font-size:1.02rem;margin:10px 0 6px;}
.tpb-mini p{color:rgba(255,255,255,0.78);font-size:0.84rem;line-height:1.6;}
.tpb-mini .tpb-who{margin-top:14px;}
.tpb-mini .tpb-av{width:32px;height:32px;font-size:0.74rem;}
.tpb-mini .tpb-who b{color:#fff;font-size:0.82rem;}
.tpb-mini .tpb-who span{color:rgba(255,255,255,0.55);font-size:0.68rem;}
.tpb-cta{text-align:center;margin-top:38px;}
.tpb-cta a{display:inline-flex;align-items:center;gap:9px;background:var(--flame);color:#fff;font-weight:700;font-size:0.9rem;padding:14px 28px;border-radius:12px;text-decoration:none;box-shadow:0 10px 30px rgba(232,93,58,0.4);transition:transform 0.2s,box-shadow 0.2s;}
.tpb-cta a:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(232,93,58,0.5);}
@media(max-width:860px){.tpb-layout{columns:1;}.tpb-head{flex-direction:column;align-items:flex-start;}}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:36px;}
.section-head h2{font-size:1.8rem;}
.section-head a{color:var(--flame-ink);font-weight:500;cursor:pointer;font-size:0.88rem;text-decoration:none;transition:opacity .2s;}
.section-head a:hover{opacity:0.7;}

/* ━━ FILTERS ━━ */
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px;}

/* ── /browse FILTER BAR, REBUILT 26 OCTOBER 2026 ───────────────────────────────────────────────
   Was an inline `display:flex;flex-wrap:wrap` holding a flex:1 search box and four selects, each
   padded 10px/14px - so the controls came out ~40px tall, below the 44px touch target, the search
   placeholder truncated at every width, and because five items wrapped by content width the last
   select ("Any Verification") was repeatedly left alone on its own row.
   A grid fixes the orphaning deterministically rather than hoping the widths work out:
     >=1000px  search gets 2fr, the four selects 1fr each, one row.
     600-999   search spans the full width, the selects sit 2x2 - four items, two rows, no orphan.
     <600      one column, every control full width.
   `outline:none` was also removed from all SIX controls. (The first pass said five and missed
   #browsePrice, which another pass caught - the same off-by-one as the grid columns above.) It was
   in each inline style attribute,
   which suppressed the focus ring for keyboard users on the only page whose entire purpose is
   filtering. :focus-visible now draws the ring from the dark focus token. */
/* PHASE 4 (28 Nov 2026). The bar is now: search and an explicit "Sort by" on the top row, the
   filters beneath, every control with a visible label (the aria-labels stay; each contains its
   visible label, WCAG 2.5.3). The notes above about clipped labels still hold: the fields are an
   auto-fit grid with a 180px floor, so no label is truncated at any width.
   UNDER 760px the filters leave the page for a drawer (snBrowseDrawer): a "Filters" button that
   counts the active ones sits beside Sort, and the drawer is a bottom sheet with role=dialog,
   aria-modal, a focus trap, Escape, and focus returned to the button. Nothing about filtering
   changed: same ids, same values, every change still runs browseFilterChanged() at once, so the
   result count behind the sheet and on its "Show N tutors" button is always the live one. */
/* V2 /browse (28 Nov 2026). The search leaves the filter box for a big pill at the top with subject
   chips under it; the filters sit in a sticky side column from 960px, above the results from 760px,
   and in the drawer below that. The results bar holds the count, the Filters button (phone only) and
   Sort. Field styling below is unchanged from Phase 4: 48px controls, visible labels, the dark focus
   ring, no truncated label at any width. */
#p-browse{background:var(--sn-c-ground,#FBF6F0);}
#p-browse .bw{max-width:1240px;margin:0 auto;padding:clamp(24px,5vw,56px) clamp(16px,4vw,40px) clamp(48px,8vw,96px);box-sizing:border-box;}
.bw-head{margin:0 0 clamp(28px,4vw,44px);}
.bw-search{max-width:860px;}
.bw-title{font-family:var(--font-display,'Fraunces',serif);font-weight:600;font-size:clamp(2.4rem,5vw,3.6rem);line-height:1.05;letter-spacing:-0.02em;color:var(--sn-c-ink,#141E2B);margin:0 0 14px;}
.bw-lede{font-size:clamp(1rem,0.95rem + 0.3vw,1.125rem);line-height:1.6;color:var(--sn-c-ink-soft,#3D4652);max-width:62ch;margin:0 0 26px;}
.bw-search-lbl{display:block;margin:0 0 8px;font:600 var(--sn-fs-sm,0.875rem)/1.3 var(--font-body,var(--font));color:var(--sn-c-ink-soft,#3D4652);}
.bw-search-box{position:relative;}
.bw-search-box svg{position:absolute;left:22px;top:50%;transform:translateY(-50%);color:var(--sn-c-ink-muted,#4A5360);pointer-events:none;}
#p-browse #browseSearch{display:block;width:100%;box-sizing:border-box;min-height:64px;padding:0 24px 0 58px;font:400 1.125rem/1.3 var(--font-body,var(--font));color:var(--sn-c-ink,#141E2B);background:#fff;border:1.5px solid var(--sn-c-line-strong,#8C8172);border-radius:var(--sn-radius-pill,999px);box-shadow:var(--sn-shadow-1);-webkit-appearance:none;appearance:none;}
#p-browse #browseSearch:hover{border-color:var(--sn-c-ink-soft,#3D4652);}
#p-browse #browseSearch:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.bw-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.bw-chips[hidden]{display:none;}
.bw-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:var(--sn-radius-pill,999px);border:1.5px solid var(--sn-c-line,#D9CFC0);background:#fff;font:500 0.9375rem/1.2 var(--font-body,var(--font));color:var(--sn-c-ink,#141E2B);cursor:pointer;transition:background-color .2s,border-color .2s,color .2s;}
.bw-chip:hover{border-color:var(--sn-c-ink,#141E2B);}
.bw-chip[aria-pressed="true"]{background:var(--sn-c-ink,#141E2B);border-color:var(--sn-c-ink,#141E2B);color:#fff;}
.bw-chip:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.bw-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start;}
.bw-side,.bw-results{min-width:0;}
.bfilters{background:#fff;border:1px solid var(--sn-c-line-soft,#EDE3D6);border-radius:18px;padding:20px 20px 16px;}
.bf-field{display:flex;flex-direction:column;min-width:0;}
.bf-field:has(select[hidden]){display:none;}
.bf-lbl{display:block;margin:0 0 6px;font:600 var(--sn-fs-sm,0.875rem)/1.3 var(--font-body,var(--font));color:var(--sn-c-ink-soft,#3D4652);}
.bfilters select,.bw-ctl select{min-height:var(--sn-tap-btn,48px);box-sizing:border-box;width:100%;min-width:0;padding:10px 40px 10px 14px;font:400 var(--sn-fs-base,1rem)/1.3 var(--font-body,var(--font));color:var(--sn-c-ink,#141E2B);
  background-color:#fff;border:1.5px solid var(--sn-c-line-strong,#8C8172);border-radius:12px;cursor:pointer;-webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141E2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:12px 8px;}
.bfilters select:hover,.bw-ctl select:hover{border-color:var(--sn-c-ink-soft,#3D4652);}
.bfilters select:focus-visible,.bw-ctl select:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.bf-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;}
.bf-title{margin:0;font:600 1.375rem/1.2 var(--font-display,'Fraunces',serif);color:var(--sn-c-ink,#141E2B);}
.bf-close,.bf-scrim,.bf-apply,.bfilters-mbar{display:none;}
.bf-fields{display:grid;gap:16px;grid-template-columns:minmax(0,1fr);}
.bf-foot{display:flex;align-items:center;margin-top:14px;padding-top:6px;border-top:1px solid var(--sn-c-line-soft,#EDE3D6);}
.bf-clear{min-height:44px;padding:0 2px;border:0;background:none;font:600 var(--sn-fs-base,1rem)/1 var(--font-body,var(--font));color:var(--sn-c-ink,#141E2B);text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.bf-clear:hover{color:var(--sn-c-accent-text,#A5381F);}
.bf-close:focus-visible,.bf-clear:focus-visible,.bf-apply:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.bw-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin:0 0 18px;}
.bw-count{flex:1 1 260px;margin:0;min-height:22px;font-size:0.9375rem;line-height:1.45;color:var(--sn-c-ink-muted,#4A5360);}
.bw-ctl{display:flex;align-items:center;gap:12px;}
.bw-ctl .bf-sort{flex-direction:row;align-items:center;gap:10px;}
.bw-ctl .bf-sort .bf-lbl{margin:0;white-space:nowrap;}
.bw-ctl .bf-sort select{width:auto;min-width:210px;}
#browseGrid.bw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px;}
#browseMore{margin-top:32px;text-align:center;}
/* "Show N more": a navy outline pill. ID-level so the token layer's solid .btn fill cannot repaint it. */
#p-browse #browseMoreBtn{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 28px;background:#fff;color:var(--sn-c-ink,#141E2B);border:1.5px solid var(--sn-c-ink,#141E2B);border-radius:var(--sn-radius-pill,999px);box-shadow:none;font:600 1rem/1.2 var(--font-body,var(--font));}
#p-browse #browseMoreBtn:hover{background:var(--sn-c-ink,#141E2B);color:#fff;}
/* The friendly zero. */
.bw-empty{text-align:center;padding:clamp(40px,7vw,72px) clamp(20px,4vw,40px);background:#fff;border-radius:20px;border:1px solid var(--sn-c-line-soft,#EDE3D6);}
.bw-empty-mark{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:var(--sn-c-teal-tint,#E5EAE3);color:var(--sn-c-teal-ink,#146055);margin:0 0 18px;}
.bw-empty-title{margin:0 0 8px;font:600 clamp(1.5rem,1.3rem + 1vw,2rem)/1.2 var(--font-display,'Fraunces',serif);color:var(--sn-c-ink,#141E2B);}
.bw-empty-text{margin:0 auto 24px;max-width:46ch;font-size:1.0625rem;line-height:1.6;color:var(--sn-c-ink-soft,#3D4652);}
.bw-empty #browseEmptyQual{margin:0 auto 20px;max-width:56ch;color:var(--sn-c-ink-soft,#3D4652);}
.bw-empty-acts{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.bw-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:var(--sn-radius-pill,999px);font:600 1rem/1.2 var(--font-body,var(--font));text-decoration:none;cursor:pointer;box-sizing:border-box;transition:background-color .2s,border-color .2s,transform .2s;}
.bw-btn--primary{background:var(--sn-c-accent-fill,#C0432A);color:#fff;border:1.5px solid var(--sn-c-accent-fill,#C0432A);}
.bw-btn--primary:hover{background:var(--sn-c-accent-hover,#A5381F);border-color:var(--sn-c-accent-hover,#A5381F);color:#fff;transform:translateY(-2px);}
.bw-btn--ghost{background:#fff;color:var(--sn-c-ink,#141E2B);border:1.5px solid var(--sn-c-ink,#141E2B);}
.bw-btn--ghost:hover{background:rgba(20,30,43,.05);}
.bw-btn:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.bw-btn--primary:hover{transform:none;}}
/* ── 1 DEC 2026 AUDIT (sections 5 and 7) ────────────────────────────────────────────────────────
   READABLE FROM FIRST PAINT. .page.active fades every view in from opacity 0 over 600ms, which is the
   "faint directory content while loading" the audit captured: the search, the filters and the skeleton
   all sat at partial opacity. /browse and the profile now arrive at full strength (the homepage already
   opts out the same way). Nothing else about the views animates on entry. */
#p-browse.page.active,#p-tutor-profile.page.active{animation:none;}
/* The selected filters, as chips that each remove one filter, plus "Clear all". Under the results bar
   so they read with the count they produced; outside the phone drawer, so they stay in view. */
.bw-active{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-6px 0 18px;}
.bw-active[hidden]{display:none;}
.bw-active-lbl{font-size:var(--sn-fs-sm,0.875rem);font-weight:600;color:var(--sn-c-ink-soft,#3D4652);margin-right:2px;}
.bw-achip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px 0 16px;border-radius:var(--sn-radius-pill,999px);border:1.5px solid var(--sn-c-ink,#141E2B);background:#fff;color:var(--sn-c-ink,#141E2B);font:500 0.9375rem/1.2 var(--font-body,var(--font));cursor:pointer;max-width:100%;transition:background-color .15s ease-out;}
.bw-achip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bw-achip svg{flex:none;}
.bw-achip:hover{background:rgba(20,30,43,.06);}
.bw-achip:focus-visible,.bw-active-clear:focus-visible,.bw-match a:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.bw-active-clear{min-height:44px;padding:0 6px;border:0;background:none;font:600 0.9375rem/1 var(--font-body,var(--font));color:var(--sn-c-ink,#141E2B);text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.bw-active-clear:hover{color:var(--sn-c-accent-text,#A5381F);}
.bw-match{margin:14px 0 0;font-size:0.9375rem;line-height:1.5;color:var(--sn-c-ink-soft,#3D4652);}
.bw-match a{color:var(--sn-c-accent-text,#A5381F);font-weight:600;}
@media(prefers-reduced-motion:reduce){.bw-achip{transition:none;}}
/* 760-959: the panel sits above the results, its fields in an auto-fit grid. */
@media(min-width:760px) and (max-width:959px){
  .bf-fields{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));}
}
/* 960+: a sticky side column. */
@media(min-width:960px){
  .bw-layout{grid-template-columns:272px minmax(0,1fr);gap:40px;}
  .bw-side{position:sticky;top:96px;max-height:calc(100vh - 112px);overflow-y:auto;overscroll-behavior:contain;border-radius:18px;}
}
/* UNDER 760px: the drawer (Phase 4 behaviour, unchanged). */
@media(max-width:759px){
  .bw-layout{gap:0;}
  .bfilters{background:none;border:0;padding:0;border-radius:0;}
  .bw-search-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
  #p-browse #browseSearch{min-height:56px;font-size:1.0625rem;padding-left:52px;}
  .bw-search-box svg{left:19px;}
  .bw-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:14px -16px 0;padding:0 16px 4px;scroll-padding:0 16px;}
  .bw-chips::-webkit-scrollbar{display:none;}
  .bw-chip{flex:none;}
  .bw-ctl{width:100%;}
  .bw-ctl>*{min-width:0;}
  .bw-ctl .bfilters-mbar{flex:0 0 auto;}
  .bw-ctl .bf-sort{flex:1 1 auto;}
  .bw-ctl .bf-sort .bf-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
  .bw-ctl .bf-sort select{width:100%;min-width:0;}
  .bfilters-mbar{display:block;}
  .bf-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:var(--sn-tap-btn,48px);padding:0 16px;white-space:nowrap;box-sizing:border-box;
    font:600 var(--sn-fs-base,1rem)/1 var(--font-body,var(--font));color:var(--sn-c-ink,#141E2B);background:#fff;border:1.5px solid var(--sn-c-ink,#141E2B);border-radius:12px;cursor:pointer;}
  .bf-toggle:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
  .bf-n{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--sn-c-ink,#141E2B);color:#fff;font-size:0.8125rem;font-weight:700;}
  .bf-n[hidden]{display:none;}
  .bfilters-panel{display:none;}
  .bfilters.is-open .bf-scrim{display:block;position:fixed;inset:0;z-index:1190;background:rgba(20,30,43,.45);opacity:0;transition:opacity .18s ease-in;}
  .bfilters.is-open .bfilters-panel{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;z-index:1200;max-height:calc(100dvh - 48px);
    background:var(--sn-c-ground,#FBF6F0);border-radius:var(--sn-radius-lg,22px) var(--sn-radius-lg,22px) 0 0;box-shadow:var(--sn-shadow-3);
    transform:translateY(100%);transition:transform .18s cubic-bezier(.4,0,1,1);}
  /* 1 Dec 2026: the sheet rises in 200ms and leaves in 180ms (audit section 7: 180-240ms). is-open
     puts it in the layout, is-shown moves it on screen; snBrowseDrawer() sequences the two so an
     open during a close simply turns round, and reduced motion skips the movement entirely. */
  .bfilters.is-open.is-shown .bf-scrim{opacity:1;transition:opacity .2s ease-out;}
  .bfilters.is-open.is-shown .bfilters-panel{transform:none;transition:transform .2s cubic-bezier(.2,.8,.2,1);}
  .bf-head{margin:0;padding:12px 8px 8px 20px;border-bottom:1px solid var(--sn-c-line-soft,#EDE3D6);}
  .bf-close{display:inline-flex;align-items:center;justify-content:center;width:var(--sn-tap,44px);height:var(--sn-tap,44px);padding:0;border:0;background:none;color:var(--sn-c-ink,#141E2B);border-radius:50%;cursor:pointer;}
  .bf-fields{grid-template-columns:1fr;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px;}
  .bf-foot{gap:12px;margin:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--sn-c-line-soft,#EDE3D6);background:var(--sn-c-surface,#FFFCF8);}
  .bf-clear{min-height:var(--sn-tap-btn,48px);padding:0 12px;}
  .bf-apply{display:block;flex:1;min-height:var(--sn-tap-btn,48px);padding:0 18px;border:0;border-radius:var(--sn-radius-pill,999px);background:var(--sn-c-accent-fill,#C0432A);color:#fff;font:600 var(--sn-fs-base,1rem)/1 var(--font-body,var(--font));cursor:pointer;}
  .bf-apply:hover{background:var(--sn-c-accent-hover,#A5381F);}
  #browseGrid.bw-grid{grid-template-columns:minmax(0,1fr);gap:16px;}
  body.bf-locked{overflow:hidden;}
  .bw-active{margin:0 0 16px;}
}
@media(max-width:759px) and (prefers-reduced-motion:reduce){
  .bfilters.is-open .bf-scrim,.bfilters.is-open .bfilters-panel{transition:none!important;}
}
.chip{padding:7px 16px;border-radius:50px;border:1.5px solid var(--sand-dark);background:#fff;font-size:0.82rem;font-weight:500;color:var(--ink-soft);cursor:pointer;transition:all .2s;}
.chip:hover,.chip.on{border-color:var(--flame-ink);color:var(--flame-ink);background:rgba(232,93,58,0.04);}

/* ━━ TUTOR CARDS ━━ */
.t-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px;}
.t-card{background:#fff;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-xs);transition:transform .25s ease-out,box-shadow .25s ease-out;cursor:pointer;border:1px solid rgba(20,30,43,0.04);}
.t-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:transparent;}
.t-card:hover .t-avatar{transform:scale(1.06);}

/* ━━ V2 TUTOR CARD (m6, 28 Nov 2026) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   One card, drawn by every renderer: filterBrowse (/browse), renderTutors (the homepage three), the
   profile's "Other tutors" strip, and the subject-page strips (partials/subject-tutors.css mirrors
   these rules for pages that do not load this stylesheet).
   PHOTO FIRST, THEN THE NAME IN SERIF BELOW IT, never on it: the dark gradient scrim the name sat on
   is gone (VISUAL-V2: no gradients), and so is the coloured gradient behind a missing photo - the
   initials now sit on the warm surface-alt fill. The MARKUP IS UNCHANGED: a.th-photo still holds the
   initials, the <img>, the caption (.th-scrim, the class name kept so every renderer and guard still
   finds it) and the corner pills. It is a two-row grid: row 1 is the picture (initials and <img>
   stacked in one cell, the pills pinned to its corner), row 2 is the caption. So the profile link's
   accessible name is still the tutor's name, and the whole top of the card, name included, is that
   link. The inline gradient every renderer writes on a.th-photo is overridden here rather than
   deleted from four renderers. The inset frame (8px of card around a 12px-radius photo) is m6's.
   HOVER is the shared v2 lift (translateY(-2px)) with a soft shadow. No image zoom: a scaled <img>
   would spill past its rounded corners without a clipping wrapper. */
.th-card{position:relative;background:#fff;border-radius:18px;padding:8px;overflow:hidden;box-shadow:0 1px 2px rgba(20,30,43,.05);transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s cubic-bezier(.2,.7,.2,1),border-color .3s;cursor:pointer;border:1px solid var(--sn-c-line-soft,#EDE3D6);display:flex;flex-direction:column;height:100%;box-sizing:border-box;}
@media(hover:hover){.th-card:hover{box-shadow:var(--sn-shadow-2);transform:translateY(-2px);border-color:transparent;}}
.th-card .th-photo{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;width:100%;--th-ar:4/5;}
.th-card a.th-photo{background:none!important;}
.th-card div.th-photo.skeleton{aspect-ratio:var(--th-ar);border-radius:12px;}
.th-card .th-ini,.th-card .th-img{grid-area:1/1;width:100%;aspect-ratio:var(--th-ar);border-radius:12px;box-sizing:border-box;}
.th-card .th-ini{display:flex;align-items:center;justify-content:center;background:var(--sn-c-surface-alt,#F3EADF);font-family:var(--font-display,'Fraunces',serif);font-size:3.4rem;font-weight:600;color:var(--sn-c-ink-soft,#3D4652);}
.th-card .th-img{position:relative;z-index:1;height:auto;object-fit:cover;object-position:50% 28%;display:block;}
.th-card .th-scrim{grid-area:2/1;padding:14px 8px 0;min-width:0;}
.th-card .th-oname{color:var(--sn-c-ink,#141E2B);font-family:var(--font-display,'Fraunces',serif);font-size:1.375rem;font-weight:600;line-height:1.15;letter-spacing:var(--sn-track-display,0);overflow-wrap:anywhere;}
.th-card .th-osub{color:var(--sn-c-ink-muted,#4A5360);font-size:0.9375rem;line-height:1.4;margin-top:4px;}
@media(hover:hover){.th-card a.th-photo:hover .th-oname{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;}}
.th-card .th-badges-ov{grid-area:1/1;align-self:start;justify-self:start;margin:10px;position:relative;display:flex;gap:6px;flex-wrap:wrap;z-index:2;}
.th-card .th-badges-ov:empty{display:none;}
.th-card .th-badges-ov .dbs{background:rgba(255,255,255,0.94);color:var(--ocean);font-weight:700;font-size:0.68rem;padding:5px 10px;border-radius:20px;box-shadow:0 2px 8px rgba(0,0,0,0.18);display:inline-flex;align-items:center;gap:5px;cursor:help;}
/* Sized in em so the icon tracks the 0.68rem badge text rather than sitting at a fixed 14px,
   which at this size reads as an icon with a caption instead of a labelled badge. */
.th-card .th-badges-ov .dbs .sn-i{width:1.05em;height:1.05em;flex:none;}
/* Founding Tutor (migration 0131). Navy outline, flame dot, no icon and no emoji. Deliberately
   quieter than .dbs — that badge is a safeguarding claim carrying a tick, this one is a join date,
   and the two must not read as the same weight of assurance. The dot is a sized empty span rather
   than a character so a screen reader announces "Founding Tutor" and nothing else. */
.sn-founding{background:rgba(255,255,255,0.94);color:var(--ink);font-weight:600;font-size:0.66rem;padding:4px 10px;border-radius:20px;border:1px solid var(--ink);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.sn-founding-dot{width:5px;height:5px;border-radius:50%;background:var(--flame);flex:none;}
.th-card .th-body{padding:8px 8px 6px;display:flex;flex-direction:column;flex:1;gap:10px;}
.th-card .th-row{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;}
/* PHASE 4 (28 Nov 2026): the levels a tutor teaches, in full, as a quiet line under the name. */
.th-card .th-lv{margin:0;font-size:var(--sn-fs-sm,0.875rem);line-height:1.45;color:var(--sn-c-ink-muted,#4A5360);}
.th-card .th-lv span{white-space:nowrap;}
/* /browse on a phone: a 5:4 photo, the profile's own phone ratio, so a card is about two-thirds of a
   screen rather than all of it (m6 shows the same landscape crop). The homepage strip keeps 4:5. */
/* Portraits get room on a phone too (1 Dec 2026 audit): square rather than the 5:4 letterbox, which
   cropped most faces at the chin. Desktop keeps 4:5. */
@media(max-width:599px){#browseGrid .th-card .th-photo,#tpRelated .th-card .th-photo{--th-ar:1/1;}}
.th-card .th-rate{display:flex;align-items:center;gap:5px;font-weight:700;font-size:0.92rem;color:var(--ink);}
.th-card .th-rate .star{color:var(--gold);}
.th-card .th-tag{font-size:0.72rem;color:var(--ink-soft);background:var(--sand);padding:4px 11px;border-radius:20px;font-weight:500;}
/* The foot is m6's: the family price on its own line, then ONE full-width pill. */
.th-card .th-foot{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid var(--sn-c-line-soft,#EDE3D6);}
/* Next free slot (item 14). Hidden while empty so a card with no slot is unchanged, flex gap included. */
.sn-next{display:inline-flex;align-items:center;gap:5px;font-size:var(--sn-fs-sm,0.875rem);font-weight:500;color:var(--ink-soft);line-height:1.3;}
.sn-next:empty{display:none;}
.sn-next .sn-i{width:14px;height:14px;flex:none;color:var(--ink-soft);}
.sn-next--tp{font-size:0.95rem;}
.sn-next--tp .sn-i{width:17px;height:17px;}
.th-card .th-price{font-family:var(--font-display,'Fraunces',serif);font-size:1.5rem;font-weight:600;line-height:1.1;color:var(--sn-c-ink,#141E2B);}
.th-card .th-price span{font-size:var(--sn-fs-sm,0.875rem);color:var(--sn-c-ink-muted,#4A5360);font-weight:400;font-family:var(--font-body,var(--font));}
/* "including our fee", visible on the card itself (27 Nov 2026). The figure was always the family price
   (rate x 1.20), but the only thing that said so was a title tooltip, which a phone never shows. Same
   words as the profile and /pricing (INC_LABEL in bake-platform-stats.mjs), on every .th-card renderer:
   filterBrowse, renderTutors, the subject-page strips and /about. Inline after the figure (m6). */
.th-card .th-price .th-inc{display:inline-block;white-space:nowrap;margin-left:4px;font-family:var(--font-body,var(--font));font-size:var(--sn-fs-sm,0.875rem);font-weight:500;color:var(--sn-c-ink-muted,#4A5360);line-height:1.3;}
/* The one call to action, a full-width pill (m6). Navy = "View & book"; deep flame (--intro) = a live
   free intro. The fill is --sn-c-accent-fill: white never sits on #E85D3A (DIRECTION.md, the flame rule). */
.th-card .th-btn{background:var(--sn-c-ink,#141E2B);color:#fff;border:1.5px solid var(--sn-c-ink,#141E2B);width:100%;min-height:48px;padding:0 18px;border-radius:var(--sn-radius-pill,999px);font-size:0.9375rem;font-weight:600;cursor:pointer;font-family:var(--font-body,var(--font));transition:background-color .2s ease-out,border-color .2s ease-out;white-space:nowrap;}
.th-card .th-btn:hover,.th-card:hover .th-btn:not(.th-btn--intro){background:#2A3A50;border-color:#2A3A50;color:#fff;}
/* Free intro as the card's primary action (19 Nov 2026). #C0432A, the profile's .tp-cta--primary,
   not --flame: white on #E85D3A is ~3.2:1 and fails AA at this size; on #C0432A it is ~5:1. */
.th-card .th-btn.th-btn--intro{background:var(--sn-c-accent-fill,#C0432A);border-color:var(--sn-c-accent-fill,#C0432A);color:#fff;}
.th-card .th-btn.th-btn--intro:hover{background:var(--sn-c-accent-hover,#A5381F);border-color:var(--sn-c-accent-hover,#A5381F);color:#fff;}
/* Cards as links (16 Nov 2026). The photo block IS the profile link (a.th-photo) and "View & book"
   is a second, pointer-only <a> to the same URL; neither nests a control. See snTutorLinkClick(). */
.th-card a.th-photo{color:inherit;text-decoration:none;border-radius:12px;}
.th-card a.th-photo:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:3px;}
.th-card a.th-btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;text-decoration:none;line-height:1.2;}
/* The DBS tier, in the facts row under the name. Same two pills as before (tick / shield); the absent
   tier is muted text with no pill. #146055, not --ocean: axe measured --ocean on this tint at 4.43:1,
   under AA; #146055 is the shop band's teal. */
.th-card .th-row .dbs{display:inline-flex;align-items:center;gap:5px;font-size:var(--sn-fs-xs,0.8125rem);font-weight:600;color:var(--sn-c-teal-ink,#146055);background:var(--sn-c-teal-tint,#E5EAE3);padding:4px 10px;border-radius:var(--sn-radius-pill,999px);line-height:1.3;}
.th-card .th-row .dbs .sn-i{width:1.05em;height:1.05em;flex:none;}
.th-card .th-row .dbs.dbs-none{background:none;padding:4px 0;font-weight:500 !important;}
.th-card .th-row .th-tag{font-size:var(--sn-fs-xs,0.8125rem);}
/* Away, in the photo corner. Was white on #F5A623 (about 2:1); now ink on a warm tint, a statement
   of state rather than an alarm, with no icon. */
.th-card .th-badges-ov .th-away{background:#FCEBC8;color:var(--sn-c-ink,#141E2B);font-weight:600;font-size:0.75rem;padding:4px 10px;border-radius:var(--sn-radius-pill,999px);box-shadow:0 2px 8px rgba(0,0,0,0.18);}
/* REVEAL. Cards rise into place (28px and a 4% scale) as they scroll into view, driven by the scroll
   position itself (a scroll-driven animation), so nothing waits on an observer and nothing is hidden
   without support: a browser without animation-timeline, or with reduced motion, simply shows the card.
   NO OPACITY: a half-faded card is half-contrast text, which axe (scripts/check-contrast.mjs, run with
   motion on) rightly fails, and a parent mid-scroll would read the same grey. It animates the individual
   `translate` and `scale` properties, never `transform`, so the hover lift above still composes with it.
   Only in vertical lists: inside a sideways scroller the view() timeline would track the wrong axis.
   The homepage three keep their own .reveal until the v2 motion library replaces it. */
@keyframes thRise{from{translate:0 28px;scale:.96;}to{translate:0 0;scale:1;}}
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    #browseGrid>.th-card:not([aria-hidden]){animation:thRise linear both;animation-timeline:view();animation-range:entry 0% entry 60%;}
  }
  @media(prefers-reduced-motion:no-preference) and (min-width:769px){
    .tp-related-grid>.th-card{animation:thRise linear both;animation-timeline:view();animation-range:entry 0% entry 60%;}
  }
}
@media(prefers-reduced-motion:reduce){.th-card,.th-card .th-img{transition:none;}.th-card:hover{transform:none;}}
/* AUDIT 1 DEC 2026, section 5: the body order is levels, price, check row, then the actions
   (thCardBody). The price now leads the body rather than sharing the foot with the button, the foot
   holds only the actions, and the free intro is an outlined secondary above the navy "View profile",
   so a free call and a paid booking never share a look. The self-reported tier is muted like the
   absent one, with a dashed outline so the two read differently without either looking like a check. */
.th-card .th-body>.th-price{margin:0;}
.th-card .th-foot{gap:8px;padding-top:14px;}
.th-card .th-btn{transition:background-color .15s ease-out,border-color .15s ease-out,color .15s ease-out;}
.th-card .th-btn.th-btn--intro{background:#fff;color:var(--sn-c-accent-text,#A5381F);border-color:var(--sn-c-accent-fill,#C0432A);}
.th-card .th-btn.th-btn--intro:hover{background:#FBEDE8;border-color:var(--sn-c-accent-hover,#A5381F);color:var(--sn-c-accent-text,#A5381F);}
.th-card .th-btn.th-btn--intro:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.th-card .th-row .dbs .sn-i{color:inherit;}
.th-card .th-row .dbs.dbs-self{background:none;border:1px dashed var(--sn-c-line,#D9CFC0);padding:3px 10px;}
.th-card .th-row .sn-next:empty{display:none;}
/* FEATURED SPECIALIST PARTNER (25 Nov 2026). The label is plain muted text with an info toggle that
   reveals the one disclosure line. Deliberately NOT a pill: no fill, no tick, no icon of assurance,
   none of the DBS teal, and never on the photo, so it cannot read as a check or a rating. Everything
   here is drawn only for a tutor in featured_partners_public; with no partner nothing below applies. */
.sn-fp-lbl{display:flex;align-items:center;gap:2px;font-size:0.74rem;font-weight:600;letter-spacing:.2px;color:var(--ink-soft);line-height:1.3;margin:0;}
.sn-fp-info{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;margin:0;border:0;background:none;color:var(--ink-soft);cursor:pointer;border-radius:50%;flex:none;font:inherit;}
.sn-fp-info svg{width:14px;height:14px;display:block;}
.sn-fp-info:hover,.sn-fp-info[aria-expanded="true"]{color:var(--ink);}
.sn-fp-info:focus-visible{outline:2px solid var(--flame-ink,#C0432A);outline-offset:1px;}
.sn-fp-disc{margin:2px 0 0;font-size:0.78rem;line-height:1.5;color:var(--ink-soft);max-width:62ch;cursor:auto;}
.sn-fp-disc:not([hidden]){animation:snFpIn .18s ease-out;}
@keyframes snFpIn{from{opacity:0;transform:translateY(-2px);}to{opacity:1;transform:none;}}
.th-card .th-fp{display:flex;flex-direction:column;gap:6px;padding-bottom:12px;border-bottom:1px solid rgba(20,30,43,0.07);}
.th-card .th-fp-biz{font-size:0.86rem;color:var(--ink);font-weight:600;line-height:1.35;}
.th-card .th-fp-biz span{color:var(--ink-soft);font-weight:500;}
.th-card .th-fp-tags{display:flex;flex-wrap:wrap;gap:6px;}
/* Profile: "About <business>". A section like the others; the logo is small and never a banner. */
.tp-fp .sn-fp-lbl{font-size:0.82rem;margin:-10px 0 14px;}
.tp-fp .sn-fp-disc{font-size:0.88rem;margin:-8px 0 16px;}
.tp-fp-head{display:flex;align-items:center;gap:16px;margin:0 0 14px;}
.tp-fp-logo{width:64px;height:64px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid var(--tp-hair,#E9E1D6);padding:6px;flex:none;}
.tp-sec .tp-fp-founder{margin:0;font-size:0.98rem;color:var(--ink-soft);}
.tp-sec .tp-fp-founder strong{color:var(--ink);font-weight:600;}
.tp-fp-site{margin:14px 0 0;text-align:center;font-size:0.9rem;line-height:1.5;}
#tpContent .tp-fp-site a{color:var(--ink-soft);text-decoration:underline;text-underline-offset:3px;}
#tpContent .tp-fp-site a:hover{color:var(--ink);}
.tp-fp-nt{font-size:0.8rem;}
/* Matcher: the pinned featured result, then "Other suitable tutors". */
.sn-fpm{background:#fff;border:1px solid var(--sand-dark);border-radius:16px;padding:18px;margin-bottom:14px;box-shadow:0 6px 22px rgba(20,30,43,0.07);}
.sn-fpm-eyebrow{font-size:0.74rem;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--ink);margin:0 0 2px;}
.sn-fpm-sub{font-size:0.85rem;color:var(--ink-soft);line-height:1.4;}
.sn-fpm-why{font-size:0.9rem;color:var(--ink);line-height:1.55;margin:10px 0 0;}
.sn-fpm-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
.sn-fpm-tags .tag{border-radius:20px;padding:4px 11px;}
/* A secondary action next to Book. Not .btn-ghost: site-tokens.css gives every .btn a solid fill. */
.sn-fpm-view{flex:1;min-width:130px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1.5px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);font-weight:600;font-size:0.92rem;text-decoration:none;}
.sn-fpm-view:hover{background:rgba(20,30,43,0.04);}
.sn-fpm-view:focus-visible{outline:2px solid var(--flame-ink,#C0432A);outline-offset:2px;}
.sn-fpm-alt{font-size:0.78rem;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:var(--ink-soft);margin:18px 0 8px;}
.sn-mclar{background:var(--sand);border-radius:14px;padding:14px 16px;margin:0 0 14px;text-align:center;}
.sn-mclar-q{font-weight:600;font-size:0.95rem;color:var(--ink);margin:0 0 10px;}
.sn-mclar-opts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;}
.sn-mclar-btn{background:#fff;border:1px solid var(--sand-dark);border-radius:20px;min-height:40px;padding:6px 14px;font:inherit;font-size:0.85rem;color:var(--ink);cursor:pointer;transition:border-color .15s ease-out;}
.sn-mclar-btn:hover{border-color:var(--ink);}
.sn-mclar-btn:focus-visible{outline:2px solid var(--flame-ink,#C0432A);outline-offset:2px;}
/* Homepage "English for your professional life": compact, under the tutor section, owner switch only. */
.sn-pro{padding-top:0;}
.sn-pro-in{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:20px 36px;align-items:center;background:#fff;border:1px solid var(--tp-hair,#E9E1D6);border-radius:20px;padding:28px 32px;}
.sn-pro h2{font-family:var(--font-display);font-size:1.6rem;line-height:1.2;margin:4px 0 8px;}
.sn-pro p{color:var(--ink-soft);font-size:0.95rem;line-height:1.6;margin:0;max-width:60ch;}
.sn-pro-topics{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:14px 0 18px;}
.sn-pro-topics li{font-size:0.78rem;color:var(--ink-soft);background:var(--sand);padding:4px 11px;border-radius:20px;}
.sn-pro-partner{border-left:1px solid var(--tp-hair,#E9E1D6);padding-left:28px;display:flex;flex-direction:column;gap:6px;}
.sn-pro-pname{font-family:var(--font-display);font-size:1.15rem;font-weight:600;color:var(--ink);}
.sn-pro-pbiz{font-size:0.88rem;color:var(--ink-soft);}
.sn-pro-plink{color:var(--flame-ink);font-weight:600;font-size:0.9rem;text-decoration:none;display:inline-flex;align-items:center;min-height:40px;}
.sn-pro-plink:hover{text-decoration:underline;}
@media(max-width:768px){.sn-pro-in{grid-template-columns:minmax(0,1fr);padding:22px 20px;}.sn-pro-partner{border-left:0;border-top:1px solid var(--tp-hair,#E9E1D6);padding:16px 0 0;}}
@media(prefers-reduced-motion:reduce){.sn-fp-disc:not([hidden]){animation:none;}.sn-mclar-btn{transition:none;}}
.t-card-top{height:180px;display:flex;align-items:center;justify-content:center;position:relative;}
.t-avatar{width:80px;height:80px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:1.8rem;font-family:var(--font-display);box-shadow:var(--shadow-md);transition:transform .25s ease-out;}
.t-badge{position:absolute;top:12px;right:12px;background:var(--sun);color:#fff;padding:3px 10px;border-radius:50px;font-size:0.7rem;font-weight:700;}
.t-online{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);background:var(--mint);color:#fff;padding:2px 12px;border-radius:50px;font-size:0.68rem;font-weight:600;}
.t-card-body{padding:20px 22px 22px;}
.t-name{font-family:var(--font-display);font-size:1.15rem;margin-bottom:3px;}
.t-subj{font-size:0.82rem;color:var(--ink-muted);margin-bottom:10px;}
.t-stars{display:flex;align-items:center;gap:5px;font-size:0.84rem;margin-bottom:12px;}
.t-stars .s{color:var(--star);letter-spacing:1.5px;}
.t-stars .c{color:var(--ink-muted);font-size:0.78rem;}
.t-tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:14px;}
.tag{padding:3px 9px;background:var(--sand);border-radius:5px;font-size:0.72rem;color:var(--ink-soft);font-weight:500;}
.t-foot{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid var(--sand-dark);}
.t-price{font-size:1.2rem;font-weight:700;}
.t-price span{font-size:0.75rem;font-weight:400;color:var(--ink-muted);}
/* Richer browse-card extras */
.t-card-top{height:150px;}
.t-photo-badge{position:absolute;bottom:12px;left:12px;background:rgba(255,255,255,0.95);color:#2F855A;padding:4px 10px;border-radius:50px;font-size:0.68rem;font-weight:700;box-shadow:0 2px 6px rgba(0,0,0,0.12);display:flex;align-items:center;gap:4px;}
.t-rating-row{display:flex;align-items:center;gap:7px;margin-bottom:11px;}
.t-rating-pill{display:inline-flex;align-items:center;gap:5px;background:rgba(245,166,35,0.12);padding:3px 9px;border-radius:7px;}
.t-rating-pill .star{color:var(--gold);font-size:0.82rem;}
.t-rating-pill .val{font-weight:700;font-size:0.82rem;}
.t-rating-pill .cnt{font-size:0.7rem;color:var(--ink-muted);}
.t-rating-new{font-size:0.7rem;color:var(--ink-muted);background:var(--sand);padding:3px 9px;border-radius:7px;font-weight:600;}
.t-vbadges{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px;min-height:0;}
.t-vbadge{display:inline-flex;align-items:center;gap:3px;padding:3px 8px;border-radius:50px;font-size:0.66rem;font-weight:600;}
.t-spec{padding:3px 9px;background:rgba(232,93,58,0.1);color:var(--flame-ink);border-radius:6px;font-size:0.7rem;font-weight:600;}
.t-card:hover .t-card-top img,.t-card:hover .t-card-top .t-avatar{transform:scale(1.05);}
.t-card-top img,.t-card-top .t-avatar{transition:transform .3s ease-out;}

/* ━━ HOW IT WORKS ━━ */
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.how-card{background:#fff;border-radius:var(--r-lg);padding:32px 24px;text-align:center;box-shadow:var(--shadow-xs);position:relative;overflow:hidden;transition:all .3s ease;}
.how-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.how-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;}
.how-card:nth-child(1)::before{background:var(--flame);}
.how-card:nth-child(2)::before{background:var(--sun);}
.how-card:nth-child(3)::before{background:var(--ocean);}
.how-num{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin:0 auto 14px;font-size:1.4rem;}
.how-card:nth-child(1) .how-num{background:rgba(232,93,58,0.1);color:var(--flame-ink);}
.how-card:nth-child(2) .how-num{background:rgba(245,166,35,0.1);color:var(--sun);}
.how-card:nth-child(3) .how-num{background:rgba(26,122,109,0.1);color:var(--ocean);}
.how-card h3{font-size:1.1rem;margin-bottom:8px;}
.how-card p{font-size:0.84rem;color:var(--ink-muted);line-height:1.6;}

/* ━━ CTA BANNER ━━ */
.cta{background:linear-gradient(135deg,var(--flame-dark),var(--flame),var(--sun));border-radius:var(--r-xl);padding:64px 44px;text-align:center;color:#fff;max-width:1080px;margin:0 auto 60px;position:relative;overflow:hidden;}
.cta::before{content:'';position:absolute;top:-35%;right:-8%;width:350px;height:350px;background:radial-gradient(circle,rgba(255,255,255,0.1) 0%,transparent 70%);border-radius:50%;}
.cta::after{content:'';position:absolute;bottom:-30%;left:-10%;width:300px;height:300px;background:radial-gradient(circle,rgba(255,255,255,0.06) 0%,transparent 70%);border-radius:50%;}
.cta h2{font-size:2rem;margin-bottom:12px;position:relative;}
.cta p{opacity:0.9;font-weight:300;margin-bottom:28px;position:relative;max-width:460px;margin-left:auto;margin-right:auto;line-height:1.7;}
.cta-btn{padding:14px 34px;background:#fff;color:var(--flame-dark);border:none;border-radius:100px;font-weight:700;font-size:0.95rem;cursor:pointer;transition:all .25s;position:relative;}
.cta-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);}

/* ━━ MODAL ━━ */
.overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(20,30,43,0.45);backdrop-filter:blur(5px);z-index:1100;justify-content:center;align-items:center;padding:16px;}
/* z-index 1100, was 200 (16 Nov 2026). The shared header (partials/header.html, .sn-hdr) is sticky at
   z-index 1000, so every .overlay modal opened UNDER it: the booking modal's title and close button
   sat behind the header on mobile and desktop alike (booking-dropoff-2026-11.md, F2). 1100 clears the
   header and stays below the toast (4000), the confirm dialogs (4001), the consent banner (9999) and
   the header's own menu (10050). The local preview hides this because the header is only injected at
   build time. */
.overlay.show{display:flex;}
.modal{background:#fff;border-radius:var(--r-lg);width:100%;max-width:540px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-xl);animation:modalPop .3s ease;}
@keyframes modalPop{from{opacity:0;transform:translateY(16px) scale(0.97);}to{opacity:1;transform:none;}}
.modal-head{padding:24px 28px 0;display:flex;justify-content:space-between;align-items:flex-start;}
.modal-head h2{font-size:1.35rem;}
.modal-x{width:32px;height:32px;border-radius:50%;border:none;background:var(--sand);font-size:1.1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--ink-soft);transition:all .2s;}
.modal-x:hover{background:var(--sand-dark);color:var(--ink);}
.modal-body{padding:20px 28px 28px;}

/* ━━ FORMS ━━ */
.fg{margin-bottom:18px;}
.fl{display:block;font-size:0.82rem;font-weight:600;color:var(--ink-mid);margin-bottom:6px;}
.fi,.fs,.ft{width:100%;padding:12px 15px;border:1.5px solid var(--sand-dark);border-radius:9px;font-size:0.88rem;color:var(--ink);background:#fff;outline:none;transition:all .25s ease;}
.fi:focus,.fs:focus,.ft:focus{border-color:var(--flame-ink);box-shadow:0 0 0 3px rgba(232,93,58,0.08);background:var(--white);}
.fi::placeholder{color:var(--ink-muted);}
.ft{resize:vertical;min-height:80px;line-height:1.6;}
.fg-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

/* ━━ TIME SLOTS ━━ */
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;}
/* font-family:inherit and width:100% are needed now these are real <button>s — a button does not
   inherit the page font, and without the width it shrinks out of the grid cell. focus-visible gives
   keyboard users a ring; previously these were divs and could not be focused at all. */
.slot{padding:9px;text-align:center;border:1.5px solid var(--sand-dark);border-radius:7px;font-size:0.82rem;font-weight:500;cursor:pointer;transition:background-color .15s ease-out,border-color .15s ease-out,color .15s ease-out,transform .12s ease-out;background:#fff;color:var(--ink-soft);font-family:inherit;width:100%;}
.slot:active:not(:disabled){transform:scale(.96);}
@media(prefers-reduced-motion:reduce){.slot{transition:none;}.slot:active:not(:disabled){transform:none;}}
.slot:hover{border-color:var(--flame-ink);color:var(--flame-ink);}
.slot:focus-visible{outline:2px solid var(--flame-ink);outline-offset:2px;}
.slot.sel{border-color:var(--flame-ink);background:var(--flame);color:#fff;font-weight:700;}
/* 1 Dec 2026 (audit sections 5 and 7). The choice, repeated in words above the button and announced
   politely as it changes, so selecting a time is confirmed by more than a colour. */
.bk-pick{margin:0 0 10px;padding:10px 12px;border-radius:10px;background:var(--sand);font-size:0.84rem;line-height:1.45;color:var(--ink-soft);text-align:left;}
.bk-pick.is-set{background:rgba(26,122,109,0.09);color:var(--ink);}
.bk-pick-k{display:block;font-size:0.75rem;font-weight:700;letter-spacing:.02em;color:var(--ink-soft);}
/* THE THREE LABELLED STATES (snBkStagesHTML): Request sent, Tutor accepted, Payment confirmed. Each is
   drawn from the booking row's own status, never advanced by a timer or by this page. */
.bk-stages{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;margin:14px 0 6px;padding:0;}
.bk-stages li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:0.78rem;line-height:1.3;color:#4A5360;}
.bk-stages li::after{content:"";position:absolute;top:11px;left:calc(50% + 15px);right:calc(-50% + 15px);height:2px;background:var(--sand-dark,#E4D9CA);}
.bk-stages li:last-child::after{display:none;}
.bk-st-dot{width:24px;height:24px;border-radius:50%;border:2px solid var(--sand-dark,#E4D9CA);background:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center;color:#fff;}
.bk-st-dot svg{width:13px;height:13px;}
.bk-stages li.is-done{color:var(--ink);}
.bk-stages li.is-done .bk-st-dot{background:var(--sn-c-teal,#1A7A6D);border-color:var(--sn-c-teal,#1A7A6D);}
.bk-stages li.is-done::after{background:var(--sn-c-teal,#1A7A6D);}
.bk-stages li.is-now{color:var(--ink);font-weight:700;}
.bk-stages li.is-now .bk-st-dot{border-color:var(--sn-c-accent-fill,#C0432A);box-shadow:0 0 0 4px rgba(192,67,42,.14);}
.bk-stages li.is-stop{color:var(--ink);font-weight:700;}
.bk-stages li.is-stop .bk-st-dot{background:#68727F;border-color:#68727F;}
.success .bk-stages{margin:16px auto 4px;max-width:420px;}
.success h3:focus{outline:none;}
.slot.off{opacity:0.3;cursor:not-allowed;text-decoration:line-through;}
/* Booking modal (16 Nov 2026). Times are grouped into morning / afternoon / evening so a tutor with
   a full day is three short rows rather than thirteen full-width buttons on a phone, and the submit
   lives in .bk-foot, which is pinned to the bottom of the modal on small screens. */
.bk-sg+.bk-sg{margin-top:10px;}
.bk-sg-h{font-size:0.74rem;font-weight:600;letter-spacing:0.04em;text-transform:uppercase;color:var(--ink-muted);margin:0 0 6px;}
.bk-none{font-size:0.85rem;color:var(--ink-muted);padding:8px 0;line-height:1.5;}
.bk-next{background:none;border:none;padding:0;font:inherit;font-weight:600;color:var(--flame-ink);text-decoration:underline;cursor:pointer;}
.bk-date-hint{font-weight:400;color:var(--ink-muted);}
.bk-foot{margin-top:14px;}
.bk-foot .btn{margin-top:0;}
.bk-acct{font-size:0.78rem;color:var(--ink-muted);line-height:1.45;margin:8px 0 0;text-align:center;}
.bk-err{font-size:0.82rem;color:var(--flame-ink);font-weight:500;line-height:1.4;margin:0 0 8px;text-align:center;}
.bk-err:empty{display:none;}
/* Inline email-code step (16 Nov 2026): replaces the footer while a logged-out parent confirms their
   email. In normal flow, not sticky: on a phone the sticky footer would otherwise grow to cover the form. */
.bk-acct-box{margin-top:16px;padding:16px;border:1.5px solid var(--sand-dark);border-radius:var(--r);background:#fff;scroll-margin-top:12px;}
.bk-acct-h{font-family:var(--font-display);font-weight:600;font-size:1.08rem;margin:0 0 6px;color:var(--ink);outline:none;}
.bk-acct-p{font-size:0.86rem;color:var(--ink-soft);line-height:1.5;margin:0 0 10px;}
.bk-acct-sum{font-size:0.82rem;color:var(--ink-soft);background:var(--sand);border-radius:9px;padding:8px 12px;margin:0 0 14px;line-height:1.45;}
.bk-acct-hint{display:block;font-size:0.76rem;color:var(--ink-muted);margin-top:5px;}
.bk-acct-terms{align-items:flex-start;font-size:0.84rem;padding:4px 0 10px;}
.bk-acct-terms input{margin-top:3px;flex:0 0 auto;width:18px;height:18px;}
.bk-acct-links{font-size:0.84rem;text-align:center;margin:12px 0 0;color:var(--ink-muted);}
.bk-acct-links .bk-next:disabled{color:var(--ink-muted);text-decoration:none;cursor:default;font-weight:500;}
.bk-ts{margin:4px 0 10px;min-height:0;}
.bk-acct-box .bk-err{text-align:left;}
.bk-code{font-size:1.4rem!important;letter-spacing:0.35em;text-align:center;font-variant-numeric:tabular-nums;padding:12px 10px;}
/* Phase 1 booking (27 Nov 2026). The two ways through the account step, side by side, so a returning
   parent is not sent out of the modal to /login; the "what happens next" box above the button; and
   the note under the times when some are held by another family (0221). */
.bk-acct-why{font-size:0.86rem;color:var(--ink);line-height:1.5;margin:0 0 12px;}
.bk-acct-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--sand);border-radius:10px;padding:4px;margin:0 0 14px;}
.bk-acct-mode{border:none;background:transparent;border-radius:8px;padding:9px 6px;font:inherit;font-size:0.84rem;font-weight:600;color:var(--ink-soft);cursor:pointer;line-height:1.25;}
.bk-acct-mode[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(20,30,43,0.12);}
.bk-acct-mode:focus-visible{outline:2px solid var(--flame-ink);outline-offset:2px;}
.bk-ns{background:var(--sand);border-radius:var(--r);padding:14px 16px;margin-top:12px;font-size:0.82rem;color:var(--ink-soft);line-height:1.5;}
.bk-ns-h{font-weight:700;color:var(--ink);margin:0 0 6px;font-size:0.86rem;}
.bk-ns ol{margin:0;padding-left:1.2em;}
.bk-ns li+li{margin-top:4px;}
.bk-ns-cancel{margin:10px 0 0;padding-top:10px;border-top:1px solid var(--sand-dark);}
.bk-ns a{color:var(--flame-ink);}
.bk-held-note{font-size:0.78rem;color:var(--ink-muted);margin:8px 0 0;line-height:1.45;}
@media(max-width:768px){ #bkAcct .fi,#bkAcct .fs{font-size:16px;} .bk-acct-box{padding:14px;margin-bottom:20px;} }
/* A toast fired while the booking modal is open goes to the top of the screen, not the bottom, so
   it never sits on the submit button (it used to: "Please pick an available time slot" was drawn
   over the very button it was about). The toast wrapper sets bottom inline, hence !important. */
body:has(#bookOverlay.show) #snToastWrap{bottom:auto!important;top:16px;}
/* The cookie banner (z-index 9999) would otherwise cover the booking modal's sticky submit button for a
   first-time visitor. While the booking modal is open the banner steps aside; it returns, unanswered, the
   moment the modal closes. No consent is set or assumed by this. */
body:has(#bookOverlay.show) #cookieBanner{display:none!important;}
@media(max-width:768px){
  #bookOverlay{padding:10px;}
  #bookOverlay .modal{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);}
  #bookModal .modal-head{padding:18px 20px 0;}
  #bookModal .modal-body{padding:16px 20px 24px;}
  #bookModal .modal-body.bk-body{padding-bottom:0;}
  #bookModal .bk-info{margin-bottom:14px;}
  #bkSlots .slots{grid-template-columns:repeat(4,1fr);gap:6px;}
  #bkSlots .slot{padding:10px 2px;font-size:0.84rem;}
  .bk-foot{position:sticky;bottom:0;z-index:2;background:#fff;margin:14px -20px 0;padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--sand-dark);box-shadow:0 -10px 18px -14px rgba(20,30,43,0.35);}
}

/* ━━ BOOKING INFO ━━ */
.bk-info{display:flex;gap:14px;align-items:center;padding:14px;background:var(--sand);border-radius:var(--r);margin-bottom:20px;}
.bk-av{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-display);font-size:1.2rem;}
.bk-name{font-weight:600;font-size:0.98rem;}
.bk-sub{font-size:0.82rem;color:var(--ink-muted);}
.bk-summary{background:var(--sand);border-radius:var(--r);padding:18px;margin-top:20px;}
.bk-row{display:flex;justify-content:space-between;padding:5px 0;font-size:0.87rem;color:var(--ink-soft);}
.bk-row.total{border-top:1.5px solid var(--sand-dark);margin-top:6px;padding-top:10px;font-weight:700;color:var(--ink);font-size:1rem;}

/* ━━ SUCCESS ━━ */
.success{text-align:center;padding:36px 16px;}
.success-ico{width:72px;height:72px;border-radius:50%;background:rgba(72,187,120,0.1);display:flex;align-items:center;justify-content:center;margin:0 auto 18px;font-size:2.2rem;}
.success h3{font-size:1.3rem;margin-bottom:6px;}
.success p{color:var(--ink-muted);font-size:0.9rem;}

/* ━━ DASHBOARD ━━ */
.dash{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 64px);}
.dash-side{background:var(--ink);padding:28px 18px;position:sticky;top:64px;height:calc(100vh - 64px);overflow-y:auto;align-self:start;}
.dash-u{text-align:center;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,0.08);margin-bottom:20px;}
.dash-u-av{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.6rem;font-family:var(--font-display);margin:0 auto 10px;}
.dash-u-name{color:#fff;font-weight:600;font-size:0.98rem;}
.dash-u-role{color:var(--ink-muted);font-size:0.78rem;}
.dash-nav{display:flex;flex-direction:column;gap:3px;}
.dash-ni{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:9px;color:rgba(255,255,255,0.5);font-size:0.85rem;font-weight:500;cursor:pointer;transition:all .2s;border:none;background:none;width:100%;text-align:left;}
.dash-ni:hover{background:rgba(255,255,255,0.06);color:#fff;}
.dash-ni.on{background:rgba(232,93,58,0.18);color:var(--flame-light);}
/* Nav icons (22 Nov 2026, owner decision: no emoji in the product UI). site-tokens.css paints every
   .dash-side .sn-i white; here the icon follows its own label instead, so an inactive item is as dim as
   its text and the active one takes the same flame tint. */
.dash-nav .dash-ni .sn-i{width:1.05em;height:1.05em;color:currentColor;}
.dash-main{padding:28px clamp(16px,3vw,28px);}
.dash-head{margin-bottom:26px;}
.dash-head h2{font-size:1.6rem;margin-bottom:3px;}
.dash-head p{color:var(--ink-muted);font-size:0.9rem;}
/* My Website (Sessioned Sites, 0227) */
.mw-card{background:#fff;border-radius:14px;padding:20px 24px;box-shadow:0 1px 4px rgba(0,0,0,0.04);line-height:1.6;font-size:.92rem;}
.mw-card p{margin:0 0 12px;}
.mw-h{font-family:var(--font-display);font-size:1.05rem;margin:18px 0 10px;}
.mw-tpls{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;}
.mw-tpl{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--sand-dark);border-radius:12px;color:var(--ink);text-decoration:none;}
.mw-tpl:hover{border-color:var(--flame);}
.mw-tpl:focus-visible{outline:2px solid var(--flame);outline-offset:2px;}
.mw-tpl span{font-size:.82rem;color:var(--ink-muted);}
.mw-tpl .mw-go{color:var(--flame-ink);font-weight:600;margin-top:4px;}
.mw-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 12px;}
.mw-small{font-size:.82rem;color:var(--ink-muted);}
.mw-muted{color:var(--ink-muted);font-size:.84rem;}
.mw-note{background:#FFF4EF;border:1px solid var(--flame);border-radius:10px;padding:10px 14px;margin:0 0 14px;font-size:.86rem;}
.mw-status{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px;}
.mw-badge{display:inline-block;padding:3px 12px;border-radius:50px;font-size:.78rem;font-weight:700;background:rgba(124,107,214,0.14);color:#5B4BB5;}
.mw-badge.is-live{background:rgba(72,187,120,0.14);color:#2F855A;}
.mw-badge.is-off{background:var(--sand-dark);color:var(--ink-soft);}
.mw-dl{display:grid;grid-template-columns:minmax(120px,auto) 1fr;gap:6px 14px;margin:0 0 12px;}
.mw-dl dt{color:var(--ink-muted);}
.mw-dl dd{margin:0;overflow-wrap:anywhere;}
.mw-copy{user-select:all;font-family:ui-monospace,Menlo,monospace;font-size:.82rem;}
@media(max-width:600px){.mw-dl{grid-template-columns:1fr;}.mw-dl dd{margin-bottom:6px;}}
.mw-sect{margin-top:16px;}
.mw-sect .mw-h{margin-top:0;}
.mw-sub{font-size:.9rem;font-weight:700;margin:14px 0 6px;}
.mw-list{margin:0 0 10px;padding-left:20px;}
.mw-list li{margin-bottom:4px;}
.mw-form{display:flex;flex-direction:column;gap:6px;}
.mw-form label{font-weight:600;font-size:.86rem;}
.mw-form textarea,.mw-form input{font-family:inherit;font-size:.92rem;padding:9px 11px;border:1px solid var(--sand-dark);border-radius:10px;background:#fff;color:var(--ink);width:100%;box-sizing:border-box;}
.mw-form textarea{resize:vertical;min-height:96px;}
.mw-form textarea:focus-visible,.mw-form input:focus-visible{outline:2px solid var(--flame);outline-offset:1px;}
.mw-count{text-align:right;}
.mw-note.is-ok{background:rgba(72,187,120,0.10);border-color:#2F855A;}
.mw-reqs{list-style:none;margin:0;padding:0;}
.mw-reqs li{padding:10px 0;border-top:1px solid var(--sand-dark);}
.mw-reqs .mw-status{margin-bottom:4px;}
.mw-req-text{white-space:pre-wrap;overflow-wrap:anywhere;}

.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:28px;}
.stat{background:#fff;border-radius:var(--r);padding:22px;box-shadow:var(--shadow-xs);border:1px solid rgba(20,30,43,0.03);transition:all .2s;}
.stat:hover{box-shadow:var(--shadow-sm);}
.stat-l{font-size:0.76rem;color:var(--ink-muted);font-weight:500;margin-bottom:6px;text-transform:uppercase;letter-spacing:0.3px;}
.stat-v{font-family:var(--font-display);font-size:1.6rem;}
.stat-c{font-size:0.74rem;font-weight:600;margin-top:3px;}
.stat-c.up{color:var(--mint);}

.upcoming{background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow-xs);overflow:hidden;border:1px solid rgba(20,30,43,0.03);}
.upcoming-h{padding:18px 22px;border-bottom:1px solid var(--sand-dark);font-family:var(--font-display);font-size:1.08rem;}
/* ── Dashboards, Phase 7 (28 Nov 2026): next step, past sessions, to do, help. Tokens only. ── */
.sn-dnext{background:var(--sn-c-surface,#FFFCF8);border:1px solid var(--sn-c-line,#D9CFC0);border-radius:var(--sn-radius-lg,22px);padding:24px 28px;margin:0 0 22px;box-shadow:var(--sn-shadow-1,none);}
.sn-dnext[hidden],.sn-dpast[hidden],.stats[hidden],.sn-dact[hidden],.sn-dsec-note[hidden]{display:none;}
.sn-dnext-l{font-size:var(--sn-fs-sm,14px);font-weight:600;color:var(--sn-c-teal-ink,#146055);margin:0 0 6px;}
.sn-dnext[data-kind="accepted"] .sn-dnext-l,.sn-dnext[data-kind="lapsed"] .sn-dnext-l{color:var(--sn-c-accent-text,#A5381F);}
.sn-dnext-t{font-family:var(--font-display,'Fraunces',serif);font-weight:400;font-size:var(--sn-fs-xl,26px);line-height:var(--sn-lh-snug,1.25);letter-spacing:var(--sn-track-display,-0.015em);color:var(--sn-c-ink,#141E2B);margin:0 0 8px;}
.sn-dnext-m{font-size:var(--sn-fs-base,16px);font-weight:600;color:var(--sn-c-ink,#141E2B);margin:0 0 6px;}
.sn-dnext-d{font-size:var(--sn-fs-base,16px);line-height:var(--sn-lh-body,1.6);color:var(--sn-c-ink-soft,#3D4652);margin:0;max-width:68ch;}
.sn-dnext-x{font-size:var(--sn-fs-sm,14px);color:var(--sn-c-ink-muted,#4A5360);margin:8px 0 0;}
.sn-dnext-steps{margin:12px 0 0;padding-left:22px;font-size:var(--sn-fs-base,16px);line-height:var(--sn-lh-body,1.6);color:var(--sn-c-ink-soft,#3D4652);}
.sn-dnext-steps li{margin:0 0 4px;}
.sn-dnext-a{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.sn-dnext-a .btn{min-height:var(--sn-tap-btn,48px);}
.sn-dpast-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:14px 22px;border-bottom:1px solid var(--sn-c-line-soft,#EDE3D6);}
.sn-dpast-n{font-weight:600;font-size:var(--sn-fs-base,16px);}
.sn-dpast-m{font-size:var(--sn-fs-sm,14px);color:var(--sn-c-ink-muted,#4A5360);}
.sn-dpast-foot{padding:6px 22px 10px;}
.sn-dlink{background:none;border:0;padding:0 2px;min-height:var(--sn-tap,44px);font:inherit;font-size:var(--sn-fs-sm,14px);font-weight:600;color:var(--sn-c-accent-text,#A5381F);cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.sn-dlink:focus-visible{outline:2px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.sn-dsec-h{font-family:var(--font-display,'Fraunces',serif);font-weight:400;font-size:var(--sn-fs-lg,21px);color:var(--sn-c-ink,#141E2B);margin:8px 0 12px;}
.sn-dsec-note{font-size:var(--sn-fs-base,16px);color:var(--sn-c-ink-muted,#4A5360);margin:0 0 18px;}
.sn-dtodo{margin:26px 0 8px;}
.sn-dact{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;background:#fff;border-radius:14px;padding:14px 18px;box-shadow:0 1px 4px rgba(0,0,0,0.04);margin-bottom:18px;border-left:4px solid var(--ocean);}
.sn-dact-body{min-width:0;flex:1 1 260px;}
.sn-dact-t{font-weight:700;font-size:0.95rem;color:var(--sn-c-ink,#141E2B);}
.sn-dact-d{font-size:0.88rem;line-height:1.5;color:var(--sn-c-ink-soft,#3D4652);margin:3px 0 0;}
.sn-dme{margin:18px 0 22px;}
.sn-dme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;}
.sn-dme-item{background:#fff;border-radius:14px;padding:18px 20px;box-shadow:0 1px 4px rgba(0,0,0,0.04);display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
.sn-dme-item .sn-dact-d{margin:0 0 4px;}
.sn-dl{font-size:0.86rem;color:var(--sn-c-ink-soft,#3D4652);margin-top:6px;}
.sn-dl--soon{color:var(--sn-c-accent-text,#A5381F);}
.sn-dhelp{margin:22px 0 4px;}
.sn-dhelp-h{font-family:var(--font-display,'Fraunces',serif);font-weight:400;font-size:var(--sn-fs-lg,21px);margin:0 0 10px;}
.sn-dhelp ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 24px;}
.sn-dhelp li{padding:12px 0;border-top:1px solid var(--sn-c-line-soft,#EDE3D6);display:flex;flex-direction:column;gap:2px;}
.sn-dhelp li>a:first-child{font-weight:600;font-size:var(--sn-fs-base,16px);color:var(--sn-c-accent-text,#A5381F);min-height:var(--sn-tap,44px);display:inline-flex;align-items:center;}
.sn-dhelp li span{font-size:var(--sn-fs-sm,14px);color:var(--sn-c-ink-muted,#4A5360);}
.sn-dhelp li span a{color:var(--sn-c-accent-text,#A5381F);}
@media(max-width:600px){.sn-dnext{padding:20px 18px;}.sn-dnext-a .btn{flex:1 1 100%;justify-content:center;text-align:center;}.sn-dpast-row{padding:14px 16px;}.sn-dpast-row .btn{width:100%;justify-content:center;}}
.sess{display:flex;align-items:center;gap:14px;padding:16px 22px;border-bottom:1px solid var(--sand);transition:all .2s;cursor:pointer;}
.sess:hover{background:var(--sand);padding-left:26px;}
.sess:last-child{border-bottom:none;}
.sess-d{width:50px;height:50px;background:var(--sand);border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;}
.sess-dd{font-weight:700;font-size:1rem;color:var(--flame-ink);}
.sess-dm{font-size:0.66rem;color:var(--ink-muted);font-weight:500;text-transform:uppercase;}
.sess-info{flex:1;}
.sess-n{font-weight:600;font-size:0.9rem;}
.sess-s{font-size:0.78rem;color:var(--ink-muted);}
.sess-time{font-size:0.82rem;color:var(--ink-soft);font-weight:500;text-align:right;}
.sess-st{padding:3px 10px;border-radius:50px;font-size:0.68rem;font-weight:600;display:inline-block;margin-top:4px;}
.sess-st.ok{background:rgba(72,187,120,0.1);color:var(--mint);}
.sess-st.pen{background:rgba(245,166,35,0.1);color:var(--sun);}

/* ━━ MESSAGES ━━ */
.msg-layout{display:grid;grid-template-columns:280px 1fr;height:calc(100vh - 64px);background:#fff;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-sm);}
.msg-list{border-right:1px solid var(--sand-dark);overflow-y:auto;}
.msg-list-head{padding:18px 20px;border-bottom:1px solid var(--sand-dark);font-family:var(--font-display);font-size:1.1rem;}
.msg-item{display:flex;gap:12px;padding:14px 20px;cursor:pointer;transition:background .2s;border-bottom:1px solid var(--sand);}
.msg-item:hover,.msg-item.on{background:rgba(232,93,58,0.05);}
.msg-av{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);color:#fff;font-size:1rem;flex-shrink:0;}
.msg-meta{flex:1;min-width:0;}
.msg-meta-name{font-weight:600;font-size:0.88rem;}
.msg-meta-last{font-size:0.78rem;color:var(--ink-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.msg-meta-time{font-size:0.68rem;color:var(--ink-muted);text-align:right;}
.msg-unread{min-width:18px;height:18px;border-radius:9px;background:var(--flame);color:#fff;font-size:0.68rem;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px;margin-left:auto;box-shadow:0 2px 6px rgba(232,93,58,0.3);}
.msg-status{font-size:0.65rem;color:var(--ink-muted);margin-top:3px;display:flex;align-items:center;gap:3px;}
.msg-status.seen{color:var(--ocean);}
.bubble.me{padding-bottom:18px;}
.msg-chat{display:flex;flex-direction:column;height:100%;}
.msg-chat-head{padding:16px 22px;border-bottom:1px solid var(--sand-dark);display:flex;align-items:center;gap:12px;}
.msg-chat-name{font-weight:600;font-size:0.95rem;}
.msg-chat-sub{font-size:0.78rem;color:var(--ink-muted);}
.msg-chat-body{flex:1;overflow-y:auto;padding:20px 22px;display:flex;flex-direction:column;gap:10px;}
.bubble{max-width:75%;padding:10px 14px;border-radius:14px;font-size:0.88rem;line-height:1.5;}
.bubble.them{background:var(--sand);border-bottom-left-radius:4px;align-self:flex-start;}
.bubble.me{background:var(--flame);color:#fff;border-bottom-right-radius:4px;align-self:flex-end;}
.bubble-time{font-size:0.66rem;color:var(--ink-muted);margin-top:2px;}
.bubble.me .bubble-time{color:rgba(255,255,255,0.6);}
.msg-chat-input{padding:14px 22px;border-top:1px solid var(--sand-dark);display:flex;gap:8px;}
.msg-chat-input input{flex:1;padding:10px 14px;border:1.5px solid var(--sand-dark);border-radius:9px;font-size:0.88rem;outline:none;}
.msg-chat-input input:focus{border-color:var(--flame-ink);}

/* ━━ BECOME TUTOR PAGE ━━ */
.bt-hero{background:linear-gradient(145deg,var(--ocean-dark),var(--ocean) 60%,var(--ocean-light));padding:70px clamp(16px,4vw,40px) 80px;text-align:center;color:#fff;position:relative;overflow:hidden;}
.bt-hero::before{content:'';position:absolute;top:-30%;right:-10%;width:500px;height:500px;background:radial-gradient(circle,rgba(255,255,255,0.08) 0%,transparent 70%);border-radius:50%;}
.bt-hero h1{font-size:clamp(2rem,4.5vw,3rem);font-weight:300;margin-bottom:14px;position:relative;}
.bt-hero h1 em{color:var(--sun-light);font-weight:400;}
.bt-hero p{opacity:0.75;font-weight:300;font-size:1.05rem;max-width:500px;margin:0 auto 30px;position:relative;}
.bt-stats{display:flex;justify-content:center;gap:clamp(20px,4vw,50px);margin-top:40px;position:relative;}
.bt-stat-n{font-family:var(--font-display);font-size:1.6rem;color:var(--sun-light);}
.bt-stat-l{font-size:0.76rem;color:rgba(255,255,255,0.5);}

.bt-benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;padding:50px clamp(16px,4vw,40px);max-width:1100px;margin:0 auto;}
.bt-ben{background:#fff;border-radius:var(--r-lg);padding:28px 24px;box-shadow:var(--shadow-xs);text-align:center;}
.bt-ben-ico{font-size:2rem;margin-bottom:12px;}
.bt-ben h2,.bt-ben h3{font-size:1rem;margin-bottom:6px;font-weight:400;}
.bt-ben p{font-size:0.82rem;color:var(--ink-muted);line-height:1.6;}

/* ━━ ONBOARDING STEPS ━━ */
.ob-wrap{max-width:600px;margin:0 auto;padding:40px clamp(16px,4vw,40px) 60px;}
.ob-progress{display:flex;gap:4px;margin-bottom:32px;}
.ob-step{flex:1;height:4px;border-radius:2px;background:var(--sand-dark);transition:background .3s;}
.ob-step.done{background:var(--ocean);}
.ob-step.current{background:var(--flame);}
.ob-card{background:#fff;border-radius:var(--r-lg);padding:32px 28px;box-shadow:var(--shadow-sm);}
.ob-card h2{font-size:1.4rem;margin-bottom:6px;}
.ob-card .ob-desc{font-size:0.88rem;color:var(--ink-muted);margin-bottom:24px;}
.ob-actions{display:flex;gap:10px;margin-top:24px;}
.ob-actions .btn{flex:1;justify-content:center;}
.ob-check{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:0.88rem;}
.ob-check input[type=checkbox]{width:18px;height:18px;accent-color:var(--flame-ink);}

/* ━━ SIGN UP PAGE ━━ */
.signup-split{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 64px);}
.signup-left{background:linear-gradient(160deg,var(--ink),var(--ink-mid));display:flex;align-items:center;justify-content:center;padding:40px;color:#fff;}
.signup-left-inner{max-width:380px;}
.signup-left h2{font-size:2rem;margin-bottom:14px;line-height:1.2;}
.signup-left p{opacity:0.6;font-size:0.95rem;line-height:1.7;margin-bottom:20px;}
.signup-left .feat{display:flex;gap:10px;margin-bottom:12px;font-size:0.88rem;align-items:flex-start;}
.signup-left .feat-ico{color:var(--sun-light);font-size:1.1rem;flex-shrink:0;margin-top:2px;}
/* min-width:0 is the whole fix (26 Oct 2026). .signup-right is a GRID ITEM, and a grid item's
   default min-width is auto, so it refuses to shrink below its content's min-content width. The
   form inside is width:100%;max-width:380px, which in that situation resolved to 380 rather than
   to the column - so the panel measured 420px wide (380 + one side of its 40px padding) inside a
   320px viewport and the whole document scrolled sideways at both 320 and 390. Measured before:
   scrollWidth 420 vs innerWidth 320. Neither the form's max-width nor the padding was at fault;
   the item simply never agreed to be narrow. box-sizing keeps the padding inside the new bound. */
.signup-right{display:flex;align-items:center;justify-content:center;padding:40px;min-width:0;box-sizing:border-box;}
.signup-split>*{min-width:0;}

/* The LAST 16px of sideways scroll on /signup, and it is not our CSS. #tsStudent hosts the
   Cloudflare Turnstile widget, whose iframe has a fixed intrinsic width of 300px. At a 320px
   viewport the form's content box is 248px (320 - 2x16 panel padding - 2x20 form padding), so the
   widget pushed the document to 336px. Nothing in the subtree is "too wide" relative to its
   parent, which is why an element-by-element sweep found no culprit and only a scrollWidth
   comparison located it.
   Turnstile does offer a 130px compact size, but selecting it is a change to the auth widget's
   configuration and auth is frozen - so the host box contains the overflow instead. The widget
   scrolls within its own 248px box; the page does not. */
#tsStudent,#tsTutor{max-width:100%;overflow-x:auto;}
.signup-form{width:100%;max-width:380px;}
.signup-form h2{font-size:1.5rem;margin-bottom:4px;}
.signup-form .sub{font-size:0.88rem;color:var(--ink-muted);margin-bottom:24px;}
.signup-tabs{display:flex;gap:4px;margin-bottom:22px;background:var(--sand);border-radius:9px;padding:3px;}
/* Log in view only: the form comes first. #snMain already starts below the header, so .page's 64px
   top padding was a second clearance, and the full-height centred column pushed the form ~330px down
   on desktop, with the button under the cookie banner. */
#p-login{padding-top:0;min-height:0;}
#p-login .signup-split{min-height:0;}
#p-login .signup-right{align-items:flex-start;padding-top:32px;}
.signup-tab{flex:1;padding:9px;text-align:center;border-radius:7px;font-size:0.84rem;font-weight:600;cursor:pointer;transition:all .2s;border:none;background:none;color:var(--ink-soft);}
.signup-tab.on{background:#fff;color:var(--flame-ink);box-shadow:var(--shadow-xs);}
.divider{display:flex;align-items:center;gap:12px;margin:18px 0;font-size:0.78rem;color:var(--ink-muted);}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:var(--sand-dark);}
.social-btn{width:100%;padding:11px;border:1.5px solid var(--sand-dark);border-radius:9px;font-size:0.88rem;font-weight:500;cursor:pointer;background:#fff;color:var(--ink);transition:all .2s;margin-bottom:8px;display:flex;align-items:center;justify-content:center;gap:8px;}
.social-btn:hover{border-color:var(--ink-muted);}

/* ━━ STRIPE BOX ━━ */
.stripe-box{border:1.5px solid #635BFF;border-radius:var(--r);padding:18px;background:#FAFAFE;margin-top:8px;}
.stripe-box-head{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:0.85rem;font-weight:600;color:#635BFF;}
.stripe-badge{background:#635BFF;color:#fff;padding:2px 8px;border-radius:4px;font-size:0.7rem;font-weight:700;}

/* ━━ FOOTER ━━ */
/* === sn-footer-inset ════════════════════════════════════════════════════════════════════════
   Component 6 of the front-end brief was "make the footer a rounded card inset from the
   viewport, clip the glows". MOST OF IT ALREADY EXISTED: .ft-island below is already a 32px
   rounded card with overflow:hidden, the ftGlowA/ftGlowB blobs are already ::before/::after
   inside it and already clipped, and body is already --sand so the card edge shows on all four
   sides. Measured before touching anything: 16px gap left and right, 16-28px below, radius 32px,
   overflow hidden.

   What was actually wrong is the only thing changed here: the side inset was a flat 16px while
   every section above it uses --sn-gutter, so on a wide screen the footer card hugged the window
   more tightly than the content it sits under. It now uses the same token and lines up.

   Radius stays 32px rather than dropping to --r-xl (28px). The brief named --r-xl, but 32px is
   the value this card already had and 4px smaller is not an improvement - it is a change for the
   sake of matching a token that was written from the outside.

   NOT VERIFIABLE HERE: the brief asks that the bottom margin survive iOS Safari's dynamic
   toolbar. There is no iOS device in this environment; the margin is a normal block margin on a
   static element rather than anything vh-based, so it has no reason to collapse, but it has not
   been seen on hardware. */
footer#globalFooter{background:transparent;color:rgba(255,255,255,0.6);
  padding:8px var(--sn-gutter) clamp(16px,3vw,28px);}
.ft-island{position:relative;overflow:hidden;border-radius:32px;background:linear-gradient(158deg,#22304f 0%,#182643 48%,#141E2B 100%);padding:clamp(40px,5vw,60px) clamp(24px,4vw,54px) clamp(26px,3vw,34px);box-shadow:0 30px 80px rgba(20,30,43,0.28);}
.ft-island::before{content:'';position:absolute;top:-150px;right:-110px;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(232,93,58,0.28),transparent 68%);pointer-events:none;animation:ftGlowA 20s ease-in-out infinite alternate;}
.ft-island::after{content:'';position:absolute;bottom:-170px;left:-130px;width:470px;height:470px;border-radius:50%;background:radial-gradient(circle,rgba(26,122,109,0.22),transparent 70%);pointer-events:none;animation:ftGlowB 26s ease-in-out infinite alternate;}
@keyframes ftGlowA{from{transform:translate(0,0);}to{transform:translate(-38px,28px);}}
@keyframes ftGlowB{from{transform:translate(0,0);}to{transform:translate(38px,-22px);}}
.ft-inner{position:relative;z-index:1;max-width:1200px;margin:0 auto;}
.ft-email{display:inline-block;margin-top:16px;color:#fff;font-size:0.95rem;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,0.3);padding-bottom:2px;transition:color .2s,border-color .2s;}
.ft-email:hover{color:var(--flame-light);border-color:var(--flame-light);}
/* newsletter atop the island */
.ft-news{text-align:center;max-width:600px;margin:0 auto clamp(30px,4vw,42px);padding-bottom:clamp(28px,3vw,36px);border-bottom:1px solid rgba(255,255,255,0.10);}
.ft-news h3{font-family:var(--font-display);font-size:1.5rem;color:#fff;margin-bottom:6px;}
.ft-news p.sub{color:rgba(255,255,255,0.5);font-size:0.9rem;margin-bottom:20px;}
.ft-news-form{display:flex;gap:8px;max-width:440px;margin:0 auto;}
.ft-news-form input{flex:1;padding:14px 18px;border:1px solid rgba(255,255,255,0.15);border-radius:12px;background:rgba(255,255,255,0.08);color:#fff;font-size:0.9rem;font-family:var(--font);outline:none;transition:border-color .2s;}
.ft-news-form input:focus{border-color:var(--flame);}
.ft-news-form button{background:var(--flame);color:#fff;border:none;padding:14px 24px;border-radius:12px;font-size:0.9rem;font-weight:600;cursor:pointer;font-family:var(--font);white-space:nowrap;transition:background .2s,transform .2s;}
.ft-news-form button:hover{background:#D04E2E;transform:translateY(-1px);}
.ft-fine{font-size:0.78rem;color:rgba(255,255,255,0.62);margin-top:12px;}
/* main row: brand left, dropdown groups right */
.ft-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:clamp(30px,5vw,64px);align-items:start;margin-bottom:28px;}
.ft-brand-section{}
.ft-brand{font-family:var(--font-display);font-size:1.5rem;color:var(--flame-light);margin-bottom:8px;}
.ft-brand span{color:rgba(255,255,255,0.8);}
.ft-desc{font-size:0.86rem;line-height:1.7;max-width:300px;color:rgba(255,255,255,0.55);}
.ft-socials{display:flex;gap:10px;margin-top:20px;}
.ft-social{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.55);text-decoration:none;transition:all .25s;cursor:pointer;border:1px solid rgba(255,255,255,0.08);}
.ft-social:hover{background:var(--flame);color:#fff;border-color:var(--flame-ink);transform:translateY(-2px);}
.ft-groups{display:flex;flex-direction:column;}
.ft-group{border-top:1px solid rgba(255,255,255,0.10);}
.ft-group:first-child{border-top:none;}
.ft-group>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:15px 0;color:#fff;font-size:0.78rem;font-weight:600;text-transform:uppercase;letter-spacing:1.1px;}
.ft-group>summary::-webkit-details-marker{display:none;}
.ft-group>summary::after{content:'+';font-size:1.35rem;line-height:1;color:var(--flame-light);font-weight:300;transition:transform .25s ease;flex-shrink:0;margin-left:12px;}
.ft-group[open]>summary::after{transform:rotate(45deg);}
.ft-group-links{padding:0 0 18px;display:grid;gap:11px;}
.ft-group-links a{font-size:0.86rem;line-height:1.4;color:rgba(255,255,255,0.55);text-decoration:none;cursor:pointer;transition:color .2s,transform .2s;width:fit-content;}
.ft-group-links a:hover{color:var(--flame-light);transform:translateX(2px);}
/* The Trustpilot link is the one footer link that carries an icon. inline-flex rather than a
   leading glyph so the icon sits on the text baseline at any zoom; if the sprite fails to
   inject, the link still reads "Review us on Trustpilot" and nothing is lost. */
.ft-review-link{display:inline-flex!important;align-items:center;gap:6px;}
.ft-review-link .sn-i{width:14px;height:14px;flex:none;}
.ft-bottom{padding-top:22px;border-top:1px solid rgba(255,255,255,0.10);font-size:0.76rem;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.ft-bottom-links{display:flex;gap:16px;align-items:center;flex-wrap:wrap;}
/* The Cookie settings control is a <button>, not an <a href="#">. It performs an action rather than
   navigating, and the hrefless-anchor pattern is what broke this site's crawlability once already
   (see scripts/verify-crawl.mjs). Styling it alongside the anchors keeps it visually a footer link
   without putting a dead target into the internal link graph. */
.ft-bottom-links a,.ft-bottom-links button{color:rgba(255,255,255,0.4);text-decoration:none;font-size:0.76rem;cursor:pointer;transition:color .2s;}
.ft-bottom-links button{background:none;border:none;padding:0;font-family:inherit;line-height:inherit;}
.ft-bottom-links a:hover,.ft-bottom-links button:hover{color:rgba(255,255,255,0.7);}
@media(prefers-reduced-motion:reduce){.ft-island::before,.ft-island::after{animation:none;}}

/* ━━ TUTOR TABS ━━ */
.tutor-tab{display:none;}
.tutor-tab.active{display:block;animation:fadeUp .3s ease;}

/* ── Session agreements ─────────────────────────────────────────────────────────────────────
   The grade pickers are buttons rather than a <select> on purpose: the whole point of this
   screen is that a tutor and a parent look at it together and SEE that 4 -> 7 on foundation is
   off the end of the scale. A dropdown hides that; nine buttons with the unreachable ones
   visibly struck through make it obvious before anyone has to say it out loud. */
.agr-card{background:#fff;border:1px solid var(--sand-dark);border-radius:16px;padding:22px;margin-bottom:16px;}
.agr-lbl{font-size:0.8rem;font-weight:600;color:var(--ink);text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px;}
.agr-hint{font-size:0.78rem;color:var(--ink-muted);margin:5px 0 0;line-height:1.5;}
.agr-grades{display:flex;gap:6px;flex-wrap:wrap;}
.agr-g{width:44px;height:44px;border-radius:11px;border:1.5px solid var(--sand-dark);background:#fff;
  font-weight:700;font-size:1rem;font-family:var(--font);color:var(--ink);cursor:pointer;
  transition:transform .12s ease,background .15s ease,border-color .15s ease;}
.agr-g:hover{transform:translateY(-2px);}
.agr-g.on{background:var(--flame-ink,#C0432A);border-color:var(--flame-ink,#C0432A);color:#fff;}
.agr-g.blocked{opacity:.32;text-decoration:line-through;cursor:not-allowed;transform:none;}
.agr-seg{display:inline-flex;border:1.5px solid var(--sand-dark);border-radius:11px;overflow:hidden;}
.agr-seg button{border:none;background:#fff;padding:11px 20px;font-weight:600;font-size:0.9rem;
  font-family:var(--font);color:var(--ink);cursor:pointer;}
.agr-seg button.on{background:var(--ink);color:#fff;}
.agr-verdict{display:flex;gap:12px;align-items:flex-start;border-radius:13px;padding:14px 16px;margin:18px 0 4px;
  font-size:0.9rem;line-height:1.55;border:1.5px solid;}
.agr-verdict .ic{font-size:1.15rem;line-height:1;flex:none;margin-top:1px;}
.agr-verdict .ic .sn-i{color:currentColor;}
.agr-ok{background:rgba(26,122,109,.07);border-color:rgba(26,122,109,.35);color:#12594f;}
.agr-warn{background:rgba(192,67,42,.06);border-color:rgba(192,67,42,.4);color:#8f3220;}
.agr-jump{display:flex;align-items:center;gap:14px;margin:6px 0 2px;}
.agr-jump-bar{flex:1;height:8px;border-radius:99px;background:var(--sand-dark);overflow:hidden;}
.agr-jump-fill{height:100%;border-radius:99px;transition:width .25s ease,background .25s ease;}
.agr-chip{display:inline-block;padding:3px 11px;border-radius:20px;font-size:0.72rem;font-weight:700;}
.agr-chip-draft{background:rgba(20,30,43,.07);color:var(--ink-muted);}
.agr-chip-part{background:rgba(245,166,35,.16);color:#8a5a00;}
.agr-chip-live{background:rgba(26,122,109,.13);color:#12594f;}
.agr-sum{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:12px;margin:14px 0;}
.agr-sum div{background:var(--sand);border-radius:11px;padding:11px 13px;}
.agr-sum .k{font-size:0.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted);font-weight:600;}
.agr-sum .v{font-family:var(--font-display);font-size:1.25rem;color:var(--ink);margin-top:3px;}
@media(max-width:600px){ .agr-g{width:40px;height:40px;} .agr-card{padding:17px;} }
.student-tab{display:none;}
.student-tab.active{display:block;animation:fadeUp .3s ease;}
.ai-spin{display:inline-block;animation:spin 1s linear infinite;}
@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}

/* ━━ TUTOR PROFILE ━━ REDESIGNED 16 NOV 2026 (owner: "profile pic looks a bit zoomed and messy").
   Built to the owner-approved reference set (profile-redesign/reference/ref-1..4): an open page on
   sand with ONE box - the booking panel - a portrait hero, and numbered sections divided by
   hairlines. ONE block for the whole view. The profile's rules used to live in three places (here,
   a phone override in the RESPONSIVE block, and a "wider layout" block ~600 lines down that won on
   document order); the cascade fights between them clipped the price on phones in October. Nothing
   else styles .tp-* except the bio clamp block, left where scripts/check-bio-clamp.mjs reads it.

   THE PHOTO. A fixed 4:5 frame (5:4 on a phone so the name stays above the fold), cover-cropped with
   the face kept in the upper third. The zoom was never this CSS: see snImg() for the transform bug
   that served a 300px-wide centre strip of every photo. tpPhotoFit() narrows the frame for the few
   sources smaller than it, so a 120px upload is never blown up to 440px.

   The new buttons use .tp-cta, not .btn: site-tokens.css repaints .btn and .btn-ghost solid orange
   at a specificity the page cannot see from here, which is how "Message" became a second filled
   orange button on the built site. Focus rings come from the token layer's global :focus-visible. */
#p-tutor-profile{--tp-hair:#E9E1D6;--tp-fill:#F1E7DA;--tp-shadow:0 12px 32px rgba(20,30,43,0.08);}
/* The trail is a div with role=navigation, not a <nav>: this file styles the bare nav element as the
   fixed site header (line ~268), so a <nav> here is pulled out of the page and parked under it. */
.tp-hero{padding:24px clamp(16px,8.3vw,120px) 0;max-width:1440px;margin:0 auto;box-sizing:border-box;color:var(--ink);}
.tp-trail{font-size:0.9rem;color:var(--ink-soft);margin:0 0 52px;}
.tp-hero .tp-trail a{color:var(--ink-soft);text-decoration:none;}
.tp-hero .tp-trail a:hover{color:var(--ink);text-decoration:underline;}
.tp-trail .tp-trail-sep{margin:0 8px;color:var(--ink-muted);}
.tp-top{display:grid;grid-template-columns:420px minmax(0,1fr);gap:56px;align-items:start;margin-bottom:72px;}
.tp-photo-col{min-width:0;}
.tp-photo{position:relative;width:100%;aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:var(--tp-fill);box-shadow:var(--tp-shadow);margin:0 auto;}
.tp-av{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:50% 28%;}
/* No photo: an intentional monogram, not an error state. */
.tp-av-ini{display:flex;align-items:center;justify-content:center;background:var(--tp-fill);color:var(--ink);font-family:var(--font-display);font-size:7.5rem;font-weight:700;letter-spacing:-2px;}
.tp-caption{font-size:0.94rem;color:var(--ink-soft);margin:14px 4px 0;text-align:center;}
.tp-info{min-width:0;padding-top:16px;}
.tp-eyebrow{font-family:var(--font-display);font-weight:600;font-size:1.625rem;line-height:1.2;color:var(--flame);margin:0 0 12px;}
.tp-name{font-family:var(--font-display);font-weight:700;font-size:4.5rem;line-height:1.05;letter-spacing:-1.5px;color:var(--ink);margin:0;overflow-wrap:anywhere;}
.tp-headline{font-size:1.5rem;line-height:1.4;color:var(--ink-soft);margin:18px 0 0;max-width:34ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
/* Every item carries its rule on the left; the list is pulled left by padding+rule inside a clipping
   wrapper, so whichever item starts a line - the first, or one that wrapped on a phone - shows none. */
.tp-facts-wrap{overflow:hidden;margin-top:40px;}
.tp-facts{display:flex;flex-wrap:wrap;align-items:center;margin:0 0 0 -29px;padding:0;list-style:none;font-size:1.125rem;color:var(--ink);}
.tp-facts li{display:flex;align-items:center;min-height:32px;padding:0 28px;border-left:1px solid var(--tp-hair);max-width:22ch;}
.tp-facts li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tp-trust{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:32px;font-size:1.05rem;color:var(--ink);}
.tp-dbs{display:inline-flex;align-items:center;gap:9px;cursor:help;}
.tp-dbs .tp-tick{width:22px;height:22px;flex:none;color:var(--ocean);}
.tp-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 16px;border:1px solid var(--tp-hair);background:var(--sand);border-radius:999px;font-size:0.95rem;color:var(--ink);line-height:1.3;}
.tp-chip .sn-i{width:14px;height:14px;flex:none;}
.tp-chip .sn-founding-dot{width:6px;height:6px;border-radius:50%;background:var(--flame);flex:none;}
.tp-chip--rated{display:inline-block;}
.tp-chip--rated .sn-i{color:var(--star);vertical-align:-2px;margin-right:4px;}
.tp-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:40px;}
.tp-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:0 24px;border-radius:14px;font-family:var(--font);font-size:1.125rem;font-weight:600;cursor:pointer;border:1.5px solid transparent;transition:background .2s,border-color .2s,color .2s;box-sizing:border-box;line-height:1.2;text-align:center;}
.tp-cta--primary{background:#C0432A;color:#fff;border-color:#C0432A;box-shadow:0 4px 14px rgba(192,67,42,0.18);}
.tp-cta--primary:hover{background:#A5381F;border-color:#A5381F;}
.tp-cta--secondary{background:transparent;color:var(--ink);border-color:var(--ink);}
.tp-cta--secondary:hover{background:rgba(20,30,43,0.04);}
.tp-cta:active{transform:scale(0.98);}
.tp-link{display:inline-flex;align-items:center;min-height:44px;padding:0;background:none;border:0;font:inherit;font-size:1.05rem;color:var(--ink);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px;cursor:pointer;}
.tp-link:hover{color:#A5381F;}
.tp-hprice{display:flex;flex-direction:column;padding-left:24px;margin-left:4px;border-left:1px solid var(--tp-hair);line-height:1.15;}
.tp-from{font-size:0.94rem;color:var(--ink-soft);}
.tp-from-price{font-family:var(--font-display);font-weight:700;font-size:2.5rem;color:var(--ink);letter-spacing:-0.5px;}
.tp-per{font-size:0.94rem;color:var(--ink-soft);}
.tp-note{max-width:560px;margin-top:32px;background:#fff;border:1px solid var(--tp-hair);border-radius:14px;padding:16px 20px;}
.tp-note b{display:block;font-size:1rem;color:var(--ink);}
.tp-note span{display:block;font-size:0.9rem;color:var(--ink-soft);margin-top:4px;line-height:1.55;}
.tp-mlink{display:none;}

.tp-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:72px;align-items:start;}
.tp-main{min-width:0;counter-reset:tpsec;}
.tp-side{position:sticky;top:100px;align-self:start;min-width:0;}
/* Numbered in render order by a counter, so a section with no data (or SEN detail that arrives
   later) is never a gap in the sequence: [hidden] sections are display:none and do not count. */
.tp-sec{counter-increment:tpsec;border-top:1px solid var(--tp-hair);padding:48px 0 56px;}
.tp-sec>h2{font-family:var(--font-display);font-weight:700;font-size:2rem;line-height:1.2;color:var(--ink);margin:0 0 20px;letter-spacing:-0.5px;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 16px;}
.tp-sec>h2::before{content:counter(tpsec,decimal-leading-zero);content:counter(tpsec,decimal-leading-zero) / "";color:var(--flame);font-weight:600;font-size:0.85em;}
/* The planner capture (19 Nov 2026) is an aside, not a numbered profile section. */
.tp-lite{counter-increment:none;}
.tp-lite>h2::before{content:none;}
.tp-lite .sn-lite-note,.tp-lite .sn-lite-msg{font-size:0.86rem;}
/* site-tokens.css stacks .sn-lite-row in a column under 420px, where the input's flex-basis of
   200px becomes its HEIGHT. Basis auto keeps it one line tall in both directions. */
.tp-lite .sn-lite input[type=email]{flex:1 1 auto;}
.tp-sec p,.tp-prose{font-size:1.0625rem;line-height:1.7;color:var(--ink);max-width:68ch;}
.tp-sec p+p{margin-top:14px;}
.tp-sec h3{font-family:var(--font);font-size:1.0625rem;font-weight:700;color:var(--ink);margin:28px 0 8px;}
.tp-sec .tp-tags{display:flex;flex-wrap:wrap;gap:8px;}
.tp-sec .tag{padding:6px 14px;border:1px solid var(--tp-hair);background:var(--sand);border-radius:999px;font-size:0.9rem;color:var(--ink);}
/* loadTutorScope() paints card-shaped blocks; inside a section they are sub-sections, not cards. */
.tp-sec .tp-section{background:none;box-shadow:none;border:0;padding:0;margin:0;}
.tp-sec .tp-section h3{margin-top:28px;}
.tp-src{font-size:0.88rem;color:var(--ink-soft);line-height:1.55;max-width:68ch;margin:12px 0 0;}
.tp-sec .tp-src{font-size:0.88rem;color:var(--ink-soft);}
/* 0196: the self-declared IGCSE / learner-support block. Its own small label, no tick, no badge colour. */
.tp-own{font-size:0.78rem;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:var(--ink-soft);margin:-8px 0 10px;}
.tp-sd-label{font-size:0.78rem;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:var(--ink-soft);margin:0 0 4px;}
.tp-sd-list{margin:0;padding-left:1.2em;line-height:1.7;}
.sn-sd-check{display:flex;align-items:flex-start;gap:10px;font-size:0.88rem;color:var(--ink);margin:6px 0;cursor:pointer;min-height:24px;}
.sn-sd-check input{width:18px;height:18px;margin-top:1px;flex:0 0 auto;accent-color:var(--flame-ink);}
.tp-detail-row{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--tp-hair);font-size:0.95rem;align-items:flex-start;flex-wrap:wrap;}
.tp-detail-row:last-child{border-bottom:0;}
.tp-detail-row .label{color:var(--ink-soft);flex-shrink:0;min-width:110px;}
.tp-detail-row span:last-child{text-align:right;line-height:1.55;flex:1;min-width:0;color:var(--ink);font-weight:600;}
.tp-quals .tp-detail-row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;padding:14px 0;font-size:1.0625rem;}
.tp-quals .tp-detail-row .label{color:var(--ink);font-weight:600;}
.tp-quals .tp-detail-row span:last-child{text-align:left;font-weight:400;}
.tp-quals .tp-detail-row strong{font-weight:600;}
.tp-week{border-collapse:separate;border-spacing:0 10px;margin-top:4px;}
.tp-week th{font-weight:600;font-size:0.98rem;color:var(--ink);text-align:center;padding:0 6px;}
.tp-week thead th{padding-bottom:2px;}
.tp-week tbody th{text-align:left;padding:0 28px 0 0;font-weight:500;}
.tp-week td{text-align:center;padding:0 6px;}
.tp-cell{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;border:1px solid var(--tp-hair);box-sizing:border-box;vertical-align:middle;}
.tp-cell--on{background:var(--tp-fill);border-color:var(--tp-fill);color:var(--ink);}
.tp-cell svg{width:20px;height:20px;}
.tp-review{padding:20px 0;border-bottom:1px solid var(--tp-hair);max-width:68ch;}
.tp-review:last-of-type{border-bottom:0;}
.tp-review-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;}
.tp-review-name{font-weight:600;font-size:1rem;color:var(--ink);}
.tp-review-date{font-size:0.85rem;color:var(--ink-soft);white-space:nowrap;}
.tp-review-stars{color:var(--star);font-size:0.95rem;letter-spacing:1px;margin-bottom:6px;}
.tp-review-text{font-size:1rem;color:var(--ink);line-height:1.65;}
.tp-count{font-family:var(--font);font-size:0.85rem;font-weight:500;letter-spacing:0;color:var(--ink-soft);background:#fff;border:1px solid var(--tp-hair);padding:4px 12px;border-radius:999px;}
.tp-more{display:inline-flex;align-items:center;min-height:48px;margin-top:16px;padding:0 24px;background:transparent;border:1.5px solid var(--ink);border-radius:14px;font:inherit;font-size:1rem;font-weight:600;color:var(--ink);cursor:pointer;}
.tp-more:hover{background:rgba(20,30,43,0.04);}
/* The one box on the page. */
.tp-book{background:#fff;border-radius:20px;box-shadow:var(--tp-shadow);padding:32px;margin-top:2px;}
.tp-price-big{font-family:var(--font-display);font-weight:700;font-size:3rem;line-height:1.05;letter-spacing:-1px;color:var(--ink);margin:4px 0 8px;}
.tp-price-big span{font-family:var(--font);font-size:1.125rem;font-weight:400;letter-spacing:0;color:var(--ink-soft);}
.tp-split{font-size:0.875rem;color:var(--ink-soft);line-height:1.55;}
.tp-book .tp-cta{width:100%;margin-top:10px;}
.tp-book .tp-cta-first{margin-top:24px;}
.tp-book .tp-link{display:flex;justify-content:center;margin:10px auto 0;}
.tp-book .tp-note{margin:18px 0 6px;}
.tp-book-facts{margin-top:18px;border-top:1px solid var(--tp-hair);}
.tp-back{padding:8px 0 72px;}
.tp-mbar{display:none;}
/* PHASE 4 (28 Nov 2026) additions: the pay note in the booking panel, the "What we check" explainer,
   the optional intro video, and "Other <subject> tutors" (the site's own .th-card). */
.tp-paynote{margin:14px 0 0;padding:12px 14px;font-size:var(--sn-fs-sm,0.875rem);line-height:1.5;color:var(--sn-c-ink-soft,#3D4652);background:var(--sn-c-teal-tint,#E5EAE3);border-radius:var(--sn-radius-sm,8px);}
.tp-checks{list-style:none;margin:0;padding:0;max-width:68ch;}
.tp-checks li{position:relative;padding:12px 0 12px 30px;border-bottom:1px solid var(--tp-hair);font-size:1.0625rem;line-height:1.6;color:var(--ink);}
.tp-checks li:last-child{border-bottom:0;}
.tp-checks li::before{content:"";position:absolute;left:4px;top:21px;width:10px;height:10px;border-radius:50%;border:2px solid var(--sn-c-teal,#1A7A6D);}
.tp-checks b{font-weight:600;}
.tp-trustx .tp-src a,.tp-related .tp-src a{color:var(--sn-c-accent-text,#A5381F);font-weight:600;}
.tp-video video{display:block;width:100%;max-width:640px;height:auto;aspect-ratio:16/9;border-radius:var(--sn-radius-md,14px);background:var(--sn-c-ink,#141E2B);}
.tp-related{border-top:1px solid var(--tp-hair);padding:48px 0 16px;min-width:0;}
.tp-related-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;}
.tp-related-head h2{font-family:var(--font-display,'Fraunces',serif);font-weight:700;font-size:2rem;line-height:1.2;letter-spacing:-0.5px;color:var(--ink);margin:0;}
.tp-related>.tp-src{margin:6px 0 24px;}
.tp-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}

@media(max-width:1180px){
  .tp-top{grid-template-columns:360px minmax(0,1fr);gap:48px;}
  .tp-name{font-size:3.6rem;}
  .tp-grid{gap:48px;}
}
@media(max-width:960px){
  .tp-top{grid-template-columns:300px minmax(0,1fr);gap:36px;}
  .tp-name{font-size:3rem;}
  .tp-headline{font-size:1.25rem;}
  .tp-grid{grid-template-columns:minmax(0,1fr) 300px;gap:36px;}
}
@media(max-width:768px){
  /* .page carries 64px of top padding for the fixed header; on a phone the header pill ends ~60px
     down, so the photo can start right under it. */
  #p-tutor-profile.page{padding-top:0;}
  .tp-hero{padding:8px 20px 0;}
  .tp-trail{display:none;}
  .tp-top{grid-template-columns:minmax(0,1fr);gap:22px;margin-bottom:8px;}
  .tp-photo{aspect-ratio:5/4;border-radius:18px;}
  .tp-av-ini{font-size:5rem;}
  .tp-caption{text-align:left;margin-top:10px;font-size:0.88rem;}
  .tp-info{padding-top:0;}
  .tp-eyebrow{font-size:1.125rem;color:var(--flame-ink);margin-bottom:6px;}
  .tp-name{font-size:2.25rem;letter-spacing:-0.8px;}
  .tp-headline{font-size:1.0625rem;margin-top:10px;max-width:none;}
  .tp-facts-wrap{margin-top:20px;}
  .tp-facts{margin-left:-17px;font-size:1rem;row-gap:8px;}
  .tp-facts li{padding:0 16px;max-width:100%;min-height:28px;}
  .tp-photo{margin:0;}
  .tp-trust{margin-top:18px;gap:10px 16px;font-size:0.98rem;}
  .tp-chip{font-size:0.9rem;}
  .tp-acts{display:none;}
  .tp-mlink{margin-top:14px;}
  .tp-note{margin-top:18px;}
  .tp-grid{grid-template-columns:minmax(0,1fr);gap:0;}
  .tp-side{position:static;}
  .tp-sec{padding:28px 0 32px;}
  .tp-sec>h2{font-size:1.5rem;margin-bottom:12px;gap:0 12px;}
  .tp-sec p,.tp-prose{font-size:1rem;}
  .tp-quals .tp-detail-row{grid-template-columns:minmax(0,1fr);gap:2px;font-size:1rem;}
  .tp-week{width:100%;border-spacing:0 8px;}
  .tp-week tbody th{padding-right:8px;font-size:0.9rem;}
  .tp-week thead th{font-size:0.85rem;padding:0 2px;}
  .tp-week td{padding:0 2px;}
  .tp-cell{width:100%;max-width:44px;height:36px;border-radius:8px;}
  .tp-cell svg{width:16px;height:16px;}
  /* 1 Dec 2026: on a phone the panel sits straight under the name (see .tp-grid--x) and keeps its
     own buttons; the sticky bar only appears once they have scrolled out of view (snMbarSync). */
  .tp-book{padding:22px;margin:8px 0 28px;}
  .tp-price-big{font-size:2.3rem;overflow-wrap:break-word;}
  .tp-price-big span{white-space:nowrap;}
  .tp-detail-row{gap:2px 10px;}
  .tp-detail-row .label{flex:0 0 auto;}
  .tp-back{padding-bottom:32px;}
  .tp-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:150;align-items:center;justify-content:space-between;gap:12px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -8px 28px rgba(20,30,43,0.10);}
  .tp-mbar-left{min-width:0;line-height:1.2;}
  .tp-mbar-left .tp-link{min-height:32px;font-size:0.9rem;}
  .tp-mbar-price{font-size:0.95rem;color:var(--ink);white-space:nowrap;}
  .tp-mbar-price strong{font-family:var(--font-display);font-weight:700;font-size:1.25rem;}
  .tp-mbar-inc{font-size:var(--sn-fs-xs,0.8125rem);color:var(--sn-c-ink-muted,#4A5360);margin-top:2px;}
  .tp-mlink{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;}
  .tp-mlink .tp-cta{min-height:48px;font-size:1rem;padding:0 20px;border-radius:12px;}
  .tp-related{padding:32px 0 8px;}
  .tp-related-head h2{font-size:1.5rem;}
  .tp-related-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(82%,320px);overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding:4px 2px 16px;margin:0 -2px;}
  .tp-related-grid>.th-card{scroll-snap-align:start;}
  .tp-checks li{font-size:1rem;}
  .tp-mbar-state{font-size:0.9rem;color:var(--ink);font-weight:600;}
  .tp-mbar .tp-cta{min-height:48px;padding:0 22px;font-size:1rem;flex:0 0 auto;border-radius:12px;}
  /* Room for the bar, and no second floating CTA on top of it. */
  body:has(#p-tutor-profile.active .tp-mbar){padding-bottom:calc(80px + env(safe-area-inset-bottom,0px));}
  /* THE BAR WAITS ITS TURN (1 Dec 2026, audit sections 5 and 7). Hidden, and out of the tab order
     (visibility), until the panel's own action has scrolled up out of view; then it rises in 180ms.
     It drops away again while a text field has focus (the on-screen keyboard) and while the panel's
     action is back in view. Its bottom padding already clears the home indicator (safe area). */
  .tp-mbar{transform:translateY(calc(100% + 16px));visibility:hidden;transition:transform .18s cubic-bezier(.4,0,1,1),visibility 0s linear .18s;}
  .tp-mbar.is-on{transform:none;visibility:visible;transition:transform .18s cubic-bezier(.2,.8,.2,1),visibility 0s;}
  body:has(#p-tutor-profile.active) #stickyCTA{display:none!important;}
}
@media(max-width:380px){
  .tp-detail-row{flex-direction:column;}
  .tp-name{font-size:2rem;}
  .tp-mbar .tp-cta{padding:0 16px;}
}
@media(prefers-reduced-motion:reduce){ .tp-cta,.tp-cta:active{transition:none;transform:none;} }
/* ━━ V2 TUTOR PROFILE (m5, 28 Nov 2026) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Restyle only; booking, the modal and payment are untouched. The sticky booking panel now runs beside
   the WHOLE page, top block included: viewProfile() opens .tp-grid before .tp-top, so the portrait,
   the name and the sections share the main column and the panel (.tp-side) sits beside them from the
   first screen. The old desktop CTA row under the name (.tp-acts) is gone because that panel is right
   there. The portrait sits in a white frame (VISUAL-V2 "framed media"). The name is big serif with the
   role line under it, then the trust row, then the subjects and levels as quiet pills. Open slots in
   the week grid are teal (VISUAL-V2: teal marks progress and availability). Section numerals are teal.
   The panel is the one floating element with a soft shadow: family price, "per hour, including our
   fee", the fee split, "Request a session", the free intro only where it is live, "Nothing is charged
   until your tutor accepts", Message, then the facts. On a phone the bar stays one compact row and the
   body padding keeps it off the end of the page (unchanged mechanism). */
.tp-hero{max-width:1320px;padding:24px clamp(16px,5vw,64px) 0;}
.tp-trail{margin:0 0 32px;}
.tp-grid{grid-template-columns:minmax(0,1fr) 380px;gap:64px;}
.tp-top{grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:40px;margin-bottom:40px;}
.tp-photo{border:10px solid #fff;border-radius:28px;box-shadow:0 18px 44px rgba(20,30,43,.10);}
.tp-caption{margin-top:12px;}
.tp-info{padding-top:8px;}
.tp-name{font-weight:600;font-size:clamp(2.6rem,1.4rem + 2.6vw,4rem);letter-spacing:-0.02em;}
.tp-eyebrow{font-family:var(--font-body,var(--font));font-weight:600;font-size:1.0625rem;line-height:1.4;color:var(--sn-c-accent-text,#A5381F);margin:12px 0 0;}
.tp-headline{font-size:1.25rem;line-height:1.45;margin-top:10px;max-width:40ch;}
.tp-facts-wrap{margin-top:20px;}
.tp-facts{font-size:1rem;}
.tp-facts li{min-height:28px;}
.tp-trust{margin-top:20px;gap:10px 14px;font-size:0.95rem;}
.tp-dbs{gap:7px;padding:6px 14px 6px 8px;border-radius:999px;background:var(--sn-c-teal-tint,#E5EAE3);color:var(--sn-c-teal-ink,#146055);font-weight:600;}
.tp-dbs .tp-tick{width:20px;height:20px;color:var(--sn-c-teal-ink,#146055);}
.tp-chip{padding:5px 14px;font-size:0.9rem;background:#fff;}
.tp-pills{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none;}
.tp-pill{display:inline-flex;align-items:center;min-height:32px;padding:0 14px;border:1px solid var(--sn-c-line,#D9CFC0);border-radius:999px;background:#fff;font-size:0.9rem;font-weight:500;color:var(--sn-c-ink,#141E2B);}
.tp-pill--lv{background:var(--sn-c-surface-alt,#F3EADF);border-color:var(--sn-c-surface-alt,#F3EADF);}
.tp-sec{padding:40px 0 44px;}
.tp-sec>h2{font-weight:600;font-size:clamp(1.6rem,1.2rem + 1vw,2.1rem);}
.tp-sec>h2::before{color:var(--sn-c-teal,#1A7A6D);}
.tp-cell{border-radius:12px;}
.tp-cell--on{background:#D9EBE5;border-color:#BFDCD3;color:var(--sn-c-teal-ink,#146055);}
.tp-cta{border-radius:999px;font-size:1.0625rem;}
.tp-cta--primary{box-shadow:0 6px 18px rgba(192,67,42,.22);}
.tp-cta--primary:hover{transform:translateY(-1px);}
.tp-book{border-radius:22px;padding:30px;box-shadow:0 2px 6px rgba(20,30,43,.05),0 24px 56px rgba(20,30,43,.12);}
.tp-price-big{font-weight:600;font-size:3.25rem;line-height:1;margin:2px 0 6px;}
.tp-per-lbl{font-size:1rem;color:var(--sn-c-ink-soft,#3D4652);margin:0 0 10px;}
.tp-split{padding-bottom:4px;}
.tp-book .tp-cta-first{margin-top:22px;}
.tp-paynote{margin:14px 0 0;padding:0;background:none;text-align:center;font-size:var(--sn-fs-sm,0.875rem);line-height:1.5;color:var(--sn-c-ink-muted,#4A5360);}
.tp-related{padding:44px 0 20px;}
.tp-related-head h2{font-weight:600;font-size:clamp(1.6rem,1.2rem + 1vw,2.1rem);}
.tp-related-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;}
@media(max-width:1180px){
  .tp-grid{grid-template-columns:minmax(0,1fr) 340px;gap:44px;}
  .tp-top{grid-template-columns:240px minmax(0,1fr);gap:32px;}
  .tp-name{font-size:clamp(2.4rem,1.2rem + 2.4vw,3.2rem);}
}
@media(max-width:960px){
  .tp-grid{grid-template-columns:minmax(0,1fr) 300px;gap:32px;}
  .tp-top{grid-template-columns:minmax(0,1fr);gap:24px;}
  .tp-photo-col{max-width:320px;}
  .tp-book{padding:24px;}
  .tp-price-big{font-size:2.75rem;}
}
@media(max-width:768px){
  .tp-hero{padding:8px 20px 0;}
  .tp-grid{grid-template-columns:minmax(0,1fr);gap:0;}
  .tp-top{gap:18px;margin-bottom:8px;}
  .tp-photo-col{max-width:none;}
  .tp-photo{border-width:6px;border-radius:22px;}
  .tp-name{font-size:2.25rem;}
  .tp-eyebrow{font-size:1rem;margin-top:8px;}
  .tp-headline{font-size:1.0625rem;}
  .tp-sec{padding:28px 0 32px;}
  .tp-sec>h2{font-size:1.5rem;}
  .tp-book{padding:22px;margin:8px 0 28px;box-shadow:0 1px 2px rgba(20,30,43,.05);border:1px solid var(--sn-c-line-soft,#EDE3D6);}
  .tp-price-big{font-size:2.3rem;}
  .tp-book .tp-paynote{text-align:left;}
  .tp-related{padding:32px 0 8px;}
  .tp-related-head h2{font-size:1.5rem;}
  .tp-related-grid{grid-template-columns:none;}
  .tp-mbar{gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--sn-c-line-soft,#EDE3D6);box-shadow:0 -6px 20px rgba(20,30,43,0.08);}
  .tp-mbar .tp-cta{min-height:48px;border-radius:999px;padding:0 22px;}
  .tp-mlink .tp-cta{border-radius:999px;}
}
@media(prefers-reduced-motion:reduce){ .tp-cta--primary:hover{transform:none;} .tp-mbar,.tp-mbar.is-on{transition:none;} }
/* ━━ THE BOOKING PANEL, 1 DEC 2026 (audit section 5) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Everything a family decides on sits together: the all-in price, this tutor's own check tier, when
   they are next free, then the paid route as three numbered steps (request a time, the tutor accepts,
   pay to confirm) with its button, and only then, in its own box, the free intro. The DOM order is
   top block, panel, sections (.tp-grid--x), so on a phone the panel follows the name directly and is
   read in that order too; from 769px the panel is the right-hand column again, sticky beside both. */
.tp-grid--x>.tp-head{grid-column:1;grid-row:1;min-width:0;}
.tp-grid--x>.tp-main{grid-column:1;grid-row:2;}
.tp-grid--x>.tp-side{grid-column:2;grid-row:1 / span 2;}
@media(max-width:768px){
  .tp-grid--x>.tp-head,.tp-grid--x>.tp-main,.tp-grid--x>.tp-side{grid-column:1;grid-row:auto;}
}
.tp-book-status{margin:18px 0 0;padding:0;border-top:1px solid var(--tp-hair);}
.tp-book-status>div{display:grid;grid-template-columns:minmax(0,7.5rem) minmax(0,1fr);gap:4px 12px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--tp-hair);}
.tp-book-status dt{font-size:var(--sn-fs-sm,0.875rem);font-weight:600;color:var(--sn-c-ink-soft,#3D4652);}
.tp-book-status dd{margin:0;min-width:0;font-size:0.95rem;line-height:1.45;color:var(--ink);}
.tp-book-status .dbs{display:inline-flex;align-items:center;gap:5px;font-size:var(--sn-fs-sm,0.875rem);font-weight:600;color:var(--sn-c-teal-ink,#146055);background:var(--sn-c-teal-tint,#E5EAE3);padding:4px 10px;border-radius:999px;line-height:1.3;}
.tp-book-status .dbs .sn-i{width:1.05em;height:1.05em;flex:none;color:inherit;}
.tp-book-status .dbs.dbs-none{background:none;padding:0;}
.tp-book-status .dbs.dbs-self{background:none;border:1px dashed var(--sn-c-line,#D9CFC0);padding:3px 10px;}
.tp-book-status .tp-sub{display:block;margin-top:4px;font-size:var(--sn-fs-sm,0.875rem);color:var(--sn-c-ink-muted,#4A5360);}
.tp-book-status .tp-sub a{color:var(--sn-c-accent-text,#A5381F);font-weight:600;}
.tp-book-status .sn-next{font-size:0.95rem;color:var(--ink);}
.tp-book-h{margin:22px 0 10px;font:600 1.0625rem/1.3 var(--font-body,var(--font));color:var(--ink);letter-spacing:0;}
.tp-book-h::before{content:none!important;}
.tp-steps{list-style:none;margin:0 0 4px;padding:0;counter-reset:tpstep;}
.tp-steps li{position:relative;counter-increment:tpstep;padding:0 0 12px 38px;font-size:0.9375rem;line-height:1.45;color:var(--sn-c-ink-soft,#3D4652);}
.tp-steps li::before{content:counter(tpstep);position:absolute;left:0;top:-1px;width:26px;height:26px;border-radius:50%;background:var(--sn-c-surface-alt,#F3EADF);color:var(--ink);font-weight:700;font-size:0.875rem;display:flex;align-items:center;justify-content:center;}
.tp-steps li:not(:last-child)::after{content:"";position:absolute;left:12px;top:27px;bottom:2px;width:2px;background:var(--sn-c-surface-alt,#F3EADF);}
.tp-steps b{display:block;color:var(--ink);font-weight:600;}
.tp-book-paid .tp-cta-first{margin-top:8px;}
.tp-book-intro{margin-top:22px;padding:16px 18px;border:1.5px dashed var(--sn-c-line,#D9CFC0);border-radius:16px;background:var(--sn-c-ground,#FBF6F0);}
.tp-book-intro .tp-book-h{margin:0 0 6px;}
.tp-book-intro p{margin:0 0 4px;font-size:0.9375rem;line-height:1.5;color:var(--sn-c-ink-soft,#3D4652);}
.tp-book-intro .tp-cta{margin-top:10px;}
.tp-cta{transition:background-color .15s ease-out,border-color .15s ease-out,color .15s ease-out,transform .15s ease-out;}

/* ━━ RESPONSIVE ━━ */
@media(max-width:768px){
  .nav-mid{display:none!important;}
  .nav-right .btn-ghost,.nav-right .btn-primary{display:none!important;}
  #menuToggle{display:flex!important;}
  .hero{padding:88px 20px 70px;}
  .hero h1{line-height:1.15;}
  .hero-sub{font-size:0.95rem;margin-bottom:28px;}
  .hero-stats{gap:20px;flex-wrap:wrap;justify-content:center;}
  .hero-stat-n{font-size:1.4rem;}
  .search-bar{flex-direction:column;gap:6px;padding:8px;}
  .search-bar select{flex:1;}
  .search-bar button{width:100%;padding:14px;font-size:0.95rem;}
  .section{padding:40px 16px;}
  .section-head{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:24px;}
  .section-head h2{font-size:1.4rem;}
  .how-grid{grid-template-columns:1fr;gap:16px;}
  .how-card{padding:24px 20px;}
  .t-grid{grid-template-columns:1fr;gap:16px;}
  .th-card{flex-direction:column;}
  .th-card .th-left{width:100%;height:80px;}
  .th-card .th-avatar,.th-card .th-avatar-ini{width:56px;height:56px;}
  .t-card .t-card-body{padding:16px;}
  .t-foot{flex-direction:column;gap:10px;align-items:stretch;}
  .t-foot .btn{width:100%;text-align:center;padding:12px;}
  .dash{grid-template-columns:1fr!important;}
  .dash-side{position:fixed;bottom:0;left:0;right:0;top:auto;height:auto;padding:8px 12px;display:flex!important;flex-direction:row;z-index:99;border-top:1px solid rgba(255,255,255,0.1);overflow-x:auto;gap:0;}
  .dash-u{display:none!important;}
  .dash-nav{flex-direction:row!important;gap:0!important;width:100%;}
  .dash-ni{font-size:0.7rem!important;padding:8px 10px!important;white-space:nowrap;flex-shrink:0;text-align:center;border-radius:8px!important;}
  .dash-main{padding:16px!important;padding-bottom:80px!important;}
  .msg-layout{grid-template-columns:1fr!important;}
  .ft-top{grid-template-columns:1fr;gap:28px;}
  .ft-brand-section{flex:0 0 auto;}
  .ft-bottom{flex-direction:column;gap:10px;text-align:center;}
  .cta{padding:36px 20px;margin:0 16px 40px;border-radius:var(--r-lg);}
  .cta h2{font-size:1.35rem;margin-bottom:8px;}
  .cta p{font-size:0.88rem;margin-bottom:20px;}
  .cta-btn{padding:14px 28px;font-size:0.9rem;width:100%;text-align:center;}
  [style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:repeat(2,1fr)!important;}
  .signup-split{grid-template-columns:1fr;}
  .signup-left{display:none;}
  .signup-form{padding:28px 20px;}
  .signup-right{padding:24px 16px;}
  /* Log in only: the form sits at the top and is tightened so it clears the cookie banner on a phone. */
  #p-login .signup-right{padding:12px 16px 24px;}
  #p-login .signup-form{padding:8px 4px;}
  #p-login .signup-form .sub{margin-bottom:12px;}
  #p-login .signup-tabs{margin-bottom:12px;}
  #p-login .fg{margin-bottom:10px;}
  .btn-full{padding:14px!important;font-size:0.95rem!important;}
  .social-btn{padding:12px!important;font-size:0.88rem!important;}
  .bt-benefits{grid-template-columns:1fr;}
  .slots{grid-template-columns:repeat(2,1fr);}
  .ob-actions{flex-direction:column;gap:10px;}
  .ob-actions .btn{width:100%;text-align:center;padding:14px!important;}
  .overlay .book-card{width:95%;max-width:420px;margin:0 auto;max-height:90vh;overflow-y:auto;}
  .stats{grid-template-columns:1fr 1fr;gap:10px;}
  .stat{padding:16px 14px;}
  .upcoming{margin:0 0 16px;}
  #mobileMenu{padding:16px 20px;}
  #mobileMenu .btn{width:100%;text-align:center;margin-bottom:8px;padding:12px!important;}
}
@media(max-width:420px){
  .hero h1{margin-bottom:16px;}
  .hero-stats{gap:14px;}
  .hero-stat-n{font-size:1.2rem;}
  .t-grid{grid-template-columns:1fr;}
  .slots{grid-template-columns:1fr;}
  .stats{grid-template-columns:1fr;}
  .dash-ni{font-size:0.65rem!important;padding:6px 8px!important;}
}

/* ═══════════════ DESKTOP LAYOUT + MOTION UPGRADE ═══════════════
   Additive & min-width so the mobile base layout is untouched. */

/* Sticky-nav offset for scrolled/anchored sections (fixed nav = 64px) */
html{scroll-padding-top:76px;}
.section,.tpb-band,[id^="p-"],#trustpilotSection{scroll-margin-top:76px;}

/* Wider desktop container + stronger section rhythm on desktop */
.section{max-width:1280px;}
@media(min-width:1024px){
  .section{padding-top:60px;padding-bottom:60px;}   /* tighter rhythm — less blank space */
  .section-head{margin-bottom:32px;}
}

/* ── Hero: two columns at >=1024; identical stack below (display:contents wrappers) ── */
.hg-a,.hg-form,.hg-c{display:contents;}
    /* hg-c is display:contents, so each child becomes a grid item in its own right. With two
       children they currently fall into column 1 by luck of auto-placement; a third would land
       in column 2 under the matcher. Pin them to the left column so the layout cannot drift
       as content is added. */
    .hg-c > *{grid-column:1;}
@media(min-width:1024px){
  .hero{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:96px;padding-bottom:64px;}
  .hero-inner{max-width:var(--sn-container,1320px);width:100%;display:grid;grid-template-columns:minmax(0,43fr) minmax(0,57fr);column-gap:clamp(36px,4vw,56px);align-items:center;text-align:left;}
  .hg-form #getMatched{padding:28px 30px!important;max-width:none!important;border-radius:20px!important;}
  .hg-form #getMatched .lead-f{padding:12px 14px;font-size:0.92rem;}
  .hg-form #getMatched > div:first-of-type{font-size:1.2rem!important;margin-bottom:16px!important;}
  .hg-a,.hg-c{display:block;grid-column:1;}
  .hg-a{grid-row:1;}
  .hg-c{grid-row:2;margin-top:24px;}
  .hg-form{display:block;grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:stretch;}
  .hero h1{font-size:clamp(1.9rem,3vw,2.5rem);line-height:1.12;}  /* fits "Find a tutor you can trust" on one line */
  .hero-inner h1 span:first-child{white-space:nowrap;}            /* keep the phrase together */
  .hero-inner .hero-sub{margin-left:0;margin-right:0;max-width:32rem;}
  .hg-c > div{justify-content:flex-start !important;text-align:left !important;}
}

/* ── Featured tutors: responsive card grid (Preply-style card design defined above) ── */
.th-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;}
@media(max-width:1279px){.th-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){.th-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}}
/* Homepage featured three on phones (16 Nov 2026): one row that scrolls sideways, each card ~80% of
   the screen with the next one peeking in, instead of two 170px-wide columns that wrapped every fact
   onto its own line and pushed "View & book" out of the card. All three cards stay in the DOM and on
   screen, in the same order; only the homepage strip does this (#tutorGrid), /browse is untouched. */
/* THE RAIL, 1 Dec 2026 (audit sections 5 and 7). From 900px the three cards are one stable row of
   three. Under 900px they are a row the visitor scrolls BY HAND: each card is at most 78% of the
   width (never more than 320px), so part of the next card always shows and says "there is more";
   nothing moves on its own; snap keeps a card square to the edge. The row is a labelled region that
   takes keyboard focus while it overflows (snRailSync), so arrow keys scroll it, and the "Browse all"
   link sits under it, outside the scroller, so it is never scrolled away. The 768-899 band used to be
   two columns with the third card orphaned on its own row. */
@media(min-width:900px){#tutorGrid.th-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:899px){
  #tutorGrid.th-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(78%,320px);gap:12px;
    overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    margin-left:calc(clamp(16px,4vw,40px) * -1);margin-right:calc(clamp(16px,4vw,40px) * -1);
    padding:4px clamp(16px,4vw,40px) 14px;scroll-padding-inline:clamp(16px,4vw,40px);}
  #tutorGrid > .th-card{scroll-snap-align:start;}
  #tutorGrid > .th-card:hover{transform:none;}
}
#tutorGrid:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;border-radius:14px;}
#browseAllBtn .sn-rail-all{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 32px;text-decoration:none;}

/* ── "How it works" as a contained navy band for visual rhythm ── */
.how-band{background:linear-gradient(150deg,#141E2B 0%,#1F3044 55%,#1a1330 100%);border-radius:28px;padding:44px clamp(20px,4vw,52px);position:relative;overflow:hidden;}
.how-band::before{content:'';position:absolute;top:-120px;right:-90px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(232,93,58,0.18),transparent 70%);pointer-events:none;}
.how-band::after{content:'';position:absolute;bottom:-140px;left:-100px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(26,122,109,0.16),transparent 70%);pointer-events:none;}
.how-band .section-head{position:relative;z-index:1;justify-content:center;text-align:center;margin-bottom:28px;}
.how-band .section-head h2{color:#fff;}
.how-band .how-grid{position:relative;z-index:1;}
@media(max-width:767px){.how-band{border-radius:20px;padding:32px 18px;}}

/* ── Eyebrow labels + signature-italic headings ── */
.eyebrow{display:inline-flex;align-items:center;gap:7px;font-family:var(--font);font-size:0.7rem;font-weight:700;letter-spacing:0.16em;text-transform:uppercase;color:var(--ocean);margin-bottom:11px;}
.eyebrow::before{content:'\21B3';font-size:0.92rem;line-height:1;opacity:0.9;}
.how-band .eyebrow,.tpb-head .eyebrow{color:var(--ocean-light);}

/* ── Stats band (bold figures, dividers) ── */
.stats-band{margin-bottom:clamp(10px,2vw,24px);}
/* Was align-items:end. The right column (paragraph + CTA) is taller than the left (eyebrow + h2),
   so bottom-aligning pushed the HEADING down and left the paragraph floating above it. Now both
   columns start at the top, and the paragraph is offset by exactly the eyebrow's height so its
   first line sits level with the h2, not with the "Why Sessioned" kicker above it. */
.stats-top{display:grid;grid-template-columns:1.05fr 0.95fr;gap:clamp(24px,4vw,64px);align-items:start;margin-bottom:clamp(30px,4vw,48px);}
.stats-intro{padding-top:calc(0.7rem * 1.6 + 11px + 4px);}
.stats-top h2{font-size:clamp(1.9rem,3.4vw,2.75rem);line-height:1.08;margin-top:4px;}
.stats-intro p{color:var(--ink-soft);font-size:1rem;line-height:1.7;margin-bottom:18px;}
.stats-cta{display:inline-flex;align-items:center;gap:8px;background:var(--flame);color:#fff;border-radius:100px;padding:12px 24px;font-weight:700;font-size:0.92rem;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 8px 22px rgba(232,93,58,0.28);}
.stats-cta:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(232,93,58,0.36);}
.stats-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));}
/* A stat baked to empty collapses instead of showing a blank cell. bake-platform-stats writes ''
   for a count of zero (the DBS figure is the one that can reach it), so hiding is driven by the
   data and no hand-written branch can disagree with it. */
#socialProofBar .stats-fig:has(.num:empty){display:none;}
    /* auto-fit, not repeat(5,1fr). The band was hardcoded to five columns; when the "Avg Rating"
       and "Reviews" cells were removed (they could only ever render "—") the remaining three
       bunched into the left 60% with two empty columns. auto-fit means the band stays balanced at
       whatever count it holds, including when a cell is reinstated. */
    .stats-fig:first-child{border-left:0;}
.stats-fig{padding:6px clamp(14px,2.2vw,30px);border-left:1px solid var(--sand-dark);}
.stats-fig:first-child{border-left:none;padding-left:0;}
.stats-fig .num{display:block;font-family:var(--font-display);font-weight:600;font-size:clamp(2.1rem,4.4vw,3.4rem);line-height:1;letter-spacing:-0.01em;}
.stats-fig .lbl{font-size:0.82rem;color:var(--ink-soft);margin-top:9px;}
@media(max-width:860px){
  .stats-top{grid-template-columns:1fr;align-items:start;gap:16px;margin-bottom:26px;}
  /* Single column here, so the desktop offset that lines the paragraph up with the h2 would just
     be a stray gap under the heading. */
  .stats-intro{padding-top:0;}
  .stats-figures{grid-template-columns:repeat(3,1fr);gap:24px 0;}
  .stats-fig{border-left:1px solid var(--sand-dark);}
  .stats-fig:nth-child(3n+1){border-left:none;padding-left:0;}
  .stats-fig .num{font-size:clamp(1.7rem,7vw,2.2rem);}
}
@media(max-width:430px){
  .stats-figures{grid-template-columns:repeat(2,1fr);}
  .stats-fig:nth-child(n){border-left:1px solid var(--sand-dark);}
  .stats-fig:nth-child(2n+1){border-left:none;padding-left:0;}
}

/* Homepage height pass, phones only (16 Nov 2026). The featured-tutor category chips stay one row
   that scrolls sideways instead of wrapping to three rows; the three platform figures sit three
   across instead of two-and-one. Same elements, same order, nothing hidden. */
@media(max-width:600px){
  #p-home #filterBar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    margin-left:calc(clamp(16px,4vw,40px) * -1);margin-right:calc(clamp(16px,4vw,40px) * -1);
    padding:2px clamp(16px,4vw,40px) 6px;scrollbar-width:none;}
  #p-home #filterBar::-webkit-scrollbar{display:none;}
  #p-home #filterBar > *{flex:none;}
}
@media(max-width:430px){
  .sn-home-proof .stats-figures{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;}
  .sn-home-proof .stats-fig{padding:4px 10px;}
  .sn-home-proof .stats-fig:nth-child(n){border-left:1px solid var(--sand-dark);}
  .sn-home-proof .stats-fig:first-child{border-left:none;padding-left:0;}
  .sn-home-proof .stats-fig .num{font-size:1.6rem;}
  .sn-home-proof .stats-fig .lbl{font-size:0.76rem;margin-top:6px;}
}
/* The figures and the external-review line under the homepage's featured tutors (moved there
   16 Nov 2026). Spacing only; .stats-figures and .sn-vproof keep their own rules. */
.sn-home-proof{margin-top:clamp(36px,5vw,56px);}
.sn-home-proof .sn-vproof{margin-top:clamp(20px,3vw,28px);}
/* ── How it works (numbered two-column) ── */
.hiw{display:grid;grid-template-columns:minmax(0,0.82fr) minmax(0,1.18fr);gap:clamp(36px,5vw,84px);align-items:start;}
.hiw-left{position:sticky;top:100px;}
.hiw-left h2{font-size:clamp(2rem,3.6vw,3rem);line-height:1.06;margin:6px 0 16px;}
.hiw-left p{color:var(--ink-soft);font-size:1rem;line-height:1.7;max-width:34ch;margin-bottom:26px;}
.hiw-cta{display:inline-flex;align-items:center;gap:8px;background:var(--flame);color:#fff;border-radius:100px;padding:13px 26px;font-weight:700;font-size:0.95rem;cursor:pointer;text-decoration:none;transition:transform .2s,box-shadow .2s;box-shadow:0 8px 22px rgba(232,93,58,0.28);}
.hiw-cta:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(232,93,58,0.36);}
/* Steps are white cards on cream (22 Sep 2026). They were hairline-separated rows on a navy
   band; the band moved to the proof section above so the two stopped competing, and rows on
   cream with no rule between them read as one undifferentiated column. The card is the
   separator. */
.hiw-steps{display:grid;gap:clamp(12px,1.4vw,16px);}
.hiw-step{display:grid;grid-template-columns:auto 1fr;gap:clamp(16px,2vw,24px);padding:clamp(20px,2.4vw,28px);background:#fff;border-radius:16px;box-shadow:0 1px 4px rgba(20,30,43,.05);align-items:start;}
/* The icon square. Teal outline on a teal tint — the brand's icon rule — sized in rem so it
   tracks the text when the visitor zooms. flex:none because the grid column is auto-width and a
   long heading would otherwise squeeze it. */
.hiw-ico{width:52px;height:52px;flex:none;border-radius:13px;background:rgba(26,122,109,.10);border:1px solid rgba(26,122,109,.22);display:flex;align-items:center;justify-content:center;}
.hiw-ico .sn-i{width:24px;height:24px;color:var(--ocean);}
/* The numeral is now type, not a filled disc: flame, Fraunces, sitting above the heading like an
   eyebrow. tabular-nums keeps 01–05 the same width so the headings start on one line. */
.hiw-num{font-family:var(--font-display);font-weight:600;font-size:0.82rem;letter-spacing:0.14em;color:var(--flame-ink);font-variant-numeric:tabular-nums;margin-bottom:6px;}
.hiw-step h3{font-size:clamp(1.25rem,2vw,1.6rem);font-weight:600;line-height:1.12;margin-bottom:6px;letter-spacing:-0.01em;}
.hiw-step p{color:var(--ink-soft);font-size:0.95rem;line-height:1.62;max-width:52ch;}
@media(max-width:860px){.hiw{grid-template-columns:1fr;gap:24px;}.hiw-left{position:static;}.hiw-step{gap:14px;padding:18px;}.hiw-step h3{font-size:1.2rem;}.hiw-ico{width:44px;height:44px;border-radius:11px;}.hiw-ico .sn-i{width:21px;height:21px;}}
/* Phones (16 Nov 2026, homepage height pass): the five steps read as one list rather than five
   padded cards. Same markup and words; the icon shrinks and the card padding goes, which takes the
   section from ~1,270px to well under 1,000 at 390px wide. */
@media(max-width:620px){.hiw-steps{gap:8px;}.hiw-step{padding:14px 16px;gap:12px;border-radius:12px;}.hiw-ico{width:36px;height:36px;border-radius:10px;}.hiw-ico .sn-i{width:18px;height:18px;}.hiw-num{margin-bottom:2px;}.hiw-step h3{font-size:1.08rem;margin-bottom:4px;}.hiw-step p{font-size:0.9rem;line-height:1.55;}.hiw-left p{margin-bottom:18px;}}

/* ── Teach with Sessioned band ── */
.teach-wrap{padding:clamp(52px,7vw,72px) 16px;}
.teach-band{position:relative;overflow:hidden;background:linear-gradient(158deg,#22304f 0%,#182643 48%,#141E2B 100%);border-radius:28px;padding:clamp(32px,5vw,56px) clamp(24px,4vw,48px);box-shadow:0 24px 60px rgba(20,30,43,0.28);}
.teach-band::before{content:'';position:absolute;top:-150px;right:-110px;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,rgba(232,93,58,0.30),transparent 66%);pointer-events:none;animation:ftGlowA 20s ease-in-out infinite alternate;}
.teach-band::after{content:'';position:absolute;bottom:-170px;left:-120px;width:470px;height:470px;border-radius:50%;background:radial-gradient(circle,rgba(26,122,109,0.22),transparent 70%);pointer-events:none;animation:ftGlowB 26s ease-in-out infinite alternate;}
.teach-inner{position:relative;z-index:1;max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.4fr 0.6fr;gap:clamp(24px,4vw,44px);align-items:center;}
.teach-eyebrow{display:inline-block;background:rgba(255,255,255,0.22);color:#fff;font-size:0.72rem;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;padding:6px 14px;border-radius:100px;margin-bottom:16px;backdrop-filter:blur(4px);}
.teach-main{position:relative;z-index:1;}
.teach-main h2{font-family:var(--font-display);color:#fff;font-size:clamp(1.8rem,3.4vw,2.5rem);line-height:1.1;margin-bottom:12px;letter-spacing:-0.01em;}
.teach-main>p{color:rgba(255,255,255,0.95);font-size:1.02rem;line-height:1.65;max-width:560px;margin:0 0 24px;}
.teach-figs{display:flex;flex-wrap:wrap;}
.teach-fig{padding:2px clamp(16px,2vw,26px);border-left:1px solid rgba(255,255,255,0.30);}
.teach-fig:first-child{border-left:none;padding-left:0;}
.teach-fig b{display:block;font-family:var(--font-display);color:#fff;font-size:1.45rem;font-weight:600;line-height:1;}
.teach-fig span{display:block;font-size:0.74rem;color:rgba(255,255,255,0.85);margin-top:6px;}
.teach-cta{position:relative;z-index:1;justify-self:end;background:#fff;color:var(--flame-ink);padding:16px 32px;font-size:1.02rem;font-weight:700;border-radius:100px;box-shadow:0 10px 28px rgba(0,0,0,0.18);white-space:nowrap;cursor:pointer;transition:transform .2s,box-shadow .2s;border:none;}
.teach-cta:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,0.26);}
.teach-referral{display:inline-flex;align-items:center;gap:11px;margin-top:22px;background:rgba(245,166,35,0.14);border:1px solid rgba(245,166,35,0.32);color:rgba(255,255,255,0.92);border-radius:14px;padding:12px 18px;font-size:0.9rem;line-height:1.5;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s;max-width:560px;}
.teach-referral b{color:var(--sun);font-weight:700;}
.teach-referral:hover{background:rgba(245,166,35,0.20);border-color:rgba(245,166,35,0.46);}
@media(max-width:820px){.teach-inner{grid-template-columns:1fr;gap:22px;}.teach-cta{justify-self:start;}}

/* Platform grid (.plat*) CSS removed 16 Nov 2026 with its markup; see the note in #p-home. */
/* === sn-stage ═══════════════════════════════════════════════════════════════════════════════
   Two columns: a swapping panel on the left, four level rows on the right. Rows are a real
   tablist - buttons, aria-selected, roving tabindex, arrows and Home/End - and hover is layered on
   top of that rather than being the only way in. Below 900px the hover model is dropped entirely
   and the same markup becomes a tap-to-expand accordion with the panel above the list, which is
   why the panel is first in source order.

   Panel art is inline SVG, not <img>: there is no owned photography for these four audiences, and
   inlining removes the preload-or-flash problem the brief flags rather than solving it. */
.sn-stage{display:grid;grid-template-columns:40% 60%;gap:var(--sn-6);align-items:start;}
.sn-stage-panel{position:relative;background:var(--white);border:1px solid rgba(20,30,43,.07);
  border-radius:var(--r-lg);padding:var(--sn-5);box-shadow:var(--shadow-sm);}
.sn-stage-art{display:block;width:100%;height:auto;border-radius:var(--r);background:var(--sand);
  border:1px solid rgba(20,30,43,.05);margin-bottom:var(--sn-4);}
.sn-stage-body{transition:opacity 260ms ease,transform 260ms ease;}
.sn-stage-panel.is-swapping .sn-stage-body{opacity:0;transform:translate3d(0,6px,0);}
.sn-stage-label{font-size:.76rem;text-transform:uppercase;letter-spacing:1.4px;font-weight:600;
  color:var(--ocean);margin-bottom:6px;}
.sn-stage-body h3{font-family:var(--font-display);font-size:1.3rem;color:var(--ink);margin-bottom:7px;}
.sn-stage-body p{font-size:.9rem;line-height:1.6;color:var(--ink-soft);margin-bottom:var(--sn-3);}
.sn-stage-link{font-size:.88rem;font-weight:600;color:var(--flame-ink);text-decoration:none;
  border-bottom:1px solid rgba(192,67,42,.35);padding-bottom:1px;}
.sn-stage-link:hover{color:var(--brand-orange-hover);}
.sn-stage-list{display:flex;flex-direction:column;}
.sn-stage-row{display:flex;align-items:baseline;gap:var(--sn-4);width:100%;text-align:left;
  background:none;border:0;border-top:1px solid var(--sand-mid);padding:var(--sn-5) var(--sn-2);
  cursor:pointer;font-family:var(--font-display);
  font-size:clamp(26px,3.4vw,44px);line-height:1.1;
  color:color-mix(in srgb, var(--ink) 22%, transparent);
  transition:color 260ms ease;}
.sn-stage-row:last-child{border-bottom:1px solid var(--sand-mid);}
.sn-stage-row[aria-selected="true"]{color:var(--ink);}
.sn-stage-row:focus-visible{outline:2px solid var(--focus-ring-dark);outline-offset:3px;border-radius:var(--r-sm);}
.sn-stage-i{font-family:var(--font),'DM Sans',sans-serif;font-size:.8rem;font-weight:600;
  letter-spacing:.06em;flex-shrink:0;width:3.4em;color:inherit;}
/* No color-mix fallback needed for the row colour - a browser without it falls back to the
   inherited ink, which is legible, just less obviously inactive. */
@supports not (color: color-mix(in srgb, red 50%, transparent)){
  .sn-stage-row{color:var(--ink-muted);}
}
@media(max-width:900px){
  .sn-stage{grid-template-columns:1fr;gap:var(--sn-5);}
  .sn-stage-row{font-size:clamp(22px,6vw,30px);padding:var(--sn-4) var(--sn-2);}
}
@media(prefers-reduced-motion:reduce){
  .sn-stage-body,.sn-stage-row{transition:none;}
  .sn-stage-panel.is-swapping .sn-stage-body{opacity:1;transform:none;}
}
/* === /sn-stage ══════════════════════════════════════════════════════════════════════════════ */
/* === sn-hw ══════════════════════════════════════════════════════════════════════════════════
   Hero subheadline word reveal. ADDITIVE BY CONSTRUCTION, which is the whole design here: this is
   above the fold on the primary conversion page, so the paragraph is plain HTML, fully visible,
   with no opacity:0 anywhere in its default state. The split happens in JS afterwards; if that JS
   never runs, never loads, or throws, the sentence is simply there.

   Spans only get opacity:0 once JS has added .sn-hw-on to the paragraph, so the invisible state
   cannot exist without the animation that undoes it.

   Stagger is one custom property, --sn-hw-i, consumed in a calc - not 38 rules and not 38
   setTimeouts. The per-word delay is computed in JS so the tail cannot drag past ~900ms however
   long the sentence gets. */
.sn-hw-on .sn-hw{display:inline-block;opacity:0;transform:translate3d(0,6px,0);
  color:color-mix(in srgb, var(--flame-light) 70%, transparent);
  animation:snWordIn 420ms cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay:calc(var(--sn-hw-i,0) * var(--sn-hw-step,26ms));}
@keyframes snWordIn{to{opacity:1;transform:translate3d(0,0,0);color:inherit;}}
@supports not (color: color-mix(in srgb, red 50%, transparent)){
  .sn-hw-on .sn-hw{color:var(--flame-light);}
}
@media(prefers-reduced-motion:reduce){
  /* Belt and braces: the JS does not split at all under reduced motion, so these spans never
     exist. Kept so that a page which somehow has them still renders finished. */
  .sn-hw-on .sn-hw{opacity:1;transform:none;color:inherit;animation:none;}
}
/* === /sn-hw ═════════════════════════════════════════════════════════════════════════════════ */
/* sn-ribbon and motion-control CSS removed 16 Nov 2026 with the ribbons; see the note in #p-home. */
/* sn-bento CSS removed 16 Nov 2026 with the platform grid it styled; see the note in #p-home. */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.feat-card{background:#fff;border:1px solid rgba(20,30,43,0.06);border-radius:18px;padding:22px;display:flex;align-items:flex-start;gap:15px;box-shadow:0 1px 3px rgba(0,0,0,0.04);transition:transform .28s ease,box-shadow .28s ease,border-color .28s;}
.feat-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(20,30,43,0.10);border-color:rgba(232,93,58,0.25);}
/* One icon treatment for all nine, matching .hiw-ico: teal glyph on a teal tint. It used to be a
   three-colour rotation driven by :nth-child(3n+…), which only produced a pattern at the 3-column
   breakpoint — below 900px the grid is 2-up and below 560px it is 1-up, so the colours landed
   arbitrarily and the "rhythm" read as a mistake. The glyphs were all brand orange regardless of
   which tint they sat on, so no card's icon matched its own chip at any width. */
.feat-ic{flex-shrink:0;width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;background:rgba(26,122,109,0.10);border:1px solid rgba(26,122,109,0.20);}
.feat-ic .sn-i{color:var(--ocean);}
.feat-card h4{font-size:0.97rem;font-weight:600;color:var(--ink);margin-bottom:3px;}
.feat-card p{font-size:0.82rem;color:var(--ink-muted);line-height:1.5;}
@media(max-width:900px){.feat-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.feat-grid{grid-template-columns:1fr;}}

/* ── "Got an idea?" band ── */

/* ── Section 10 · "Ready to find the right tutor?" — the single CTA band ──────────────────────
   Full-bleed flame. One heading, one line, ONE button, which goes to the hero matcher.

   THE SECOND ENQUIRY FORM THAT LIVED HERE IS GONE (22 Sep 2026). The overhaul brief gated its
   removal on proving the hero matcher reaches the founder equivalently. It does, and always did:
   NEITHER form ever emailed anybody. Both did one `POST /rest/v1/leads`; the email comes from
   `notify-new-lead`, an AFTER INSERT trigger on public.leads — FOR EACH ROW, no WHEN clause, so
   it fires for every lead whichever form produced it. `notify-new-lead-sms` (→ sms-alert) is the
   same shape. The hero path is strictly RICHER: it also runs the matcher and stamps the suggested
   tutors onto the lead via link_recent_lead_to_match, so the alert arrives with tutors attached.
   Evidence the removal costs nothing: 88 leads in the table, every one `hero_get_matched`, none
   `ready_contact_form` — 47 of them in the four weeks this form is provably live. No
   evt:ready_submit and no evt:ready_failed has ever been recorded either.

   COLOUR IS NOT A FREE CHOICE HERE. The old band ran --flame-dark → --flame → --sun, and white
   text on it measured 4.67:1 at the darkest stop, 3.47:1 on --flame and 2.03:1 on --sun — legible
   for the first third of the gradient and a smear after that. So the gradient is now bounded
   ABOVE by --flame-dark: #C94A2B is the lightest flame that white clears AA body contrast on
   (4.67:1), and every stop here is that or darker. The vignette is BLACK rather than the old white
   glow, because a white glow at even 6% lifted the worst stop to 4.26:1 and broke it again.
   Same rule for the text: NO translucent white anywhere on this band. rgba(255,255,255,.92) is
   4.21:1 and rgba(255,255,255,.80) is 3.54:1, so hierarchy comes from size and weight instead.
   scripts/check-band-contrast.mjs measures every one of these against the lightest stop. */
.rf-wrap{position:relative;padding:clamp(56px,7vw,84px) 0;margin:clamp(28px,4vw,56px) 0;}
.rf-wrap::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;
  background:radial-gradient(120% 100% at 88% 108%,rgba(0,0,0,0.22),transparent 62%),
             linear-gradient(135deg,#9C2F1A 0%,var(--flame-ink) 42%,var(--flame-dark) 100%);
  pointer-events:none;}
.rf-inner{position:relative;z-index:1;max-width:760px;margin:0 auto;padding:0 clamp(16px,4vw,40px);text-align:center;}
.rf-inner .eyebrow{color:#fff;}
.rf-inner h2{font-family:var(--font-display);color:#fff;font-size:clamp(2.1rem,4.4vw,3.2rem);line-height:1.05;margin:8px 0 14px;letter-spacing:-0.01em;}
/* 3.74:1 on the lightest stop. The h2 is never below 33.6px, so AA large text (3:1) is the bar
   this has to clear — not 4.5:1. If the heading is ever shrunk below 24px, change this too. */
.rf-inner h2 .sig-i{color:#FFE2B8;}
.rf-lede{color:#fff;font-size:1.05rem;line-height:1.65;max-width:46ch;margin:0 auto;}
.rf-cta{display:inline-flex;align-items:center;gap:10px;margin-top:26px;background:#fff;color:var(--flame-ink);
  text-decoration:none;border-radius:100px;padding:16px 36px;font-weight:700;font-size:1.02rem;
  box-shadow:0 10px 28px rgba(0,0,0,0.22);transition:transform .2s ease,box-shadow .2s ease;}
.rf-cta:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,0.30);}
.rf-cta:focus-visible{outline:3px solid #fff;outline-offset:4px;}
.rf-founder{display:inline-flex;align-items:center;gap:12px;margin-top:30px;text-align:left;}
/* Solid white chip, not the old rgba(255,255,255,.22): a white letter on that tint measured
   3.29:1 against this band. Same pairing as the button, so the two read as one family. */
.rf-founder .rf-av{width:42px;height:42px;border-radius:50%;background:#fff;color:var(--flame-ink);display:flex;align-items:center;justify-content:center;font-weight:700;font-family:var(--font-display);flex-shrink:0;}
/* The founder's face, for when /founder.jpg exists. Additive on purpose: a later rule at the
   same specificity, so the .rf-av declaration above is untouched. The letter stays BEHIND the
   photo as the failure state, the same arrangement as .th-ini behind .th-img on a tutor card -
   onerror removes the <img> and the chip falls back to "A" rather than to a hole. 20% from the
   top because a 4:5 portrait centred in a 42px circle crops the forehead.
   THE <img> IS NOT IN THE MARKUP YET. /founder.jpg has not been supplied, and shipping the tag
   first would put a 404 on the homepage's highest-value band for no gain. The one-line markup
   change is in docs/about-page-inputs-needed.md item 1, to apply the day the file lands. */
.rf-founder .rf-av{position:relative;overflow:hidden;}
.rf-founder .rf-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%;}
.rf-founder b{display:block;color:#fff;font-size:0.95rem;}
.rf-founder span{display:block;color:#fff;font-size:0.8rem;font-weight:400;}
@media(max-width:560px){.rf-cta{width:100%;justify-content:center;}}
@media(prefers-reduced-motion:reduce){.rf-cta{transition:none;}.rf-cta:hover{transform:none;}}
h2 .sig-i{font-style:italic;font-weight:400;}


/* Bio clamp with a Read more. The bio runs past 2,000 characters on real profiles, which on a
   phone is most of the page before anything actionable. Collapsed to roughly nine lines; the
   control is a real <button> so it is reachable by keyboard, and the expanded state is driven by a
   class rather than inline style so prefers-reduced-motion has nothing to fight. */
.tp-bio-wrap{position:relative;}
/* THE CLAMP IS PHONE-ONLY, and it has to be gated by the same breakpoint as its control.
   This rule sat OUTSIDE the media query below while the "Read more" button and the .is-open
   expansion sat inside it. So above 768px every long bio was clamped to nine lines, given an
   ellipsis by the clamp, and had no button and no way to expand: Aaryan Panchal's 1,406-character
   bio ended mid-sentence on desktop at "...has the potential to…" with nothing to click. The
   stored text is complete and ends cleanly; the truncation was entirely this rule. A clamp without
   its control is just data loss with a nice ellipsis. */
.tp-bio-more{display:none;}
@media(max-width:768px){
  .tp-bio-more{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;margin-top:4px;
    background:none;border:0;font:inherit;font-weight:600;color:var(--flame-ink);cursor:pointer;text-decoration:underline;}
  .tp-bio-clamp{display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;overflow:hidden;}
  .tp-bio-wrap.is-open .tp-bio-clamp{-webkit-line-clamp:unset;display:block;}
}

/* ── Animated mesh-gradient hero (brand colours) ── */
#p-home{padding-top:0!important;}   /* let the mesh run to the very top, behind the header */
.hero{background:linear-gradient(158deg,#33204d 0%,#232f59 44%,#15203a 100%)!important;animation:none!important;}
.hero::before,.hero::after{content:'';position:absolute;border-radius:50%;filter:blur(58px);pointer-events:none;z-index:0;}
.hero::before{width:96vw;height:80vw;left:-16vw;top:-34vw;background:radial-gradient(circle,rgba(232,93,58,0.66),transparent 60%);animation:meshA 20s ease-in-out infinite alternate;}
.hero::after{width:82vw;height:78vw;right:-16vw;top:-20vw;background:radial-gradient(circle,rgba(43,166,150,0.55),transparent 60%);animation:meshB 26s ease-in-out infinite alternate;}
.hero-inner{position:relative;z-index:10;}
@keyframes meshA{0%{transform:translate(0,0) scale(1);}100%{transform:translate(22vw,12vh) scale(1.25);}}
@keyframes meshB{0%{transform:translate(0,0) scale(1);}100%{transform:translate(-16vw,-10vh) scale(1.2);}}
/* ── Frosted see-through header; hides on scroll-down, returns on scroll-up ── */
nav{background:rgba(20,30,43,0.55)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border-color:rgba(255,255,255,0.12)!important;transition:background .28s ease,box-shadow .28s ease,top .28s ease,transform .4s ease!important;}
nav.nav-solid{background:rgba(20,30,43,0.9)!important;box-shadow:0 10px 34px rgba(20,30,43,0.28)!important;}
nav.nav-hidden{transform:translateY(-150%)!important;}
/* 1.5 Header auto-hide artefacts (audit 8 Sep 2026). The bar is already a fixed-height element
   moved with transform, so there is no reflow — but `top` was animating alongside it on a
   different duration, which is what made the buttons look vertically clipped mid-transition.
   Animate transform only, and raise the backdrop so page text never reads through it. */
nav{transition:background .28s ease,box-shadow .28s ease,transform .32s cubic-bezier(.4,0,.2,1)!important;}
nav:not(.hero-mode){background:rgba(251,246,240,0.94)!important;}
nav.nav-solid:not(.hero-mode){background:rgba(251,246,240,0.985)!important;}
@media(prefers-reduced-motion:reduce){nav{transition:none!important;}.nav-hidden{transform:none!important;}}
nav.hero-mode{background:rgba(20,30,43,0.10)!important;box-shadow:none!important;}
/* white, uppercase nav buttons — logo excluded */
/* SCOPED TO .hero-mode ON 20 Oct 2026. These three were written for the homepage's own
   transparent nav sitting over the dark hero, where white uppercase links are right. The shared
   header from partials/header.html contains a <nav>, so an unscoped `nav .nav-link` matched it on
   every page state and painted the links white on a cream bar — invisible. */
nav.hero-mode .nav-link{color:rgba(255,255,255,0.9)!important;text-transform:uppercase;letter-spacing:0.06em;font-size:0.76rem;}
nav.hero-mode .nav-link:hover{color:#fff!important;}
nav.hero-mode .logo span{color:#fff!important;}
nav .btn-ghost{color:#fff!important;border-color:rgba(255,255,255,0.5)!important;text-transform:uppercase;letter-spacing:0.05em;}
nav .btn-primary{text-transform:uppercase;letter-spacing:0.05em;}

/* ── Sticky mobile CTA — conversion one tap away on phones ── */
#stickyCTA{position:fixed;left:12px;right:12px;bottom:12px;z-index:95;display:none;transform:translateY(160%);transition:transform .32s ease;}
#stickyCTA.show{transform:translateY(0);}
#stickyCTA button{width:100%;background:var(--flame);color:#fff;border:none;border-radius:100px;padding:15px;font-size:1rem;font-weight:700;font-family:var(--font);box-shadow:0 10px 30px rgba(232,93,58,0.45);cursor:pointer;letter-spacing:0.01em;}
@media(max-width:768px){
  #stickyCTA{display:block;}
  /* Reserve scroll space so the fixed bar can never cover the last row of content or the
     footer links at 390px. Applied only while the bar is actually out, so there is no dead
     gap under the footer when it is hidden. (.dash-main already reserves its own 80px for
     the dashboard's fixed bottom nav.) */
  body.sn-cta-space{padding-bottom:84px;}
}
@media(prefers-reduced-motion:reduce){ #stickyCTA{transition:none;} }

/* Hero motion — the hero ran SEVEN infinite animations with no reduced-motion guard: a 12s
   background gradient shift, two pulses and four floating shapes, all looping forever. Continuous
   background movement behind the primary conversion form is exactly the pattern that triggers
   vestibular symptoms, and none of the three existing reduced-motion blocks covered it.
   heroIn sets opacity:0 as its starting state, so `animation:none` alone would leave the hero
   INVISIBLE — opacity and transform must be restored explicitly, not just the animation removed. */
@media(prefers-reduced-motion:reduce){
  .hero,.sn-band--hero::before{ animation:none !important; background-size:100% 100% !important; }
  .hero *,.sn-deco i{ animation:none !important; }
  .sn-deco{ display:none !important; }
  .hero-inner h1,
  .hero [class*="heroIn"],
  .hero-inner .hero-sub,
  .hg-a > *, .hg-c > *{ opacity:1 !important; transform:none !important; }
}

/* ── Process ("how it works" steps) — sticky left, numbered right ── */
.proc-sec{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.15fr);gap:clamp(32px,5vw,72px);align-items:start;}
.proc-left{position:sticky;top:100px;}
.proc-left h2{font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.12;margin:4px 0 14px;}
.proc-left p{color:var(--ink-soft);font-size:0.98rem;line-height:1.7;max-width:34ch;margin-bottom:22px;}
.proc-cta{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--flame-ink);cursor:pointer;font-size:1rem;}
.proc-step{display:flex;gap:20px;padding:26px 0;border-top:1px solid var(--sand-dark);align-items:flex-start;}
.proc-step:first-child{border-top:none;padding-top:4px;}
.proc-num{flex-shrink:0;width:46px;height:46px;border-radius:50%;background:rgba(245,166,35,0.16);color:#B27A09;font-family:var(--font-display);font-weight:600;display:flex;align-items:center;justify-content:center;font-size:0.98rem;}
.proc-step h3{font-size:1.16rem;margin-bottom:5px;}
.proc-step p{color:var(--ink-soft);font-size:0.92rem;line-height:1.65;}
@media(max-width:860px){.proc-sec{grid-template-columns:1fr;gap:26px;}.proc-left{position:static;}}

/* ── Home FAQ — sticky left title + accessible <details> accordion ── */
.hfaq-sec{display:grid;grid-template-columns:minmax(0,0.72fr) minmax(0,1.28fr);gap:clamp(32px,5vw,72px);align-items:start;}
.hfaq-left{position:sticky;top:100px;}
.hfaq-left h2{font-size:clamp(2rem,4vw,3rem);line-height:1.05;margin-bottom:14px;}
.hfaq-left p{color:var(--ink-soft);font-size:0.96rem;line-height:1.7;max-width:30ch;margin-bottom:20px;}
.hfaq-item{border-top:1px solid var(--sand-dark);}
/* Each item rules off its own top, so the last question had nothing under it and the column just
   stopped. One rule on the list closes the set. */
.hfaq-list{border-bottom:1px solid var(--sand-dark);}
.hfaq-item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 0;font-size:1.08rem;font-weight:600;color:var(--ink);}
/* An explicit ring, because `list-style:none` + a custom ::after marker is exactly the pattern
   that tempts someone into adding `outline:none` here later. Stated, it has to be deleted on
   purpose rather than tidied away. */
.hfaq-item summary:focus-visible{outline:2px solid var(--flame-ink);outline-offset:3px;border-radius:6px;}
.hfaq-item summary::-webkit-details-marker{display:none;}
.hfaq-item summary::after{content:'+';font-size:1.7rem;line-height:1;color:var(--flame-ink);font-weight:300;transition:transform .25s ease;flex-shrink:0;}
.hfaq-item[open] summary::after{transform:rotate(45deg);}
.hfaq-a{padding:0 0 22px;color:var(--ink-soft);font-size:0.95rem;line-height:1.75;max-width:62ch;}
@media(max-width:860px){.hfaq-sec{grid-template-columns:1fr;gap:22px;}.hfaq-left{position:static;}}

/* ── Testimonials: even out the 5-card masonry ── */
@media(min-width:861px){ .tpb-layout{column-fill:balance;} }

/* ── Motion: restrained (16–24px / ~450ms ease-out) + reduced-motion-safe ── */
.reveal,.reveal-left,.reveal-right,.reveal-scale,.reveal-up{transition:opacity .45s ease-out,transform .45s ease-out;}
.reveal{transform:translate3d(0,20px,0);}
.reveal-up{transform:translate3d(0,20px,0);}
/* #getMatched has NO entrance (1 Dec 2026 audit, section 3). It used to start at opacity 0 and fade in
   with heroIn after 280ms, so on every fresh load the matcher was invisible for ~0.3s and part-transparent
   until ~0.8s (measured: opacity 0 at 115ms, 0.98 at 798ms). The form is the page's main action and must
   be opaque and readable from the first paint, so it simply has no animation. */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important;}
  .reveal,.reveal-left,.reveal-right,.reveal-scale,.reveal-up{opacity:1!important;transform:none!important;}
}

/* §2.5 — each SPA view now leads with its own h1 instead of starting at h2. Previously only
   #p-home had one, and it sits in a display:none view whenever you are anywhere else, so every
   other view exposed no top-level heading at all. These mirror the existing h2 rules so promoting
   the tag changes semantics without changing a single pixel. */
.sn-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;}
.dash-head h1{font-size:1.6rem;margin-bottom:3px;font-family:var(--font-display);font-weight:400;}
.signup-left h1{font-size:2rem;margin-bottom:14px;line-height:1.2;font-family:var(--font-display);font-weight:400;}
.signup-form h1{font-size:1.5rem;margin-bottom:4px;font-family:var(--font-display);font-weight:400;}
.section-head h1{font-size:1.8rem;font-family:var(--font-display);font-weight:400;}
@media(max-width:768px){ .section-head h1{font-size:1.4rem;} }

/* ── Revision tools band ─────────────────────────────────────────────────────────────────────
   REBUILT 18 Sep 2026, on the owner's request. What was wrong: the paid door and the free one
   were stacked in the same left-hand column — heading, paragraph, ghost button, then the email
   capture — with the cover marooned in a second column beside all four. Two products in one
   text block reads as one bunched block, and the free one, which is the cheapest way to find out
   whether the method suits you, was the last thing on the page you reached.
   Now: one shared heading, then two cards — the PAID planner first, the FREE version beside it —
   on the site's own white-card pattern (see .t-card / .th-card: #fff, --r-lg, --shadow-xs,
   hairline border, lift on hover). No new styling system; the same four values.

   THE ORIGINAL CONSTRAINT, and exactly what survives of it. This band was written to be the
   quietest on the homepage and to "lose an attention contest with the get-matched form". Two
   cards are louder than one paragraph, so part of that is now deliberately traded away. What is
   kept, and what you should restore first if the matcher ever starts losing conversions: no
   flame-filled button anywhere in the band (the paid CTA is still ghost; the only filled button
   is the free form's teal submit, which was already live), no gradient, no reveal animation, no
   autoplay, and the band still sits BELOW Browse tutors and never above it.

   CONTRAST — now measured on TWO grounds, which is the trap in moving text onto cards. The
   heading block still sits on --sand-dark #F0E8DC, where the site's default text colours land at
   4.27 (teal eyebrow), 4.49 (--ink-soft) and 4.24 (--flame-ink) — all under 4.5:1, the middle one
   by a hundredth. So the three written-out replacements stay exactly as they were: 6.10, 5.83,
   5.43. Inside the cards the ground is #fff, which is lighter than the sand, so those same three
   only improve (7.1, 7.1, 6.7) and are reused rather than re-picked. The one colour that does NOT
   survive the move is .sn-lite-note's own --ink-muted #6B7A8B: 5.81 on the sand, 4.39 on white —
   a fail at 0.78rem. It is overridden inside the card below. Anything else moved onto these cards
   must be re-checked against #fff, not assumed safe because it passed on the sand. */
.sn-shopband{background:var(--sand-dark);border-top:1px solid rgba(20,30,43,.10);border-bottom:1px solid rgba(20,30,43,.10);margin-top:var(--sn-sec-y-tight,48px);}
.sn-shopband-in{max-width:var(--sn-container,1320px);margin:0 auto;padding:clamp(40px,5vw,64px) var(--sn-gutter,24px);}
.sn-shopband-head{margin:0 0 clamp(24px,3vw,36px);}
.sn-shopband .eyebrow{margin-bottom:10px;color:#146055;}
.sn-shopband h2{font-family:var(--font-display);font-weight:400;font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;color:var(--ink);margin:0 0 10px;}
/* Scoped to the head, NOT `.sn-shopband p`. The old rule was unscoped and reached into the
   capture form, which is why .sn-shopband-price needed !important to win its own margin back. */
.sn-shopband-head p{color:#4A5A6B;font-size:0.98rem;line-height:1.6;max-width:52ch;margin:0;}
.sn-shopband-head p.sn-shopband-free{margin-top:10px;font-size:0.92rem;}
.sn-shopband-free a{color:#A5381F;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(165,56,31,.32);padding:10px 0 1px;}
.sn-shopband-free a:hover{border-bottom-color:currentColor;}

/* minmax(0,1fr), not 1fr: the paid card holds an image, and a bare 1fr track refuses to shrink
   below its content's intrinsic width, so the grid overflows the gutter on a narrow viewport. */
.sn-shopband-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,24px);align-items:stretch;}

/* TWO COLUMNS INSIDE EACH CARD — text left, cover right. Restructured 18 Sep 2026: the covers were
   capped at 170px and sat top-left with the rest of the card empty beside them.

   THREE THINGS HERE ARE LOAD-BEARING AND LOOK DELETABLE.

   1. `align-content:stretch`. The card is a stretched grid item, so it is as tall as its taller
      neighbour — but a grid's single auto row sits at the TOP of that height by default, and the
      spare space would fall below both columns where nothing can use it. Stretch hands that space
      to the row, which is what gives .sn-sbcard-foot's margin-top:auto something to push against.
      Without it the two cards' buttons stop lining up.

   2. Named areas rather than `order`. The art stays FIRST in source, as it already was, and is
      *placed* into column two. So the one-column layout at the bottom of this sheet needs no
      reordering: the DOM order is the order a phone reads and the order a screen reader hears.

   3. `min-width:0` on the body. It holds a flex row (the email field and its button) inside a
      grid track; without it the track refuses to go below the form's intrinsic width and the
      card overflows its own padding.

   THE GAP IS PADDING ON THE BODY, NOT `column-gap`, and that is not a style preference. 55% + 45%
   resolve against the content box and already sum to it, so ANY column-gap is added on top and the
   grid overflows by exactly that much — silently, because the overflow is smaller than the card's
   own padding, so it eats the cover's right margin instead of bursting the card. Measured before
   the fix: tracks 287 + 235 + 20 gap = 542 inside a 524 content box, leaving the cover 10px from
   the card edge instead of 28. Putting the space inside the left track keeps the split exact. */
.sn-sbcard{position:relative;display:grid;grid-template-columns:55% 45%;grid-template-areas:"body art";column-gap:0;align-content:stretch;background:#fff;border:1px solid rgba(20,30,43,.05);border-radius:var(--r-lg);box-shadow:var(--shadow-xs);padding:clamp(20px,2.4vw,28px);transition:transform .22s ease-out,box-shadow .22s ease-out;}
.sn-sbcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.sn-sbcard-body{grid-area:body;display:flex;flex-direction:column;min-width:0;padding-right:clamp(14px,1.6vw,20px);}
.sn-sbcard-tag{align-self:flex-start;font-size:0.7rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:20px;margin:0 0 14px;}
.sn-sbcard-paid .sn-sbcard-tag{color:#A5381F;background:rgba(232,93,58,.10);}   /* 5.92 on the tint */
.sn-sbcard-free .sn-sbcard-tag{color:#146055;background:rgba(26,122,109,.10);}  /* 6.43 on the tint */
/* Centred, not top-aligned. The cover is now the tallest thing in the card and drives its height,
   so the free card's shorter text column would otherwise leave the cover floating above a gap. */
.sn-sbcard-art{grid-area:art;display:block;align-self:center;margin:0;min-width:0;}
.sn-sbcard-art img{display:block;width:100%;height:auto;border-radius:4px;transform:rotate(-4deg);transform-origin:center bottom;box-shadow:0 2px 6px rgba(20,30,43,.06),0 16px 40px rgba(20,30,43,.08);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s cubic-bezier(.2,.8,.2,1);}
/* Both cards, not just the paid one — each now carries its own cover, and the two are exported at
   the same 360×509 from the same trim shot, so they tilt and lift identically. The lite cover is a
   navy ground; the same soft ink shadow reads on it because the card behind is white. */
.sn-sbcard:hover .sn-sbcard-art img{transform:rotate(0deg) translateY(-4px);box-shadow:0 2px 4px rgba(20,30,43,.08),0 24px 48px rgba(20,30,43,.16);}
.sn-sbcard-title{font-family:var(--font-display);font-weight:400;font-size:1.18rem;line-height:1.25;color:var(--ink);margin:0 0 8px;}
.sn-sbcard-title a{color:inherit;text-decoration:none;}
/* Stretched link: the whole PAID card is one click target. Only the paid card — the free card
   contains a form, and covering an email field with a link would make it unusable. The ghost
   button below is lifted back above this overlay with z-index so it stays independently
   clickable and keeps its own focus ring. */
.sn-sbcard-paid .sn-sbcard-title a::after{content:'';position:absolute;inset:0;}
.sn-sbcard-blurb{color:#4A5A6B;font-size:0.92rem;line-height:1.6;margin:0 0 14px;}
.sn-sbcard-list{list-style:none;margin:0 0 18px;padding:0;}
/* A drawn dash, not a ✓ glyph: several screen readers announce "check mark" on every row, and
   the <ul> already carries the list semantics without it. */
.sn-sbcard-list li{position:relative;padding-left:18px;color:#4A5A6B;font-size:0.9rem;line-height:1.55;margin:0 0 6px;}
.sn-sbcard-list li::before{content:'';position:absolute;left:0;top:.66em;width:9px;height:2px;border-radius:1px;background:#1A7A6D;}
/* Pins the call to action to the bottom of both cards, so the two CTAs sit on one line even
   though the paid card is taller by the height of a cover. */
.sn-sbcard-foot{margin-top:auto;}

/* ── ONE CARD IN THIS BAND CARRIES NO ARTWORK (22 Sep 2026) ────────────────────────────────────
   That is a fact about the product, not a gap someone forgot to fill. The A-level free download is
   the FOUR-PAGE PREVIEW, and the preview edition is built with `cover:false` (see the `preview`
   entry in products/a-level-revision/scripts/build.mjs), so there is no cover page to photograph.
   The only other A-level thumbnail available is aplanner-lite-cover.png — the navy cover of the
   thirteen-page LITE edition, which is a different file and one this card does not hand over.
   Showing it here would be a picture of something you do not get, which is the same error as
   quoting a price the checkout will not honour.

   DELETE THIS RULE the day that card becomes the lite capture form. It gets the lite cover then,
   because then it is actually delivering the lite edition. Until then the body takes the card. */
.sn-sbcard-plain{grid-template-columns:1fr;grid-template-areas:"body";}
.sn-sbcard-plain .sn-sbcard-body{padding-right:0;}   /* it was the column gap; there is no column */
/* Teal, not the flame the paid cards use: the two colours are how this band says paid or free
   without writing the word, and the free card's own tag is already set in this teal (#146055,
   6.43 on its tint and better than that on the card's white). A ghost BUTTON here would read as
   a checkout; this is a link to a file. */
.sn-sbcard-golink{display:inline-block;font-size:0.92rem;color:#146055;text-decoration:none;border-bottom:1px solid rgba(20,96,85,.32);padding-bottom:1px;}
.sn-sbcard-golink:hover{border-bottom-color:currentColor;}
/* background:none ADDED 26 Oct 2026. axe-core measured this button at 1.28:1 — #A5381F text on a
   #C0432A background, i.e. dark flame on flame, effectively invisible. Three rules each won half
   the argument: .btn-ghost (index.html, 0,1,0) asks for a transparent background; site-tokens.css's
   .btn (also 0,1,0 but injected AFTER every page's own <style>) overrode it to a solid
   --brand-orange-strong fill; and this rule (0,2,0) then won the colour. So the band set a ghost's
   text colour on a button the global layer had quietly made solid.
   Restoring the transparency here, at the specificity that already wins, rather than repainting the
   text: the card behind it is #fff and #A5381F on white is 6.59:1 by this repo's own measurements.
   Layout is untouched — background paints nothing — and the border and padding are unchanged, so it
   still reads as the ghost button the design intends. */
.sn-shopband .btn-ghost{position:relative;z-index:1;padding:11px 24px;font-size:0.92rem;color:#A5381F;background:none;}
/* Tight to the button beneath it — the two are one block, and the only gap in this column is the
   one above the pair. Still quiet: this band must not out-shout the get-matched form. */
.sn-shopband-price{font-size:0.95rem;color:#4A5A6B;margin:0 0 10px;}
/* Fixed box before the catalogue fetch lands, so the card cannot reflow under it. */
.sn-shopband-skel{display:inline-block;width:8ch;height:.9em;border-radius:3px;background:currentColor;opacity:.22;vertical-align:-.08em;}
/* ONE ROW, NO WRAP, inside a column that is now roughly 300px. The shared partial gives the input
   `flex:1 1 200px` and lets the row wrap, which is right on /shop and /planner where the form has
   the full measure; here it wrapped the button onto its own line. Basis 0 instead, so the input
   takes whatever is left after the button rather than demanding 200px first. The partial's own
   ≤420px rule still turns the row vertical on a phone, and it wins because it sets a property
   this rule does not touch. */
.sn-sbcard .sn-lite-row{max-width:none;flex-wrap:nowrap;}
.sn-sbcard .sn-lite input[type=email]{flex:1 1 0;}
/* Above the field, not below it — see the markup comment on the free card. */
.sn-sbcard .sn-lite-note{color:#4A5A6B;margin:0 0 8px;}  /* CONTRAST note above — #6B7A8B is 4.39 on #fff */
.sn-shopband-more{margin:clamp(20px,2.5vw,28px) 0 0;font-size:0.92rem;}
.sn-shopband-more a{color:#A5381F;text-decoration:none;border-bottom:1px solid rgba(165,56,31,.32);padding-bottom:1px;}
.sn-shopband-more a:hover{border-bottom-color:currentColor;}
/* 860, not 768: the free card's email input has a 200px flex basis and its submit is a long
   label, so the row wraps to two lines well before the cards themselves get narrow enough to
   look broken. Stacking early is cheaper than a wrapped form on every mid-size tablet. */
@media(max-width:860px){
  .sn-shopband-grid{grid-template-columns:1fr;}
}
/* 600, NOT 860. Between the two the cards are already stacked and therefore full-width, so the
   text/cover split still has room and still reads better than a 200px cover marooned on a wide
   card. Below 600 the split itself is what breaks, and the card goes to one column.
   `margin-top:auto` on the foot is left alone here: with the body's height driven by its own
   content there is no spare space for it to absorb, so it quietly does nothing. */
@media(max-width:600px){
  .sn-sbcard{grid-template-columns:1fr;grid-template-areas:"art" "body";row-gap:16px;}
  .sn-sbcard-body{padding-right:0;}   /* it was the column gap; there is no column now */
  .sn-sbcard-art{align-self:start;}
  .sn-sbcard-art img{max-width:200px;}
}
/* PHONES ONLY, 16 Nov 2026 (homepage height pass): the four cards become one swipeable row instead
   of a 3,159px stack. Nothing is hidden or reordered - all four cards, every link, the lite form
   and its notice stay in the DOM and on screen, in source order, one swipe apart; the next card
   peeks in at the edge so the row reads as scrollable. The cover shrinks to a thumbnail. The page
   itself never scrolls sideways: the row bleeds to the gutter edge and scrolls inside itself. */
@media(max-width:600px){
  .sn-shopband-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86%;gap:12px;
    overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    margin:0 calc(var(--sn-gutter,24px) * -1);padding:4px var(--sn-gutter,24px) 14px;scroll-padding-inline:var(--sn-gutter,24px);align-items:stretch;}
  .sn-sbcard{scroll-snap-align:start;padding:18px;}
  .sn-sbcard:hover{transform:none;}
  /* The cover sits in the card's top-right corner beside the tag and title, not on a row of its own. */
  .sn-sbcard{grid-template-areas:"body";grid-template-columns:1fr;grid-template-rows:1fr;}
  .sn-sbcard-art{position:absolute;top:16px;right:16px;width:58px;}
  .sn-sbcard-art img{max-width:58px;transform:rotate(-3deg);}
  .sn-sbcard-paid .sn-sbcard-body,.sn-sbcard-free:not(.sn-sbcard-plain) .sn-sbcard-body{padding-right:0;}
  .sn-sbcard-paid .sn-sbcard-tag,.sn-sbcard-paid .sn-sbcard-title,
  .sn-sbcard-free:not(.sn-sbcard-plain) .sn-sbcard-tag,.sn-sbcard-free:not(.sn-sbcard-plain) .sn-sbcard-title{margin-right:70px;}
  .sn-sbcard-tag{margin-bottom:10px;}
  .sn-sbcard .sn-lite-row{flex-wrap:wrap;}
  .sn-sbcard .sn-lite-row button{flex:1 1 100%;}
}
@media(prefers-reduced-motion:reduce){
  .sn-sbcard,.sn-sbcard-art img{transition:none;}
  .sn-sbcard:hover{transform:none;box-shadow:var(--shadow-xs);}
  .sn-sbcard:hover .sn-sbcard-art img{transform:rotate(-4deg);}
}


:root{
  --brand-orange: #E85D3A;
  --brand-orange-strong: var(--btn-primary-bg);
  --brand-orange-hover: #A5381F;
  --focus-ring-dark: #141E2B;
  --focus-ring-light: #FFD9A0;
  --ink-muted: #68727F;
}
.btn-primary,
.sn-hdr-cta,
.stats-cta,
.hiw-cta,
.rf-submit,
.teach-cta,
#stickyCTA button,
button.btn-primary,
a.btn-primary{
  background: var(--brand-orange-strong) !important;
  color: #fff !important;
}
.btn,
.btn.flame,
.idea-cta,
.ft-news-form button{
  background: var(--brand-orange-strong);
  color: #fff;
}
.btn:hover,
.btn.flame:hover,
.idea-cta:hover,
.ft-news-form button:hover{
  background: var(--brand-orange-hover);
  color: #fff;
}
.sn-band .hiw-cta,
.sn-band .section-head a,
.sn-band .stats-cta{
  background: #fff !important;
  color: var(--brand-orange-strong) !important;
}
.sn-band .hiw-cta:hover,
.sn-band .section-head a:hover,
.sn-band .stats-cta:hover{
  background: #FFF4EE !important;
  color: var(--brand-orange-hover) !important;
}
.btn-primary:hover,
.sn-hdr-cta:hover,
.stats-cta:hover,
.rf-submit:hover,
button.btn-primary:hover,
a.btn-primary:hover{
  background: var(--brand-orange-hover) !important;
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible{
  outline: 3px solid var(--focus-ring-dark);
  outline-offset: 2px;
  border-radius: inherit;
}
.sn-band :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.hero :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.sn-ftr :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
footer :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible{
  outline-color: var(--focus-ring-light);
}
.sn-i{
  width:1em; height:1em;
  display:inline-block; vertical-align:-0.125em;
  flex:none; fill:none;
  color: var(--brand-orange-strong);
}
.sn-band .sn-i, .hero .sn-i, footer .sn-i, .sn-ftr .sn-i,
.how-band .sn-i, .teach-main .sn-i, .rf-left .sn-i, .dash-side .sn-i{ color:#fff; }
.sn-vproof{
  grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:baseline;
  justify-content:center; gap:6px 10px; margin-top:18px; padding-top:16px;
  border-top:1px solid rgba(20,30,43,0.08); text-align:center;
}
.sn-vproof-stars{ color:var(--gold,#F5A623); font-size:1.05rem; letter-spacing:1px; }
.sn-vproof-score{ font-family:var(--font-display); font-size:1.35rem; font-weight:600; line-height:1; }
.sn-vproof-txt{ font-size:0.86rem; color:var(--nl-ink-muted,#4A5360); max-width:52ch; }
.sn-vproof-txt a{ color:var(--brand-orange-strong); font-weight:600; white-space:nowrap; }
@media(max-width:600px){ .sn-vproof{ margin-top:14px; } .sn-vproof-txt{ font-size:0.82rem; } }
main a:not([class]),
article a:not([class]),
.wrap a:not([class]),
a.sn-ctx{
  color: var(--brand-orange-hover);
}
:root{ --gold: #A86F00; }
.sn-vproof-stars, .sn-quote-stars{ color: var(--gold); }
.sn-ftr-nav{ line-height:2.1; }
.sn-ftr-copy{ line-height:1.9; }
.sn-ftr-nav a,
.sn-ftr-copy a{ display:inline-block; padding:5px 0; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
:root{
  --sn-container: 1320px;
  --sn-gutter: clamp(20px, 5vw, 48px);
  --sn-measure: 68ch;
  --sn-sec-y:  clamp(56px, 8vw, 128px);
  --sn-sec-y-tight: clamp(36px, 5vw, 72px);
  --sn-1: 4px;  --sn-2: 8px;   --sn-3: 12px;  --sn-4: 16px;
  --sn-5: 24px; --sn-6: 32px;  --sn-7: 48px;  --sn-8: 64px;
  --sn-ground-light: #FBF6F0;
  --sn-ground-dark:  #141E2B;
}
.sn-sec{
  padding-block: var(--sn-sec-y);
  background: var(--sn-sec-bg, transparent);
  color: var(--sn-sec-fg, inherit);
}
.sn-sec--cream{ --sn-sec-bg: var(--sn-ground-light); --sn-sec-fg: var(--ink, #141E2B); }
.sn-sec--navy { --sn-sec-bg: var(--sn-ground-dark);  --sn-sec-fg: #EDE7DD; }
.sn-sec--tight{ padding-block: var(--sn-sec-y-tight); }
.sn-sec > .sn-in{
  max-width: var(--sn-container);
  margin-inline: auto;
  padding-inline: var(--sn-gutter);
}
.sn-measure{ max-width: var(--sn-measure); }
.sn-sec--navy  .sn-i{ color: var(--mint, #5CC3B2); }
.sn-sec--cream .sn-i{ color: var(--teal, #1A7A6D); }
@media (prefers-reduced-motion: reduce){
  .sn-sec [class*="reveal"]{ animation: none !important; opacity: 1 !important; transform: none !important; }
}
@font-face{
  font-family:'Fraunces Fallback';
  src:local('Georgia'), local('Times New Roman');
  size-adjust:100.65%; ascent-override:97.37%; descent-override:25.83%; line-gap-override:0%;
}
@font-face{
  font-family:'DM Sans Fallback';
  src:local('Arial'), local('Helvetica');
  font-weight:100 500;
  size-adjust:103.78%; ascent-override:95.39%; descent-override:29.87%; line-gap-override:0%;
}
@font-face{
  font-family:'DM Sans Fallback';
  src:local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold');
  font-weight:600 900;
  size-adjust:100.2%; ascent-override:98.8%; descent-override:30.94%; line-gap-override:0%;
}
.sn-pe{
  --cream:#FBF6F0;  --sand:#F3ECE1;  --line:#E3DACD;  --line2:#C9BFB1;
  --navy:#141E2B;   --navy2:#1F2B3B; --ink2:#3D4652;  --mute:#CFD6DE;
  --flame:#E85D3A;  --flame2:#D9512F;
  --flame-ink:#A5381F; --flame-ink-hover:#8A2E18;
  --teal:#1A7A6D;
  --shadow-1:0 1px 2px rgba(20,30,43,.06), 0 8px 24px rgba(20,30,43,.08);
  --shadow-2:0 2px 6px rgba(20,30,43,.06), 0 16px 40px rgba(20,30,43,.08);
  --shadow-3:0 2px 4px rgba(20,30,43,.08), 0 24px 48px rgba(20,30,43,.16);
  --shadow-hero:0 1px 2px rgba(20,30,43,.12), 0 12px 24px rgba(20,30,43,.12), 0 40px 80px rgba(20,30,43,.28);
  --shadow-flame:0 8px 20px rgba(232,93,58,.35);
  --ease:cubic-bezier(.2,.8,.2,1);
  --dur:350ms;  --dur-slow:600ms;
  --radius:10px; --radius-lg:18px; --radius-xl:24px;
  --measure:62ch;
}
.sn-pe .pe-rise{ transform:translateY(16px); opacity:.001; transition:transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease); }
.sn-pe .pe-rise.is-in{ transform:none; opacity:1; }
.sn-pe.no-js .pe-rise{ transform:none; opacity:1; }
.sn-pe :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--flame-ink); outline-offset:3px; border-radius:4px;
}
@media (prefers-reduced-motion: reduce){
  .sn-pe *, .sn-pe *::before, .sn-pe *::after{
    animation-duration:1ms !important; animation-iteration-count:1 !important;
    transition-duration:1ms !important; scroll-behavior:auto !important;
  }
  .sn-pe .pe-rise{ transform:none !important; opacity:1 !important; }
}
@media (prefers-reduced-motion: reduce){
  html, html *{ scroll-behavior:auto !important; }
}
.sn-lite{ margin:0; }
.sn-lite-row{ display:flex; flex-wrap:wrap; gap:8px; align-items:stretch; max-width:420px; }
.sn-lite input[type=email]{
  flex:1 1 200px; min-width:0; padding:11px 14px; font:inherit; font-size:0.94rem;
  color:var(--ink,#141E2B); background:#fff;
  border:1px solid var(--line,rgba(20,30,43,.18)); border-radius:8px;
}
.sn-lite input[type=email]::placeholder{ color:var(--ink-muted,#6B7A8B); opacity:1; }
.sn-lite button{
  flex:0 0 auto; padding:11px 20px; font:inherit; font-size:0.92rem; font-weight:600;
  color:#fff; background:var(--teal,#1A7A6D); border:1px solid transparent; border-radius:8px;
  cursor:pointer; min-height:44px;
}
.sn-lite button:hover{ filter:brightness(.94); }
.sn-lite button[disabled]{ opacity:.6; cursor:progress; }
.sn-lite-msg{ font-size:0.86rem; line-height:1.5; margin:10px 0 0; }
.sn-lite-msg:empty{ display:none; }
.sn-lite-msg.is-ok{ color:var(--teal-ink,#146055); font-weight:600; }
.sn-lite-msg.is-err{ color:var(--flame-ink,#A5381F); }
.sn-lite-note{ font-size:0.78rem; color:#4A5360; margin:8px 0 0; }
.sn-lite-note a{ color:inherit; }
.sn-lite-tick{ display:flex; align-items:flex-start; gap:8px; margin:10px 0 0; font-size:0.82rem;
  line-height:1.5; color:var(--ink-soft,#4A5867); cursor:pointer; max-width:420px; }
.sn-lite-tick input[type=checkbox]{ width:16px; height:16px; flex:0 0 auto; margin:2px 0 0;
  accent-color:var(--flame,#E85D3A); }
.sn-lite-done{ margin:6px 0 0; max-width:460px; }
.sn-lite-done:focus:not(:focus-visible){ outline:none; }
.sn-lite-what{ font-size:0.86rem; line-height:1.55; margin:0; color:var(--ink-soft,#4A5867); }
.sn-lite-what a{ color:inherit; }
.sn-lite-next{ margin:10px 0 0; }
.sn-lite-next a{ display:inline-flex; align-items:center; min-height:44px; padding:6px 0;
  font-size:0.92rem; font-weight:600; line-height:1.4; color:var(--teal-ink,#146055);
  text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
@media (max-width:420px){
  .sn-lite-row{ flex-direction:column; }
  .sn-lite button{ width:100%; }
}
.sn-anim .sn-reveal{ opacity:.001; transform:translateY(20px);
  transition:opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.sn-anim .sn-reveal.is-in{ opacity:1; transform:none; }
.sn-reveal.d1{transition-delay:.06s}.sn-reveal.d2{transition-delay:.12s}.sn-reveal.d3{transition-delay:.18s}
.sn-reveal.d4{transition-delay:.24s}.sn-reveal.d5{transition-delay:.30s}.sn-reveal.d6{transition-delay:.36s}
.sn-hl{ font-family:var(--font-display); font-style:italic; font-weight:500;
  color:var(--flame-ink,#A5381F); position:relative; white-space:nowrap; }
.sn-hl::after{ content:''; position:absolute; left:-4%; right:-4%; bottom:.04em; height:.36em;
  background:rgba(246,193,119,.5); border-radius:4px; z-index:-1;
  transform:scaleX(0); transform-origin:left; animation:snHlDraw .85s cubic-bezier(.2,.8,.2,1) .45s forwards; }
.sn-phero .sn-hl{ color:#F2816A; }
.sn-phero .sn-hl::after{ background:rgba(242,129,106,.32); }
@keyframes snHlDraw{ to{ transform:scaleX(1); } }
.sn-phero{ position:relative; overflow:hidden; color:#fff;
  background:linear-gradient(145deg,#141E2B 0%,#1F3044 30%,#2A1B3D 60%,#4A2040 100%);
  padding:clamp(30px,5vw,58px) clamp(16px,4vw,40px) clamp(52px,7vw,84px); }
.sn-phero > *{ position:relative; z-index:2; }
.sn-phero .sn-glow{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.sn-phero .sn-glow b{ position:absolute; display:block; border-radius:50%; filter:blur(58px); }
.sn-phero .sn-glow b:nth-child(1){ width:50vw; height:48vw; left:-12vw; top:-22vw;
  background:radial-gradient(circle,rgba(139,92,246,.40),transparent 62%); animation:snG1 24s ease-in-out infinite alternate; }
.sn-phero .sn-glow b:nth-child(2){ width:46vw; height:44vw; right:-12vw; bottom:-20vw;
  background:radial-gradient(circle,rgba(92,195,178,.30),transparent 62%); animation:snG2 28s ease-in-out infinite alternate; }
@keyframes snG1{ to{ transform:translate(12vw,10vh) scale(1.25); } }
@keyframes snG2{ to{ transform:translate(-10vw,-8vh) scale(1.2); } }
.sn-phero .sn-drift{ position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; }
.sn-phero .sn-drift span{ position:absolute; font-family:var(--font-display); font-style:italic;
  color:rgba(255,255,255,.055); white-space:nowrap; }
.sn-phero .sn-drift span:nth-child(1){ font-size:2.8rem; top:16%; left:-30%; animation:snDr 42s linear infinite; }
.sn-phero .sn-drift span:nth-child(2){ font-size:1.9rem; top:46%; left:-26%; animation:snDr 54s linear infinite 7s; }
.sn-phero .sn-drift span:nth-child(3){ font-size:2.5rem; top:70%; left:-30%; animation:snDr 48s linear infinite 20s; }
@keyframes snDr{ to{ transform:translateX(150vw); } }
.sn-phero .sn-ph-in{ max-width:1080px; margin:0 auto; }
.sn-phero .sn-eyebrow{ font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#5CC3B2; margin-bottom:12px; }
.sn-phero h1{ font-family:var(--font-display); font-weight:600; letter-spacing:-.015em; line-height:1.07;
  font-size:clamp(32px,5vw,56px); max-width:15ch; margin:0 0 15px; color:#fff; }
.sn-phero .sn-ph-sub{ color:rgba(255,255,255,.76); font-size:clamp(1rem,1.6vw,1.12rem); max-width:46ch; margin:0 0 24px; line-height:1.6; }
.sn-chips{ display:flex; flex-wrap:wrap; gap:9px; margin:0 0 26px; }
.sn-chip{ display:inline-flex; align-items:center; gap:6px; font-size:.78rem; font-weight:500;
  padding:7px 13px; border-radius:100px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#fff; }
.sn-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:36px 0 0; }
@media(max-width:840px){ .sn-cards{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .sn-cards{ grid-template-columns:1fr; } }
.sn-card{ background:#fff; border:1px solid rgba(20,30,43,.06); border-radius:18px; padding:24px;
  box-shadow:0 10px 30px rgba(20,30,43,.05); transition:transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s cubic-bezier(.2,.8,.2,1); }
.sn-card:hover{ transform:translateY(-4px); box-shadow:0 18px 44px rgba(20,30,43,.1); }
.sn-card .sn-card-ic{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:1.3rem; background:rgba(26,122,109,.1); color:#1A7A6D; margin-bottom:14px; }
.sn-card h3{ font-family:var(--font-display); font-weight:600; font-size:1.14rem; margin:0 0 7px; color:var(--ink,#141E2B); }
.sn-card p{ color:var(--ink-soft,#5A6B7F); font-size:.92rem; line-height:1.55; margin:0; }
@media (prefers-reduced-motion:reduce){
  .sn-anim .sn-reveal{ opacity:1 !important; transform:none !important; }
  .sn-phero .sn-glow b, .sn-phero .sn-drift span{ animation:none !important; }
  .sn-phero .sn-drift{ display:none; }
  .sn-hl::after{ animation:none !important; transform:scaleX(1) !important; }
  .sn-card{ transition:none !important; }
}
:root{
  --nl-cream:        #FBF6F0;
  --nl-card:         #FFFCF8;
  --nl-tint:         #F3EADF;
  --nl-tint-deep:    #EDE3D6;
  --nl-tint-input:   #F7EFE5;
  --nl-navy:         #141E2B;
  --nl-ink-muted:    #4A5360;
  --nl-line:         #D9CFC0;
  --nl-line-hair:    #EDE3D6;
  --nl-flame:        #E85D3A;
  --nl-flame-btn:    var(--btn-primary-bg);
  --nl-flame-link:   #A5381F;
  --nl-flame-hover:  #7E2A16;
  --nl-teal:         #1A7A6D;
  --nl-mint:         #5CC3B2;
  --nl-tap:          44px;
  --nl-tap-btn:      var(--btn-min-h);
  --nl-tap-intent:   52px;
  --nl-gutter:       16px;
  --nl-focus:        3px;
}
.nl-focusable:focus-visible{ outline:var(--nl-focus) solid var(--nl-navy); outline-offset:var(--nl-focus); }
.nl-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:var(--nl-tap-btn); padding:0 20px; border-radius:var(--btn-pill); border:1px solid transparent;
  font:500 16px/1.2 var(--font-body); text-decoration:none; cursor:pointer; }
.nl-btn--primary{ background:var(--nl-flame-btn); color:#fff; }
.nl-btn--primary:hover{ background:var(--nl-flame-hover); color:#fff; }
.nl-btn--ghost{ background:transparent; color:var(--nl-navy); border-color:var(--nl-line); }
.nl-btn--ghost:hover{ border-color:var(--nl-navy); }
.nl-btn--intent{ min-height:var(--nl-tap-intent); font-size:17px; }
.nl-btn:focus-visible{ outline:var(--nl-focus) solid var(--nl-navy); outline-offset:var(--nl-focus); }
.nl-chips{ display:flex; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; padding-bottom:2px; }
.nl-chips::-webkit-scrollbar{ display:none; }
.nl-chip{ flex:0 0 auto; display:inline-flex; align-items:center; min-height:var(--nl-tap);
  padding:0 16px; border-radius:var(--btn-pill); border:1px solid var(--nl-line); background:var(--nl-card);
  color:var(--chip-label-ink); font:500 var(--chip-label-size)/1 var(--font-body); text-decoration:none; }
.nl-chip[aria-pressed="true"],.nl-chip[aria-current="true"]{ background:var(--nl-navy); color:var(--nl-cream); border-color:var(--nl-navy); }
.nl-chip:focus-visible{ outline:var(--nl-focus) solid var(--nl-navy); outline-offset:var(--nl-focus); }
.nl-card{ background:var(--nl-card); border:1px solid var(--nl-line); border-radius:18px;
  padding:24px; display:flex; flex-direction:column; gap:12px; }
.nl-card__eyebrow{ font:700 12px/1 var(--font-body); letter-spacing:2px;
  text-transform:uppercase; color:var(--nl-ink-muted); margin:0; }
.nl-card__price{ font:600 24px/1.1 var(--font-display); color:var(--nl-navy); }
.nl-card__cta{ margin-top:auto; }
.nl-grid3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
@media (max-width:900px){ .nl-grid3{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px){ .nl-grid3{ grid-template-columns:minmax(0,1fr); gap:16px; } }
.nl-grid2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
@media (max-width:620px){ .nl-grid2{ grid-template-columns:minmax(0,1fr); gap:16px; } }
.nl-bundle{ border-color:var(--nl-navy); }
.nl-bundle__saving{ color:var(--nl-teal); font-weight:500; }
.nl-crumb{ font:400 14px/1.4 var(--font-body); color:var(--nl-ink-muted); }
.nl-crumb a{ color:var(--nl-flame-link); }
.nl-crumb a:hover{ color:var(--nl-flame-hover); }
:root{ --nl-buybar-h:72px; }
.nl-buybar{ position:fixed; left:0; right:0; bottom:0; z-index:40;
  min-height:var(--nl-buybar-h); display:flex; align-items:center; gap:12px;
  padding:10px var(--nl-gutter); padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));
  background:var(--nl-card); border-top:1px solid var(--nl-line); }
.nl-buybar__price{ font:600 20px/1 var(--font-display); color:var(--nl-navy); }
.nl-buybar__cta{ margin-left:auto; }
@media (min-width:901px){ .nl-buybar{ display:none; } }
.nl-field{ display:flex; flex-direction:column; gap:6px; }
.nl-field label{ font:500 15px/1.2 var(--font-body); color:var(--nl-navy); }
.nl-field input,.nl-field select,.nl-field textarea{
  min-height:var(--nl-tap-btn); padding:10px 12px; border:1px solid var(--nl-line); border-radius:10px;
  background:#fff; color:var(--nl-navy); font:400 16px/1.3 var(--font-body); }
.nl-field input:focus-visible,.nl-field select:focus-visible,.nl-field textarea:focus-visible{
  outline:var(--nl-focus) solid var(--nl-navy); outline-offset:var(--nl-focus); }
.nl-faq{ border-top:1px solid var(--nl-line-hair); }
.nl-faq__q{ width:100%; min-height:var(--nl-tap); display:flex; align-items:center; gap:12px;
  padding:14px 0; background:none; border:0; text-align:left; cursor:pointer;
  font:500 17px/1.3 var(--font-body); color:var(--nl-navy); }
.nl-faq__q:focus-visible{ outline:var(--nl-focus) solid var(--nl-navy); outline-offset:var(--nl-focus); }
.nl-faq__a{ padding:0 0 16px; color:var(--nl-ink-muted); font-size:16px; line-height:1.6; }
.nl-band{ background:var(--nl-navy); color:var(--nl-cream); }
.nl-band a{ color:var(--nl-mint); }
.nl-notice{ background:var(--nl-tint); border:1px solid var(--nl-line); border-radius:12px;
  padding:16px; color:var(--nl-navy); font-size:15px; line-height:1.6; }
@media (prefers-reduced-motion:no-preference){
  .nl-card{ transition:transform .18s ease, box-shadow .18s ease; }
  .nl-card--lift:hover{ transform:translateY(-6px); box-shadow:0 10px 28px rgba(20,30,43,.10); }
}
:root{
  --btn-primary-bg: #C0432A;
  --btn-pill: 999px;
  --btn-min-h: 48px;
  --card-surface: var(--nl-card);
  --card-border:  var(--nl-line);
  --chip-label-size: 15px;
  --chip-label-ink:  var(--nl-navy);
}
.th-card,
.sn-bento-card:not(.sn-bento--dark){
  background: var(--card-surface);
  border-color: var(--card-border);
}
.sn-motion-btn{
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}
.rv-chip{
  font-size: var(--chip-label-size);
  color: var(--chip-label-ink);
}
:root{
  --sn-c-ground:        #FBF6F0;
  --sn-c-surface:       #FFFCF8;
  --sn-c-surface-alt:   #F3EADF;
  --sn-c-ink:           #141E2B;
  --sn-c-ink-soft:      #3D4652;
  --sn-c-ink-muted:     #4A5360;
  --sn-c-line:          #D9CFC0;
  --sn-c-line-strong:   #8C8172;
  --sn-c-line-soft:     #EDE3D6;
  --sn-c-accent:        #E85D3A;
  --sn-c-accent-fill:   #C0432A;
  --sn-c-accent-hover:  #A5381F;
  --sn-c-accent-text:   #A5381F;
  --sn-c-accent-tint:   #FAEDE5;
  --sn-c-teal:          #1A7A6D;
  --sn-c-teal-ink:      #146055;
  --sn-c-teal-tint:     #E5EAE3;
  --sn-c-star:          #8F5E00;
  --sn-c-on-dark:       #EDE7DD;
  --sn-c-on-dark-soft:  rgba(237,231,221,.78);
  --sn-c-mint:          #5CC3B2;
  --sn-c-focus:         #141E2B;
  --sn-c-focus-on-dark: #FFD9A0;
  --sn-c-danger:        #A3271B;
  --font-display: 'Fraunces','Fraunces Fallback',Georgia,serif;
  --font-body:    'DM Sans','DM Sans Fallback',Arial,system-ui,sans-serif;
  --sn-fs-xs:   0.8125rem;
  --sn-fs-sm:   0.875rem;
  --sn-fs-base: 1rem;
  --sn-fs-md:   1.125rem;
  --sn-fs-lg:   1.3125rem;
  --sn-fs-xl:   clamp(1.5rem, 1.32rem + 0.74vw, 1.875rem);
  --sn-fs-2xl:  clamp(1.875rem, 1.5rem + 1.52vw, 2.75rem);
  --sn-fs-3xl:  clamp(2.25rem, 1.6rem + 2.67vw, 4rem);
  --sn-lh-tight: 1.1;
  --sn-lh-snug:  1.25;
  --sn-lh-body:  1.6;
  --sn-track-display: -0.015em;
  --sn-9:  96px;
  --sn-10: 128px;
  --sn-radius-sm: 8px;
  --sn-radius-md: 14px;
  --sn-radius-lg: 22px;
  --sn-radius-pill: var(--btn-pill);
  --sn-shadow-1: 0 1px 2px rgba(20,30,43,.06), 0 8px 24px rgba(20,30,43,.08);
  --sn-shadow-2: 0 2px 6px rgba(20,30,43,.06), 0 16px 40px rgba(20,30,43,.08);
  --sn-shadow-3: 0 2px 4px rgba(20,30,43,.08), 0 24px 48px rgba(20,30,43,.16);
  --sn-dur-fast: 120ms;
  --sn-dur:      200ms;
  --sn-dur-slow: 350ms;
  --sn-ease-out:    cubic-bezier(.2,.8,.2,1);
  --sn-ease-in-out: cubic-bezier(.65,0,.35,1);
  --sn-tap: 44px;
  --sn-tap-btn: var(--btn-min-h);
  --brand-orange: var(--sn-c-accent);
  --btn-primary-bg: var(--sn-c-accent-fill);
  --brand-orange-hover: var(--sn-c-accent-hover);
  --nl-cream: var(--sn-c-ground);
  --nl-card: var(--sn-c-surface);
  --nl-navy: var(--sn-c-ink);
  --nl-ink-muted: var(--sn-c-ink-muted);
  --nl-line: var(--sn-c-line);
  --nl-line-hair: var(--sn-c-line-soft);
  --nl-flame: var(--sn-c-accent);
  --nl-flame-link: var(--sn-c-accent-text);
  --nl-teal: var(--sn-c-teal);
  --nl-mint: var(--sn-c-mint);
  --sn-ground-light: var(--sn-c-ground);
  --sn-ground-dark: var(--sn-c-ink);
  --focus-ring-dark: var(--sn-c-focus);
  --focus-ring-light: var(--sn-c-focus-on-dark);
  --gold: var(--sn-c-star);
}
:root{
  --flame: var(--sn-c-accent);
  --sand: var(--sn-c-ground);
  --ink: var(--sn-c-ink);
}
.sn-pe{
  --shadow-1: var(--sn-shadow-1);
  --shadow-2: var(--sn-shadow-2);
  --shadow-3: var(--sn-shadow-3);
  --ease: var(--sn-ease-out);
}
@media (prefers-reduced-motion: reduce){
  :root{ --sn-dur-fast: 1ms; --sn-dur: 1ms; --sn-dur-slow: 1ms; }
}


.sn-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:var(--sn-2);
  min-height:var(--sn-tap-btn); min-width:var(--sn-tap); padding:0 var(--sn-5);
  border:1.5px solid transparent; border-radius:var(--sn-radius-pill);
  font:600 var(--sn-fs-base)/var(--sn-lh-snug) var(--font-body); letter-spacing:0;
  text-decoration:none; text-align:center; white-space:nowrap; cursor:pointer;
  transition:background-color var(--sn-dur) var(--sn-ease-out), color var(--sn-dur) var(--sn-ease-out),
    border-color var(--sn-dur) var(--sn-ease-out), transform var(--sn-dur-fast) var(--sn-ease-out);
  -webkit-tap-highlight-color:transparent;
}
.sn-btn:active{ transform:translateY(1px); }
.sn-btn:focus-visible{ outline:3px solid var(--sn-c-focus); outline-offset:3px; }
.sn-btn[disabled], .sn-btn[aria-disabled="true"]{ opacity:.55; cursor:not-allowed; transform:none; }
.sn-btn--primary{ background:var(--sn-c-accent-fill); color:#fff; }
.sn-btn--primary:hover{ background:var(--sn-c-accent-hover); color:#fff; }
.sn-btn--secondary{ background:transparent; color:var(--sn-c-ink); border-color:var(--sn-c-ink); }
.sn-btn--secondary:hover{ background:var(--sn-c-ink); color:var(--sn-c-ground); }
.sn-btn--ghost{ background:transparent; color:var(--sn-c-ink); }
.sn-btn--ghost:hover{ background:rgba(20,30,43,.06); }
.sn-btn--link{ background:none; border:0; min-width:0; padding:0 var(--sn-1); color:var(--sn-c-accent-text);
  text-decoration:underline; text-decoration-thickness:1.5px; text-underline-offset:.2em; }
.sn-btn--link:hover{ color:var(--sn-c-ink); }
.sn-btn--teal{ background:var(--sn-c-teal); color:#fff; }
.sn-btn--teal:hover{ background:var(--sn-c-teal-ink); color:#fff; }
.sn-btn--sm{ min-height:var(--sn-tap); padding:0 var(--sn-4); font-size:var(--sn-fs-sm); }
.sn-btn--lg{ min-height:56px; padding:0 var(--sn-6); font-size:var(--sn-fs-md); }
.sn-btn--block{ display:flex; width:100%; }
.sn-btn--on-dark.sn-btn--secondary{ color:var(--sn-c-on-dark); border-color:var(--sn-c-on-dark); }
.sn-btn--on-dark.sn-btn--secondary:hover{ background:var(--sn-c-on-dark); color:var(--sn-c-ink); }
.sn-btn--on-dark.sn-btn--ghost, .sn-btn--on-dark.sn-btn--link{ color:var(--sn-c-on-dark); }
.sn-btn--on-dark:focus-visible{ outline-color:var(--sn-c-focus-on-dark); }
.sn-btn-row{ display:flex; flex-wrap:wrap; gap:var(--sn-3); align-items:center; }
.btn:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  min-height:var(--sn-tap); padding:calc((var(--sn-tap) - 1.25em) / 2) var(--sn-5); border-radius:var(--sn-radius-pill);
  align-items:center; justify-content:center; text-align:center; vertical-align:middle; box-sizing:border-box;
  font-family:var(--font-body); font-size:.9375rem; font-weight:600; line-height:var(--sn-lh-snug);
  text-decoration:none; box-shadow:none;
  transition:background-color var(--sn-dur) var(--sn-ease-out), color var(--sn-dur) var(--sn-ease-out), border-color var(--sn-dur) var(--sn-ease-out);
}
.btn:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *):hover{ transform:none; box-shadow:none; }
.btn-sm:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  min-height:var(--sn-tap); padding:calc((var(--sn-tap) - 1.25em) / 2) var(--sn-4); font-size:var(--sn-fs-sm); }
.btn-lg:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  min-height:56px; padding:calc((56px - 1.25em) / 2) var(--sn-6); font-size:var(--sn-fs-md); border-radius:var(--sn-radius-pill); }
.btn-full:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  width:100%; min-height:var(--sn-tap-btn); padding-block:calc((var(--sn-tap-btn) - 1.25em) / 2); }
.btn.btn-ghost:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  background:transparent; color:var(--sn-c-accent-text); border:1.5px solid var(--sn-c-accent-fill); }
.btn.btn-ghost:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *):hover{
  background:var(--sn-c-accent-tint); color:var(--sn-c-accent-hover); }
.btn.btn-ocean:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  background:var(--sn-c-teal); color:#fff; }
.btn.btn-ocean:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *):hover{
  background:var(--sn-c-teal-ink); color:#fff; }
.fg:not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){ margin-bottom:var(--sn-4); }
.fl:not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  display:block; margin-bottom:6px; font:600 var(--sn-fs-sm)/1.35 var(--font-body); color:var(--sn-c-ink-soft); }
:is(.fi,.fs,.ft):not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  width:100%; min-height:var(--sn-tap-btn); padding:11px 14px;
  font:400 var(--sn-fs-base)/1.4 var(--font-body); color:var(--sn-c-ink);
  background-color:var(--sn-c-surface); border:1.5px solid var(--sn-c-line-strong); border-radius:var(--sn-radius-sm);
  transition:border-color var(--sn-dur-fast) var(--sn-ease-out), box-shadow var(--sn-dur-fast) var(--sn-ease-out);
}
:is(.fi,.fs,.ft):not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *):hover{ border-color:var(--sn-c-ink-soft); }
:is(.fi,.fs,.ft):not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *):focus{
  border-color:var(--sn-c-ink); box-shadow:0 0 0 3px rgba(20,30,43,.12); background-color:#fff; outline:none; }
:is(.fi,.fs,.ft):not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *):focus-visible{
  outline:3px solid var(--sn-c-focus); outline-offset:2px; box-shadow:none; }
:is(.fi,.ft):not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *)::placeholder{ color:var(--ink-muted, #68727F); opacity:1; }
:is(.fi,.fs,.ft)[aria-invalid="true"]{ border-color:var(--sn-c-danger); }
.fs:not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *):not([multiple]){
  -webkit-appearance:none; appearance:none; padding-right:42px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141E2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center; background-size:12px 8px; }
.ft:not(:where(#p-home .hero, #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){ min-height:112px; resize:vertical; line-height:var(--sn-lh-body); }
.sn-hint{ margin:6px 0 0; font-size:var(--sn-fs-sm); line-height:1.45; color:var(--sn-c-ink-muted); }
.sn-error{ margin:6px 0 0; font-size:var(--sn-fs-sm); line-height:1.45; font-weight:600; color:var(--sn-c-danger); }
.sn-check{ display:flex; align-items:flex-start; gap:var(--sn-3); min-height:var(--sn-tap); padding:10px 0; cursor:pointer;
  font-size:var(--sn-fs-base); line-height:1.45; color:var(--sn-c-ink); }
.sn-check input{ width:20px; height:20px; flex:none; margin:2px 0 0; accent-color:var(--sn-c-accent-fill); }
:is(#p-login, #p-signup, #p-signup-tutor) .sub a{ text-decoration:underline !important; text-decoration-thickness:1.5px !important;
  text-underline-offset:.2em; color:var(--sn-c-accent-text) !important; font-weight:600; }
button[onclick^="togglePw("]{ min-height:var(--sn-tap) !important; min-width:var(--sn-tap) !important; padding:0 8px !important;
  right:2px !important; border-radius:var(--sn-radius-sm) !important; color:var(--sn-c-accent-text) !important; }
#typeStudent, #typeParent{ min-height:var(--sn-tap) !important; }
#typeStudent[aria-pressed="true"], #typeParent[aria-pressed="true"]{
  color:var(--sn-c-accent-text) !important; background:var(--sn-c-accent-tint) !important; border-color:var(--sn-c-accent-fill) !important; }
.sn-section{ padding-block:var(--sn-sec-y); background:var(--sn-c-ground); color:var(--sn-c-ink); }
.sn-section--tight{ padding-block:var(--sn-sec-y-tight); }
.sn-section--alt{ background:var(--sn-c-surface-alt); }
.sn-section--dark{ background:var(--sn-c-ink); color:var(--sn-c-on-dark); }
.sn-section--dark :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible{ outline-color:var(--sn-c-focus-on-dark); }
.sn-container{ width:100%; max-width:var(--sn-container); margin-inline:auto; padding-inline:var(--sn-gutter); }
.sn-container--narrow{ max-width:calc(var(--sn-measure) + 2 * var(--sn-gutter)); }
.sn-section-head{ max-width:44rem; margin:0 0 var(--sn-7); }
.sn-section-head--center{ margin-inline:auto; text-align:center; }
.sn-section-head > * + *{ margin-top:var(--sn-3); }
.sn-stack > * + *{ margin-top:var(--sn-stack, var(--sn-4)); }
.sn-prose{ max-width:var(--sn-measure); }
.sn-prose > * + *{ margin-top:1em; }
.sn-grid{ display:grid; gap:var(--sn-5); grid-template-columns:repeat(auto-fit, minmax(min(100%, var(--sn-grid-min, 260px)), 1fr)); }
.sn-display, .sn-h1{ font-family:var(--font-display); font-weight:600; font-size:var(--sn-fs-3xl); line-height:var(--sn-lh-tight); letter-spacing:var(--sn-track-display); }
.sn-h2{ font-family:var(--font-display); font-weight:600; font-size:var(--sn-fs-2xl); line-height:1.15; letter-spacing:var(--sn-track-display); }
.sn-h3{ font-family:var(--font-display); font-weight:600; font-size:var(--sn-fs-xl); line-height:var(--sn-lh-snug); }
.sn-h4{ font-family:var(--font-body); font-weight:700; font-size:var(--sn-fs-lg); line-height:var(--sn-lh-snug); }
.sn-lead{ font-size:var(--sn-fs-md); line-height:var(--sn-lh-body); color:var(--sn-c-ink-soft); max-width:60ch; }
.sn-meta{ font-size:var(--sn-fs-sm); line-height:1.45; color:var(--sn-c-ink-muted); }
.sn-section--dark :is(.sn-lead, .sn-meta){ color:var(--sn-c-on-dark-soft); }
.sn-label{ display:inline-flex; align-items:center; gap:var(--sn-2); margin:0;
  font:600 var(--sn-fs-sm)/1.3 var(--font-body); letter-spacing:0; text-transform:none; color:var(--sn-c-ink-muted); }
.sn-label--accent{ color:var(--sn-c-accent-text); }
.sn-label--teal{ color:var(--sn-c-teal-ink); }
.sn-label--dot::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; flex:none; }
.sn-section--dark .sn-label{ color:var(--sn-c-mint); }
:is(.sn-eyebrow, .pe-eyebrow, .he-eyebrow, .rv-eyebrow, .pp-eyebrow, .eyebrow, .kicker, .tp-eyebrow, .te-kicker, .sn-fpm-eyebrow, .sh-eyebrow, .nl-card__eyebrow, .sn-rg__eyebrow, .sn-sbcard-tag, .sn-pe .sh-eyebrow, .sn-pe .pe-eyebrow):not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){
  text-transform:none; letter-spacing:0; font-size:var(--sn-fs-sm); font-weight:600; line-height:1.3; }
.sn-card{ position:relative; display:flex; flex-direction:column; gap:var(--sn-3);
  padding:var(--sn-5); background:var(--sn-c-surface); color:var(--sn-c-ink);
  border:1px solid var(--sn-c-line); border-radius:var(--sn-radius-md); box-shadow:var(--sn-shadow-1); }
.sn-card--flat{ box-shadow:none; }
.sn-card--interactive{ transition:box-shadow var(--sn-dur) var(--sn-ease-out), transform var(--sn-dur) var(--sn-ease-out); }
.sn-card--interactive:hover{ box-shadow:var(--sn-shadow-2); transform:translateY(-2px); }
.sn-card--interactive:focus-within{ box-shadow:var(--sn-shadow-2); }
.sn-card-link::after{ content:""; position:absolute; inset:0; border-radius:inherit; }
.sn-card-link{ color:inherit; text-decoration:none; }
.sn-card-link:focus-visible{ outline:none; }
.sn-card-link:focus-visible::after{ outline:3px solid var(--sn-c-focus); outline-offset:3px; }
.sn-card > :last-child{ margin-bottom:0; }
.sn-card-cta{ margin-top:auto; }
.sn-divider{ border:0; border-top:1px solid var(--sn-c-line-soft); margin:var(--sn-2) 0; }
@media (prefers-reduced-motion: reduce){ .sn-card--interactive:hover{ transform:none; } }
.sn-accordion{ border-top:1px solid var(--sn-c-line); }
.sn-accordion details{ border-bottom:1px solid var(--sn-c-line); }
.sn-accordion summary{ display:flex; align-items:center; justify-content:space-between; gap:var(--sn-4);
  min-height:56px; padding:var(--sn-3) 0; cursor:pointer; list-style:none;
  font:600 var(--sn-fs-md)/1.35 var(--font-body); color:var(--sn-c-ink); }
.sn-accordion summary::-webkit-details-marker{ display:none; }
.sn-accordion summary::after{ content:""; flex:none; width:9px; height:9px; margin-right:4px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-3px) rotate(45deg);
  transition:transform var(--sn-dur) var(--sn-ease-out); }
.sn-accordion details[open] > summary::after{ transform:translateY(2px) rotate(-135deg); }
.sn-accordion summary:hover{ color:var(--sn-c-accent-text); }
.sn-accordion summary:focus-visible{ outline:3px solid var(--sn-c-focus); outline-offset:2px; border-radius:var(--sn-radius-sm); }
.sn-accordion-body{ padding:0 0 var(--sn-5); max-width:var(--sn-measure); color:var(--sn-c-ink-soft); line-height:var(--sn-lh-body); }
.sn-accordion-body > * + *{ margin-top:.8em; }
.sn-section--dark .sn-accordion, .sn-section--dark .sn-accordion details{ border-color:rgba(237,231,221,.2); }
.sn-section--dark .sn-accordion summary{ color:var(--sn-c-on-dark); }
.sn-section--dark .sn-accordion-body{ color:var(--sn-c-on-dark-soft); }
.th-card .th-btn, .sn-ts .th-btn{ min-height:var(--sn-tap); display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; }
.subj-pill{ min-height:var(--sn-tap); }
.chip:not(:where(#p-home .hero, #p-home .section:has(#tutorGrid), #p-browse, #p-tutor-profile, #bookOverlay, #matchOverlay) *){ min-height:var(--sn-tap); }


:root{
  --v2-navy: var(--sn-c-ink, #141E2B);
  --v2-navy-2: #1B2838;
  --v2-cream: var(--sn-c-ground, #FBF6F0);
  --v2-cream-2: var(--sn-c-surface-alt, #F3EADF);
  --v2-white: #FFFFFF;
  --v2-flame: var(--sn-c-accent, #E85D3A);
  --v2-flame-fill: var(--sn-c-accent-fill, #C0432A);
  --v2-flame-hover: var(--sn-c-accent-hover, #A5381F);
  --v2-flame-text: var(--sn-c-accent-text, #A5381F);
  --v2-teal: var(--sn-c-teal, #1A7A6D);
  --v2-mint: var(--sn-c-mint, #5CC3B2);
  --v2-ink: var(--sn-c-ink, #141E2B);
  --v2-ink-soft: var(--sn-c-ink-soft, #3D4652);
  --v2-ink-muted: var(--sn-c-ink-muted, #4A5360);
  --v2-on-dark: var(--sn-c-on-dark, #EDE7DD);
  --v2-on-dark-soft: rgba(237,231,221,.84);
  --v2-line: rgba(20,30,43,.12);
  --v2-line-dark: rgba(237,231,221,.18);
  --v2-font-display: var(--font-display, 'Fraunces', 'Fraunces Fallback', Georgia, serif);
  --v2-font-body: var(--font-body, 'DM Sans', 'DM Sans Fallback', Arial, system-ui, sans-serif);
  --v2-fs-display: clamp(2.8rem, 6vw, 5.2rem);
  --v2-fs-title: clamp(2rem, 4vw, 3.2rem);
  --v2-fs-h3: clamp(1.3rem, 1.1rem + .8vw, 1.6rem);
  --v2-fs-lede: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --v2-fs-body: 1.0625rem;
  --v2-wrap: 1200px;
  --v2-gutter: clamp(16px, 4vw, 40px);
  --v2-sec-y: clamp(72px, 10vw, 140px);
  --v2-sec-y-tight: clamp(48px, 6vw, 88px);
  --v2-gap: clamp(20px, 3vw, 32px);
  --v2-overlap: clamp(40px, 7vw, 96px);
  --v2-r-media: 20px;
  --v2-r-card: var(--sn-radius-md, 14px);
  --v2-r-pill: 999px;
  --v2-shadow-float: 0 2px 6px rgba(20,30,43,.06), 0 24px 60px rgba(20,30,43,.16);
  --v2-ease: cubic-bezier(.2,.7,.2,1);
  --v2-dur: 600ms;
}
.v2-band{position:relative;padding-block:var(--v2-sec-y);background:var(--v2-white);color:var(--v2-ink);
  font-family:var(--v2-font-body);font-size:var(--v2-fs-body);line-height:1.6;}
.v2-band--tight{padding-block:var(--v2-sec-y-tight);}
.v2-band--flush-top{padding-top:0;}
.v2-band--white{background:var(--v2-white);}
.v2-band--cream{background:var(--v2-cream);}
.v2-band--navy{background:var(--v2-navy) radial-gradient(120% 90% at 85% 0%, var(--v2-navy-2) 0%, var(--v2-navy) 60%);
  color:var(--v2-on-dark);}
.v2-band--flame{background:var(--v2-flame-fill);color:#fff;}
.v2-band--navy :is(h1,h2,h3,h4,.v2-display,.v2-title),
.v2-band--flame :is(h1,h2,h3,h4,.v2-display,.v2-title){color:#fff;}
.v2-band--navy :is(p,li){color:inherit;}
.v2-band--navy a:not([class]),.v2-band--flame a:not([class]){color:inherit;text-decoration:underline;text-underline-offset:.2em;}
.v2-band--navy :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,
.v2-band--flame :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--sn-c-focus-on-dark,#FFD9A0);outline-offset:3px;}
.v2-band--overlapped{padding-top:calc(var(--v2-sec-y) + var(--v2-overlap));}
.v2-wrap{width:100%;max-width:calc(var(--v2-wrap) + 2 * var(--v2-gutter));margin-inline:auto;padding-inline:var(--v2-gutter);
  box-sizing:border-box;}
.v2-wrap--narrow{max-width:calc(760px + 2 * var(--v2-gutter));}
.v2-stack > * + *{margin-top:var(--v2-stack, 20px);}
.v2-head{max-width:46rem;margin:0 0 clamp(32px, 5vw, 64px);}
.v2-head--center{margin-inline:auto;text-align:center;}
.v2-head > * + *{margin-top:16px;}
.v2-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);
  white-space:nowrap;border:0;}
.v2-display,.v2-title{font-family:var(--v2-font-display);font-weight:600;line-height:1.05;letter-spacing:-.02em;
  margin:0;color:inherit;text-wrap:balance;font-optical-sizing:auto;}
.v2-display{font-size:var(--v2-fs-display);}
.v2-title{font-size:var(--v2-fs-title);letter-spacing:-.015em;}
.v2-band:not(.v2-band--navy):not(.v2-band--flame) :is(.v2-display,.v2-title){color:var(--v2-ink);}
.v2-h3{font-family:var(--v2-font-body);font-weight:600;font-size:var(--v2-fs-h3);line-height:1.25;margin:0;}
.v2-lede{font-size:var(--v2-fs-lede);line-height:1.6;max-width:38em;margin:0;color:var(--v2-ink-soft);text-wrap:pretty;}
.v2-band--navy .v2-lede{color:var(--v2-on-dark-soft);}
.v2-band--flame .v2-lede{color:#fff;}
.v2-accent{color:var(--v2-flame);}
.v2-band--flame .v2-accent{color:#fff;}
.v2-note{font-size:.9375rem;line-height:1.5;color:var(--v2-ink-muted);margin:0;}
.v2-band--navy .v2-note{color:var(--v2-on-dark-soft);}
.v2-band--flame .v2-note{color:#fff;}
.v2-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;
  min-height:52px;min-width:44px;padding:0 28px;border:1.5px solid transparent;border-radius:var(--v2-r-pill);
  font:600 1rem/1.2 var(--v2-font-body);letter-spacing:0;text-decoration:none;text-align:center;
  white-space:normal;max-width:100%;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:background-color 200ms var(--v2-ease),color 200ms var(--v2-ease),border-color 200ms var(--v2-ease),
    transform 200ms var(--v2-ease),box-shadow 200ms var(--v2-ease);}
.v2-btn:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:3px;}
.v2-btn--lg{min-height:60px;padding:0 34px;font-size:1.0625rem;}
.v2-btn--sm{min-height:44px;padding:0 20px;font-size:.9375rem;}
.v2-btn--block{display:flex;width:100%;}
.v2-btn--primary{background:var(--v2-flame-fill);color:#fff;}
.v2-btn--primary:hover{background:var(--v2-flame-hover);color:#fff;}
.v2-btn--ghost{background:transparent;color:var(--v2-ink);border-color:rgba(20,30,43,.35);}
.v2-btn--ghost:hover{background:rgba(20,30,43,.06);border-color:var(--v2-ink);color:var(--v2-ink);}
.v2-band--navy .v2-btn--ghost,.v2-band--flame .v2-btn--ghost,.v2-btn--ghost.v2-btn--on-dark{color:#fff;border-color:rgba(255,255,255,.55);}
.v2-band--navy .v2-btn--ghost:hover,.v2-band--flame .v2-btn--ghost:hover,.v2-btn--ghost.v2-btn--on-dark:hover{background:rgba(255,255,255,.12);border-color:#fff;color:#fff;}
.v2-btn--light{background:#fff;color:var(--v2-ink);box-shadow:0 8px 24px rgba(20,30,43,.18);}
.v2-btn--light:hover{background:var(--v2-cream);color:var(--v2-ink);}
.v2-btn[disabled],.v2-btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed;transform:none!important;}
.v2-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin-top:clamp(24px,3vw,36px);}
.v2-media{position:relative;display:block;margin:0;overflow:hidden;border-radius:var(--v2-r-media);
  aspect-ratio:var(--v2-ar,3 / 2);background:var(--v2-cream-2);isolation:isolate;}
.v2-media--45{--v2-ar:4 / 5;}
.v2-media--32{--v2-ar:3 / 2;}
.v2-media--1610{--v2-ar:16 / 10;}
.v2-media > img,.v2-media > picture,.v2-media > picture > img,.v2-media > video{display:block;width:100%;height:100%;object-fit:cover;}
.v2-band--navy .v2-media{background:var(--v2-navy-2);}
.v2-media--float{box-shadow:var(--v2-shadow-float);}
.v2-media--overlap{margin-bottom:calc(var(--v2-overlap) * -1 - var(--v2-sec-y));z-index:2;}
.v2-media-cap{margin:10px 0 0;font-size:.875rem;line-height:1.45;color:var(--v2-ink-muted);}
.v2-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:center;}
.v2-split--media-wide{grid-template-columns:minmax(0,5fr) minmax(0,7fr);}
.v2-split--text-wide{grid-template-columns:minmax(0,7fr) minmax(0,5fr);}
.v2-split--top{align-items:start;}
.v2-split--reverse > :first-child{order:2;}
@media (max-width:860px){
  .v2-split,.v2-split--media-wide,.v2-split--text-wide{grid-template-columns:minmax(0,1fr);gap:clamp(28px,7vw,48px);}
  .v2-split--reverse > :first-child{order:0;}
}
.v2-rail{display:grid;grid-auto-flow:column;grid-auto-columns:var(--v2-rail-w,clamp(250px,74vw,310px));gap:var(--v2-gap);
  margin:0;padding:4px 0 18px;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:thin;scrollbar-color:rgba(20,30,43,.28) transparent;}
.v2-rail > *{scroll-snap-align:start;min-width:0;}
.v2-rail:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:4px;border-radius:8px;}
.v2-rail--bleed{margin-inline:calc(var(--v2-gutter) * -1);padding-inline:var(--v2-gutter);scroll-padding-inline:var(--v2-gutter);}
.v2-band--navy .v2-rail{scrollbar-color:rgba(237,231,221,.35) transparent;}
.v2-rail-controls{display:flex;gap:10px;justify-content:flex-end;}
.v2-rail-btn{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;
  border:1.5px solid rgba(20,30,43,.25);background:transparent;color:var(--v2-ink);cursor:pointer;font:600 1.1rem/1 var(--v2-font-body);
  transition:background-color 200ms var(--v2-ease),border-color 200ms var(--v2-ease);}
.v2-rail-btn:hover{background:rgba(20,30,43,.06);border-color:var(--v2-ink);}
.v2-rail-btn:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.v2-rail-btn[disabled]{opacity:.35;cursor:default;}
.v2-band--navy .v2-rail-btn{color:#fff;border-color:rgba(255,255,255,.4);}
.v2-steps{list-style:none;margin:0;padding:0;counter-reset:v2-step;display:grid;gap:clamp(8px,1.5vw,16px);}
.v2-steps > li{counter-increment:v2-step;position:relative;display:grid;grid-template-columns:clamp(3.2rem,6vw,4.6rem) minmax(0,1fr);
  column-gap:clamp(14px,2vw,24px);align-items:start;padding:clamp(14px,2vw,22px) 0 clamp(14px,2vw,22px) clamp(16px,2vw,24px);
  border-left:3px solid transparent;transition:border-color 400ms var(--v2-ease);}
.v2-steps > li::before{content:counter(v2-step,decimal-leading-zero);grid-row:1 / span 3;font-family:var(--v2-font-display);
  font-weight:500;font-size:clamp(2.2rem,4vw,3.2rem);line-height:.95;letter-spacing:-.02em;color:var(--v2-teal);opacity:.5;
  font-variant-numeric:lining-nums;transition:opacity 400ms var(--v2-ease);}
.v2-steps > li > *{grid-column:2;margin:0;}
.v2-steps > li > * + *{margin-top:6px;}
.v2-steps :is(h3,h4,.v2-step-title){font:600 clamp(1.1rem,1rem + .4vw,1.3rem)/1.3 var(--v2-font-body);color:inherit;}
.v2-steps p{color:var(--v2-ink-soft);line-height:1.55;}
.v2-steps > li.is-active,.v2-steps > li[aria-current="step"],.v2-steps--static > li{border-left-color:var(--v2-teal);}
.v2-steps > li.is-active::before,.v2-steps > li[aria-current="step"]::before,.v2-steps--static > li::before{opacity:1;}
.v2-steps--static > li{border-left-color:transparent;}
.v2-band--navy .v2-steps > li::before{color:var(--v2-mint);}
.v2-band--navy .v2-steps > li.is-active{border-left-color:var(--v2-mint);}
.v2-band--navy .v2-steps p{color:var(--v2-on-dark-soft);}
.v2-quote-wall{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));
  gap:clamp(32px,5vw,64px) clamp(28px,5vw,72px);align-items:start;margin:0;padding:0;}
.v2-quote,.v2-quote-wall .sn-quote{margin:0;padding:0;background:none;border:0;box-shadow:none;border-radius:0;color:var(--v2-on-dark);}
.v2-quote blockquote{margin:0;}
.v2-quote p,.v2-quote-wall .sn-quote .sn-quote-body{margin:0;font-family:var(--v2-font-display);font-style:italic;font-weight:400;
  font-size:clamp(1.15rem,1rem + .6vw,1.45rem);line-height:1.4;color:#fff;}
.v2-quote--lg p,.v2-quote-wall > .sn-quote:first-child .sn-quote-body{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.3rem);line-height:1.25;}
@media (min-width:900px){
  .v2-quote--lg,.v2-quote-wall > .sn-quote:first-child{grid-column:span 2;grid-row:span 2;align-self:center;}
}
.v2-quote figcaption,.v2-quote-wall .sn-quote cite{display:block;margin-top:14px;font:500 .9375rem/1.5 var(--v2-font-body);font-style:normal;
  color:var(--v2-on-dark-soft);}
.v2-quote-src,.v2-quote-wall .sn-quote .sn-quote-src{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;
  font:600 .875rem/1.3 var(--v2-font-body);color:var(--v2-on-dark-soft);}
.v2-quote-wall .sn-quote .sn-quote-src svg{max-height:16px;width:auto;}
.v2-quote-wall .sn-quote .sn-quote-stars{display:none;}
.v2-quote-wall .sn-quote .sn-quote-about{display:block;color:var(--v2-on-dark-soft);}
.v2-quote-wall .sn-quote .sn-quote-more{margin-top:10px;background:none;border:0;padding:0;min-height:44px;color:#fff;
  font:600 .9375rem/1.2 var(--v2-font-body);text-decoration:underline;text-underline-offset:.2em;cursor:pointer;}
.v2-price-flow{display:flex;align-items:flex-start;justify-content:center;gap:clamp(8px,2.5vw,28px);margin:0;padding:0;}
.v2-price{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;}
.v2-price-fig{font-family:var(--v2-font-display);font-weight:500;font-size:clamp(3rem,1.8rem + 6vw,6.4rem);line-height:1;
  letter-spacing:-.03em;color:var(--v2-ink);font-variant-numeric:lining-nums tabular-nums;}
.v2-price--total .v2-price-fig{color:var(--v2-flame);}
.v2-price-label{margin-top:12px;font:600 .875rem/1.35 var(--v2-font-body);letter-spacing:.02em;color:var(--v2-ink-muted);max-width:16ch;}
.v2-price--total .v2-price-label{color:var(--v2-flame-text);}
.v2-price-op{display:flex;align-items:center;gap:clamp(6px,1.5vw,16px);align-self:flex-start;
  margin-top:calc(clamp(3rem,1.8rem + 6vw,6.4rem) * .42);font:500 clamp(1.2rem,2vw,1.6rem)/1 var(--v2-font-body);color:var(--v2-ink-muted);}
.v2-price-op::before,.v2-price-op::after{content:"";width:clamp(12px,4vw,64px);height:1px;background:currentColor;opacity:.45;}
.v2-price-note{margin:clamp(20px,3vw,32px) auto 0;text-align:center;font-size:.9375rem;color:var(--v2-ink-muted);max-width:44em;}
.v2-band--navy .v2-price-fig{color:#fff;}
.v2-band--navy .v2-price-label,.v2-band--navy .v2-price-op,.v2-band--navy .v2-price-note{color:var(--v2-on-dark-soft);}
.v2-band--navy .v2-price--total .v2-price-label{color:var(--v2-flame);}
@media (max-width:560px){
  .v2-price-flow{flex-direction:column;align-items:center;gap:6px;}
  .v2-price-op{margin-top:0;align-self:center;}
  .v2-price-op::before,.v2-price-op::after{width:40px;}
}
.v2-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--v2-tile-min,250px)),1fr));gap:var(--v2-gap);
  margin:0;padding:0;list-style:none;}
.v2-tiles > li{margin:0;min-width:0;}
.v2-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:0;aspect-ratio:4 / 5;
  overflow:hidden;border-radius:var(--v2-r-media);background:var(--v2-navy);color:#fff;text-decoration:none;isolation:isolate;
  transition:transform 300ms var(--v2-ease),box-shadow 300ms var(--v2-ease);}
.v2-tile > img,.v2-tile > picture,.v2-tile > picture > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;
  transition:transform 700ms var(--v2-ease);}
.v2-tile::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to top,rgba(20,30,43,.9) 0%,rgba(20,30,43,.55) 38%,rgba(20,30,43,0) 66%);}
.v2-tile-body{padding:clamp(18px,2.4vw,26px);}
.v2-tile-label{display:block;font-family:var(--v2-font-display);font-weight:600;font-size:clamp(1.35rem,1.1rem + .9vw,1.75rem);
  line-height:1.1;letter-spacing:-.01em;color:#fff;}
.v2-tile-sub{display:block;margin-top:6px;font:500 .9375rem/1.45 var(--v2-font-body);color:rgba(255,255,255,.9);}
.v2-tile-go{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font:600 .9375rem/1 var(--v2-font-body);color:#fff;}
.v2-tile-go::after{content:"\2192";transition:transform 300ms var(--v2-ease);}
.v2-tile:hover .v2-tile-go::after{transform:translateX(4px);}
.v2-tile:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:4px;}
.v2-band--navy .v2-tile:focus-visible{outline-color:var(--sn-c-focus-on-dark,#FFD9A0);}
@media (min-width:900px){
  .v2-tiles > .v2-tiles-wide,.v2-tile--wide{grid-column:span 2;}
  .v2-tiles > .v2-tiles-wide .v2-tile,.v2-tile--wide{aspect-ratio:auto;}
}
@media (prefers-reduced-motion:no-preference) and (hover:hover){
  .v2-tile:hover > img,.v2-tile:hover > picture > img{transform:scale(1.04);}
}
.v2-accordion{margin:0;border-top:1px solid var(--v2-line);}
.v2-accordion details{border-bottom:1px solid var(--v2-line);}
.v2-accordion summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;
  padding:clamp(16px,2vw,22px) 0;cursor:pointer;list-style:none;font:600 clamp(1.0625rem,1rem + .3vw,1.2rem)/1.35 var(--v2-font-body);
  color:inherit;}
.v2-accordion summary::-webkit-details-marker{display:none;}
.v2-accordion summary::after{content:"";flex:none;width:12px;height:12px;margin-right:6px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);
  transition:transform 300ms var(--v2-ease);}
.v2-accordion details[open] > summary::after{transform:translateY(3px) rotate(-135deg);}
.v2-accordion summary:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:4px;border-radius:4px;}
.v2-accordion-body{padding:0 0 clamp(18px,2.4vw,26px);max-width:62ch;color:var(--v2-ink-soft);line-height:1.6;}
.v2-accordion-body > * + *{margin-top:12px;}
.v2-band--navy .v2-accordion,.v2-band--navy .v2-accordion details{border-color:var(--v2-line-dark);}
.v2-band--navy .v2-accordion-body{color:var(--v2-on-dark-soft);}
.v2-card{background:var(--v2-white);border-radius:var(--v2-r-card);padding:clamp(20px,2.6vw,28px);color:var(--v2-ink);}
.v2-band--white .v2-card{background:var(--v2-cream);}
.v2-float{background:var(--v2-white);border-radius:var(--v2-r-card);box-shadow:var(--v2-shadow-float);color:var(--v2-ink);}
.sn-search{position:fixed;inset:0;z-index:10060;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:clamp(12px,8vh,96px) 16px 16px;
  border:0;background:rgba(20,30,43,.55);color:var(--v2-ink);box-sizing:border-box;}
.sn-search:not([open]){display:none;}
.sn-search::backdrop{background:transparent;}
.sn-search-box{max-width:640px;margin:0 auto;background:var(--v2-white);border-radius:18px;box-shadow:var(--v2-shadow-float);overflow:hidden;
  display:flex;flex-direction:column;max-height:min(640px,calc(100dvh - 32px));font-family:var(--v2-font-body);}
.sn-search-bar{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 18px;border-bottom:1px solid var(--v2-line);}
.sn-search-bar svg{flex:none;width:20px;height:20px;color:var(--v2-ink-muted);}
.sn-search-input{flex:1;min-width:0;min-height:48px;border:0;background:none;font:400 1.125rem/1.3 var(--v2-font-body);color:var(--v2-ink);outline:none;}
.sn-search-input::placeholder{color:var(--v2-ink-muted);opacity:1;}
.sn-search-close{flex:none;min-height:44px;min-width:44px;padding:0 12px;border:1px solid var(--v2-line);border-radius:10px;background:none;
  font:600 .8125rem/1 var(--v2-font-body);color:var(--v2-ink-soft);cursor:pointer;}
.sn-search-close:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.sn-search .sn-search-input:focus,.sn-search .sn-search-input:focus-visible{outline:none;box-shadow:none;}
.sn-search-bar:focus-within{box-shadow:inset 0 -3px 0 var(--v2-teal);}
.sn-search-list{list-style:none;margin:0;padding:8px;overflow-y:auto;overscroll-behavior:contain;}
.sn-search-h{margin:0;padding:10px 20px 2px;font:600 .8125rem/1.3 var(--v2-font-body);color:var(--v2-ink-muted);}
.sn-search-opt{margin:0;}
.sn-search-opt a{display:flex;flex-direction:column;gap:2px;min-height:44px;justify-content:center;padding:10px 12px;border-radius:10px;
  color:var(--v2-ink);text-decoration:none;}
.sn-search-opt a[aria-selected="true"],.sn-search-opt a:hover{background:var(--v2-cream-2);}
.sn-search-opt a[aria-selected="true"]{box-shadow:inset 3px 0 0 var(--v2-teal);}
.sn-search-t{font-weight:600;font-size:1rem;line-height:1.3;}
.sn-search-t mark{background:none;color:var(--v2-flame-text);}
.sn-search-m{display:flex;gap:8px;align-items:baseline;font-size:.875rem;line-height:1.4;color:var(--v2-ink-muted);}
.sn-search-y{flex:none;font-weight:600;color:var(--v2-teal);}
.sn-search-d{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sn-search-empty{margin:0;padding:18px 20px;color:var(--v2-ink-soft);}
.sn-search-empty a{color:var(--v2-flame-text);}
.sn-search-list[hidden],.sn-search-empty[hidden]{display:none;}
.sn-search-foot{display:flex;gap:16px;justify-content:space-between;padding:10px 18px;border-top:1px solid var(--v2-line);
  font-size:.8125rem;color:var(--v2-ink-muted);background:var(--v2-cream);}
.sn-search-foot kbd{font:600 .75rem/1 var(--v2-font-body);padding:3px 6px;border:1px solid var(--v2-line);border-radius:5px;background:#fff;}
body.sn-search-open{overflow:hidden;}
@media (max-width:640px){
  .sn-search{padding:0;}
  .sn-search-box{max-height:100dvh;height:100%;border-radius:0;}
  .sn-search-foot{display:none;}
}
:root{--sn-sec-y:var(--v2-sec-y);--sn-sec-y-tight:var(--v2-sec-y-tight);}
:where(body:not(:has(#p-home)) main) h1{font-size:clamp(2.1rem,1.4rem + 3.4vw,3.9rem);line-height:1.06;letter-spacing:-.018em;text-wrap:balance;}
:where(body:not(:has(#p-home)) main) h2:not(:where(li,td,th,dd,figure,aside,nav,form,details,dialog,[class*="card"],[class*="related"],[class*="cta"]) h2){
  font-size:clamp(1.55rem,1.2rem + 1.5vw,2.2rem);line-height:1.14;letter-spacing:-.01em;text-wrap:balance;}
@media (prefers-reduced-motion:reduce){
  .v2-btn,.v2-tile,.v2-tile > img,.v2-steps > li,.v2-steps > li::before,.v2-accordion summary::after{transition:none!important;}
}
html.sn-motion [data-reveal].is-in,
html.sn-motion [data-reveal-stagger].is-in > *{
  transition:opacity 600ms cubic-bezier(.2,.7,.2,1),transform 600ms cubic-bezier(.2,.7,.2,1);
}
html.sn-motion [data-reveal-stagger].is-in > *{transition-delay:calc(var(--sn-i,0) * 70ms);}
html.sn-motion [data-reveal].is-pending,
html.sn-motion [data-reveal-stagger].is-pending > *{opacity:0;transform:translate3d(0,18px,0);}
html.sn-motion [data-parallax]{transform:translate3d(0,var(--sn-py,0px),0);}
html.sn-motion .v2-media > img[data-parallax]{transform:translate3d(0,var(--sn-py,0px),0) scale(1.08);}
html.sn-motion .v2-media > picture[data-parallax] > img{transform:scale(1.08);}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .v2-btn:hover,.v2-tile:hover,a.v2-card:hover,[data-lift]:hover{transform:translateY(-2px);}
  .v2-btn:active,[data-lift]:active{transform:translateY(0);}
  .v2-tile:hover,a.v2-card:hover,[data-lift]:hover{box-shadow:0 18px 40px rgba(20,30,43,.16);}
  [data-lift]{transition:transform 200ms cubic-bezier(.2,.7,.2,1),box-shadow 200ms cubic-bezier(.2,.7,.2,1);}
}
@media (prefers-reduced-motion:no-preference){
  .v2-rise .v2-w{display:inline-block;animation:sn-rise 700ms cubic-bezier(.2,.7,.2,1) both;}
  .v2-rise .v2-w:nth-child(2){animation-delay:60ms}
  .v2-rise .v2-w:nth-child(3){animation-delay:120ms}
  .v2-rise .v2-w:nth-child(4){animation-delay:180ms}
  .v2-rise .v2-w:nth-child(5){animation-delay:240ms}
  .v2-rise .v2-w:nth-child(6){animation-delay:300ms}
  .v2-rise .v2-w:nth-child(7){animation-delay:360ms}
  .v2-rise .v2-w:nth-child(8){animation-delay:420ms}
  .v2-rise .v2-w:nth-child(n+9){animation-delay:480ms}
}
@keyframes sn-rise{from{opacity:0;transform:translateY(.4em);}}
@media (prefers-reduced-motion:reduce){
  html.sn-motion [data-reveal],html.sn-motion [data-reveal-stagger] > *{opacity:1!important;transform:none!important;transition:none!important;}
  [data-parallax],.v2-media > [data-parallax],.v2-media > picture[data-parallax] > img{transform:none!important;}
}
@media print{
  html.sn-motion [data-reveal],html.sn-motion [data-reveal-stagger] > *{opacity:1!important;transform:none!important;}
}


/* The card. Moved verbatim out of index.html so there is one stylesheet for one component.
   Every custom property carries a literal fallback: /become-a-tutor defines --flame, --ink and
   --sun and nothing else, so an unguarded var(--gold) there renders the stars in the inherited
   text colour and quietly stops them reading as stars. */
.sn-proof-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;min-height:196px;}
.sn-quote{flex:1 1 320px;max-width:520px;background:#fff;border-radius:14px;padding:24px;box-shadow:0 1px 4px rgba(0,0,0,.04);margin:0;text-align:left;}
.sn-quote{transition:transform .25s ease,box-shadow .25s ease;}
.sn-quote:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(20,30,43,.10);}
.sn-quote-src{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:.72rem;color:var(--grey,#5A6B7F);font-weight:500;}
.sn-quote-stars{color:var(--gold,#F5A623);font-size:.9rem;margin-bottom:8px;}
.sn-quote-body{font-size:.92rem;color:var(--ink,#141E2B);font-style:italic;line-height:1.65;margin:0 0 10px;}
.sn-quote cite{display:block;font-size:.78rem;color:var(--grey,#5A6B7F);font-weight:600;font-style:normal;}
.sn-quote-about{display:block;font-weight:400;color:var(--ink-muted,#68727F);margin-top:2px;}
.sn-quote-when{font-weight:400;color:var(--ink-muted,#68727F);}
.sn-quote-more{background:none;border:none;padding:0;margin-top:6px;font:inherit;font-size:.8rem;font-weight:600;color:var(--flame-ink,#A5381F);cursor:pointer;text-decoration:underline;}
.sn-quote-more:focus-visible{outline:3px solid var(--flame,#E85D3A);outline-offset:2px;}
/* Stagger the cards in. Uses the host page's existing .reveal-up mechanism; only the delay is new,
   so there is one animation system per page, not two. */
.sn-proof-grid .reveal-up{transition-delay:calc(var(--i,0) * 90ms);}
@media(prefers-reduced-motion:reduce){
  .sn-quote,.sn-quote:hover{transition:none;transform:none;}
  .sn-proof-grid .reveal-up{transition-delay:0ms !important;}
}
@media(max-width:560px){.sn-proof-grid{min-height:240px;}.sn-quote{flex:1 1 100%;}}

.sn-hdr{position:sticky;top:0;z-index:1000;}.sn-hdr-logo{font-family:var(--font-display,'Fraunces',Georgia,serif);font-size:1.55rem;font-weight:700;letter-spacing:-.01em;text-decoration:none;color:#E85D3A;white-space:nowrap;}.sn-hdr-logo span{color:#141E2B;}

.sn-skip{position:absolute;left:-9999px;top:0;z-index:2000;background:var(--sn-c-accent-fill,#C0432A);color:#fff;
  display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:12px 18px;border-radius:0 0 10px 0;font:600 .95rem/1.2 var(--font-body,'DM Sans',system-ui,sans-serif);text-decoration:none;}
.sn-skip:focus{left:0;}
#snMain:focus{outline:none;}

/* ── The bar ── */
.sn-hdr{--hdr-h:76px;--hdr-ink:var(--sn-c-ink,#141E2B);--hdr-hover:rgba(20,30,43,.06);
  background:rgba(251,246,240,.88);border:0;border-bottom:1px solid rgba(20,30,43,.08);border-radius:0;margin:0;box-shadow:none;
  backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);
  transition:background-color .3s ease,border-color .3s ease,box-shadow .3s ease,transform .25s ease;}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){.sn-hdr{background:rgba(251,246,240,.98);}}
.sn-hdr.sn-hdr-solid{background:rgba(251,246,240,.97);box-shadow:0 8px 30px rgba(20,30,43,.08);}
/* Over a dark hero: transparent, light ink. Past it, on the same page: navy. */
.sn-hdr.sn-hdr-hero{background:rgba(20,30,43,.12);border-bottom-color:rgba(255,255,255,.10);box-shadow:none;}
.sn-hdr.sn-hdr-navy{background:rgba(20,30,43,.96);border-bottom-color:rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(10,15,22,.28);}
.sn-hdr:is(.sn-hdr-hero,.sn-hdr-navy){--hdr-ink:#F4EFE8;--hdr-hover:rgba(255,255,255,.10);}
.sn-hdr.sn-hdr-hero .sn-hdr-logo span{color:var(--cream,#EDE7DD);}
.sn-hdr.sn-hdr-navy .sn-hdr-logo span{color:var(--cream,#EDE7DD);}
.sn-hdr :where(a,button):focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px;}
.sn-hdr:is(.sn-hdr-hero,.sn-hdr-navy) :where(a,button):focus-visible{outline-color:var(--sn-c-focus-on-dark,#FFD9A0);}

.sn-hdr .sn-hdr-in{position:relative;display:flex;align-items:center;gap:clamp(8px,1.4vw,18px);max-width:none;min-height:var(--hdr-h);
  margin:0 auto;padding:0 clamp(16px,3vw,40px);box-sizing:border-box;}
.sn-hdr .sn-hdr-logo{flex:none;display:inline-flex;align-items:center;min-height:44px;margin-right:clamp(4px,1.6vw,24px);}

/* ── Primary navigation ── */
.sn-hdr .sn-hdr-nav{display:flex;align-items:center;justify-content:center;gap:2px;flex:1 1 auto;min-width:0;}
.sn-hdr .sn-hdr-nav .nav-link{display:inline-flex;align-items:center;min-height:44px;padding:0 13px;border:0;border-radius:999px;background:none;
  color:var(--hdr-ink);font:500 .97rem/1.2 var(--font-body,'DM Sans',system-ui,sans-serif);letter-spacing:0;text-transform:none;
  text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .2s ease,color .2s ease;}
.sn-hdr .sn-hdr-nav .nav-link:hover{background:var(--hdr-hover);color:var(--hdr-ink);}
.sn-hdr .sn-hdr-nav .nav-link[aria-current="page"],.sn-hdr .sn-hdr-nav .sn-nav-trigger.is-current{box-shadow:inset 0 -2px 0 var(--sn-c-accent,#E85D3A);border-radius:0;}
.sn-nav-group{position:relative;display:inline-flex;}
.sn-nav-group--mega{position:static;}
.sn-hdr .sn-hdr-nav .sn-nav-trigger::after{content:"";width:6px;height:6px;margin-left:8px;border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease;}
.sn-hdr .sn-hdr-nav .sn-nav-trigger[aria-expanded="true"]{background:var(--hdr-hover);}
.sn-hdr .sn-hdr-nav .sn-nav-trigger[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg);}

/* ── Panels (open on click, never on hover; Escape, outside click or focus leaving closes) ── */
.sn-nav-pop{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);z-index:1100;min-width:250px;display:flex;flex-direction:column;
  padding:10px;background:#fff;border:1px solid rgba(20,30,43,.08);border-radius:18px;
  box-shadow:0 2px 6px rgba(20,30,43,.06),0 24px 60px rgba(20,30,43,.16);color:var(--sn-c-ink,#141E2B);}
.sn-nav-pop[hidden]{display:none;}
.sn-hdr .sn-nav-pop a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;color:var(--sn-c-ink,#141E2B);
  font:500 .97rem/1.3 var(--font-body,'DM Sans',system-ui,sans-serif);text-decoration:none;white-space:nowrap;}
.sn-hdr .sn-nav-pop a:hover{background:var(--sn-c-surface-alt,#F3EADF);color:var(--sn-c-ink,#141E2B);}
.sn-hdr .sn-nav-pop a[aria-current="page"]{color:var(--sn-c-accent-text,#A5381F);font-weight:600;}
.sn-hdr .sn-nav-pop a:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:-3px;}
/* The Subjects panel: every subject page, by level. Anchored to the bar, not to its button. */
.sn-nav-mega{top:calc(100% - 4px);width:min(980px,calc(100vw - 32px));padding:clamp(20px,2.4vw,30px);}
.sn-mega-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 24px;}
.sn-mega-h{margin:0 0 4px;padding:0 14px;font:600 .8125rem/1.4 var(--font-body,'DM Sans',system-ui,sans-serif);letter-spacing:.02em;
  color:var(--sn-c-teal-ink,#146055);}
.sn-mega-h:not(:first-child){margin-top:16px;}
.sn-mega-list{list-style:none;margin:0;padding:0;}
.sn-hdr .sn-nav-mega .sn-mega-list a{min-height:40px;font-size:.95rem;white-space:normal;}
.sn-mega-foot{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(20,30,43,.08);}
.sn-hdr .sn-nav-mega .sn-mega-foot a{font-weight:600;background:var(--sn-c-ground,#FBF6F0);border-radius:999px;padding:0 18px;}
.sn-hdr .sn-nav-mega .sn-mega-foot a::after{content:"\2192";margin-left:8px;}

/* ── Right-hand cluster ── */
.sn-hdr-search{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:0 12px;
  border:1px solid rgba(20,30,43,.16);border-radius:999px;background:transparent;color:var(--hdr-ink);cursor:pointer;
  font:500 .94rem/1 var(--font-body,'DM Sans',system-ui,sans-serif);transition:background-color .2s ease,border-color .2s ease;}
.sn-hdr-search[hidden]{display:none;}
.sn-hdr-search:hover{background:var(--hdr-hover);}
.sn-hdr-search svg{width:18px;height:18px;flex:none;}
.sn-hdr-kbd{font:600 .72rem/1 var(--font-body,'DM Sans',system-ui,sans-serif);padding:4px 6px;border-radius:6px;border:1px solid rgba(20,30,43,.16);opacity:.8;}
.sn-hdr:is(.sn-hdr-hero,.sn-hdr-navy) .sn-hdr-search,.sn-hdr:is(.sn-hdr-hero,.sn-hdr-navy) .sn-hdr-kbd{border-color:rgba(255,255,255,.28);}
.sn-hdr .nav-right{flex:none;display:flex;align-items:center;gap:6px;}
.sn-hdr .sn-hdr-login{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;color:var(--hdr-ink);
  font:500 .97rem/1.2 var(--font-body,'DM Sans',system-ui,sans-serif);text-decoration:none;white-space:nowrap;}
.sn-hdr .sn-hdr-login:hover{background:var(--hdr-hover);color:var(--hdr-ink);}
.sn-hdr .sn-hdr-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:999px;
  background:var(--sn-c-accent-fill,#C0432A);color:#fff!important;font:600 .97rem/1.2 var(--font-body,'DM Sans',system-ui,sans-serif);
  text-decoration:none;white-space:nowrap;transition:background-color .2s ease,transform .2s ease;}
.sn-hdr .sn-hdr-cta:hover{background:var(--sn-c-accent-hover,#A5381F);filter:none;}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.sn-hdr .sn-hdr-cta:hover{transform:translateY(-1px);}}
/* Signed in, index.html puts a greeting and a Log Out button in .nav-right; keep them legible on navy. */
.sn-hdr:is(.sn-hdr-hero,.sn-hdr-navy) .nav-right > span{color:var(--hdr-ink)!important;}
.sn-hdr:is(.sn-hdr-hero,.sn-hdr-navy) .nav-right .btn{color:#fff!important;border-color:rgba(255,255,255,.55)!important;background:transparent!important;}

/* ── Menu button ── */
.sn-hdr-burger{display:none;flex:none;width:44px;height:44px;flex-direction:column;align-items:center;justify-content:center;padding:0;
  background:none;border:1px solid rgba(20,30,43,.18);border-radius:999px;cursor:pointer;color:var(--hdr-ink);}
.sn-hdr:is(.sn-hdr-hero,.sn-hdr-navy) .sn-hdr-burger{border-color:rgba(255,255,255,.3);}
.sn-hdr-burger .sn-burger-bar{display:block;width:18px;height:2px;background:currentColor;border-radius:2px;transition:transform .18s ease,opacity .18s ease;}
.sn-hdr-burger .sn-burger-bar+.sn-burger-bar{margin-top:4px;}

/* ── Breakpoints. 1180px: the six items, search, Sign in and the pill measure ~1100px with gutters. ── */
@media (max-width:1279px){.sn-hdr-search-t,.sn-hdr-kbd{display:none;}.sn-hdr-search{padding:0;width:44px;justify-content:center;}}
@media (max-width:1180px){
  .sn-hdr-nav{display:none!important;}
  .sn-hdr .nav-right .sn-hdr-login{display:none;}
  .sn-hdr-burger{display:flex;}
  .sn-hdr .sn-hdr-in{justify-content:space-between;}
  .sn-hdr .sn-hdr-logo{margin-right:auto;}
}
@media (max-width:560px){
  .sn-hdr{--hdr-h:64px;}
  .sn-hdr .sn-hdr-in{gap:8px;padding:0 12px;}
  .sn-hdr .sn-hdr-logo{font-size:1.35rem;}
  .sn-hdr .sn-hdr-cta{min-height:44px;padding:0 14px;font-size:.9rem;}
}
@media (max-width:359px){.sn-hdr .sn-hdr-search{display:none;}}
/* ── Enlarged text (1 Dec 2026 audit, WCAG 1.4.4 and 1.4.10). The breakpoints above are in px, so at
   200% text the bar keeps the layout for its width while every label doubles. Rather than overflow,
   the bar wraps: the nav onto more rows, the right-hand cluster and the menu button onto a second row,
   and the pill's own label onto two lines. At normal text everything fits one row, so this changes
   nothing there. ── */
.sn-hdr .sn-hdr-in{flex-wrap:wrap;row-gap:6px;}
.sn-hdr .sn-hdr-nav{flex-wrap:wrap;}
.sn-hdr .sn-hdr-logo{max-width:100%;}
.sn-hdr .nav-right{flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%;}
.sn-hdr .sn-hdr-cta{white-space:normal;text-align:center;max-width:100%;}
@media (min-width:1181px){.sn-menu{display:none!important;}}

/* ── Full-screen menu (phones and tablets). Navy, large type, accordions; a modal with a focus trap. ── */
/* Above the consent banner (z-index 9999): the menu is a modal the visitor just opened. */
.sn-menu{position:fixed;inset:0;z-index:10050;background:var(--sn-c-ink,#141E2B);}
.sn-menu[hidden]{display:none;}
.sn-menu-panel{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;
  padding:10px clamp(16px,5vw,40px) calc(32px + env(safe-area-inset-bottom,0px));background:var(--sn-c-ink,#141E2B);color:#F4EFE8;
  font-family:var(--font-body,'DM Sans',system-ui,sans-serif);}
.sn-menu-head{display:flex;align-items:center;justify-content:space-between;min-height:56px;margin-bottom:8px;}
.sn-menu-head .sn-hdr-logo{display:inline-flex;align-items:center;min-height:44px;}
.sn-menu-head .sn-hdr-logo span{color:var(--cream,#EDE7DD);}
.sn-menu-close{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:none;cursor:pointer;
  border:1px solid rgba(255,255,255,.3);border-radius:999px;color:#fff;font-size:1.4rem;line-height:1;}
.sn-menu a:not(.sn-hdr-logo),.sn-menu .sn-menu-acc-btn{display:flex;align-items:center;min-height:48px;padding:6px 4px;border-radius:0;
  color:#F4EFE8;text-decoration:none;font:500 1.06rem/1.3 var(--font-body,'DM Sans',system-ui,sans-serif);}
.sn-menu .sn-menu-top{font:600 clamp(1.5rem,6vw,1.9rem)/1.2 var(--font-display,'Fraunces',Georgia,serif);letter-spacing:-.01em;
  min-height:56px;border-bottom:1px solid rgba(237,231,221,.14);color:#fff;}
.sn-menu .sn-menu-acc-btn{width:100%;background:none;border:0;border-bottom:1px solid rgba(237,231,221,.14);cursor:pointer;
  justify-content:space-between;text-align:left;}
.sn-menu .sn-menu-acc-btn::after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);margin-right:8px;transition:transform .2s ease;}
.sn-menu .sn-menu-acc-btn[aria-expanded="true"]::after{transform:rotate(-135deg);}
.sn-menu a:not(.sn-hdr-logo):hover,.sn-menu .sn-menu-acc-btn:hover{color:#FFD9A0;}
.sn-menu :where(a,button):focus-visible{outline:3px solid var(--sn-c-focus-on-dark,#FFD9A0);outline-offset:2px;}
.sn-menu-acc-panel{padding:8px 0 14px;}
.sn-menu-acc-panel[hidden]{display:none;}
.sn-menu-acc-panel a:not(.sn-hdr-logo){min-height:44px;padding-left:12px;color:rgba(244,239,232,.9);}
.sn-menu-h{margin:12px 0 2px;padding:0 12px;font:600 .8125rem/1.3 var(--font-body,'DM Sans',system-ui,sans-serif);letter-spacing:.02em;color:var(--sn-c-mint,#5CC3B2);}
.sn-menu-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 20px;}
.sn-menu-actions{display:grid;gap:10px;margin:14px 0 10px;}
.sn-menu a.sn-menu-cta{justify-content:center;min-height:52px;border-radius:999px;background:var(--sn-c-accent-fill,#C0432A);color:#fff;font-weight:600;}
.sn-menu a.sn-menu-cta:hover{background:var(--sn-c-accent-hover,#A5381F);color:#fff;}
.sn-menu .sn-menu-search{display:flex;align-items:center;gap:10px;min-height:52px;width:100%;padding:0 18px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.06);color:#F4EFE8;font:500 1rem/1 var(--font-body,'DM Sans',system-ui,sans-serif);}
.sn-menu .sn-menu-search[hidden]{display:none;}
.sn-menu .sn-menu-search svg{width:18px;height:18px;}
.sn-menu-sep{border:0;border-top:1px solid rgba(237,231,221,.14);margin:18px 0 6px;}
.sn-menu-foot{display:flex;flex-wrap:wrap;gap:0 18px;}
.sn-menu-foot a:not(.sn-hdr-logo){font-size:.97rem;color:rgba(244,239,232,.86);}
body.sn-menu-open{overflow:hidden;}
/* At the end of a page the footer is the navigation. Once the footer's top has passed under the bar, the
   bar slides up out of the way (sn-hdr-ftr, set by the script at the end of this file), so it never sits
   across the footer's links. Before this, at every phone width, the bar's bottom edge cut the footer's
   first link row ("About", "Become a tutor") at the resting end-of-page position, leaving ~14px of each
   44px target uncovered: axe target-size, on every page. It is also visibility:hidden once it has slid
   (a bar merely translated off the top still sat over a link straddling the top edge). The script brings
   it back as soon as the footer drops below it, and never hides it while the menu is open. */
.sn-hdr.sn-hdr-ftr{transform:translateY(-100%);visibility:hidden;box-shadow:none;
  transition:background-color .3s ease,border-color .3s ease,box-shadow .3s ease,transform .25s ease,visibility 0s linear .25s;}
@media (prefers-reduced-motion:reduce){
  .sn-hdr,.sn-hdr .sn-hdr-cta,.sn-hdr-burger .sn-burger-bar,.sn-hdr .sn-hdr-nav .sn-nav-trigger::after,.sn-menu .sn-menu-acc-btn::after{transition:none;}
}


/* ════════ HOMEPAGE v2 (v2-home, 28 Nov 2026) ════════
   The story in docs/redesign-2026/VISUAL-V2.md, sections 1-11, built to mock-ups m1-m4 and m6.
   Written up in docs/redesign-2026/v2/home/README.md, with every hook that had to survive.
   - Colours read the site tokens through --hv-* (the literal after each comma is only a fallback).
   - Shared v2 classes (.v2-band, .v2-wrap, .v2-title, .v2-btn, .v2-media ...) come from v2-system's
     partials/site-v2.css. (The zero-specificity :where() stand-in that sat here until v2-system
     merged was deleted at the redesign-2 integration; computed styles and geometry of every #p-home
     element were compared at 390 and 1440 with and without it, 0 differences.)
   - Motion: data-reveal / data-reveal-stagger / data-parallax are read by the shared motion
     library. Nothing on this page is hidden unless that library hides it (below the fold only),
     so without it every section is simply visible. The hero's own entrance is CSS only, and moves
     the words without ever hiding them (LCP). */
#p-home{
  --hv-navy:var(--navy,#141E2B);--hv-navy-2:var(--navy2,#1F2B3B);
  --hv-cream:var(--cream,#FBF6F0);--hv-white:var(--nl-card,#FFFCF8);--hv-sand:var(--nl-tint,#F3EADF);
  --hv-teal-tint:var(--sn-c-teal-tint,#E9F0EC);
  --hv-ink:var(--navy,#141E2B);--hv-ink-soft:var(--ink2,#3D4652);--hv-muted:var(--nl-ink-muted,#4A5360);
  --hv-line:var(--nl-line,#D9CFC0);--hv-hair:var(--nl-line-hair,#EDE3D6);
  --hv-flame:var(--flame,#E85D3A);--hv-flame-fill:var(--btn-primary-bg,#C0432A);--hv-flame-hover:var(--flame-ink,#A5381F);
  --hv-flame-ink:var(--nl-flame-link,#A5381F);
  --hv-teal:var(--teal,#1A7A6D);--hv-teal-ink:var(--sn-c-teal-ink,#146055);--hv-mint:var(--nl-mint,#5CC3B2);
  --hv-on-dark:var(--sn-c-on-dark,#EDE7DD);--hv-on-dark-soft:var(--sn-c-on-dark-soft,#C9CFD6);
  --hv-peach:var(--sun-light,#FFD080);
  --hv-focus:var(--focus-ring-dark,#141E2B);--hv-focus-dark:var(--focus-ring-light,#FFD9A0);
  --hv-display:var(--font-display,'Fraunces',Georgia,serif);--hv-body:var(--font-body,'DM Sans',Arial,sans-serif);
  --hv-ease:cubic-bezier(.2,.7,.2,1);
  --hv-y:clamp(72px,10vw,140px);
  --hv-r-media:20px;--hv-r-card:14px;
  --hv-shadow-float:0 2px 6px rgba(20,30,43,.10),0 24px 60px rgba(20,30,43,.28);
  position:relative;overflow-x:clip;
}
/* The SPA's view fade starts every view at opacity 0. On the homepage that put the hero, and so the
   LCP element, behind a 600ms fade on every first visit. The homepage arrives painted. */
#p-home.page.active{animation:none;}

/* ── shared bits of this page ──────────────────────────────────────────────────────────────── */
#p-home .hv-sec{font-family:var(--hv-body);color:var(--hv-ink);}
#p-home .hv-sec p{margin:0;}
#p-home .hv-sec h3{font-family:var(--hv-display);font-weight:600;font-size:1.3rem;line-height:1.25;margin:0;color:inherit;}
#p-home .hv-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin-bottom:clamp(28px,4vw,52px);}
#p-home .hv-head .v2-lede{margin-top:14px;color:var(--hv-ink-soft);max-width:52ch;}
#p-home .hv-link{display:inline-block;padding-block:11px;line-height:22px;color:var(--hv-flame-ink);font-weight:600;text-decoration:none;}
#p-home .hv-link:hover{text-decoration:underline;text-underline-offset:3px;}
#p-home .hv-label{display:inline-block;font-size:.875rem;font-weight:600;color:var(--hv-teal-ink);}
#p-home .hv-sec a:focus-visible,#p-home .hv-sec button:focus-visible,#p-home .hv-sec input:focus-visible,#p-home .hv-sec summary:focus-visible,#p-home .hv-sec [tabindex]:focus-visible{outline:3px solid var(--hv-focus);outline-offset:3px;border-radius:6px;}
#p-home .v2-band--navy a:focus-visible,#p-home .v2-band--navy button:focus-visible,#p-home .v2-band--navy [tabindex]:focus-visible,#p-home .hero a:focus-visible{outline-color:var(--hv-focus-dark);}
#p-home .hv-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:center;}
@media(max-width:899px){#p-home .hv-split{grid-template-columns:minmax(0,1fr);}}
#p-home .v2-media > picture{display:block;width:100%;height:100%;}
#p-home .hv-media{box-shadow:none;}
#p-home .hv-media img{transition:transform 1.2s var(--hv-ease);}

/* ── 1. HERO (m1 / m6, reworked for the 1 Dec 2026 audit, sections 3 and 7) ─────────────────────
   Navy split hero. h1 "Find a trusted online tutor"; the brand line "Your session, sorted." sits
   under it as its own paragraph, OUTSIDE the h1; then the one-line intro. The original photograph
   (img/story/hero-student-laptop, the student at a kitchen table with a laptop and notebook) is ONE
   <img> with one srcset at every width, positioned by CSS only:
     - from 900px it is the right-hand panel, bled to the screen edge, with the matcher overlapping
       only its left edge (the plant), so the student, the notebook and the laptop all stay in view;
     - below 900px it sits immediately BELOW the matcher, before "Meet some of our tutors" (the
       measured decision, docs/audit-2026-12-01/home/README.md).
   Nothing is art-directed away any more, so crossing the breakpoint never swaps the source and
   there is no blank panel while a new file loads; the frame's navy ground shows only before the
   first byte. The matcher has no entrance of any kind (opaque from first paint). */
#p-home .hero{background:radial-gradient(90% 70% at 85% 10%,var(--hv-navy-2) 0%,transparent 62%),var(--hv-navy)!important;
  padding:calc(82px + clamp(28px,4vw,56px)) 0 clamp(56px,7vw,96px);min-height:0;display:block;overflow:visible;animation:none!important;}
#p-home .hero::before,#p-home .hero::after{content:none;display:none;}
#p-home .hv-hero{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);grid-template-areas:"top stage" "foot stage";column-gap:clamp(28px,4vw,56px);align-items:center;}
#p-home .hv-hero-top{grid-area:top;align-self:end;}
#p-home .hv-hero-foot{grid-area:foot;align-self:start;}
#p-home .hv-hero-stage{grid-area:stage;min-width:0;}
#p-home .hero h1.hv-h1{font-family:var(--hv-display);font-weight:500;color:#fff;font-size:clamp(2.8rem,5.2vw,4.6rem);line-height:1.02;letter-spacing:-.02em;margin:0 0 14px;opacity:1;transform:none;animation:none;}
#p-home .hero h1.hv-h1 em{font-style:italic;font-weight:400;color:#fff;}
#p-home .hv-brand{margin:0 0 22px;font-family:var(--hv-display);font-style:italic;font-weight:400;font-size:clamp(1.5rem,2.6vw,2.4rem);line-height:1.2;letter-spacing:-.01em;color:var(--hv-peach);}
#p-home .hv-hero-lede{color:var(--hv-on-dark);max-width:30ch;font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);line-height:1.55;margin:0;}
#p-home .hv-ticks{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:10px;}
#p-home .hv-ticks li{display:flex;align-items:flex-start;gap:10px;color:var(--hv-on-dark);font-size:.98rem;line-height:1.45;}
#p-home .hv-ticks .sn-i{flex:none;width:18px;height:18px;margin-top:2px;color:var(--hv-mint);}
#p-home .hv-hero-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;margin-top:22px;}
#p-home .hv-hero-acts .hv-link,#p-home .hv-alt .hv-link{color:#fff;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.5);transition:text-decoration-color .15s ease;}
#p-home .hv-hero-acts .hv-link:hover,#p-home .hv-alt .hv-link:hover{text-decoration-color:#fff;}
#p-home #snWhatsApp{text-align:left!important;margin-top:16px!important;}
#p-home #snWhatsApp:empty{display:none;}
/* the direct route into browsing, right under the matcher */
#p-home .hv-alt{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;margin:14px 0 0;color:var(--hv-on-dark-soft);font-size:.98rem;}
#p-home .hv-alt .hv-link{font-weight:600;}
/* the photo and the card share one grid row, so a taller form (details opened, guardian box, step 2)
   grows the stage instead of spilling out of it */
#p-home .hv-stage{display:grid;grid-template-columns:minmax(360px,440px) minmax(0,1fr);align-items:center;
  margin-right:calc(-1 * (var(--v2-gutter,40px) + max(0px,(100vw - 1280px) / 2)));}
#p-home .hv-hero-photo{grid-column:2;grid-row:1;aspect-ratio:auto;height:min(640px,74vh);min-height:500px;margin-left:calc(-1 * clamp(64px,8vw,120px));
  border-radius:24px 0 0 24px;background:var(--hv-navy-2);}
#p-home .hv-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:72% 48%;}
#p-home .hv-hero-form{grid-column:1;grid-row:1;position:relative;z-index:2;padding-block:24px;min-width:0;}
#p-home #getMatched{max-width:none!important;margin:0!important;padding:24px 24px 18px!important;border-radius:22px!important;box-shadow:var(--hv-shadow-float)!important;background:#fff!important;opacity:1;}
#p-home #getMatched > div:first-child{font-size:1.3rem!important;font-weight:500!important;margin-bottom:14px!important;line-height:1.25;}
#p-home #getMatched .lead-l{font-size:.8rem;color:var(--hv-ink-soft);margin-bottom:5px;}
#p-home #getMatched .lead-f{min-height:46px;padding:11px 10px;font-size:16px;border-radius:12px;border-color:var(--hv-line);background:var(--hv-white);transition:border-color .15s ease,box-shadow .15s ease;}
#p-home #getMatched textarea.lead-f{min-height:72px;}
#p-home #getMatched .gm-more>summary{min-height:44px;}
#p-home #getMatched #leadGuardianBox label{min-height:44px;}
#p-home #getMatched .gm-note{font-size:.8rem;line-height:1.45;color:var(--hv-muted);margin-top:8px;}
#p-home #getMatched button[type=submit],#p-home #getMatched .gm-continue{min-height:52px;border-radius:999px!important;font-size:1.02rem!important;background:var(--hv-flame-fill);transition:transform .15s var(--hv-ease),background-color .15s ease;}
#p-home #getMatched button[type=submit]:hover,#p-home #getMatched .gm-continue:hover{background:var(--hv-flame-hover);transform:translateY(-1px);}
#p-home #getMatched button[type=submit]:active,#p-home #getMatched .gm-continue:active{transform:translateY(0);}
@media(max-width:1099px) and (min-width:900px){
  #p-home .hv-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);}
  #p-home .hv-stage{grid-template-columns:minmax(340px,400px) minmax(0,1fr);}
  #p-home .hv-hero-photo{height:560px;min-height:0;}
}
@media(max-width:899px){
  #p-home .hero{padding-top:78px;padding-bottom:40px;}
  #p-home .hv-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "stage" "foot";row-gap:0;}
  #p-home .hv-hero-top{text-align:center;}
  #p-home .hero h1.hv-h1{font-size:clamp(2.25rem,9.6vw,2.9rem);margin-bottom:6px;}
  #p-home .hv-brand{font-size:1.3rem;margin-bottom:8px;}
  #p-home .hv-hero-lede{margin-inline:auto;font-size:1.0625rem;line-height:1.5;max-width:32ch;}
  #p-home .hv-stage{grid-template-columns:minmax(0,1fr);margin-right:0;}
  #p-home .hv-hero-form{grid-row:1;padding-block:6px 0;}
  /* the photo, immediately below the matcher, before the tutors (option B, measured: README) */
  #p-home .hv-hero-photo{grid-column:1;grid-row:2;margin:24px 0 0;height:auto;min-height:0;aspect-ratio:4 / 3;border-radius:20px;}
  #p-home .hv-hero-photo img{object-position:50% 58%;}
  #p-home .hv-alt{justify-content:center;margin-top:2px;}
  #p-home .hv-alt .hv-link{padding-block:10px;}
  #p-home #getMatched{padding:18px 16px 14px!important;border-radius:20px!important;}
  #p-home #getMatched > div:first-child{font-size:1.15rem!important;margin-bottom:12px!important;}
  #p-home .hv-hero-foot{padding-top:26px;}
  #p-home .hv-ticks{margin-top:0;}
}
/* Hero entrance: the headline, then the line under it, rise once, transform only. Never invisible,
   so the LCP paint is not delayed. The MATCHER does not move or fade at all. */
@media(prefers-reduced-motion:no-preference){
  #p-home .hero h1.hv-h1{animation:hvRise .7s var(--hv-ease) both;}
  #p-home .hv-brand,#p-home .hv-hero-lede{animation:hvRise .7s var(--hv-ease) 80ms both;}
}
@keyframes hvRise{from{transform:translateY(.28em);}to{transform:none;}}

/* classroom preview host: hidden until the d1-content block is baked into it */
#p-home .hv-class:not(:has(figure)){display:none;}
#p-home .hv-class .cp{margin-inline:auto;}

/* example shortlist under "Matching that reads your words" (illustration, subordinate) */
#p-home .hv-sl-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,80px);align-items:start;margin-top:clamp(40px,6vw,72px);padding-top:clamp(28px,4vw,48px);border-top:1px solid var(--hv-hair);}
#p-home .hv-sl-copy h3{margin-bottom:12px;}
#p-home .hv-sl-copy p{color:var(--hv-ink-soft);line-height:1.6;max-width:52ch;}
#p-home .hv-sl-copy p + p{margin-top:12px;}
#p-home .hv-sl{margin:0;max-width:460px;}
#p-home .hv-sl .hv-sl-ill{font-weight:400;color:var(--hv-muted);}
#p-home .hv-sl-card{margin-top:10px;border:1.5px dashed var(--hv-line);border-radius:var(--hv-r-card);padding:16px;background:var(--hv-white);font-size:.9rem;}
#p-home .hv-sl-top{display:flex;align-items:center;gap:10px;}
#p-home .hv-sl-n{flex:none;width:24px;height:24px;border-radius:50%;background:var(--hv-sand);color:var(--hv-ink);font-weight:700;font-size:.8rem;display:flex;align-items:center;justify-content:center;}
#p-home .hv-sl-av{flex:none;width:40px;height:40px;border-radius:50%;background:var(--hv-sand);border:1.5px dashed var(--hv-line);}
#p-home .hv-sl-who{flex:1;min-width:0;display:flex;flex-direction:column;}
#p-home .hv-sl-why{color:var(--hv-teal-ink);font-weight:600;font-size:.85rem;}
#p-home .hv-sl-price{white-space:nowrap;}
#p-home .hv-sl-facts{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px;color:var(--hv-ink-soft);line-height:1.45;}
#p-home .hv-sl-facts span{display:inline-block;min-width:92px;font-weight:600;color:var(--hv-ink);}
@media(max-width:899px){#p-home .hv-sl-row{grid-template-columns:minmax(0,1fr);}}
@media(max-width:420px){#p-home .hv-sl-facts span{display:block;min-width:0;}}

/* launch-offer strip: secondary, on the pricing band's cream straight after the price (1 Dec audit) */
#p-home .sn-home-offer{background:var(--hv-cream);}
#p-home .sn-home-offer:not(:empty){padding-bottom:clamp(40px,6vw,72px);margin-top:calc(-1 * clamp(20px,4vw,56px));}
#p-home .sn-ho-in{margin:0 auto;transform:none;}

/* ── 2. MEET THE TUTORS: the renderer's photo-first cards, as a rail on phones ─────────────── */
#p-home .hv-tutors .section{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,40px);}
#p-home .hv-tutors #filterBar{margin-bottom:20px;}
#p-home .hv-tutors #filterBar .chip{min-height:44px;}
#p-home .hv-tutors .th-grid{gap:clamp(16px,2vw,28px);}
#p-home .hv-tutors .th-card{border-radius:var(--hv-r-media);transition:transform .25s var(--hv-ease),box-shadow .25s ease;}
@media(hover:hover){#p-home .hv-tutors .th-card:hover{transform:translateY(-2px);}}
#p-home #browseAllBtn{margin-top:28px!important;}
#p-home #browseAllBtn .btn{border-radius:999px!important;min-height:48px;}
#p-home .hv-tutors .sn-home-proof{margin-top:clamp(36px,5vw,56px);padding-top:clamp(28px,4vw,40px);border-top:1px solid var(--hv-hair);}
#p-home .hv-tutors .stats-figures{margin:0 0 18px;}
@media(max-width:767px){
  #p-home .hv-tutors .th-grid{scroll-padding-inline:16px;}
}

/* ── 3. HOW IT WORKS (m2): steps left, the product on the right, highlighted as you scroll ── */
#p-home .hv-steps{list-style:none;margin:0;padding:0;}
#p-home .hv-step{position:relative;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,4vw,64px);align-items:start;padding-block:28px;border-top:1px solid var(--hv-hair);}
#p-home .hv-step-txt{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:22px;align-items:start;align-content:start;}
#p-home .hv-step-n{grid-row:1 / span 2;font-family:var(--hv-display);font-size:clamp(2.6rem,4.4vw,3.6rem);line-height:.9;font-weight:400;color:var(--hv-teal);font-variant-numeric:lining-nums;transition:color .3s ease;}
#p-home .hv-step-btn{display:block;width:100%;min-height:44px;padding:4px 0;margin:0;border:0;background:none;font:inherit;font-family:var(--hv-display);font-weight:600;font-size:clamp(1.2rem,1rem + .6vw,1.45rem);line-height:1.25;color:var(--hv-ink);text-align:left;cursor:pointer;}
#p-home .hv-step-txt p{margin-top:6px;color:var(--hv-ink-soft);font-size:1.0625rem;line-height:1.6;max-width:46ch;}
#p-home .hv-step-demo .hm-demo-note{margin-top:10px;font-size:.875rem;color:var(--hv-muted);}
#p-home .hv-step-demo .hm-demo-note a{color:var(--hv-flame-ink);font-weight:600;}
#p-home .hm-demo{min-height:300px;}
/* desktop, with the script: one sticky product frame, swapped as each step crosses the middle */
@media(min-width:980px){
  #p-home .hv-how.hv-stack-on .hv-steps{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);column-gap:clamp(40px,6vw,96px);}
  #p-home .hv-how.hv-stack-on .hv-step{display:contents;}
  #p-home .hv-how.hv-stack-on .hv-step-txt{grid-column:1;min-height:clamp(220px,34vh,320px);padding:22px 0 22px 26px;border-left:3px solid var(--hv-hair);transition:border-color .35s ease;}
  #p-home .hv-how.hv-stack-on .hv-step:nth-child(1) .hv-step-txt{grid-row:1}
  #p-home .hv-how.hv-stack-on .hv-step:nth-child(2) .hv-step-txt{grid-row:2}
  #p-home .hv-how.hv-stack-on .hv-step:nth-child(3) .hv-step-txt{grid-row:3}
  #p-home .hv-how.hv-stack-on .hv-step:nth-child(4) .hv-step-txt{grid-row:4}
  #p-home .hv-how.hv-stack-on .hv-step:nth-child(5) .hv-step-txt{grid-row:5}
  #p-home .hv-how.hv-stack-on .hv-step-demo{grid-column:2;grid-row:1 / span 5;align-self:start;position:sticky;top:120px;
    opacity:0;visibility:hidden;transform:translateY(16px) scale(.985);transition:opacity .45s var(--hv-ease),transform .55s var(--hv-ease),visibility 0s linear .45s;}
  #p-home .hv-how.hv-stack-on .hv-step.is-on .hv-step-demo{opacity:1;visibility:visible;transform:none;transition:opacity .45s var(--hv-ease),transform .55s var(--hv-ease),visibility 0s;}
  #p-home .hv-how.hv-stack-on .hv-step:not(.is-on) .hv-step-n{color:var(--hv-muted);}
  #p-home .hv-how.hv-stack-on .hv-step:not(.is-on) .hv-step-btn{color:var(--hv-muted);}
  #p-home .hv-how.hv-stack-on .hv-step.is-on .hv-step-txt{border-left-color:var(--hv-teal);}
  #p-home .hv-how.hv-stack-on .hm-demo{min-height:380px;}
}
/* phones and tablets: one swipeable card per step, each with its own example */
@media(max-width:979px){
  #p-home .hv-steps{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    margin-inline:calc(-1 * clamp(16px,4vw,40px));padding:4px clamp(16px,4vw,40px) 12px;scroll-padding-inline:clamp(16px,4vw,40px);}
  #p-home .hv-step{flex:0 0 min(86%,440px);display:flex;flex-direction:column;gap:18px;padding:22px 18px 18px;border:0;border-radius:var(--hv-r-media);background:var(--hv-white);scroll-snap-align:start;box-shadow:0 1px 2px rgba(20,30,43,.06);}
  #p-home .hv-step-n{font-size:2.4rem;grid-row:1;}
  #p-home .hv-step-txt{column-gap:14px;align-items:center;}
  #p-home .hv-step-txt p{grid-column:1 / -1;margin-top:10px;}
  #p-home .hm-demo{min-height:260px;}
  #p-home .hv-swipe{display:block;margin-top:6px;font-size:.875rem;color:var(--hv-muted);}
}
#p-home .hv-swipe{display:none;}
/* the static stand-ins for the product demo (same as phase 3; demo.js replaces them) */
#p-home .hm-fb{position:relative;background:var(--hv-white);border:1px solid var(--hv-line);border-radius:var(--hv-r-media);padding:clamp(18px,2.4vw,26px);font-size:.875rem;}
#p-home .hm-fb-tag{position:absolute;top:14px;right:14px;font-size:.875rem;font-weight:600;color:var(--hv-teal-ink);background:var(--hv-teal-tint);border-radius:999px;padding:2px 10px;}
#p-home .hm-fb-req{display:inline-block;max-width:80%;background:var(--hv-sand);border-radius:14px 14px 14px 4px;padding:10px 14px;font-size:1rem;margin-bottom:14px;}
#p-home .hm-fb-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
#p-home .hm-fb-list li{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--hv-hair);border-radius:12px;background:#fff;}
#p-home .hm-fb-av{flex:none;width:36px;height:36px;border-radius:50%;background:var(--hv-teal-tint);color:var(--hv-teal-ink);display:flex;align-items:center;justify-content:center;font-weight:700;}
#p-home .hm-fb-list b{display:block;font-size:.95rem;}
#p-home .hm-fb-list span{color:var(--hv-muted);}
#p-home .hm-fb-chip{display:inline-block;margin:8px 8px 0 0;padding:3px 10px;border-radius:999px;background:var(--hv-teal-tint);color:var(--hv-teal-ink);font-weight:600;}
#p-home .hm-fb-chip--soft{background:var(--hv-sand);color:var(--hv-ink-soft);}
#p-home .hm-fb-price{margin-top:14px;font-size:1rem;}
#p-home .hm-fb-price b{font-family:var(--hv-display);font-size:1.4rem;font-weight:600;}
#p-home .hm-fb-week{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:6px 0 14px;text-align:center;}
#p-home .hm-fb-week span{padding:8px 0;border-radius:8px;background:var(--hv-sand);color:var(--hv-muted);}
#p-home .hm-fb-week .hm-d{background:none;font-weight:600;color:var(--hv-ink-soft);padding:2px 0;}
#p-home .hm-fb-week .hm-on{background:var(--hv-teal);color:#fff;font-weight:600;}
#p-home .hm-fb-sum{border-top:1px solid var(--hv-hair);padding-top:12px;color:var(--hv-ink-soft);}
#p-home .hm-fb-msg{display:grid;gap:10px;margin-top:8px;}
#p-home .hm-fb-msg p{max-width:85%;padding:10px 14px;border-radius:14px;font-size:.95rem;}
#p-home .hm-fb-msg .hm-me{justify-self:end;background:var(--hv-navy);color:var(--hv-on-dark);border-bottom-right-radius:4px;}
#p-home .hm-fb-msg .hm-them{background:var(--hv-sand);border-bottom-left-radius:4px;}
#p-home .hm-fb-room{background:var(--hv-navy);color:var(--hv-on-dark);border-color:var(--hv-navy);}
#p-home .hm-fb-room .hm-fb-tag{background:rgba(255,255,255,.12);color:var(--hv-on-dark);}
#p-home .hm-fb-tiles{display:grid;grid-template-columns:1.6fr 1fr;gap:10px;margin-top:26px;}
#p-home .hm-fb-tiles span{display:flex;align-items:flex-end;min-height:150px;padding:10px;border-radius:12px;background:rgba(255,255,255,.08);font-weight:600;}

/* ── 4. MATCHING EXPLAINED: a typed request turning into what we do with it ─────────────────── */
#p-home .hv-match-copy .v2-lede{margin-top:18px;color:var(--hv-ink-soft);max-width:40ch;}
#p-home .hv-free{display:flex;gap:8px;align-items:flex-start;margin-top:18px;color:var(--hv-ink-soft);font-size:.9375rem;}
#p-home .hv-free:empty{display:none;}
#p-home .hv-free .sn-i{width:18px;height:18px;flex:none;margin-top:2px;color:var(--hv-teal);}
#p-home .hv-match-copy .v2-btn{margin-top:28px;}
#p-home .hv-type{margin:0;background:var(--hv-cream);border-radius:24px;padding:clamp(20px,3vw,36px);}
#p-home .hv-type-box{position:relative;margin:12px 0 22px;background:#fff;border:1px solid var(--hv-line);border-radius:16px;padding:18px 20px;box-shadow:0 1px 2px rgba(20,30,43,.05),0 12px 32px rgba(20,30,43,.08);}
#p-home .hv-type-q{position:relative;font-family:var(--hv-display);font-size:clamp(1.3rem,1rem + 1.1vw,1.8rem);line-height:1.3;}
#p-home .hv-type-q mark{background:none;color:inherit;background-image:linear-gradient(var(--hv-flame),var(--hv-flame));background-repeat:no-repeat;background-size:100% 3px;background-position:0 100%;padding-bottom:2px;transition:background-size .6s var(--hv-ease);}
#p-home .hv-type-q mark.hv-k2{background-image:linear-gradient(var(--hv-teal),var(--hv-teal));}
#p-home .hv-type-q mark.hv-k3{background-image:linear-gradient(var(--hv-mint),var(--hv-mint));}
#p-home .hv-type.hv-typing .hv-type-real{visibility:hidden;}
#p-home .hv-type.hv-typing mark{background-size:0 3px;}
#p-home .hv-type-ghost{position:absolute;inset:0;}
#p-home .hv-type-ghost::after{content:"";display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-.12em;background:var(--hv-flame);animation:hvCaret 1s steps(1) infinite;}
@keyframes hvCaret{50%{opacity:0;}}
#p-home .hv-reads{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
#p-home .hv-reads li{display:grid;grid-template-columns:minmax(0,10em) minmax(0,1fr);gap:4px 16px;align-items:baseline;background:#fff;border-radius:12px;padding:12px 16px;font-size:.98rem;line-height:1.5;color:var(--hv-ink-soft);}
#p-home .hv-reads b{color:var(--hv-ink);font-weight:600;}
#p-home .hv-type-note{margin-top:14px;font-size:.875rem;color:var(--hv-muted);}
@media(max-width:520px){#p-home .hv-reads li{grid-template-columns:1fr;}}

/* ── 5. PATHWAYS: large image tiles per learner ─────────────────────────────────────────────── */
#p-home .hv-paths{background:var(--hv-teal-tint);}
#p-home .hv-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2vw,28px);align-items:start;}
#p-home .hv-tile{position:relative;display:flex;flex-direction:column;gap:14px;}
#p-home .hv-tile--wide{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:center;background:var(--hv-navy);color:var(--hv-on-dark);border-radius:var(--hv-r-media);padding:14px;}
#p-home .hv-tile-media{border-radius:var(--hv-r-media);}
#p-home .hv-tile-media img{transition:transform .8s var(--hv-ease);}
@media(hover:hover){#p-home .hv-tile:hover .hv-tile-media img{transform:scale(1.035);}}
#p-home .hv-tile p{color:var(--hv-ink-soft);font-size:.98rem;line-height:1.55;}
#p-home .hv-tile-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 18px;}
#p-home .hv-tile-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--hv-ink);font-weight:600;text-decoration:none;}
#p-home .hv-tile-links a::after{content:"\2192";margin-left:6px;color:var(--hv-flame-ink);transition:transform .2s var(--hv-ease);}
#p-home .hv-tile--wide .hv-tile-links a::after{color:var(--hv-peach);}
#p-home .hv-tile-links a:hover::after{transform:translateX(3px);}
#p-home .hv-tile-links .hv-aside a{font-weight:500;color:var(--hv-ink-soft);}
#p-home .hv-tile--wide p{color:var(--hv-on-dark);}
#p-home .hv-tile--wide .hv-tile-links a{color:#fff;}
#p-home .hv-tile--wide h3{color:#fff;}
@media(max-width:1099px){#p-home .hv-tiles{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:699px){
  #p-home .hv-tiles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    margin-inline:calc(-1 * clamp(16px,4vw,40px));padding:4px clamp(16px,4vw,40px) 12px;scroll-padding-inline:clamp(16px,4vw,40px);gap:14px;}
  #p-home .hv-tile,#p-home .hv-tile--wide{flex:0 0 min(80%,360px);scroll-snap-align:start;}
  #p-home .hv-tile--wide{display:flex;flex-direction:column;align-items:stretch;}
  #p-home .hv-tile .v2-media--45{aspect-ratio:16/11;}
}

/* ── 6. TRUST (m3 lower): a photo, the vetting line, three checks with line icons ──────────── */
#p-home .hv-trust-top .v2-lede{margin-top:18px;color:var(--hv-ink-soft);max-width:46ch;}
#p-home .hv-trust-top .v2-btn{margin-top:26px;}
#p-home .hv-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,4vw,56px);margin-top:clamp(48px,7vw,88px);padding-top:clamp(32px,4vw,48px);border-top:1px solid var(--hv-line);}
#p-home .hv-check .hv-ico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;background:var(--hv-teal-tint);color:var(--hv-teal);margin-bottom:18px;}
#p-home .hv-check .hv-ico .sn-i{width:28px;height:28px;}
#p-home .hv-check h3{font-size:1.25rem;margin-bottom:8px;}
#p-home .hv-check p{color:var(--hv-ink-soft);font-size:.98rem;line-height:1.65;}
#p-home .hv-check a{color:var(--hv-flame-ink);font-weight:600;text-underline-offset:3px;}
@media(max-width:899px){#p-home .hv-checks{grid-template-columns:1fr;gap:28px;}#p-home .hv-check{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:16px;}#p-home .hv-check .hv-ico{grid-row:1 / span 2;margin:0;}}

/* ── 7. FAMILIES SAY (m3): a navy quote wall of the shared component's genuine quotes ───────── */
#p-home .hv-proof .v2-title{color:#fff;}
#p-home .hv-proof .hv-head p{margin-top:14px;color:var(--hv-on-dark-soft);max-width:56ch;}
#p-home .hv-proof .sn-trustchip{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:999px;border:1.5px solid rgba(255,255,255,.6);color:#fff;background:transparent;font-weight:600;text-decoration:none;}
#p-home .hv-proof .sn-trustchip span{color:inherit;}
#p-home .hv-proof .sn-trustchip:hover{background:#fff;color:var(--hv-navy);}
#p-home .hv-quotes.sn-proof-grid{display:block;columns:3 300px;column-gap:clamp(20px,3vw,40px);min-height:420px;}
#p-home .hv-quotes .sn-quote{position:relative;display:block;break-inside:avoid;max-width:none;margin:0 0 clamp(20px,3vw,40px);padding:0 0 clamp(20px,3vw,32px);background:transparent;border-radius:0;box-shadow:none;border-bottom:1px solid rgba(237,231,221,.16);}
#p-home .hv-quotes .sn-quote:hover{transform:none;box-shadow:none;}
#p-home .hv-quotes .sn-quote-body{font-family:var(--hv-display);font-style:italic;font-weight:400;font-size:1.15rem;line-height:1.5;color:#fff;}
#p-home .hv-quotes .sn-quote:first-child .sn-quote-body{font-size:clamp(1.4rem,1.1rem + 1vw,1.85rem);line-height:1.35;}
#p-home .hv-quotes .sn-quote-src{color:var(--hv-mint);font-size:.875rem;font-weight:600;}
#p-home .hv-quotes .sn-quote cite{color:var(--hv-on-dark);font-size:.875rem;}
#p-home .hv-quotes .sn-quote-about,#p-home .hv-quotes .sn-quote-when{color:var(--hv-on-dark-soft);}
#p-home .hv-quotes .sn-quote-more{color:var(--hv-peach);font-size:.875rem;min-height:44px;}
#p-home .hv-quotes .sn-quote-more:focus-visible{outline-color:var(--hv-focus-dark);}
/* No stars on this page, ever: the brief is genuine quotes with their real source label and nothing
   that reads as a rating. The component starts its cards at opacity 0 for its own reveal; here they
   start visible (the shared motion library owns reveals). */
#p-home .hv-quotes .sn-quote-stars,#p-home .hv-quotes .sn-quote-src svg{display:none!important;}
#p-home .hv-quotes .reveal-up{opacity:1!important;transform:none!important;}
@media(max-width:699px){
  #p-home .hv-quotes.sn-proof-grid{display:flex;flex-wrap:nowrap;justify-content:flex-start;columns:auto;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    margin-inline:calc(-1 * clamp(16px,4vw,40px));padding:4px clamp(16px,4vw,40px) 12px;scroll-padding-inline:clamp(16px,4vw,40px);min-height:300px;}
  #p-home .hv-quotes .sn-quote{flex:0 0 min(84%,380px);scroll-snap-align:start;margin:0;padding:22px;border:1px solid rgba(237,231,221,.18);border-radius:var(--hv-r-card);}
}

/* ── 8. FREE TOOLS AND RESOURCES ───────────────────────────────────────────────────────────── */
#p-home .hv-res-copy > p{margin-top:16px;color:var(--hv-ink-soft);max-width:44ch;}
#p-home .hv-tools{list-style:none;margin:22px 0 8px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px;}
#p-home .hv-tools li{border-top:1px solid var(--hv-hair);}
#p-home .hv-tools a{display:flex;align-items:center;justify-content:space-between;min-height:52px;color:var(--hv-ink);font-weight:600;text-decoration:none;}
#p-home .hv-tools a::after{content:"\2192";color:var(--hv-teal);transition:transform .2s var(--hv-ease);}
#p-home .hv-tools a:hover::after{transform:translateX(3px);}
#p-home .hv-res-more{display:flex;flex-wrap:wrap;gap:0 22px;margin-top:6px;}
#p-home .hv-res-more a{display:inline-flex;align-items:center;min-height:44px;color:var(--hv-teal-ink);font-weight:600;}
#p-home .hv-res-demo{background:var(--hv-teal-tint);border-radius:24px;padding:clamp(16px,2.4vw,28px);}
#p-home .hv-res-demo .hm-demo{min-height:320px;}
#p-home .hv-plan-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;margin:clamp(48px,7vw,88px) 0 20px;}
#p-home .hv-plan-head h3{font-size:clamp(1.4rem,1.1rem + 1vw,1.9rem);font-weight:400;}
#p-home .hv-prods{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px);}
#p-home .hv-prod{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:center;background:var(--hv-cream);border-radius:var(--hv-r-card);padding:16px;transition:transform .25s var(--hv-ease);}
@media(hover:hover){#p-home .hv-prod:hover{transform:translateY(-2px);}}
#p-home .hv-prod img{display:block;width:96px;height:auto;border-radius:4px;box-shadow:0 2px 4px rgba(20,30,43,.12),0 10px 24px rgba(20,30,43,.14);}
#p-home .hv-prod a{color:var(--hv-ink);font-family:var(--hv-display);font-weight:600;font-size:1.1rem;line-height:1.3;text-decoration:none;}
#p-home .hv-prod a::after{content:"";position:absolute;inset:0;}
#p-home .hv-prod a:hover{text-decoration:underline;text-underline-offset:3px;}
#p-home .hm-prod-meta{display:block;margin-top:4px;font-size:.875rem;color:var(--hv-muted);}
@media(max-width:899px){#p-home .hv-prods{grid-template-columns:1fr;}#p-home .hv-prod{grid-template-columns:64px minmax(0,1fr);}#p-home .hv-prod img{width:64px;}}
@media(max-width:420px){#p-home .hv-tools{grid-template-columns:1fr;}}

/* ── 9. PRICING (m4): £40 + £8 = £48 in giant figures ──────────────────────────────────────── */
#p-home .hv-price-in{text-align:center;}
#p-home .hv-price-in > .v2-lede{margin:18px auto 0;color:var(--hv-ink-soft);max-width:52ch;}
#p-home .hv-flow{margin:clamp(36px,5vw,64px) auto 0;max-width:980px;}
#p-home .hv-flow-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:clamp(8px,2vw,24px);margin-top:18px;}
#p-home .hv-fig-v{display:block;font-family:var(--hv-display);font-weight:400;font-size:clamp(3.2rem,9vw,6.4rem);line-height:1;letter-spacing:-.03em;color:var(--hv-ink);font-variant-numeric:lining-nums tabular-nums;}
#p-home .hv-fig--total .hv-fig-v{color:var(--hv-flame);}
#p-home .hv-fig-l{display:block;margin-top:12px;font-size:.9375rem;font-weight:600;color:var(--hv-ink-soft);}
#p-home .hv-fig--total .hv-fig-l{color:var(--hv-flame-ink);}
#p-home .hv-op{position:relative;display:flex;align-items:center;justify-content:center;width:clamp(28px,6vw,96px);height:clamp(3.2rem,9vw,6.4rem);font-family:var(--hv-display);font-size:clamp(1.4rem,3vw,2.2rem);color:var(--hv-muted);}
#p-home .hv-op::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid var(--hv-line);z-index:0;}
#p-home .hv-op span{position:relative;z-index:1;background:var(--hv-cream);padding:0 6px;}
#p-home .hv-slider{max-width:460px;margin:clamp(28px,4vw,44px) auto 0;text-align:left;}
#p-home .hv-slider label{display:block;font-weight:600;font-size:.9375rem;margin-bottom:4px;}
#p-home .hv-slider input[type=range]{width:100%;min-height:44px;accent-color:var(--hv-teal);}
#p-home .hv-slider p{font-size:.9375rem;color:var(--hv-muted);}
#p-home .hv-price-foot{margin-top:24px;color:var(--hv-ink-soft);}
@media(max-width:599px){#p-home .hv-op{width:22px;}#p-home .hv-op::before{display:none;}#p-home .hv-fig-l{font-size:.8125rem;}}

/* ── 10. FAQ: the existing accordion, with a picture beside it ─────────────────────────────── */
#p-home .hv-faq .hfaq-sec{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,96px);align-items:start;}
#p-home .hv-faq .hfaq-left{position:sticky;top:110px;}
#p-home .hv-faq .hfaq-left .v2-title{margin-bottom:16px;}
#p-home .hv-faq .hfaq-left .v2-media{margin-top:28px;}
#p-home .hv-faq .proc-cta{min-height:44px;}
#p-home .hv-faq .hfaq-item summary{min-height:44px;}
@media(max-width:899px){#p-home .hv-faq .hfaq-sec{grid-template-columns:1fr;gap:20px;}#p-home .hv-faq .hfaq-left{position:static;}#p-home .hv-faq .hfaq-left .v2-media{display:none;}}

/* ── 11. CLOSING BAND (m4): "Your session, sorted." on deep flame, with a photo ─────────────── */
#p-home .rf-wrap{margin:0;padding:clamp(64px,9vw,120px) 0;}
#p-home .rf-inner{max-width:1200px;text-align:left;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"copy media";gap:clamp(32px,6vw,88px);align-items:center;}
#p-home .rf-copy{grid-area:copy;}
#p-home .rf-media{grid-area:media;box-shadow:0 30px 60px rgba(0,0,0,.22);}
#p-home .rf-inner h2{font-size:clamp(2.4rem,5vw,4rem);margin:0 0 16px;}
#p-home .rf-lede{margin:0;max-width:40ch;font-size:1.125rem;}
#p-home .rf-cta{min-height:52px;}
@media(max-width:899px){#p-home .rf-inner{grid-template-columns:1fr;grid-template-areas:"copy" "media";text-align:center;}#p-home .rf-lede{margin-inline:auto;}}

/* ── PHONES (under 700px): a shorter page, every section kept (29 Nov 2026) ─────────────────
   The homepage measured 13.4k px tall at 390. Each change below is phone-only and removes repetition
   or spacing, never a section, a link or a claim: tighter band padding; the how-it-works product
   examples hidden (the five steps stay, still a swipe row); pathways as a two-column compact grid
   (every link kept, the one-line descriptions dropped, the two many-link tiles full width and
   text only); the illustrative trust and closing photos and
   the resources example hidden (the tool links stay); the FAQ behind one button (see .hfaq-toggle);
   and the closing band's h2 "Your session, sorted." visually hidden, since the hero's brand line says it on the
   same screen-scroll. It stays in the accessibility tree, so the band keeps its heading. */
#p-home .hfaq-toggle{display:none;}
@media(max-width:699px){
  #p-home .v2-band.hv-sec{padding-block:44px;}
  #p-home .rf-wrap.hv-sec{padding:44px 0;}
  #p-home .hv-head{margin-bottom:20px;}
  #p-home .hv-split{gap:24px;}
  #p-home .hv-how .hv-step-demo,#p-home .hv-how .hv-swipe{display:none;}
  #p-home .hv-how .hv-step{gap:0;}
  #p-home .hv-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row dense;gap:12px;overflow:visible;margin-inline:0;padding:0;}
  /* the two tiles with many links take the full row, text only, so their links wrap side by side */
  #p-home .hv-tile:has(.hv-tile-links li:nth-child(4)){grid-column:span 2;}
  #p-home .hv-tile:has(.hv-tile-links li:nth-child(4)) .hv-tile-media{display:none;}
  #p-home .hv-tile,#p-home .hv-tile--wide{flex:none;gap:8px;}
  #p-home .hv-tile--wide{grid-column:span 2;padding:12px;}
  #p-home .hv-tile .hv-tile-media{aspect-ratio:16/9;border-radius:14px;}
  #p-home .hv-tile p{display:none;}
  #p-home .hv-tile h3{font-size:1.0625rem;}
  #p-home .hv-tile-links{gap:0 10px;}
  #p-home .hv-tile-links a{font-size:.875rem;}
  #p-home .hv-tile-links a::after{display:none;}
  #p-home .hv-tile--wide .hv-tile-media{display:none;}
  #p-home .hv-trust-top .v2-media,#p-home .hv-res-demo,#p-home .rf-media{display:none;}
  #p-home .hv-checks{margin-top:32px;padding-top:24px;gap:20px;}
  #p-home .hv-plan-head{margin-top:32px;}
  #p-home .hv-reads{gap:8px;}
  #p-home .hv-reads li{padding:10px 14px;}
  #p-home .hv-tutors .sn-home-proof{margin-top:28px;padding-top:24px;}
  #p-home .hfaq-sec.hfaq-can .hfaq-toggle{display:inline-flex;justify-self:start;align-items:center;min-height:48px;padding:0 22px;border-radius:999px;border:1.5px solid var(--hv-ink);background:transparent;color:var(--hv-ink);font:inherit;font-weight:600;cursor:pointer;}
  #p-home .hfaq-sec.hfaq-can:not(.is-open) .hfaq-list{display:none;}
}
/* its own block: check-band-contrast reads any @-block that names rf-inner and also sets a colour */
@media(max-width:699px){
  #p-home .rf-inner h2{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
}

@media(prefers-reduced-motion:reduce){
  #p-home .hv-sec *,#p-home .hero *{transition:none!important;animation:none!important;}
  #p-home .hv-how.hv-stack-on .hv-step-demo{transform:none;}
}


        .lead-l{display:block;font-size:0.72rem;font-weight:600;color:var(--ink-soft);margin-bottom:3px;letter-spacing:0.01em;}
        .lead-f{width:100%;box-sizing:border-box;padding:9px 10px;border:1.5px solid var(--sand-dark);border-radius:9px;font-family:var(--font);font-size:0.88rem;background:#fff;color:var(--ink);}
        /* outline:none REMOVED 26 Oct 2026. At (0,2,0) it beat the shared :focus-visible ring at (0,1,0),
   so document order could not save it: a focused field reported focus-visible true, a computed
   outline-color, and outline-style:none. It governed 10 controls on the get-matched form - the
   one form the whole funnel depends on. The border-colour cue stays; it is now in addition to a
   real focus ring rather than instead of one. */
.lead-f:focus{border-color:var(--flame-ink);}
        /* Matcher field errors (1 Dec 2026 audit, WCAG 3.3.1 / 4.1.3): the message sits under its field
           and is tied to it by aria-describedby; aria-invalid drives the border. #B4232A on white is
           6.1:1, the same red as the onboarding form's own errors. */
        .lead-f[aria-invalid="true"]{border-color:#B4232A;}
        .gm-err{font-size:0.78rem;font-weight:600;color:#B4232A;margin-top:4px;line-height:1.35;}
        .trust-pill{font-size:0.8rem;font-weight:600;color:#fff;background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.22);padding:6px 12px;border-radius:20px;display:inline-flex;align-items:center;gap:6px;}
        /* Mint on navy, per the brand's icon rule. flex:none stops the tick shrinking when a pill
           wraps to two lines on narrow screens. If the sprite fails to inject the icon renders
           nothing and the pill still reads as a complete sentence — the claim never depends on it. */
        .trust-pill .sn-i{width:14px;height:14px;flex:none;color:#5CC3B2;}
        @media(max-width:359px){#getMatchedGrid,#gmRow2,#matchMore>div{grid-template-columns:1fr !important;}}
        /* two-step variant (inert without .gm-two) */
        #getMatched .gm-only2{display:none;}
        #getMatched.gm-two .gm-only2{display:block;}
        #getMatched.gm-two .gm-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:8px 8px 8px 12px;border-radius:12px;background:var(--sand);font-size:0.88rem;font-weight:600;color:var(--ink);}
        #getMatched.gm-two.gm-on1 .gm-s2,#getMatched.gm-two.gm-on2 .gm-s1{display:none !important;}
        #getMatched .gm-back{min-height:44px;padding:0 14px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease;}
        #getMatched .gm-back:hover{background:var(--ink);color:#fff;}
        @media(prefers-reduced-motion:no-preference){#getMatched.gm-two.gm-in > *{animation:gmStepIn .16s ease-out both;}}
        @keyframes gmStepIn{from{opacity:.35;transform:translateY(4px);}to{opacity:1;transform:none;}}
        .gm-more{margin-top:10px;}
        .gm-more>summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;cursor:pointer;list-style:none;font-size:0.84rem;font-weight:600;color:var(--flame-ink);border-radius:6px;}
        .gm-more>summary::-webkit-details-marker{display:none;}
        .gm-more>summary span{font-weight:400;color:var(--ink-muted);}
        .gm-more>summary::before{content:'+';display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:1.5px solid currentColor;font-size:0.8rem;line-height:1;}
        .gm-more[open]>summary::before{content:'\2212';}
      

  .hm-sec{
    --hm-ink:var(--sn-c-ink,#141E2B);--hm-ink-soft:var(--sn-c-ink-soft,#3D4652);--hm-muted:var(--sn-c-ink-muted,#4A5360);
    --hm-ground:var(--sn-c-ground,#FBF6F0);--hm-surface:var(--sn-c-surface,#FFFCF8);--hm-alt:var(--sn-c-surface-alt,#F3EADF);
    --hm-line:var(--sn-c-line,#D9CFC0);--hm-line-soft:var(--sn-c-line-soft,#EDE3D6);
    --hm-accent:var(--sn-c-accent,#E85D3A);--hm-accent-fill:var(--sn-c-accent-fill,#C0432A);--hm-accent-hover:var(--sn-c-accent-hover,#A5381F);
    --hm-accent-text:var(--sn-c-accent-text,#A5381F);--hm-accent-tint:var(--sn-c-accent-tint,#FAEDE5);
    --hm-teal:var(--sn-c-teal,#1A7A6D);--hm-teal-ink:var(--sn-c-teal-ink,#146055);--hm-teal-tint:var(--sn-c-teal-tint,#E5EAE3);
    --hm-on-dark:var(--sn-c-on-dark,#EDE7DD);--hm-on-dark-soft:var(--sn-c-on-dark-soft,rgba(237,231,221,.78));--hm-mint:var(--sn-c-mint,#5CC3B2);
    --hm-focus:var(--sn-c-focus,#141E2B);--hm-focus-dark:var(--sn-c-focus-on-dark,#FFD9A0);
    --hm-r-sm:var(--sn-radius-sm,8px);--hm-r-md:var(--sn-radius-md,14px);--hm-r-lg:var(--sn-radius-lg,22px);--hm-r-pill:var(--sn-radius-pill,999px);
    --hm-display:var(--font-display,'Fraunces',Georgia,serif);--hm-body:var(--font-body,'DM Sans',Arial,sans-serif);
    --hm-y:clamp(36px,5vw,72px);
    padding-block:var(--hm-y);color:var(--hm-ink);font-family:var(--hm-body);
  }
  .hm-in{max-width:1160px;margin:0 auto;padding-inline:clamp(16px,4vw,40px);}
  .hm-sec h2{font-family:var(--hm-display);font-weight:400;font-size:var(--sn-fs-2xl,clamp(1.875rem,1.35rem + 1.7vw,2.75rem));line-height:1.1;letter-spacing:var(--sn-track-display,-.015em);margin:0;color:inherit;}
  .hm-sec h3{font-family:var(--hm-display);font-weight:600;font-size:var(--sn-fs-lg,1.3125rem);line-height:1.25;margin:0;color:inherit;}
  .hm-sec p{margin:0;font-size:var(--sn-fs-base,1rem);line-height:var(--sn-lh-body,1.6);}
  .hm-lede{font-size:var(--sn-fs-md,1.125rem)!important;color:var(--hm-ink-soft);max-width:46ch;}
  .hm-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin-bottom:clamp(24px,3.2vw,40px);}
  .hm-head p{margin-top:12px;color:var(--hm-ink-soft);max-width:56ch;}
  .hm-link{display:inline-block;padding-block:11px;line-height:22px;color:var(--hm-accent-text);font-weight:600;text-decoration:none;}
  .hm-link:hover{text-decoration:underline;text-underline-offset:3px;}
  .hm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--sn-tap-btn,48px);padding:0 26px;border-radius:var(--hm-r-pill);
    background:var(--hm-accent-fill);color:#fff;font-weight:600;font-size:1rem;text-decoration:none;border:0;cursor:pointer;
    transition:background var(--sn-dur,200ms) ease;}
  .hm-btn:hover{background:var(--hm-accent-hover);color:#fff;}
  .hm-sec a:focus-visible,.hm-sec button:focus-visible,.hm-sec input:focus-visible,.hm-sec [tabindex]:focus-visible,.hm-sec summary:focus-visible{outline:3px solid var(--hm-focus);outline-offset:3px;border-radius:6px;}
  

.cp{margin:0;max-width:760px;font-family:var(--font-body,'DM Sans',system-ui,sans-serif)}
.cp-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.cp-tabs[hidden]{display:none}
.cp-tab{min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--sn-c-line-strong,#8C8172);background:var(--sn-c-surface,#FFFCF8);color:var(--sn-c-ink,#141E2B);font:600 .9375rem/1.2 var(--font-body,'DM Sans',system-ui,sans-serif);cursor:pointer;transition:background-color .15s ease-out,color .15s ease-out,border-color .15s ease-out}
.cp-tab:hover{border-color:var(--sn-c-ink,#141E2B)}
.cp-tab[aria-pressed="true"]{background:var(--sn-c-ink,#141E2B);border-color:var(--sn-c-ink,#141E2B);color:#fff}
.cp-tab:focus-visible{outline:3px solid var(--sn-c-focus,#141E2B);outline-offset:2px}
.cp-frame{position:relative;aspect-ratio:1076/744;border-radius:14px;overflow:hidden;background:#F9FAFB;box-shadow:0 1px 3px rgba(20,30,43,.08),0 12px 32px rgba(20,30,43,.12)}
.cp-view{position:absolute;inset:0}
.cp-view[hidden]{display:none}
.cp-view picture,.cp-view img{display:block;width:100%;height:100%}
.cp-view img{object-fit:contain}
@media (prefers-reduced-motion:no-preference){.cp-view{animation:cp-in .16s ease-out}}
@keyframes cp-in{from{opacity:.35}to{opacity:1}}
.cp-cap{margin-top:12px;font-size:.875rem;line-height:1.5;color:var(--sn-c-ink-muted,#4A5360)}


    .sn-home-offer{padding:0 clamp(16px,4vw,40px);}
    /* No :empty{display:none} here: a display:none element never intersects, so the observer that starts the fetch would never fire. Empty, this div is 0px tall anyway (horizontal padding only). */
    .sn-ho-in{max-width:1120px;margin:22px auto 0;display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;background:#fff;border:1px solid var(--tp-hair,#E9E1D6);border-radius:14px;padding:13px 18px;}
    .sn-ho-txt{margin:0;flex:1 1 420px;font-size:0.92rem;line-height:1.5;color:var(--ink-soft);}
    .sn-ho-txt strong:first-child{color:var(--ink);font-family:var(--font-display);font-weight:600;}
    .sn-ho-link{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1.5px solid var(--ink);border-radius:999px;color:var(--ink);font-weight:600;font-size:0.88rem;text-decoration:none;}
    @media(hover:hover){.sn-ho-link:hover{background:var(--ink);color:#fff;}}
  

#p-home .hv-sites-in{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(28px,5vw,72px);align-items:center;}
#p-home .hv-sites-h{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.3rem);margin:0 0 12px;}
#p-home .hv-sites .hv-sites-lede{margin:0 0 16px;font-size:1.0625rem;line-height:1.6;color:var(--v2-ink-soft,#4A5867);max-width:40em;}
#p-home .hv-sites .hv-sites-price{margin:0 0 6px;font-size:1.0625rem;color:var(--v2-ink,#141E2B);}
#p-home .hv-sites-price strong{font-weight:700;}
#p-home .hv-sites .sp-asof{margin:0 0 6px;font-size:.875rem;color:var(--v2-ink-muted,#5B6672);}
#p-home .hv-sites-cta{margin-top:14px;}
#p-home .hv-sites-shot{display:block;border-radius:14px;overflow:hidden;background:#fff;border:1px solid rgba(20,30,43,.14);box-shadow:0 18px 40px -24px rgba(20,30,43,.45);
  color:var(--v2-ink,#141E2B);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease;}
#p-home .hv-sites-shot img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;}
#p-home .hv-sites-chrome{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#EEF0F2;border-bottom:1px solid rgba(20,30,43,.1);font-size:.75rem;color:#4A5867;}
#p-home .hv-sites-chrome i{width:9px;height:9px;border-radius:50%;background:#C9CED4;flex:none;}
#p-home .hv-sites-chrome span{margin-left:8px;padding:2px 10px;border-radius:999px;background:#fff;}
#p-home .hv-sites-cap{display:block;padding:10px 14px;font-size:.9375rem;font-weight:600;border-top:1px solid rgba(20,30,43,.1);}
#p-home .hv-sites-shot:hover .hv-sites-cap{text-decoration:underline;text-underline-offset:.2em;}
#p-home .hv-sites-shot:focus-visible{outline:3px solid var(--ink,#141E2B);outline-offset:3px;}
@media (hover:hover) and (prefers-reduced-motion:no-preference){#p-home .hv-sites-shot:hover{transform:translateY(-2px);box-shadow:0 22px 44px -24px rgba(20,30,43,.5);}}
@media (max-width:820px){#p-home .hv-sites-in{grid-template-columns:minmax(0,1fr);}}

@keyframes matchSpin{to{transform:rotate(360deg);}}
/* Every interim state of the matcher keeps the same height, so the modal does not jump from a spinner
   to a short message to the results (audit section 4/7: reserve space). */
#matchModal .sn-mstate{min-height:min(340px,52vh);display:flex;flex-direction:column;justify-content:center;}

.sn-ftr{background:#141E2B radial-gradient(120% 80% at 90% 0%,#1B2838 0%,#141E2B 60%);color:#EDE7DD;margin-top:0;padding:0;text-align:left;
  font-family:var(--font-body,'DM Sans',system-ui,sans-serif);}
.sn-ftr-in{max-width:1280px;margin:0 auto;padding:clamp(64px,8vw,112px) clamp(16px,4vw,40px) 28px;box-sizing:border-box;}
.sn-ftr-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 40px;
  padding-bottom:clamp(36px,5vw,56px);border-bottom:1px solid rgba(237,231,221,.16);}
.sn-ftr-brand{max-width:36rem;}
.sn-ftr-logo{display:inline-flex;align-items:center;min-height:44px;font-family:var(--font-display,'Fraunces',Georgia,serif);font-size:clamp(1.9rem,1.5rem + 1.6vw,2.6rem);
  font-weight:600;letter-spacing:-.015em;color:#E85D3A;text-decoration:none;}
.sn-ftr-logo span{color:#EDE7DD;}
.sn-ftr-desc{margin:10px 0 0;font-size:1.0625rem;line-height:1.6;color:rgba(237,231,221,.84);max-width:46ch;}
.sn-ftr-desc strong{display:block;margin-bottom:4px;font:500 clamp(1.3rem,1.1rem + .8vw,1.7rem)/1.25 var(--font-display,'Fraunces',Georgia,serif);color:#fff;}
.sn-ftr-cta{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;
  background:var(--sn-c-accent-fill,#C0432A);color:#fff;font:600 1rem/1.2 var(--font-body,'DM Sans',system-ui,sans-serif);text-decoration:none;
  transition:background-color .2s ease,transform .2s ease;}
.sn-ftr .sn-ftr-cta:hover{background:var(--sn-c-accent-hover,#A5381F);color:#fff;}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.sn-ftr .sn-ftr-cta:hover{transform:translateY(-2px);}}
.sn-ftr-cols{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 32px;margin-top:clamp(36px,5vw,56px);}
.sn-ftr-h{margin:0 0 10px;font:600 1rem/1.3 var(--font-body,'DM Sans',system-ui,sans-serif);color:#FFFFFF;}
.sn-ftr-list{list-style:none;margin:0;padding:0;}
.sn-ftr-list li{margin:0;padding:0;}
.sn-ftr .sn-ftr-list a{color:rgba(237,231,221,.84);text-decoration:none;display:inline-flex;align-items:center;min-height:44px;font-size:.97rem;line-height:1.3;}
.sn-ftr .sn-ftr-list a:hover{color:#FFD9A0;text-decoration:underline;text-underline-offset:.2em;}
@media (min-width:901px) and (pointer:fine){.sn-ftr .sn-ftr-list a{min-height:36px;}}
.sn-ftr a:hover{color:#FFD9A0;}
.sn-ftr :where(a):focus-visible{outline:3px solid var(--sn-c-focus-on-dark,#FFD9A0);outline-offset:3px;border-radius:4px;}
.sn-ftr-nav{margin-top:10px;font-size:.9rem;display:flex;flex-wrap:wrap;gap:0 18px;}
.sn-ftr-nav a{color:#EDE7DD;text-decoration:none;display:inline-flex;align-items:center;min-height:44px;}
.sn-ftr-sep{border:0;border-top:1px solid rgba(237,231,221,.16);margin:clamp(28px,4vw,44px) 0 6px;}
.sn-ftr-copy{margin:6px 0 0;font-size:.9rem;line-height:1.6;color:rgba(237,231,221,.84);}
.sn-ftr-copy a{color:rgba(237,231,221,.84);text-decoration:none;}
.sn-ftr-socials{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;}
.sn-ftr-social{color:#EDE7DD;text-decoration:none;display:inline-flex;align-items:center;min-height:44px;font-weight:500;}
.sn-ftr-socials .sn-ftr-dot{display:inline-flex;align-items:center;min-height:44px;}
.sn-ftr-contact{white-space:nowrap;}
.sn-ftr-email{color:#EDE7DD;text-decoration:none;}
.sn-ftr-reg{line-height:1.55;font-size:.84rem;}
@media (max-width:980px){.sn-ftr-cols{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:620px){
  .sn-ftr-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;}
  .sn-ftr-top{align-items:flex-start;}
  .sn-ftr-cta{width:100%;}
}
@media (max-width:520px){.sn-ftr-contact{display:block;}.sn-ftr-contact .sn-ftr-dot{display:none;}}
