/* Mentora public site: shared styles. Lifted from site-mocks/2-two-doors.html (the approved homepage); tokens and components unchanged. */
@property --split { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

:root {
  --navy-deep: #142848; --navy: #1f3a68; --navy-glow: #23457a;
  --gold: #d4a52a; --gold-ink: #b7791f;
  --ground: #f3f1ec; --card: #fff; --edge: #e4e1d8;
  --ink: #1b2537; --ink-2: #46546a; --muted: #5f6b7d;
  --on-navy: #c3cfe0; --on-navy-small: #8fa1bd;
  --right: #2d7a55; --right-bg: #e5f3ec; --wrong: #b83232; --wrong-bg: #fbeaea;
  --s-maths: #1f3a68; --s-english: #1d5c63; --s-science: #2d6a4f; --s-englit: #7a3b5e;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-card: 0 1px 2px rgba(20, 40, 72, .04), 0 18px 40px rgba(20, 40, 72, .08);
  --display: 'Figtree', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --cell: 28px;
  --door-top: 72px;
  color-scheme: light;
  scrollbar-color: #1f3a68 #e6e3dc;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--ground); caret-color: var(--navy); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--navy); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #e6e3dc; }
::-webkit-scrollbar-thumb { background: #1f3a68; border-radius: 8px; border: 3px solid #e6e3dc; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; color: var(--navy); text-wrap: balance; }
h1 { font-weight: 800; letter-spacing: -0.02em; }
h2 { font-weight: 700; letter-spacing: -0.02em; }
h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(31, 58, 104, .35); }
a:hover { text-decoration-color: currentColor; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.on-navy :focus-visible { outline-color: var(--gold); }
.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; }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* the field (sign-in recipe) */
.field { position: relative; color: var(--on-navy); background: var(--navy-deep) radial-gradient(120% 80% at 0% 0%, var(--navy-glow) 0%, rgba(35, 69, 122, 0) 60%); }
.field::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: var(--cell) var(--cell); }
.field > * { position: relative; z-index: 1; }
.field h1, .field h2, .field h3 { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20, 40, 72, .22); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: none; box-shadow: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #24447a; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.btn-line { background: transparent; color: var(--navy); border-color: currentColor; }
.btn-line:hover { box-shadow: none; background: rgba(31, 58, 104, .06); }

/* logo tile */
.tile { width: 44px; height: 44px; border-radius: 10px; background: #fff; display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(10, 20, 40, .18), 0 8px 18px rgba(10, 20, 40, .28); }
.tile svg { width: 30px; height: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; font: 700 1.5rem/1 var(--display); letter-spacing: -0.01em; }

/* ============ THE TWO DOORS ============ */
.doors { --split: 50%; position: relative; display: flex; min-height: calc(100vh - 77px); min-height: calc(100svh - 77px); transition: --split .9s var(--ease); }
.doors[data-lean="s"] { --split: var(--lean-s, 54%); }
.doors[data-lean="p"] { --split: 46%; }
.door { position: relative; display: flex; flex-direction: column; padding: var(--door-top) 56px 56px; }
.door-s { flex: 0 0 var(--split); min-width: 0; padding-left: 84px; }
.door-p { flex: 1 1 0; min-width: 0; background: var(--ground); align-items: center; z-index: 2; }

/* site header: one bar on every page */
.site-top { position: relative; z-index: 20; background: var(--ground); border-bottom: 1px solid var(--edge); }
.top-in { position: relative; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 48px 0 84px; }
.site-top .brand { color: var(--navy); font-size: 1.42rem; gap: 12px; }
.site-top .tile { width: 40px; height: 40px; box-shadow: 0 1px 2px rgba(20, 40, 72, .12), 0 6px 14px rgba(20, 40, 72, .16); }
.site-top .tile svg { width: 27px; height: 27px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav .nl { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav .nl:hover { background: rgba(31, 58, 104, .07); color: var(--navy); }
.nav .nl[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav .nl[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gold); }
.nav .btn { min-height: 44px; padding: 0 18px; margin-left: 10px; font-size: .95rem; white-space: nowrap; }
.nav .btn-gs { margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: 8px; border-radius: 10px; border: 1.5px solid currentColor; background: transparent; color: var(--navy); cursor: pointer; place-items: center; }
.menu-panel { position: absolute; top: 70px; right: 24px; width: 248px; background: #fff; border: 1px solid var(--edge); border-radius: 14px; box-shadow: var(--shadow-card); padding: 8px; display: none; }
.menu-panel.is-open { display: block; }
.menu-panel a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--ground); }
.menu-panel a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.menu-panel a[aria-current="page"]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.menu-panel .m-only { display: none; }
.menu-panel hr { border: 0; border-top: 1px solid #efede7; margin: 6px 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* students' door */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx-glow, .fx-grid { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.fx-glow { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 160, 220, .14), rgba(120, 160, 220, 0) 70%); }
.fx-grid { background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  -webkit-mask-image: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 72%);
  mask-image: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 72%); }
.door-s.is-lit .fx-glow, .door-s.is-lit .fx-grid { opacity: 1; }
.door-s .inner { width: 100%; max-width: 520px; flex: 1; display: flex; flex-direction: column; }
.door-s h1 { font-size: clamp(2.5rem, 4.05vw, 3.75rem); line-height: 1.04; color: #fff; }
/* the three pillars as the headline: each full stop is the logo's gold dot */
.pillars-h1 { font-size: clamp(2.6rem, 3.9vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.pillars-h1 .pw { display: block; width: max-content; white-space: nowrap; }
.pillars-h1 .gd { display: inline-block; width: .19em; height: .19em; margin-left: .07em; border-radius: 50%; background: var(--gold); vertical-align: baseline; }
@media (prefers-reduced-motion: no-preference) {
  .pillars-h1 .pw { animation: pw-in .7s var(--ease) both; animation-delay: calc(.15s + var(--i) * .22s); }
  .pillars-h1 .gd { animation: gd-in .5s var(--ease) both; animation-delay: calc(.45s + var(--i) * .22s); }
}
@keyframes pw-in { from { opacity: .001; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes gd-in { from { transform: scale(0); } 70% { transform: scale(1.35); } to { transform: scale(1); } }
.door-s .lede { margin-top: 28px; font-size: 1.12rem; line-height: 1.6; color: var(--on-navy); max-width: 30em; }

.years { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.years-label { font-size: .88rem; color: var(--on-navy-small); font-weight: 500; white-space: nowrap; }
.seg { display: flex; flex: 1; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; overflow: hidden; }
.seg button { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: #fff; font: 600 .95rem/1 var(--body); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .2s, color .2s; }
.seg button + button { border-left: 1px solid rgba(255, 255, 255, .14); }
.seg button:hover { background: rgba(255, 255, 255, .08); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.seg button:focus-visible { outline-offset: -3px; border-radius: 0; }

.finder { position: relative; margin-top: 14px; }
.finder-box { position: relative; display: flex; align-items: center; }
.finder-box .icon { position: absolute; left: 20px; color: var(--navy); width: 22px; height: 22px; pointer-events: none; }
.finder input { width: 100%; height: 56px; border-radius: 10px; border: 1px solid #fff; background: #fff; padding: 0 20px 0 54px; font: 500 1.06rem var(--body); color: var(--ink);
  box-shadow: 0 10px 30px rgba(5, 12, 28, .32); transition: box-shadow .2s; }
.finder input::placeholder { color: #6b7688; font-weight: 400; }
.finder input:focus { outline: none; box-shadow: 0 10px 30px rgba(5, 12, 28, .32), 0 0 0 4px rgba(212, 165, 42, .55); }
.panel { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border-radius: 12px; border: 1px solid var(--edge);
  box-shadow: 0 2px 4px rgba(20, 40, 72, .06), 0 24px 48px rgba(5, 12, 28, .35); overflow: hidden; }
.panel[hidden] { display: none; }
.finder-open { overflow: visible !important; position: relative; z-index: 12; }
.panel-note { padding: 14px 18px; font-size: .94rem; color: var(--ink-2); }
.panel-note .try { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.panel-note .try button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #dfe3ea; background: #fbfaf7; cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--navy); }
.panel-note .try button:hover { border-color: var(--navy); }
.results { max-height: 336px; overflow-y: auto; }
.results li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 18px; cursor: pointer; border-top: 1px solid #f0eee8; }
.results li:first-child { border-top: 0; }
.results li[aria-selected="true"], .results li:hover { background: #f1f4f9; }
.results li[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--navy); }
.sdot { width: 10px; height: 10px; border-radius: 3px; margin-top: 7px; flex-shrink: 0; background: var(--c, var(--navy)); }
.r-name { display: block; font-weight: 500; color: var(--ink); line-height: 1.4; }
.r-name b { font-weight: 700; color: var(--navy); }
.r-meta { display: block; font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.panel-foot { padding: 10px 18px; font-size: .84rem; color: var(--muted); background: #fbfaf7; border-top: 1px solid #f0eee8; }
.panel-foot:empty { display: none; }
.finder-status { min-height: 1.5em; margin-top: 8px; font-size: .92rem; color: var(--on-navy); }
.finder-status strong { color: #fff; font-weight: 600; }
.door-s .go { margin-top: 6px; display: flex; gap: 14px; align-items: center; }
.door-s .go .btn { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
.door-s .foot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: var(--on-navy-small); }
.door-s .foot-wrap { margin-top: auto; padding-top: 56px; }

/* parents' door */
.door-p .inner { width: 100%; max-width: 480px; }
.door-p h2 { font-size: clamp(2rem, 2.7vw, 2.5rem); line-height: 1.1; padding-top: 6px; }
.door-p .lede { margin-top: 14px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.log { margin-top: 22px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: var(--shadow-card); padding: 22px 24px 18px; }
.log-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.log-head h3 { font-size: 1.06rem; color: var(--ink); }
.log-head .date { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid #cdd5e2; font-size: .76rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.log-today { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid #efede7; }
.mins { line-height: 1; }
.mins strong { font: 700 2.1rem/1 var(--display); color: var(--navy); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mins span { display: block; margin-top: 6px; font-size: .84rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 66px; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; width: 22px; height: 100%; }
.bar i { display: block; width: 14px; height: var(--h); min-height: 3px; border-radius: 4px 4px 2px 2px; background: #c7d1e1; transform-origin: 50% 100%;
  transition: transform .9s var(--ease) calc(var(--n) * 70ms); }
.bar.today i { background: var(--navy); }
.bar.today { position: relative; }
.bar.today::before { content: ''; position: absolute; top: calc(100% - var(--h) - 30px); width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.bar small { font-size: .7rem; line-height: 1; color: var(--muted); font-weight: 500; }
.bar.today small { color: var(--navy); font-weight: 700; }
.bars.is-waiting i { transform: scaleY(.1); }
.done { margin-top: 12px; }
.done li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: .95rem; }
.done .what { flex: 1; min-width: 0; }
.done .what span { display: block; font-size: .8rem; color: var(--muted); }
.score { font: 600 .9rem/1 var(--body); font-variant-numeric: tabular-nums; color: var(--right); background: var(--right-bg); padding: 6px 9px; border-radius: 7px; }
.score.plain { color: var(--ink-2); background: #f2f1ed; }
/* pillar pills: Learn · Practise · Test, one consistent colour each across the site */
.pill { flex: none; width: 72px; text-align: center; font: 600 .74rem/1 var(--body); letter-spacing: .01em; padding: 6px 0; border-radius: 999px; }
.p-learn { color: #1f3a68; background: #e9eef7; }
.p-prac { color: #22603f; background: #e5f3ec; }
.p-test { color: #8a5a1f; background: #f6eedf; }
.task { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding-top: 14px; border-top: 1px solid #efede7; font-size: .93rem; }
.task .icon { color: var(--navy); margin-top: 1px; }
.task strong { display: block; font-weight: 600; color: var(--ink); }
.task span { color: var(--muted); font-size: .84rem; }
.door-p .cta { margin-top: 24px; display: flex; align-items: center; gap: 18px; }

/* the gold dot on the seam */
.seam-dot { position: absolute; z-index: 15; left: 0; top: 270px; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px var(--ground), 0 3px 10px rgba(10, 20, 40, .35); transition: top .9s var(--ease); pointer-events: none; }
.seam-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; }
.seam-dot.pulse::after { animation: ring .9s var(--ease) 1; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }

/* ============ SECTIONS ============ */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.sec { padding: 128px 0; }
.sec-white { background: #fff; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.sec-head { max-width: 680px; }
.sec-head h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.08; }
.sec-head p { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; }
.field .sec-head p { color: var(--on-navy); }

/* one topic */
.topic { margin-top: 56px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--s-maths); border-radius: 14px; box-shadow: var(--shadow-card); }
.topic-top { padding: 28px 40px 26px; border-bottom: 1px solid #efede7; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: .88rem; color: var(--muted); }
.crumbs .sdot { margin-top: 0; }
.crumbs svg { width: 12px; height: 12px; stroke: #a0a9b8; stroke-width: 2; fill: none; }
.topic-top h3 { margin-top: 8px; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; color: var(--ink); }
.topic-top .open { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.topic-body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.t-learn { padding: 32px 40px 40px; border-right: 1px solid #efede7; }
.t-side { padding: 32px 40px 40px; display: flex; flex-direction: column; }
.part + .part { margin-top: 30px; padding-top: 26px; border-top: 1px solid #f0eee8; }
.part h4 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; color: var(--navy); }
.part h4 .icon { width: 20px; height: 20px; color: var(--navy); }
.part p { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.objective { margin-top: 10px; font: 600 1.25rem/1.35 var(--display); color: var(--ink); }

.fr { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; font-variant-numeric: tabular-nums; line-height: 1.15; font-weight: 600; margin: 0 .12em; }
.fr > span:first-child { border-bottom: 2px solid currentColor; padding: 0 .22em 1px; }
.fr > span:last-child { padding-top: 1px; }
.we-q { margin-top: 12px; font-weight: 500; color: var(--ink); }
.factors { margin-top: 14px; display: grid; gap: 8px; font-size: .96rem; color: var(--ink-2); }
.factors div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.factors .lbl { width: 108px; flex-shrink: 0; color: var(--muted); }
.factors .n { min-width: 28px; height: 28px; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; border-radius: 50%; }
.factors .n.common { color: var(--navy); font-weight: 700; }
.factors .n.hcf { box-shadow: inset 0 0 0 2px var(--navy); }
.simplify { margin-top: 18px; display: flex; align-items: center; gap: 6px; font-size: 1.7rem; color: var(--navy); }
.simplify svg { width: 108px; height: 78px; }
.simplify .note { margin-left: 14px; font-size: .92rem; color: var(--muted); max-width: 18ch; line-height: 1.45; }

.q { margin-top: 12px; font-size: 1.12rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.q .fr { font-size: 1.12rem; }
.mark-lbl { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: .82rem; color: var(--muted); font-weight: 500; }
.mark-lbl .md { position: relative; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #c9cfd9; transition: background-color .3s, border-color .3s; }
.mark-lbl .md::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; }
.mark-lbl.got .md { background: var(--gold); border-color: var(--gold); }
.mark-lbl.got .md::after { animation: ring .9s var(--ease) 1; }
.answer { margin-top: 16px; display: flex; gap: 10px; }
.answer input { flex: 1; min-width: 0; height: 48px; border-radius: 10px; border: 1px solid #dfe3ea; background: #fbfaf7; padding: 0 16px; font: 500 1.05rem var(--body); color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.answer input::placeholder { color: #5f6b7d; font-weight: 400; }
.answer input:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 58, 104, .25); }
.answer input.is-right { border-color: var(--right); background: #fff; }
.answer input.is-wrong { border-color: var(--wrong); background: #fff; }
.answer .btn { min-width: 104px; }
.fb { margin-top: 12px; min-height: 28px; display: flex; align-items: center; gap: 10px; font-size: .96rem; color: var(--ink-2); }
.fb.right { color: var(--right); font-weight: 600; }
.fb.wrong { color: var(--wrong); font-weight: 600; }
.tick { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--right-bg); display: none; place-items: center; }
.fb.right .tick { display: grid; }
.tick svg { width: 16px; height: 16px; fill: none; stroke: var(--right); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tick path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.fb.right.draw .tick path { animation: draw .5s var(--ease) .05s both; }
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.method { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.method.open { grid-template-rows: 1fr; }
.method > div { overflow: hidden; }
.method .m-in { margin-top: 10px; padding: 14px 16px; border-radius: 10px; background: var(--wrong-bg); color: #6d2121; font-size: .96rem; }
.method .m-in strong { display: block; color: var(--wrong); font-size: .86rem; margin-bottom: 2px; }
/* topic card: three pillar columns */
.topic-body.pillars3 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
.pcol { padding: 30px 32px 38px; display: flex; flex-direction: column; }
.pcol + .pcol { border-left: 1px solid #efede7; }
.pc-prac { background-color: #fbfcfb; }
@media (min-width: 900px) { .pc-prac > .part { position: sticky; top: 28px; } }
.ph { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font: 600 1.02rem/1.35 var(--display); color: var(--ink); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #efede7; }
.ph .pill { width: auto; padding: 7px 12px; font-size: .78rem; }
.pcol > .part:first-of-type, .pcol .ph + .part { margin-top: 0; padding-top: 0; border-top: 0; }
.pnote { margin-top: 14px !important; font-size: .9rem; color: var(--muted) !important; }
.tlead { margin-top: 0 !important; }
.tq { margin-top: 14px; display: grid; gap: 8px; }
.tq li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid #ece9e1; border-radius: 10px; font-size: .94rem; color: var(--ink); }
.tq li span { font: 700 .95rem/1 var(--display); color: #8a5a1f; font-variant-numeric: tabular-nums; }
.mastery { margin-top: 14px; display: grid; gap: 4px; counter-reset: lv; }
.mastery li { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: baseline; padding: 6px 0; color: var(--muted); }
.mastery li::before { content: ''; grid-row: span 2; align-self: start; margin-top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c9cfd9; background: #fff; transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.mastery li:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 24px; bottom: -8px; width: 2px; background: #e6e3db; }
.mastery li b { font: 600 .95rem/1.3 var(--display); color: var(--ink-2); }
.mastery li span { grid-column: 2; font-size: .84rem; }
.mastery li.on::before { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
.mastery li.on b { color: var(--ink); }
.mastery li.reached::before { background: #8a5a1f; border-color: #8a5a1f; }
.pp-note { display: flex; gap: 12px; align-items: flex-start; }
.pp-note .icon { color: var(--navy); margin-top: 3px; }
.pp-note p { margin-top: 0; }
.still { display: block; margin-top: 14px; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(20, 40, 72, .08), 0 10px 24px rgba(20, 40, 72, .12); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.still:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20, 40, 72, .08), 0 16px 32px rgba(20, 40, 72, .16); }
.still svg { display: block; width: 100%; height: auto; }

/* every year */
.bands { margin-top: 56px; }
.band { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0 44px; border-top: 1px solid var(--edge); }
.band-h { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.band:last-child { border-bottom: 1px solid var(--edge); }
.band-h h3 { font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.band-h p { margin-top: 0; color: var(--muted); font-size: .95rem; }
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px; }
.col h4 { display: flex; align-items: center; gap: 9px; font-size: 1.02rem; color: var(--c); padding-bottom: 10px; border-bottom: 2px solid var(--c); }
.col h4 .sdot { margin-top: 0; }
.col ul { margin-top: 8px; }
.col li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; line-height: 1.4; }
.col li a { color: var(--ink); text-decoration: none; }
.col li a:hover { color: var(--c); text-decoration: underline; text-decoration-color: currentColor; }
.col li span { flex-shrink: 0; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.col .all { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: .92rem; color: var(--c); text-decoration-color: color-mix(in srgb, var(--c) 35%, transparent); }
.col .all .icon { width: 16px; height: 16px; }

/* past papers */
.papers { padding: 128px 0; }
.papers .sec-head h2 { color: #fff; }
.ptables { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; align-items: start; }
.ptables > div { max-width: 1000px; }
.gt { max-width: 860px; }
.gt th[scope="row"] { width: 30%; }
.ptables h3 { font-size: 1.3rem; color: #fff; }
.ptables h3 + p { margin-top: 6px; font-size: .94rem; color: var(--on-navy-small); }
table { border-collapse: collapse; width: 100%; margin-top: 22px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; font-weight: 500; }
thead th { font-size: .82rem; color: var(--on-navy-small); font-weight: 600; padding: 0 0 12px; text-align: center; }
thead th:first-child { text-align: left; }
tbody tr { border-top: 1px solid rgba(255, 255, 255, .12); }
tbody tr:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
tbody th { padding: 16px 16px 16px 0; color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.35; }
tbody th small { display: block; font-weight: 400; color: var(--on-navy-small); font-size: .82rem; margin-top: 2px; }
tbody td { text-align: center; padding: 8px 2px; }
.pp { display: inline-grid; place-items: center; width: 40px; height: 44px; border-radius: 8px; color: var(--on-navy); text-decoration: none; transition: background-color .2s, color .2s; }
.pp .icon { width: 20px; height: 20px; }
.pp:hover { background: rgba(255, 255, 255, .09); color: var(--gold); }
.pp .y { display: none; }
td.none { color: var(--on-navy-small); font-size: .78rem; line-height: 1.35; width: 64px; padding: 0 6px; }
td.none span { display: block; border-left: 1px dashed rgba(255, 255, 255, .22); border-right: 1px dashed rgba(255, 255, 255, .22); padding: 8px 4px; }
.gt td { text-align: left; padding: 14px 8px 14px 0; font-size: .92rem; }
.gt thead th { text-align: left; }
.gt a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); white-space: nowrap; }
.gt a:hover { color: var(--gold); text-decoration-color: currentColor; }
.gt .sep { color: var(--on-navy-small); margin: 0 4px; }
.gt .b { display: none; }
.pnote { margin-top: 18px; font-size: .88rem; color: var(--on-navy-small); }

/* tutor + free */
.tutor { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
.tutor h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; }
.tutor > div > p { margin-top: 18px; color: var(--ink-2); font-size: 1.06rem; max-width: 56ch; }
.review { margin-top: 36px; padding: 22px 24px 24px; background: #fff; border: 1px solid var(--edge); border-radius: 14px; box-shadow: var(--shadow-card); }
.review-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.review-h strong { color: var(--ink); font-weight: 600; }
.steps { position: relative; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; }
.steps::before { content: ''; position: absolute; left: 6px; right: calc(50% - 6px); top: 6px; height: 2px; background: #d7dce5; }
.step { position: relative; padding-top: 26px; }
.step::before { content: ''; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #b9c2d0; }
.step.here::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 165, 42, .22); }
.step strong { display: block; font-size: .95rem; color: var(--ink); }
.step span { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.step b { font: 700 1.35rem/1.2 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; display: block; margin-top: 6px; }
.free h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); line-height: 1.15; }
.free ul { margin-top: 26px; }
.free li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--edge); }
.free li:last-child { border-bottom: 1px solid var(--edge); }
.free li .icon { color: var(--navy); margin-top: 2px; }
.free li strong { display: block; color: var(--ink); font-weight: 600; }
.free li span { display: block; color: var(--ink-2); font-size: .95rem; margin-top: 2px; }

/* videos + games strip */
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.strip-head h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.1; }
.strip-head p { margin-top: 10px; color: var(--ink-2); max-width: 56ch; }
.strip-head a { font-weight: 600; }
.thumbs { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.thumb a { text-decoration: none; color: inherit; display: block; }
.thumb .pic { border-radius: 10px; overflow: hidden; border: 1px solid var(--edge); border-top: 4px solid var(--c); background: #fbfaf7; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.thumb a:hover .pic { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(20, 40, 72, .12); }
.thumb svg { display: block; width: 100%; height: auto; }
.thumb h3 { margin-top: 14px; font-size: 1.02rem; color: var(--ink); }
.thumb p { margin-top: 4px; font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* footer */
.foot-site { padding: 72px 0 44px; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-site p.tag-line { margin-top: 16px; color: var(--on-navy); max-width: 34ch; font-size: .96rem; }
.flinks { display: flex; gap: 56px; flex-wrap: wrap; }
.flinks h3 { font: 600 .86rem/1 var(--body); color: var(--on-navy-small); letter-spacing: 0; }
.flinks ul { margin-top: 14px; display: grid; gap: 4px; }
.flinks a { color: #fff; text-decoration: none; font-size: .96rem; display: inline-block; padding: 6px 0; }
.flinks a:hover { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
.legal { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--on-navy-small); }

[tabindex="-1"]:focus { outline: none; }

/* ============ WHAT WE OFFER ============ */
.offer { padding: 128px 0; }
.offer-lead { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ocard { background: #fff; color: var(--ink); border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: var(--shadow-card); }
.field .ocard { box-shadow: 0 1px 2px rgba(5, 12, 28, .2), 0 24px 48px rgba(5, 12, 28, .28); }
.ocard h3, .ocard h4 { color: var(--navy); }
.ocard :focus-visible { outline-color: var(--navy); }
.ocard-big { padding: 36px 40px 40px; display: flex; flex-direction: column; }
.opills { display: flex; gap: 8px; }
.opills .pill, .ledger .pill { width: auto; padding: 7px 12px; font-size: .78rem; }
.ocard-big h3 { margin-top: 20px; font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.12; }
.oline { margin-top: 10px; color: var(--ink-2); }
.ocard-big .oline { font-size: 1.08rem; }
.checks { margin-top: 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--ink); }
.ck { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--navy); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.oact { margin-top: auto; padding-top: 32px; }
.offer-more { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--edge); }
.field .offer-more { border-top-color: rgba(255, 255, 255, .14); }
.offer-more-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; }
.offer-more-h h3 { font-size: 1.5rem; line-height: 1.2; }
.offer-more-h p { color: var(--ink-2); }
.field .offer-more-h p { color: var(--on-navy); }
.ledger { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger > li { padding: 30px 36px 26px; display: flex; flex-direction: column; }
.ledger > li:nth-child(even) { border-left: 1px solid #efede7; }
.ledger > li:nth-child(n+3) { border-top: 1px solid #efede7; }
.ledger h4 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 1.2rem; line-height: 1.25; }
.ledger .oline { margin-top: 6px; font-size: .98rem; }
.ledger .checks { margin-top: 14px; gap: 6px; }
.ledger .checks li { font-size: .94rem; color: var(--ink-2); }
.ledger .ck { width: 16px; height: 16px; margin-top: 4px; }
.olink { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .98rem; }
.olink .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.olink:hover .icon { transform: translateX(3px); }

/* ============ GET IN TOUCH ============ */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 88px; align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.08; }
.contact .lede { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; max-width: 40ch; }
.quick { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.quick .btn { min-height: 56px; padding: 0 24px; font-size: 1.02rem; }
.btn-wa { background: #fff; color: var(--ink); border-color: #d3d9e2; }
.btn-wa:hover { border-color: #b9c2d0; }
.btn-wa .wa { width: 26px; height: 26px; flex-shrink: 0; }
.qnum { margin-top: 20px; font-size: .96rem; color: var(--ink-2); }
.qnum strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cform { background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: var(--shadow-card); padding: 34px 40px 36px; }
.cform h3 { font-size: 1.3rem; color: var(--ink); }
.cform h3 + p { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.fld { margin-top: 20px; min-width: 0; }
fieldset.fld { border: 0; padding: 0; margin-inline: 0; }
.fld > label, .fld legend { display: block; padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.fld .opt { font-weight: 400; color: var(--muted); }
.in { width: 100%; height: 48px; border-radius: 10px; border: 1px solid #dfe3ea; background: #fbfaf7; padding: 0 14px; font: 500 1rem var(--body); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s; }
textarea.in { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; display: block; }
select.in { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fbfaf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px 18px; }
.in:hover { border-color: #c5cdd9; }
.in:focus { outline: none; background-color: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 58, 104, .25); }
.in[aria-invalid="true"] { border-color: var(--wrong); background-color: #fff; }
.in[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(184, 50, 50, .2); }
.err { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: .9rem; font-weight: 500; color: var(--wrong); }
.err:empty { display: none; }
.err .icon { width: 16px; height: 16px; }
.rseg { display: flex; border: 1px solid #dfe3ea; border-radius: 10px; overflow: hidden; background: #fbfaf7; }
.rseg label { position: relative; flex: 1; min-width: 0; }
.rseg label + label { border-left: 1px solid #dfe3ea; }
.rseg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rseg span { display: grid; place-items: center; height: 46px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background-color .2s, color .2s; }
.rseg label:hover span { background: rgba(31, 58, 104, .06); }
.rseg input:checked + span { background: var(--navy); color: #fff; }
.rseg input:focus-visible + span { outline: 2.5px solid var(--navy); outline-offset: -5px; border-radius: 8px; }
.rseg input:checked:focus-visible + span { outline-color: #fff; }
.fsend { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fsend .btn { min-width: 168px; }
.sent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: #e9eef7; color: var(--navy); font-size: .96rem; line-height: 1.5; }
.sent:empty { display: none; }
.sent .icon { margin-top: 1px; }

/* footer: button that looks like the other links */
.flinks button.fl { padding: 6px 0; border: 0; background: none; color: #fff; font-size: .96rem; cursor: pointer; text-align: left; }
.flinks button.fl:hover { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 3px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav .nl { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 1180px) {
  .ptables { grid-template-columns: 1fr; }
  .tutor { gap: 56px; }
}
@media (max-width: 1080px) {
  .door-s { padding-left: 56px; }
  .top-in { padding-left: 56px; }
  .band { grid-template-columns: 1fr; gap: 20px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  body { font-size: 16px; }
  .doors { flex-direction: column; min-height: 0; }
  .door { padding: var(--door-top) 20px 48px; }
  .door-s { flex: none; padding: var(--door-top) 20px 44px; }
  .door-p { padding: 56px 20px 64px; align-items: stretch; }
  .door-s .inner, .door-p .inner { max-width: 560px; margin: 0 auto; }
  .door-s h1 { font-size: 2.35rem; line-height: 1.06; }
  .door-s .lede { margin-top: 16px; font-size: 1rem; }
  .years { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 8px; }
  .seg button { height: 44px; font-size: .9rem; }
  .finder { margin-top: 12px; }
  .finder input { height: 56px; font-size: 1rem; }
  .door-s .go { margin-top: 6px; }
  .door-s .go .btn { width: 100%; }
  .door-s .foot-wrap { display: none; }
  .finder-status:empty { min-height: 8px; }
  .door-p h2 { font-size: 1.95rem; }
  .log { padding: 18px 18px 14px; }
  .bars { gap: 5px; }
  .bar { width: 18px; }
  .bar i { width: 12px; }
  .door-p .cta .btn { width: 100%; }
  .seam-dot { left: 50%; top: 0 !important; transition: none; }
  .sec, .papers { padding: 80px 0; }
  .wrap { padding: 0 20px; }
  .sec-head h2 { font-size: 2rem; }
  .topic { margin-top: 36px; }
  .topic-top { padding: 22px 20px; }
  .topic-body, .topic-body.pillars3 { grid-template-columns: minmax(0, 1fr); }
  .pcol { padding: 24px 20px 28px; }
  .pcol + .pcol { border-left: 0; border-top: 1px solid #efede7; }
  .t-learn { border-right: 0; border-bottom: 1px solid #efede7; padding: 24px 20px 28px; }
  .t-side { padding: 24px 20px 28px; }
  .factors .lbl { width: 100%; }
  .simplify { flex-wrap: wrap; }
  .simplify .note { margin-left: 0; max-width: none; flex-basis: 100%; }
  .answer .btn { min-width: 88px; padding: 0 16px; }
  .bands { margin-top: 36px; }
  .band { padding: 32px 0; }
  .cols { grid-template-columns: 1fr; gap: 28px; }
  .ptables { margin-top: 36px; gap: 48px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tbody tr { padding: 14px 0; }
  tbody th { padding: 0 0 8px; }
  tbody td { display: inline-block; padding: 2px 0; }
  .pp { width: auto; height: 40px; padding: 0 10px; grid-auto-flow: column; gap: 6px; border: 1px solid rgba(255, 255, 255, .18); margin: 0 4px 6px 0; font-size: .88rem; }
  .pp .y { display: inline; }
  .pp .icon { width: 16px; height: 16px; }
  td.none { display: none; }
  .gt td { display: block; padding: 4px 0; }
  .gt th[scope="row"] { width: auto; }
  .gt .b { display: inline-block; width: 72px; color: var(--on-navy-small); }
  .gt a { display: inline-block; padding: 6px 0; }
  .tutor { grid-template-columns: 1fr; gap: 56px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .flinks { gap: 36px; }
}
@media (max-width: 440px) {
  .thumbs { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .thumb p { font-size: .84rem; }
  .log-head { flex-wrap: wrap; }
}
@media (max-width: 1080px) {
  .contact { gap: 56px; }
  .ocard-big { padding: 32px 30px 34px; }
  .ledger > li { padding: 28px 28px 24px; }
}
@media (max-width: 899px) {
  .nav .btn-si { display: none; }
  .menu-panel .m-only { display: block; }
  .offer { padding: 80px 0; }
  .offer-lead { margin-top: 36px; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ocard-big { padding: 28px 22px 28px; }
  .offer-more { margin-top: 56px; padding-top: 32px; }
  .ledger { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .ledger > li { padding: 24px 22px 20px; }
  .ledger > li:nth-child(even) { border-left: 0; }
  .ledger > li + li { border-top: 1px solid #efede7; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .quick .btn { width: 100%; }
  .cform { padding: 26px 20px 28px; }
  .frow { grid-template-columns: minmax(0, 1fr); }
  .fsend .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .doors { --split: 50% !important; }
}

/* ================================================================
   MULTI-PAGE SITE ADDITIONS (header menus, page heroes, home strips,
   reviews board, questions banner, offer pages, get started page)
   ================================================================ */
:root { --caption: #e9c46a; }
html { scroll-padding-top: 24px; }
.nav .nl { font-family: var(--body); }
.nav button.nl { border: 0; background: transparent; cursor: pointer; gap: 5px; }
.nav button.nl .chev { width: 14px; height: 14px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.nav button.nl[aria-expanded="true"] { background: rgba(31, 58, 104, .07); color: var(--navy); }
.nav button.nl[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav .nl.is-current { color: var(--navy); font-weight: 600; }
.nav .nl.is-current::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gold); }
.nav button.nl.is-current::after { margin-left: -10px; }

/* mega menus */
.dd-panel { position: absolute; z-index: 40; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  box-shadow: 0 24px 48px rgba(20, 40, 72, .14); }
.dd-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .dd-panel:not([hidden]) { animation: dd-in .22s var(--ease); } }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dd-in { max-width: 1180px; margin: 0 auto; padding: 30px 40px 34px; }
.dd-cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 40px; }
.dd-cols h3 { padding-bottom: 10px; border-bottom: 1px solid #efede7; font: 600 .86rem/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.dd-cols ul { margin-top: 8px; }
.dd-cols li a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.dd-cols li a:hover, .dd-cols li a:focus-visible { background: var(--ground); color: var(--navy); }
.dd-cols .sdot { margin-top: 0; }
.dd-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid #efede7; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.dd-find { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 560px; }
.dd-find .finder-box { flex: 1; }
.dd-find .finder-box .icon { left: 14px; }
.dd-find .in { padding-left: 44px; }
.dd-find .btn { min-height: 48px; }
.dd-all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: .95rem; }
.dd-all .icon { width: 18px; height: 18px; }
.dd-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 28px; }
.dd-offers a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; margin: 0 -12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-offers a:hover, .dd-offers a:focus-visible { background: var(--ground); }
.dd-offers strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.dd-offers .d { display: block; margin-top: 2px; font-size: .88rem; line-height: 1.4; color: var(--muted); }
/* gold line icon on a navy tile (gold only ever sits on navy) */
.gi { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--navy); color: var(--gold); }
.gi .icon { width: 22px; height: 22px; }
.field .gi { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.gi.big { width: 52px; height: 52px; border-radius: 12px; }
.gi.big .icon { width: 26px; height: 26px; }

/* phone menu: accordions */
.menu-panel { width: min(340px, calc(100vw - 32px)); max-height: calc(100svh - 92px); overflow-y: auto; overscroll-behavior: contain; }
.m-acc { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-weight: 500; font-size: 1rem; cursor: pointer; text-align: left; }
.m-acc:hover { background: var(--ground); }
.m-acc .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.m-acc[aria-expanded="true"] .chev { transform: rotate(180deg); }
.m-acc.is-current { color: var(--navy); font-weight: 600; }
.m-sub { padding: 0 0 6px 14px; }
.m-sub[hidden] { display: none; }
.menu-panel .m-sub a { min-height: 40px; font-size: .95rem; color: var(--ink-2); }

/* ---------- home: caption, photo, fact chips ---------- */
.door-s .inner { max-width: 590px; }
.hero-top { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; align-items: start; }
.caption { margin-top: 16px; font: 600 1.35rem/1.3 var(--display); letter-spacing: -0.01em; color: var(--caption); }
.photo-cut { position: relative; justify-self: end; width: 100%; max-width: 236px; aspect-ratio: 4 / 5; margin-top: 6px; }
.photo-cut img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 34% 50%; border-radius: 16px;
  box-shadow: 0 2px 4px rgba(5, 12, 28, .3), 0 24px 48px rgba(5, 12, 28, .45); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 12px; background: #fff; color: var(--ink);
  box-shadow: 0 2px 4px rgba(5, 12, 28, .18), 0 14px 30px rgba(5, 12, 28, .34); font-size: .82rem; line-height: 1.25; white-space: nowrap; }
.chip strong { display: block; font: 700 1rem/1.15 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.chip .ci { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: #e9eef7; color: var(--navy); }
.chip .ci .icon { width: 18px; height: 18px; }
.chip .ci.ok { border-radius: 50%; background: var(--right-bg); color: var(--right); }
.chip .ci.ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chip-a { top: 22px; left: -30%; }
.chip-b { bottom: 22px; left: -22%; }
.chip-b strong { color: var(--right); }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: chip-in .7s var(--ease) both; }
  .chip-a { animation-delay: 1.1s; }
  .chip-b { animation-delay: 1.35s; }
  .chip-b .ci.ok path { stroke-dasharray: 24; animation: draw .5s var(--ease) 1.75s both; }
}
@keyframes chip-in { from { opacity: .001; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- page hero (navy field) on inner pages ---------- */
.hero { padding: 80px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.05; max-width: 15ch; }
.hero .lede { margin-top: 18px; max-width: 44ch; font-size: 1.15rem; color: var(--on-navy); }
.hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .cta .btn { min-height: 52px; padding: 0 24px; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 2px 4px rgba(5, 12, 28, .3), 0 24px 48px rgba(5, 12, 28, .45); }
.hero-head { display: flex; align-items: center; gap: 18px; }
.on-navy .btn-line { color: #fff; }
.on-navy .btn-line:hover { background: rgba(255, 255, 255, .08); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 20px; font-size: .92rem; color: var(--on-navy-small); }
.crumb a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.crumb a:hover { text-decoration-color: currentColor; }
.crumb svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero .years, .hero .finder { max-width: 640px; }
.has-fx { position: relative; }
.has-fx.is-lit > .fx .fx-glow, .has-fx.is-lit > .fx .fx-grid { opacity: 1; }
.hero .wrap, .papers .wrap, .gsp > * { position: relative; z-index: 1; }
.sec-head h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.06; }
.sec-tight { padding: 96px 0; }

/* ---------- home: three steps with product snippets ---------- */
.p3 { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.p3c .pill { width: auto; padding: 7px 12px; font-size: .78rem; }
.p3c h3 { margin-top: 14px; font-size: 1.3rem; color: var(--ink); }
.snip { margin-top: 18px; min-height: 176px; padding: 18px 20px; background: #fff; border: 1px solid var(--edge); border-radius: 12px; box-shadow: var(--shadow-card); }
.snip-l { font-size: .8rem; font-weight: 600; color: var(--muted); }
.snip .simplify { margin-top: 8px; font-size: 1.45rem; }
.snip .simplify svg { width: 84px; height: 62px; }
.vid { margin-top: 10px; display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.vid i { position: relative; width: 52px; height: 32px; border-radius: 7px; background: var(--navy-deep); flex-shrink: 0; }
.vid i::after { content: ''; position: absolute; left: 21px; top: 10px; border-left: 12px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.snip-q { margin-top: 6px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 500; color: var(--ink); }
.snip-a { margin-top: 12px; height: 46px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--right); font: 600 1.05rem var(--body); color: var(--ink); font-variant-numeric: tabular-nums; }
.snip-ok { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--right); font-size: .95rem; }
.snip-ok .tick { display: grid; }
.snip .tq { margin-top: 8px; gap: 6px; }
.snip .tq li { padding: 8px 12px; font-size: .88rem; }
.mini-track { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.mini-track::before { content: ''; position: absolute; left: 6px; right: calc(25% - 6px); top: 5px; height: 2px; background: #e6e3db; }
.mini-track li { position: relative; padding-top: 18px; font-size: .74rem; font-weight: 600; color: var(--muted); }
.mini-track li::before { content: ''; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #c9cfd9; }
.mini-track li.reached::before { background: #8a5a1f; border-color: #8a5a1f; }
.mini-track li.on { color: var(--ink); }
.mini-track li.on::before { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 36px; font-weight: 600; }
.more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.more:hover .icon { transform: translateX(3px); }
.on-navy .more { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }

/* ---------- home: what we offer teaser (navy) ---------- */
.tz-free { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tz-big { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 20px; align-items: start; padding: 28px 28px 30px; border-radius: 14px; text-decoration: none;
  background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .25s, box-shadow .25s; }
.tz-big:hover { background: rgba(255, 255, 255, .075); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.tz-big .opills { margin-bottom: 12px; }
.tz-big strong { display: block; font: 700 1.5rem/1.2 var(--display); letter-spacing: -0.01em; color: #fff; }
.tz-big .d { display: block; margin-top: 6px; color: var(--on-navy); }
.tz-big > .icon { margin-top: 14px; color: #fff; transition: transform .3s var(--ease); }
.tz-big:hover > .icon { transform: translateX(3px); }
.tz-more { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.tz-more li { border-top: 1px solid rgba(255, 255, 255, .12); }
.tz-more a { display: flex; align-items: center; gap: 16px; padding: 18px 4px; text-decoration: none; }
.tz-more .t { flex: 1; min-width: 0; }
.tz-more strong { display: block; font-weight: 600; color: #fff; }
.tz-more .d { display: block; font-size: .92rem; color: var(--on-navy); }
.tz-more a > .icon { width: 18px; height: 18px; color: var(--on-navy); transition: transform .3s var(--ease), color .2s; }
.tz-more a:hover > .icon { transform: translateX(3px); color: #fff; }
.tz-more a:hover strong { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }

/* ---------- reviews board (sample reviews) ---------- */
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rv-head h2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; }
.tag-sample { height: 28px; padding: 0 12px; font: 600 .8rem/1 var(--body); letter-spacing: 0; color: #8a5a1f; background: #f6eedf; border: 0; }
.rv-ctrl { display: flex; gap: 10px; }
.rv-ctrl button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.rv-ctrl button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.rv-ctrl button:disabled { opacity: .35; cursor: default; }
.rv-track { margin-top: 36px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 22px; scrollbar-width: thin; scrollbar-color: #1f3a68 #e6e3dc; }
.rv-track:focus-visible { outline-offset: 4px; }
.rv { scroll-snap-align: start; display: flex; flex-direction: column; padding: 24px 26px 22px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 40, 72, .04), 0 10px 24px rgba(20, 40, 72, .07); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); }
.rv blockquote { margin: 14px 0 0; color: var(--ink); line-height: 1.55; }
.rv footer { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv footer strong { display: block; font-weight: 600; color: var(--ink); }
.rv footer span.r { display: block; font-size: .86rem; color: var(--muted); }
.rv .pill { width: auto; padding: 6px 11px; }
.rv-note { margin-top: 8px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.rv-note a { font-weight: 600; }

/* ---------- still have questions? ---------- */
.ask { padding: 72px 0; background: #fff; border-top: 1px solid var(--edge); }
.ask-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.ask-art { width: 168px; height: 120px; }
.ask h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; }
.ask p { margin-top: 8px; color: var(--ink-2); }
.ask-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ask-btns .btn { min-height: 52px; }

/* ---------- inner pages ---------- */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sees { margin-top: 26px; display: grid; gap: 12px; }
.sees li { display: flex; gap: 14px; align-items: center; font-size: 1.05rem; color: var(--ink); }
.sees .gi { width: 40px; height: 40px; }
.sec-head h2 + .sees { margin-top: 28px; }
.op { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.op .ocard { padding: 32px 36px 34px; }
.op h2 { font-size: 1.45rem; color: var(--navy); }
.op .checks li { font-size: 1.04rem; }
.howto { margin-top: 18px; counter-reset: st; }
.howto li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; padding: 16px 0; border-top: 1px solid #efede7; }
.howto li:first-child { border-top: 0; padding-top: 4px; }
.howto li::before { counter-increment: st; content: counter(st); grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); font: 700 .95rem/1 var(--display); }
.howto strong { font-weight: 600; color: var(--ink); }
.howto span { color: var(--ink-2); font-size: .96rem; }
.contact-form-wrap { max-width: 760px; margin: 0 auto; }
.on-navy .qnum { color: var(--on-navy); }
.on-navy .qnum strong { color: #fff; }
.on-navy .quick { flex-direction: row; flex-wrap: wrap; }
.topic-page .topic { margin-top: 0; }
.tutor-solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.tutor-solo h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.1; }
.tutor-solo p.l { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; max-width: 44ch; }
.tutor-solo .review { margin-top: 0; }
.free-line { margin-top: 26px; display: flex; gap: 14px; align-items: center; color: var(--ink); font-weight: 500; }

/* ---------- get started page ---------- */
.gsp { min-height: calc(100svh - 77px); padding: 72px 20px 104px; display: grid; justify-items: center; align-content: start; }
.gs-card { position: relative; width: 100%; max-width: 720px; padding: 44px 48px 40px; color: var(--ink); background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(5, 12, 28, .2), 0 24px 48px rgba(5, 12, 28, .32); }
.gs-card h1, .gs-card h2 { color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; }
.gs-card :focus-visible { outline-color: var(--navy); }
.gs-sub { margin-top: 8px; font-size: 1.08rem; color: var(--ink-2); }
.gs-roles { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gs-role { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 216px; padding: 26px 24px 24px; text-align: left; cursor: pointer;
  background: #fbfaf7; border: 1.5px solid #dfe3ea; border-radius: 14px; transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.gs-role:hover { border-color: var(--navy); background: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20, 40, 72, .12); }
.gs-role:active { transform: none; box-shadow: none; }
.gs-role[aria-pressed="true"] { border-color: var(--navy); background: #fff; }
.gs-role .ri { width: 52px; height: 52px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gs-role strong { margin-top: auto; padding-top: 24px; font: 700 1.45rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--navy); }
.gs-role > span { margin-top: 4px; font-size: .98rem; color: var(--ink-2); }
.gs-dot { position: absolute; top: -8px; right: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(10, 20, 40, .25);
  transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.gs-role[aria-pressed="true"] .gs-dot { transform: scale(1); }
.gs-have { margin-top: 24px; font-size: .97rem; color: var(--ink-2); }
.gs-have a { font-weight: 600; }
.gs-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -12px 0 8px -10px; padding: 0 14px 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); font-weight: 600; font-size: .96rem; cursor: pointer; }
.gs-back:hover { background: var(--ground); }
.gs-back .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.gs-back:hover .icon { transform: translateX(-2px); }
.gs-list { margin-top: 24px; display: grid; gap: 10px; }
.gs-list[hidden] { display: none; }
.gs-opt { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 76px; padding: 14px 18px; text-align: left; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--edge); border-radius: 12px; transition: border-color .2s, background-color .2s; }
.gs-opt:hover { border-color: var(--navy); background: #fbfaf7; }
.gs-opt .oi { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: #e9eef7; color: var(--navy); }
.gs-opt .ot { flex: 1; min-width: 0; }
.gs-opt strong { display: block; font-weight: 600; font-size: 1.04rem; line-height: 1.35; color: var(--ink); }
.gs-opt .ol { display: block; margin-top: 2px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.gs-opt .chev { width: 20px; height: 20px; color: #9aa4b4; transition: transform .25s var(--ease), color .2s; }
.gs-opt:hover .chev { transform: translateX(3px); color: var(--navy); }

/* footer caption */
.foot-site { border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-site .caption { margin-top: 14px; font-size: 1.15rem; }

/* ---------- responsive (additions) ---------- */
@media (min-width: 1181px) and (max-width: 1299px) {
  .top-in { padding: 0 28px 0 40px; }
  .nav .nl { padding: 0 10px; }
  .nav .btn { padding: 0 16px; }
}
@media (max-width: 1180px) {
  .nav .dd, .nav .nl { display: none; }
  .menu-btn { display: grid; }
  .dd-panel { display: none !important; }
}
@media (max-width: 1080px) {
  .hero-grid, .split2, .tutor-solo { gap: 40px; }
  .ask-in { grid-template-columns: minmax(0, 1fr) auto; }
  .ask-art { display: none; }
}
@media (max-width: 899px) {
  .top-in { height: 68px; padding: 0 16px 0 20px; gap: 12px; }
  .site-top .brand { font-size: 1.3rem; }
  .site-top .tile { width: 38px; height: 38px; }
  .nav .btn-gs { margin-left: 0; padding: 0 14px; }
  .menu-panel { top: 64px; right: 16px; }
  .hero-top { grid-template-columns: minmax(0, 1fr); }
  .caption { margin-top: 12px; font-size: 1.2rem; }
  .photo-cut { justify-self: stretch; max-width: none; aspect-ratio: 16 / 10; margin: 24px 0 6px; }
  .photo-cut img { object-position: 40% 40%; }
  .chip-a { top: 12px; left: 12px; }
  .chip-b { bottom: 12px; left: auto; right: 12px; }
  .hero { padding: 56px 0 60px; }
  .hero-grid, .split2, .tutor-solo, .op { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lede { font-size: 1.04rem; }
  .hero .cta .btn { width: 100%; }
  .sec-tight { padding: 64px 0; }
  .p3 { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }
  .tz-free, .tz-more { grid-template-columns: minmax(0, 1fr); }
  .tz-big { padding: 22px 20px 24px; column-gap: 14px; }
  .tz-big strong { font-size: 1.3rem; }
  .rv-track { grid-auto-columns: 85%; gap: 14px; margin-top: 24px; }
  .rv-ctrl button { width: 44px; height: 44px; }
  .ask { padding: 56px 0; }
  .ask-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ask-btns .btn { flex: 1 1 200px; }
  .op .ocard { padding: 24px 20px 26px; }
  .dd-panel { display: none !important; }
  .gsp { padding: 32px 14px 64px; }
  .gs-card { padding: 30px 20px 26px; }
  .gs-roles { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
  .gs-role { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; padding: 18px; }
  .gs-role .ri { width: 44px; height: 44px; }
  .gs-role strong { margin-top: 0; padding-top: 0; font-size: 1.25rem; }
  .gs-role > span { flex-basis: 100%; padding-left: 60px; margin-top: -6px; }
  .gs-opt { padding: 12px 14px; gap: 14px; min-height: 72px; }
  .gs-opt .oi { width: 40px; height: 40px; }
  .on-navy .quick .btn { width: 100%; }
}
@media (max-width: 380px) {
  .site-top .brand { font-size: 1.15rem; gap: 9px; }
  .nav .btn-gs { padding: 0 12px; font-size: .9rem; }
}
.stars svg.off { fill: none; stroke: var(--gold-ink); stroke-width: 1.3; }
.rv-sum { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rv-sum svg { width: 18px; height: 18px; fill: var(--gold); }
#sats-maths, #sats-reading, #sats-gps, .gt thead th { scroll-margin-top: 24px; }
.col { scroll-margin-top: 24px; }
/* heading levels on inner pages (same look as the home components) */
.ptables h2.h3 { font-size: 1.3rem; color: #fff; }
.ptables h2.h3 + p { margin-top: 6px; font-size: .94rem; color: var(--on-navy-small); }
.offer-more-h h2.h3 { font-size: 1.5rem; line-height: 1.2; }
.ocard h2 { color: var(--navy); }
.ocard-big h2.h3x { margin-top: 20px; font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.12; letter-spacing: -0.01em; }
.ledger h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 1.2rem; line-height: 1.25; }
.op h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.op h2 .pill { width: auto; padding: 6px 11px; font: 600 .76rem/1 var(--body); letter-spacing: .01em; }
ol.mini-track, ol.howto { list-style: none; padding: 0; margin-bottom: 0; }
.photo-cut img, .hero-photo img { background: var(--navy-glow); }
/* topic page: compact hero, the card rises into it */
.hero.compact { padding: 56px 0 136px; }
.hero.compact h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); max-width: 22ch; }
.topic-page { padding-top: 0; }
.topic-page .topic { position: relative; z-index: 2; margin-top: -88px; }
/* offer page hero visuals */
.hero-aside { display: grid; justify-items: end; }
.hv { display: grid; gap: 16px; width: 100%; max-width: 440px; }
.hv .review { margin-top: 0; }
.hv-task { min-height: 0; padding: 16px 20px; }
.hv-task .task { margin-top: 0; padding-top: 0; border-top: 0; }
.hv-art { width: 100%; max-width: 380px; height: auto; }
.snip h3, .snip h4 { color: var(--ink); }
.hv-rep { min-height: 0; padding: 22px 24px; }
.rep { margin-top: 18px; display: grid; gap: 14px; }
.rep li { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.rep i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--navy) var(--w), #e6e3db var(--w)); }
.hv-rep .vid { margin-top: 18px; }
.hv-rep .vid .icon { color: var(--navy); }
@media (max-width: 899px) {
  .hero.compact { padding: 40px 0 96px; }
  .hero.compact h1 { font-size: 2rem; }
  .topic-page .topic { margin-top: -64px; }
  .hero-aside { justify-items: stretch; }
  .hv { max-width: none; }
  .hv-art { max-width: 300px; justify-self: center; }
}
.nw { white-space: nowrap; }
.hero-head h1 { max-width: none; font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.gs-h2row { display: flex; align-items: center; gap: 16px; }
.gs-badge { position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: #e9eef7; }
.gs-badge .ri { width: 38px; height: 38px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gs-badge .gs-dot { top: -6px; right: -6px; width: 14px; height: 14px; transform: scale(1); }
@media (prefers-reduced-motion: no-preference) { .gs-badge .gs-dot { animation: gd-in .5s var(--ease) .2s both; } }

/* ================= ROUND 3 ================= */
/* nav: SATs and GCSE carry a soft Test-tint pill */
.nav .nl .lbl-em { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #f6eedf; color: #6e4815; font-weight: 600; }
.nav .nl.em:hover .lbl-em, .nav .nl.em[aria-expanded="true"] .lbl-em { background: #efe2c9; }
.nav button.nl.em { padding-left: 6px; }
.m-acc .lbl-em { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #f6eedf; color: #6e4815; font-weight: 600; }
/* feature panel inside a mega menu */
.dd-feat-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.dd-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 24px; border-radius: 14px; text-decoration: none; color: var(--on-navy); }
.dd-feature .gi { margin-bottom: 8px; }
.dd-feature strong { font: 700 1.35rem/1.2 var(--display); letter-spacing: -0.01em; color: #fff; }
.dd-feature span { font-size: .94rem; line-height: 1.5; }
.dd-feature .dd-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.dd-feature .dd-go .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.dd-feature:hover .dd-go .icon { transform: translateX(3px); }
.dd-feature:focus-visible { outline-color: var(--navy); }

/* home: right door = the three steps */
.door-p h2 { max-width: 14ch; }
.steps-card { margin-top: 22px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: var(--shadow-card); }
.sc-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 22px; }
.sc-row + .sc-row { border-top: 1px solid #efede7; }
.sc-h { display: grid; gap: 8px; justify-items: start; }
.sc-h .pill { width: auto; padding: 6px 11px; }
.sc-h strong { font: 600 .98rem/1.3 var(--display); color: var(--ink); }
.sc-v { min-width: 0; }
.sc-v .simplify { margin-top: 0; font-size: 1.2rem; gap: 4px; }
.sc-v .simplify svg { width: 66px; height: 48px; }
.sc-v .vid { margin-top: 0; margin-left: 8px; font-size: .82rem; }
.sc-v .vid i { width: 40px; height: 26px; }
.sc-v .vid i::after { left: 16px; top: 7px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
.sc-learn { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sc-q { font-size: .9rem; color: var(--ink-2); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sc-q .fr { font-size: .9rem; }
.sc-ans { margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.sc-ans .snip-a { margin-top: 0; height: 40px; width: 92px; }
.sc-ans .snip-ok { margin-top: 0; }
.sc-v .tq { margin-top: 0; gap: 6px; }
.sc-v .tq li { padding: 6px 10px; font-size: .82rem; }
.sc-v .mini-track { margin-top: 10px; }
.door-p .cta .icon { width: 20px; height: 20px; }
.home-par { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.home-par h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; }
.home-par .l { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; max-width: 40ch; }
.home-par .btn { margin-top: 28px; }

/* SATs and GCSE landing pages */
.yr-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 460px; width: 100%; }
.yr-grid span { display: grid; place-items: center; gap: 6px; height: 76px; border-radius: 12px; background: #fff; color: var(--navy); font: 700 1.05rem/1 var(--display); font-variant-numeric: tabular-nums; box-shadow: 0 1px 2px rgba(5, 12, 28, .2), 0 10px 24px rgba(5, 12, 28, .25); }
.yr-grid span .icon { width: 18px; height: 18px; color: var(--gold-ink); }
.yr-grid span.off { background: transparent; color: var(--on-navy-small); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); font: 600 .78rem/1.3 var(--body); text-align: center; }
.yr-cap { margin-top: 14px; font-size: .9rem; color: var(--on-navy-small); }
.boards { display: grid; gap: 12px; width: 100%; max-width: 440px; }
.board { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(5, 12, 28, .2), 0 10px 24px rgba(5, 12, 28, .25); }
.board strong { font: 700 1.25rem/1 var(--display); color: var(--navy); }
.board .tiers { display: flex; gap: 6px; }
.board .tiers span { padding: 6px 10px; border-radius: 999px; background: #f6eedf; color: #8a5a1f; font: 600 .76rem/1 var(--body); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio > div { padding: 30px 32px 28px; scroll-margin-top: 24px; }
.trio > div + div { border-left: 1px solid #efede7; }
.trio h3 { font-size: 1.3rem; color: var(--ink); }
.trio p { margin-top: 6px; color: var(--ink-2); }
.trio .olink { margin-top: 14px; }
.subj7 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.subj7 a { display: flex; align-items: center; gap: 12px; padding: 22px 24px; border-top: 1px solid #efede7; text-decoration: none; color: var(--ink); font-weight: 600; }
.subj7 a:nth-child(-n+4) { border-top: 0; }
.subj7 a:not(:nth-child(4n+1)) { border-left: 1px solid #efede7; }
.subj7 a:hover { background: #fbfaf7; color: var(--navy); }
.subj7 .sdot { margin-top: 0; }
.facts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.facts > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--edge); font-size: .92rem; font-weight: 500; color: var(--ink); }
.facts .sdot { margin-top: 0; }
.mtc-art { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 12px; border: 1px solid var(--edge); border-top: 4px solid var(--navy); background: #fbfaf7; }
.links-list { margin-top: 18px; }
.links-list li { border-top: 1px solid var(--edge); }
.links-list li:last-child { border-bottom: 1px solid var(--edge); }
.links-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; text-decoration: none; color: var(--ink); font-weight: 600; }
.links-list a:hover { color: var(--navy); }
.links-list a .icon { width: 18px; height: 18px; color: var(--navy); transition: transform .3s var(--ease); }
.links-list a:hover .icon { transform: translateX(3px); }
.links-list .d { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
.price { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.price::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.terms3 { width: 100%; max-width: 460px; padding: 22px 24px; }
.terms3 .t3 { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.terms3 .t3 > div { padding: 12px; border-radius: 10px; background: #fbfaf7; border: 1px solid #efede7; }
.terms3 .t3 b { display: block; font: 600 .82rem/1.2 var(--display); color: var(--navy); margin-bottom: 8px; }
.terms3 .t3 span { display: block; font-size: .8rem; line-height: 1.35; color: var(--ink-2); padding: 5px 0; border-top: 1px solid #efede7; }
.terms3 .t3 span:first-of-type { border-top: 0; }

/* get started: start learning sub-step */
.gs-more { margin: -2px 0 4px; padding: 18px 18px 14px; border-radius: 12px; background: #f6f5f1; border: 1px solid #efede7; }
.gs-more[hidden] { display: none; }
.gs-opt[aria-expanded="true"] { border-color: var(--navy); }
.gs-opt[aria-expanded="true"] .chev { transform: rotate(90deg); }
.gs-more .finder { margin-top: 0; }
.gs-more .finder input { height: 50px; border: 1px solid #dfe3ea; background: #fff; box-shadow: none; }
.gs-more .finder input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 58, 104, .25); }
.gs-more .finder-status { color: var(--ink-2); }
.gs-more .finder-status strong { color: var(--ink); }
.gs-more .panel { box-shadow: 0 2px 4px rgba(20, 40, 72, .06), 0 18px 36px rgba(20, 40, 72, .18); }
.gs-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.gs-quick a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--edge); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.gs-quick a:hover { border-color: var(--navy); color: var(--navy); }
.gs-quick .icon { width: 18px; height: 18px; color: var(--navy); }
.gs-note { margin-top: 4px; font-size: .86rem; color: var(--muted); }

/* sign in and register (the app's sign-in design) */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.auth-side { display: flex; flex-direction: column; gap: 40px; padding: 44px 56px; }
.auth-side .brand { color: #fff; font-size: 2rem; gap: 18px; }
.auth-side .tile { width: 64px; height: 64px; border-radius: 16px; }
.auth-side .tile svg { width: 44px; height: 44px; }
.auth-body { margin: auto 0; }
.auth-side h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.15; max-width: 14ch; }
.auth-lede { margin-top: 16px; max-width: 30em; font-size: 1.05rem; color: var(--on-navy); }
.auth-points { margin-top: 36px; padding-top: 28px; display: grid; gap: 20px; max-width: 480px; border-top: 1px solid rgba(255, 255, 255, .12); }
.auth-points li { display: flex; gap: 14px; align-items: flex-start; }
.auth-points .icon { color: var(--gold); margin-top: 2px; }
.auth-points strong { display: block; color: #fff; font-weight: 600; }
.auth-points span { display: block; margin-top: 2px; font-size: .92rem; color: #b9c7dc; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 24px; background: var(--ground); }
.auth-card { width: 100%; max-width: 440px; padding: 36px 34px 28px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: var(--shadow-card); }
.auth-card.wide { max-width: 520px; }
.auth-card h2 { font-size: 1.85rem; line-height: 1.15; color: var(--navy); }
.auth-card .sub { margin-top: 6px; color: var(--ink-2); font-size: .98rem; }
.auth-card .fld { margin-top: 18px; }
.hint { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.hint.ok { color: var(--right); font-weight: 500; }
.pw { position: relative; }
.pw .in { padding-right: 76px; }
.eye { position: absolute; top: 6px; right: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); font: 600 .86rem var(--body); cursor: pointer; }
.eye:hover { background: #e9eef7; }
.cb { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: .95rem; color: var(--ink); line-height: 1.5; cursor: pointer; }
.cb input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--navy); cursor: pointer; }
.cb + .err { margin-left: 32px; }
.cond[hidden] { display: none; }
.cond { margin-top: 4px; padding: 2px 16px 16px; border-radius: 12px; background: #f6f5f1; border: 1px solid #efede7; }
.auth-card .btn-navy.full { width: 100%; margin-top: 24px; min-height: 52px; }
.auth-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid #efede7; font-size: .92rem; color: var(--ink-2); text-align: center; }
.auth-foot p + p { margin-top: 6px; }
.auth-foot a { font-weight: 600; }
.auth-below { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; font-size: .9rem; }
.auth-below a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.auth-below .icon { width: 18px; height: 18px; }
.done-box { text-align: left; }
.done-box .tick-lg { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #e9eef7; color: var(--navy); }
.done-box .tick-lg .icon { width: 28px; height: 28px; }
.done-box h2 { margin-top: 18px; }
.done-box p { margin-top: 8px; color: var(--ink-2); }
.auth-card form[hidden], .done-box[hidden] { display: none; }
.legal-body { max-width: 68ch; }
.legal-body h2 { margin-top: 40px; font-size: 1.4rem; color: var(--ink); }
.legal-body p, .legal-body ul { margin-top: 12px; color: var(--ink-2); }
.legal-body ul { list-style: disc; padding-left: 22px; }
.legal-body li + li { margin-top: 6px; }

@media (max-width: 1180px) {
  .nav .dd, .nav .nl { display: none; }
  .menu-btn { display: grid; }
  .dd-panel { display: none !important; }
}
@media (max-width: 1080px) {
  .sc-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sc-h { grid-auto-flow: column; justify-content: start; align-items: center; }
  .subj7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subj7 a:nth-child(-n+4) { border-top: 1px solid #efede7; }
  .subj7 a:nth-child(-n+2) { border-top: 0; }
  .subj7 a:not(:nth-child(4n+1)) { border-left: 0; }
  .subj7 a:nth-child(even) { border-left: 1px solid #efede7; }
}
@media (max-width: 899px) {
  .home-par, .trio { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .trio { gap: 0; }
  .trio > div + div { border-left: 0; border-top: 1px solid #efede7; }
  .trio > div { padding: 24px 20px; }
  .sc-row { padding: 14px 16px; }
  .yr-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .yr-grid span { height: 60px; font-size: .92rem; }
  .yr-grid span.off { font-size: .66rem; }
  .gs-quick { grid-template-columns: minmax(0, 1fr); }
  .auth { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .auth-side { padding: 18px 20px; gap: 0; }
  .auth-side .brand { font-size: 1.4rem; gap: 12px; }
  .auth-side .tile { width: 44px; height: 44px; border-radius: 11px; }
  .auth-side .tile svg { width: 30px; height: 30px; }
  .auth-body { margin: 12px 0 0; }
  .auth-side h1 { font-size: 1.3rem; max-width: none; }
  .auth-lede, .auth-points { display: none; }
  .auth-main { justify-content: flex-start; padding: 22px 14px 36px; }
  .auth-card { padding: 26px 20px 22px; }
  .subj7 { grid-template-columns: minmax(0, 1fr); }
  .subj7 a { border-left: 0 !important; border-top: 1px solid #efede7 !important; }
  .subj7 a:first-child { border-top: 0 !important; }
}
.gs-list > li { display: grid; gap: 8px; }
.legal a { color: var(--on-navy); text-decoration-color: rgba(255, 255, 255, .35); }
.legal a:hover { color: #fff; }
.papers.tbl { padding: 80px 0; }
.papers.tbl .ptables { margin-top: 0; }
@media (max-width: 899px) { .papers.tbl { padding: 56px 0; } }
.done-btns { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.done-box .hint { margin-top: 18px; }


/* ============ HOME HERO v4: photo-led, one image (owner, 18 Nov 2026) ============ */
.hero4 { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); min-height: calc(100svh - 77px); }
.h4-copy { display: flex; align-items: center; }
.h4-in { width: 100%; max-width: 660px; margin-left: auto; padding: 56px 64px 56px 84px; }
.hero4 .pillars-h1 { font-size: clamp(2.6rem, 4.1vw, 3.85rem); }
.h4-about { margin-top: 18px; max-width: 34em; color: var(--on-navy); font-size: 1.06rem; line-height: 1.6; }
.hero4 .years { margin-top: 28px; }
.hero4 .finder { margin-top: 12px; }
.h4-go { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.h4-go .btn { min-height: 56px; padding: 0 26px; font-size: 1.04rem; }
.h4-acc { background: rgba(212, 165, 42, .12); color: #f4d27a; border: 1.5px solid var(--gold); gap: 10px; }
.h4-acc:hover { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.h4-acc:focus-visible { outline: 3px solid rgba(244, 210, 122, .7); outline-offset: 3px; }
.h4-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(212, 165, 42, .25); }
.h4-acc:hover .h4-dot { background: var(--navy-deep); box-shadow: none; }
.h4-note { margin-top: 14px; color: var(--on-navy-small); font-size: .92rem; max-width: 34em; }
/* the art: one cut-out photo standing on Mentora shapes, PMT-style */
.h4-art { position: relative; margin: 0; background: var(--ground); overflow: hidden; min-height: 520px; }
.h4-shape { position: absolute; display: block; }
.h4-shape.s1 { width: 58%; aspect-ratio: 1; right: 10%; bottom: 0; transform: translateY(18%); border-radius: 22%; background: var(--navy); }
.h4-shape.s2 { width: 13%; aspect-ratio: 1; right: 8%; top: 16%; border-radius: 50%; background: var(--gold); }
.h4-shape.s3 { width: 26%; aspect-ratio: 1; left: 9%; top: 22%; border-radius: 28%; background: #e5f3ec; }
.h4-shape.s4 { width: 18%; aspect-ratio: 1; left: 18%; bottom: 14%; border-radius: 50% 50% 50% 12%; background: #f6eedf; }
.h4-img { position: absolute; left: 50%; bottom: 0; transform: translateX(-46%); height: auto; width: auto; max-height: 88%; max-width: 80%; object-fit: contain; object-position: bottom center; -webkit-mask-image: linear-gradient(to bottom, #000 72%, rgba(0,0,0,.55) 86%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, rgba(0,0,0,.55) 86%, transparent 100%); }
@media (prefers-reduced-motion: no-preference) {
  .h4-img { animation: h4-up .9s var(--ease) .15s both; }
  .h4-shape { animation: h4-pop .8s var(--ease) both; }
  .h4-shape.s2 { animation-delay: .35s; } .h4-shape.s3 { animation-delay: .2s; } .h4-shape.s4 { animation-delay: .45s; }
}
@keyframes h4-up { from { opacity: .001; transform: translate(-46%, 24px); } to { opacity: 1; transform: translate(-46%, 0); } }
@keyframes h4-pop { from { opacity: .001; scale: .85; } to { opacity: 1; scale: 1; } }

/* the three steps, made solid */
.steps4 { background: #fff; border-bottom: 1px solid var(--edge); padding: 64px 0 56px; }
.st4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.st4::before { content: ''; position: absolute; top: 31px; left: 40px; right: calc((100% - 56px) / 3 - 40px); height: 2px; background: repeating-linear-gradient(90deg, #d8d4ca 0 8px, transparent 8px 16px); z-index: 0; }
.st4 li { position: relative; z-index: 1; padding: 0 8px; }
.st4-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 8px #fff; }
.st4-ic .icon { width: 30px; height: 30px; }
.st4-l .st4-ic { background: #e9eef7; color: #1f3a68; }
.st4-p .st4-ic { background: #e5f3ec; color: #22603f; }
.st4-t .st4-ic { background: #f6eedf; color: #8a5a1f; }
.st4 h3 { margin-top: 20px; font: 800 2rem/1 var(--display); letter-spacing: -0.03em; color: var(--navy); }
.st4 h3 .gd { display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: 50%; background: var(--gold); }
.st4 p { margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; line-height: 1.55; max-width: 30ch; }
.st4-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 600; color: var(--navy); }
.st4-more .icon { width: 18px; height: 18px; }
@media (max-width: 899px) {
  .hero4 { grid-template-columns: 1fr; min-height: 0; }
  .h4-in { padding: 36px 20px 40px; margin: 0; max-width: none; }
  .h4-art { min-height: 360px; }
  .h4-go .btn { flex: 1 1 100%; }
  .steps4 { padding: 44px 0 40px; }
  .st4 { grid-template-columns: 1fr; gap: 28px; }
  .st4::before { top: 0; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #d8d4ca 0 8px, transparent 8px 16px); }
  .st4 li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 0; }
  .st4 h3 { margin-top: 4px; font-size: 1.6rem; }
  .st4 p { grid-column: 2; margin-top: 6px; }
  .st4-ic { grid-row: span 2; }
}
.free-badge { display: inline-block; vertical-align: .2em; margin-left: 8px; padding: 4px 9px 3px; border-radius: 999px; background: var(--gold); color: var(--navy-deep); font: 700 .72rem/1 var(--body); letter-spacing: .02em; }
h1 .free-badge { font-size: .9rem; padding: 6px 12px 5px; vertical-align: .45em; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#r-server:empty { display: none; }

/* the year filter, shown as a removable chip inside the search box */
.yr-chip { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 14px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 600 .9rem/1 var(--body); cursor: pointer; z-index: 2; }
.yr-chip:hover { background: var(--navy-deep); }
.yr-chip:focus-visible { outline: 3px solid rgba(212, 165, 42, .7); outline-offset: 2px; }
.yr-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.yr-chip[hidden] { display: none; }
.finder-box.has-chip input { padding-right: 132px; }
.panel-note .clear-yr { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--navy); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* legal pages: a plain summary first; yellow marks are details still to be filled in */
.hero .updated { margin-top: 10px; color: var(--on-navy-small); font-size: .92rem; }
.in-short { margin-top: 8px; padding: 22px 26px 24px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--gold); border-radius: 14px; }
.in-short h2 { margin-top: 0 !important; font-size: 1.15rem !important; }
.legal-body h2 { scroll-margin-top: 90px; }
.legal-body li + li { margin-top: 6px; }
mark.fill { background: #fff1b8; color: #6b4a00; padding: 1px 5px; border-radius: 4px; }

/* hero image v2 (18 Nov 2026): the natural photograph fills the right half; no cut-out, no shapes */
.h4-art { background: #e9e4da; }
.h4-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
@media (prefers-reduced-motion: no-preference) {
  .h4-photo { animation: h4-fade .9s var(--ease) .1s both; }
}
@keyframes h4-fade { from { opacity: .001; } to { opacity: 1; } }
@media (max-width: 899px) {
  .h4-art { min-height: 0; aspect-ratio: 1 / .96; }
}

/* ============ HOME HERO v3 layout (18 Nov 2026): capped height, 50/50, centred copy, framed photo ============ */
.hero4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(620px, calc(100svh - 77px), 720px); }
.h4-copy { align-items: center; }
.h4-in { max-width: 620px; padding: 40px 56px 40px 84px; }
.hero4 .pillars-h1 { font-size: clamp(2.5rem, 3.7vw, 3.6rem); }
.hero4 .caption { margin-top: 12px; }
.h4-about { margin-top: 12px; }
.hero4 .years { margin-top: 22px; }
.hero4 .finder { margin-top: 10px; }
.h4-go { margin-top: 20px; }
.h4-go .btn { min-height: 52px; }
.h4-note { margin-top: 10px; }
/* the photograph: its own 4:3 frame on the cream side, so nothing of the subject is cut */
.h4-art { display: flex; align-items: center; justify-content: center; min-height: 0; padding: clamp(24px, 3.2vw, 56px); background: var(--ground); overflow: visible; }
.h4-frame { position: relative; width: 100%; max-width: 640px; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #e9e4da;
  box-shadow: 0 1px 2px rgba(20, 40, 72, .06), 0 22px 44px rgba(20, 40, 72, .14); }
.h4-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 1180px) {
  .h4-in { padding: 36px 40px 36px 48px; }
}
@media (max-width: 899px) {
  .hero4 { grid-template-columns: 1fr; min-height: 0; }
  .h4-in { padding: 36px 20px 40px; max-width: none; }
  .h4-art { aspect-ratio: auto; padding: 24px 20px 32px; }
  .h4-frame { max-width: 560px; }
}
/* short desktop windows (a browser that is not full height): the hero follows the window down to ~440px and tightens */
@media (min-width: 900px) and (max-height: 760px) {
  .hero4 { min-height: clamp(440px, calc(100svh - 77px), 720px); }
  .h4-in { padding: 22px 32px 22px 40px; }
  .hero4 .pillars-h1 { font-size: clamp(2.1rem, 3vw, 2.9rem); }
  .hero4 .caption { margin-top: 6px; font-size: 1.12rem; }
  .h4-about { margin-top: 6px; font-size: .98rem; line-height: 1.5; }
  .hero4 .years { margin-top: 14px; }
  .hero4 .seg button { height: 40px; }
  .hero4 .finder input { height: 48px; }
  .h4-go { margin-top: 14px; }
  .h4-go { gap: 10px; }
  .h4-go .btn { min-height: 46px; padding: 0 18px; font-size: .98rem; }
  .h4-note { margin-top: 6px; font-size: .86rem; }
  .h4-art { padding: 20px 28px; }
}

/* ============ HOME HERO v4 style (owner's reference, 18 Nov 2026): one-line headline, caption written on the photo ============ */
.hero4 .pillars-h1 { font-size: clamp(2.2rem, 3.45vw, 3.2rem); letter-spacing: -0.035em; white-space: nowrap; }
.hero4 .pillars-h1 .pw { display: inline-block; width: auto; margin-right: .18em; }
.hero4 .pillars-h1 .pw:last-child { margin-right: 0; }
.h4-about { margin-top: 18px; font-size: 1.05rem; }
.hero4 .years { margin-top: 26px; }
/* the photograph, larger: it fills the cream side inside a rounded frame of its own shape */
.h4-art { padding: clamp(18px, 1.8vw, 28px); }
.h4-frame { max-width: 700px; aspect-ratio: 1600 / 1428; border-radius: 22px; }
.h4-photo { object-position: 50% 45%; }
/* "A little progress, every day." written on the wall behind him */
.h4-hand { position: absolute; left: 6%; top: 7%; z-index: 2; margin: 0; max-width: 54%; transform: rotate(-7deg); transform-origin: left top;
  font: 700 clamp(1.6rem, 2.9vw, 2.9rem)/1.02 "Caveat", "Segoe Print", cursive; color: #fff;
  text-shadow: 0 1px 2px rgba(20, 40, 72, .45), 0 4px 18px rgba(20, 40, 72, .35); }
.h4-swoosh { display: block; width: 66%; height: auto; margin: 4px 0 0 4%; overflow: visible; }
.h4-swoosh path { fill: none; stroke: #f2b915; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 1.5px rgba(20, 40, 72, .55)) drop-shadow(0 2px 3px rgba(20, 40, 72, .35)); }
.h4-swoosh path + path { stroke-width: 3.5; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .h4-swoosh path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: h4-draw .9s var(--ease) .55s forwards; }
  .h4-swoosh path + path { animation-delay: .8s; }
}
@keyframes h4-draw { to { stroke-dashoffset: 0; } }
@media (min-width: 900px) and (max-height: 760px) {
  .hero4 .pillars-h1 { font-size: clamp(2rem, 2.8vw, 2.7rem); }
  .h4-about { margin-top: 10px; }
  .hero4 .years { margin-top: 16px; }
  .h4-art { padding: 16px 22px; }
}
@media (max-width: 899px) {
  .h4-hand { font-size: clamp(1.45rem, 6vw, 2.1rem); }
  .hero4 .pillars-h1 { white-space: normal; }
}

/* Learning Pathways in the SATs and GCSE menus (18 Nov 2026) */
.dd-flag { align-self: flex-start; display: inline-block; padding: 4px 10px 3px; border-radius: 999px; background: var(--gold); color: var(--navy-deep); font: 700 .72rem/1.2 var(--body); letter-spacing: .02em; }
.dd-path { box-shadow: inset 0 0 0 1px rgba(212, 165, 42, .35); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.dd-path:hover, .dd-path:focus-visible { box-shadow: inset 0 0 0 2px var(--gold), 0 14px 30px rgba(5, 12, 28, .25); }
.dd-path .gi { margin-top: 2px; }
.dd-trio { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; padding: 7px 0; }
.dd-trio a { padding: 0 !important; }
.m-sub .m-path { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--navy); background: #f6f1e2; border-radius: 10px; }
.m-sub .m-path .dd-flag { font-size: .68rem; }

/* Subjects page: every topic, by year (18 Nov 2026) */
.col h4 .cnt { margin-left: auto; font: 500 .8rem var(--body); color: var(--muted); }
.col h4 { display: flex; align-items: center; gap: 8px; }
.col details.yr { border-top: 1px solid #ece9e1; }
.col details.yr summary { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; cursor: pointer; font: 600 .95rem var(--display); color: var(--ink); list-style: none; }
.col details.yr summary::-webkit-details-marker { display: none; }
.col details.yr summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-left: 10px; transition: transform .2s var(--ease); }
.col details.yr[open] summary::after { transform: rotate(-135deg); }
.col details.yr summary span { margin-left: auto; font: 500 .8rem var(--body); color: var(--muted); }
.col details.yr summary:focus-visible { outline: 3px solid rgba(31, 58, 104, .35); outline-offset: 2px; border-radius: 6px; }
.col ul li em.hi { margin-left: 6px; font: 600 .68rem/1 var(--body); font-style: normal; color: #8a5a1f; background: #f6eedf; padding: 3px 6px; border-radius: 999px; }

/* ---------- Learning Pathways (sats.html #pathway, gcse.html #pathways) ---------- */
.path-sec { scroll-margin-top: 24px; }
.path-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; }
.path-head h2 { margin-top: 12px; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; color: var(--navy); }
.path-head p { margin-top: 12px; color: var(--ink-2); max-width: 62ch; font-size: 1.05rem; }
.path-head .dd-flag { display: inline-block; }
.path-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.path-cta .btn { min-height: 48px; }
.pw-line { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.pw-line::before { content: ''; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--navy), var(--gold)); opacity: .35; }
.pw-line li { position: relative; padding: 30px 22px 0 0; }
.pw-line li::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-sizing: border-box; }
.pw-line li.is-exam::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(212, 165, 42, .2); }
.pw-when { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a5a1f; }
.pw-line strong { display: block; margin-top: 4px; font: 700 1.3rem/1.2 var(--display); color: var(--navy); }
.pw-line p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.pw-facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--edge); border-radius: 14px; box-shadow: var(--shadow-card); }
.pw-facts li { padding: 20px 24px; }
.pw-facts li + li { border-left: 1px solid #efede7; }
.pw-facts b { display: block; font: 700 1.25rem/1.2 var(--display); color: var(--navy); }
.pw-facts span { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; }
.gp-cards { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gp-card { --c: var(--navy); display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 24px 22px 18px; background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--edge); border-top: 4px solid var(--c); border-radius: 14px; box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.gp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 40, 72, .12); }
.gp-card .sdot { --c: inherit; }
.gp-card strong { font: 700 1.25rem/1.2 var(--display); color: var(--c); }
.gp-card > span:not(.sdot):not(.gp-go) { color: var(--ink-2); font-size: .95rem; }
.gp-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); min-height: 40px; }
.gp-go .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.gp-card:hover .gp-go .icon { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .gp-card, .gp-card:hover { transform: none; transition: none; } }
@media (max-width: 1000px) { .gp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .path-head { grid-template-columns: 1fr; align-items: start; }
  .pw-line { grid-template-columns: 1fr; gap: 22px; }
  .pw-line::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--navy), var(--gold)); }
  .pw-line li { padding: 0 0 0 32px; }
  .pw-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-facts li:nth-child(3) { border-left: 0; }
  .pw-facts li:nth-child(n+3) { border-top: 1px solid #efede7; }
}
@media (max-width: 560px) { .gp-cards { grid-template-columns: 1fr; } .gp-card { min-height: 0; } }

/* ---------- Subjects menu: years on the left, the year's subjects on the right ---------- */
.dy { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 40px; align-items: start; }
.dy-h { font: 600 .86rem/1.3 var(--body); color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid #efede7; margin-bottom: 10px; }
.dy-years ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2px; }
.dy-year { display: flex; flex-direction: row; align-items: baseline; gap: 10px; min-height: 44px; padding: 6px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; position: relative; }
.dy-year b { font: 700 1rem/1.2 var(--display); color: var(--navy); }
.dy-year span { font-size: .8rem; color: var(--muted); }
.dy-year:hover, .dy-year:focus-visible, .dy-year.is-on { background: #eef2f8; }
.dy-year.is-on b { color: var(--navy-deep); }
.dy-mine { margin-left: auto; font-style: normal; font: 700 .74rem/1 var(--body); color: #8a5a1f; }
.dy-panel { min-height: 160px; }
.dy-hint { color: var(--muted); padding: 34px 0; max-width: 32ch; }
.dy-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dy-tile { --c: var(--navy); display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 16px; background: #fff; border: 1px solid var(--edge); border-top: 3px solid var(--c);
  border-radius: 12px; color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.dy-tile:hover, .dy-tile:focus-visible { box-shadow: 0 10px 24px rgba(20, 40, 72, .12); transform: translateY(-2px); }
.dy-tile strong { display: block; font: 700 1.02rem/1.2 var(--display); color: var(--c); }
.dy-tile small { color: var(--muted); font-size: .84rem; }
.dy-si { width: 28px; height: 28px; color: var(--c); }
.m-sub small { color: var(--muted); font-size: .8rem; margin-left: 6px; }

/* ---------- Subjects page (subjects.html #browse) ---------- */
.sj { scroll-margin-top: 16px; }
.sj-pick h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); color: var(--navy); }
.sj-pick > p { margin-top: 8px; color: var(--ink-2); }
.sj-years { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sj-year { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sj-year:hover, .sj-year:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 40, 72, .14); }
.sj-yn { font: 800 1.5rem/1.1 var(--display); color: var(--navy); }
.sj-ys { color: var(--ink-2); font-size: .92rem; }
.sj-yc { margin-top: 6px; color: var(--muted); font-size: .82rem; }
.sj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sj-head h2 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.05; color: var(--navy); }
.sj-head p { margin-top: 6px; color: var(--ink-2); }
.sj-change { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font: 600 .94rem var(--body); cursor: pointer; }
.sj-change:hover { background: var(--navy); color: #fff; }
.sj-subjects { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.sj-subject { --c: var(--navy); display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--c); border-radius: 14px; transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.sj-subject strong { display: block; font: 700 1.1rem/1.2 var(--display); color: var(--c); }
.sj-subject small { color: var(--muted); font-size: .86rem; }
.sj-subject .sj-si { width: 30px; height: 30px; color: var(--c); }
.sj-subject:hover { box-shadow: 0 10px 24px rgba(20, 40, 72, .1); }
.sj-subject.is-on { background: var(--c); border-color: var(--c); box-shadow: 0 12px 28px rgba(20, 40, 72, .18); }
.sj-subject.is-on strong, .sj-subject.is-on .sj-si { color: #fff; }
.sj-subject.is-on small { color: rgba(255, 255, 255, .82); }
.sj-subject:focus-visible, .sj-t:focus-visible, .sj-year:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sj-strip { margin-top: 18px; display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; padding: 18px 22px; border-radius: 14px; text-decoration: none; color: #fff;
  background: #142848 radial-gradient(120% 140% at 0% 0%, #23457a 0%, rgba(35, 69, 122, 0) 60%); }
.sj-strip .dd-flag { flex: none; }
.sj-strip-t { flex: 1 1 320px; display: grid; gap: 2px; }
.sj-strip-t strong { font: 700 1.1rem/1.25 var(--display); }
.sj-strip-t span { color: #c3cfe0; font-size: .94rem; }
.sj-strip-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); }
.sj-strip-go .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.sj-strip:hover .sj-strip-go .icon { transform: translateX(3px); }
.sj-topics { --c: var(--navy); margin-top: 34px; }
.sj-th h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); color: var(--c); }
.sj-th p { margin-top: 6px; color: var(--ink-2); max-width: 70ch; }
.sj-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 600 .78rem/1.4 var(--body); }
.sj-terms { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.sj-term h4 { display: flex; align-items: baseline; gap: 8px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--c); font: 700 1rem/1.3 var(--display); color: var(--ink); }
.sj-term h4 span { font: 500 .84rem var(--body); color: var(--muted); }
.sj-term ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sj-t { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; background: #fff; border: 1px solid var(--edge); border-radius: 12px; color: var(--ink); text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.sj-t:hover { border-color: var(--c); box-shadow: 0 8px 20px rgba(20, 40, 72, .1); transform: translateY(-1px); }
.sj-ti { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.sj-ti .icon { width: 21px; height: 21px; }
.sj-tt { min-width: 0; display: grid; gap: 1px; }
.sj-tt strong { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.sj-tt small { color: var(--muted); font-size: .82rem; }
.sj-tt em { font-style: normal; font-weight: 600; color: #8a5a1f; }
@media (prefers-reduced-motion: reduce) { .sj-year, .sj-t, .dy-tile { transition: none; } .sj-year:hover, .sj-t:hover, .dy-tile:hover { transform: none; } }
@media (max-width: 1000px) { .sj-terms { grid-template-columns: 1fr 1fr; } .sj-years { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .sj-terms { grid-template-columns: 1fr; }
  .sj-subjects { grid-template-columns: 1fr 1fr; }
  .sj-subject { min-height: 64px; padding: 12px 14px; gap: 10px; }
  .sj-subject .sj-si { width: 24px; height: 24px; }
  .sj-years { gap: 10px; }
  .sj-year { padding: 16px; }
}

/* ---------- Parents: where is your child now? ---------- */
.pr-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pr-card { --c: var(--navy); display: flex; flex-direction: column; padding: 26px 26px 20px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--c); border-radius: 14px; box-shadow: var(--shadow-card); }
.pr-card h3 { font-size: 1.3rem; line-height: 1.2; color: var(--c); }
.pr-card .checks { margin: 14px 0 16px; }
.pr-tuition { margin-top: 26px; color: var(--ink-2); }
.pr-tuition a { font-weight: 600; }
.h4-parent { margin-top: 14px; }
.h4-parent a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45); }
.h4-parent a:hover { text-decoration-color: var(--gold); }
.h4-parent .icon { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 900px) { .pr-grid { grid-template-columns: 1fr; } }

.h4-parent a { flex-wrap: nowrap; } .h4-parent a .icon { flex: none; }
.sj-hero.is-picking .years { display: none; }

/* ---------- What we offer: six services, equal weight ---------- */
.of6-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.of6 { display: flex; flex-direction: column; padding: 28px 28px 26px; }
.of6-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.of6-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #e9eef7; color: var(--navy); }
.of6-ic .icon { width: 26px; height: 26px; }
.of6 .opills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.of6 h2.h3x { margin-top: 0; font-size: clamp(1.35rem, 1.8vw, 1.6rem); }
.of6 .oline { margin-top: 8px; color: var(--ink-2); }
.of6 .checks { margin: 16px 0 22px; }
.of6 .oact { margin-top: auto; }
.of6 .oact .btn { width: 100%; justify-content: center; text-align: center; }
.price-badge { display: inline-block; vertical-align: .2em; margin-left: 8px; padding: 4px 9px 3px; border-radius: 999px; background: #e9eef7; color: var(--navy); font: 700 .72rem/1 var(--body); letter-spacing: .02em; }
.of6-note { margin-top: 28px; color: var(--ink-2); text-align: center; }
.of6-note a { font-weight: 600; }
@media (max-width: 1080px) { .of6-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .of6-grid { grid-template-columns: 1fr; } .of6 { padding: 24px 22px; } }

/* ---------- "Lessons are free" message before a link into the app ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.gate[hidden] { display: none; }
.gate-back { position: absolute; inset: 0; background: rgba(14, 26, 48, .55); backdrop-filter: blur(3px); animation: gate-fade .25s ease-out both; }
.gate-card { position: relative; width: min(480px, 100%); padding: 34px 32px 28px; background: #fff; border-radius: 18px; border-top: 4px solid var(--navy);
  box-shadow: 0 30px 80px rgba(5, 12, 28, .35); text-align: center; animation: gate-rise .35s cubic-bezier(.16, 1, .3, 1) both; }
.gate-logo { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(20, 40, 72, .16); }
.gate-logo svg { width: 34px; height: 34px; }
.gate-card h2 { margin-top: 16px; font-size: 1.7rem; color: var(--navy); }
.gate-card p { margin-top: 10px; color: var(--ink-2); line-height: 1.6; }
.gate-card p strong { color: var(--ink); }
.gate-btns { margin-top: 22px; display: grid; gap: 10px; }
.gate-btns .btn { justify-content: center; min-height: 50px; }
.gate-x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.gate-x:hover { background: var(--ground); color: var(--ink); }
.gate-x .icon { width: 20px; height: 20px; }
html.gate-open { overflow: hidden; }
@keyframes gate-fade { from { opacity: 0; } }
@keyframes gate-rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .gate-back, .gate-card { animation: none; } }

/* ============ PHOTOS + MOTION LAYER (19 Nov 2026; plan: site-mocks/VISUAL_PLAN.md, effects: motion.css / motion.js) ============ */
/* the headline is readable from the first paint: the words rise into place without fading in */
@media (prefers-reduced-motion: no-preference) {
  .pillars-h1 .pw { animation-name: pw-rise; }
}
@keyframes pw-rise { from { transform: translateY(12px); } to { transform: none; } }
/* a photo frame in the card language; the warm fill and fixed shape keep it tidy while the image loads */
.pic { position: relative; display: block; margin: 0; border-radius: 18px; overflow: hidden; background: #e9e4da; aspect-ratio: var(--ar, 4 / 3);
  box-shadow: 0 1px 2px rgba(20, 40, 72, .06), 0 22px 44px rgba(20, 40, 72, .12); }
.pic > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.field .pic { box-shadow: 0 2px 4px rgba(5, 12, 28, .3), 0 24px 48px rgba(5, 12, 28, .45); }
.pic-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 .86rem/1 var(--body); box-shadow: 0 6px 18px rgba(20, 40, 72, .18); }
.pic-tag i { width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--navy)); }
/* mosaic: one large photo and two stacked (Subjects) */
.pic-mosaic { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; height: clamp(420px, 44vw, 600px); }
.pic-mosaic > * { aspect-ratio: auto; }
.pic-mosaic > :first-child { grid-column: 1 / 8; grid-row: 1 / 3; }
.pic-mosaic > :nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.pic-mosaic > :nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
/* pair: two photos side by side (SATs pathway) */
.pic-pair { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pic-pair .pic { --ar: 16 / 10; }
/* split: photo beside copy */
.pic-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.tz-head { align-items: end; }
.ex-split { align-items: center; }
/* wide band above the details on the offer pages */
.pic-wide { --ar: 21 / 8; margin-bottom: 40px; }
/* home: the parents photo under the button */
.home-par-pic { margin-top: 36px; }
/* home: counts in a sentence + two topic tickers */
.m-band h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; }
.count-line { margin-top: 18px; max-width: 46ch; font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.4 var(--display); color: var(--navy); letter-spacing: -0.01em; }
.ticks { margin-top: 40px; display: grid; gap: 12px; }
/* parents: every lesson's mastery level, drawn as the track */
.mast-card { margin-top: 28px; max-width: 420px; background: #fff; border: 1px solid var(--edge); border-top: 4px solid var(--navy); border-radius: 14px; box-shadow: var(--shadow-card); padding: 24px 26px 20px; }
.mast-card h3 { font-size: 1.1rem; color: var(--ink); }
.mast-card .sub { margin: 4px 0 14px; font-size: .9rem; color: var(--muted); }
.mast-card .m-mastery li { min-height: 56px; padding: 6px 0; color: var(--ink); }
.tutor-stack { margin-top: 36px; max-width: 520px; }
/* SATs / GCSE timeline: a node over each dot, for the travelling gold dot */
.pw-node { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; }
.path-sec { --m-bg: var(--ground); }
/* get started: a photo on each role card (the photo replaces the line icon) */
.gs-role .gs-pic { --ar: 16 / 9; width: 100%; margin-bottom: 4px; border-radius: 10px; box-shadow: none; }
.gs-role .gs-pic + .ri { display: none; }
@media (max-width: 899px) {
  .pic-mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; height: auto; gap: 12px; margin-top: 28px; }
  .pic-mosaic > :first-child { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3; }
  .pic-mosaic > :nth-child(2), .pic-mosaic > :nth-child(3) { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; }
  .pic-pair { gap: 12px; margin-top: 28px; }
  .pic-pair .pic { --ar: 1 / 1; }
  .pic-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pic-wide { --ar: 16 / 9; margin-bottom: 28px; }
  .pic-tag { left: 10px; bottom: 10px; min-height: 30px; padding: 0 10px; font-size: .8rem; }
  .home-par-pic { margin-top: 28px; }
}

/* ---------- What we offer (owner's layout, 19 Nov 2026): light top, navy pathways band, three cards ---------- */
.wo-hero { padding: 56px 0 24px; }
.wo-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.wo-kicker { font: 800 1rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #9a6514; }
.wo-copy h1, .wo-copy .wo-title { margin-top: 14px; font-size: clamp(2.1rem, 3.3vw, 2.95rem); text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy-deep); }
.wo-lede { margin-top: 18px; max-width: 54ch; font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); }
.wo-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #e7e2d6; box-shadow: 0 2px 4px rgba(20, 40, 72, .06), 0 24px 50px rgba(20, 40, 72, .14); }
.wo-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wo-main { padding: 28px 0 72px; }
.wo-band { display: grid; grid-template-columns: auto minmax(280px, 1fr) auto auto; align-items: center; gap: 20px 24px; padding: 28px 28px; border-radius: 22px; color: #fff;
  background: #142848 radial-gradient(120% 140% at 0% 0%, #23457a 0%, rgba(35, 69, 122, 0) 60%); box-shadow: 0 24px 50px rgba(20, 40, 72, .2); }
.wo-band-ic { display: grid; place-items: center; padding-right: 24px; border-right: 1px solid rgba(255, 255, 255, .22); color: var(--gold); }
.wo-band-ic .icon { width: 64px; height: 64px; stroke-width: 1.5; }
.wo-band-t h2 { font-size: clamp(1.6rem, 2.2vw, 2rem); color: #fff; white-space: nowrap; }
.wo-band-t p { margin-top: 6px; color: #c3cfe0; max-width: 46ch; }
.wo-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: nowrap; }
.wo-chips a { display: grid; place-items: center; min-width: 86px; min-height: 68px; padding: 8px 10px; border-radius: 14px; text-align: center; text-decoration: none;
  color: #fff; font: 700 1rem/1.25 var(--display); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .2s var(--ease), border-color .2s var(--ease); }
.wo-chips a small { font: 500 .84rem/1.3 var(--body); color: #c3cfe0; }
.wo-chips a:hover, .wo-chips a:focus-visible { background: rgba(255, 255, 255, .16); border-color: var(--gold); }
.wo-band-go { white-space: nowrap; }
.wo-cards { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wo-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 18px; align-items: start; padding: 28px 26px; background: #fff; border: 1px solid var(--edge);
  border-radius: 20px; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.wo-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 40, 72, .14); }
.wo-card-ic { color: #c08a1e; }
.wo-card-ic .icon { width: 44px; height: 44px; stroke-width: 1.6; }
.wo-card-t strong { display: block; font: 800 1.4rem/1.2 var(--display); color: var(--navy-deep); }
.wo-card-t span { display: block; margin-top: 8px; color: var(--ink-2); line-height: 1.55; }
.wo-go { color: var(--navy); padding-top: 4px; }
.wo-go .icon { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.wo-card:hover .wo-go .icon, .wo-more-a:hover .wo-go .icon { transform: translateX(3px); }
.wo-more-h { margin-top: 48px; font-size: 1.3rem; color: var(--navy); }
.wo-more { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wo-more-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; min-height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--edge); border-radius: 16px;
  color: var(--ink); text-decoration: none; }
.wo-more-a strong { font: 700 1.05rem/1.3 var(--display); color: var(--navy); }
.wo-more-a > span:not(.wo-go) { grid-column: 1; color: var(--muted); font-size: .92rem; }
.wo-more-a .wo-go { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.wo-more-a:hover { border-color: var(--navy); }
.wo-card:focus-visible, .wo-more-a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wo-card, .wo-card:hover { transform: none; transition: none; } }
@media (max-width: 1240px) { .wo-band { grid-template-columns: auto minmax(0, 1fr); } .wo-chips { grid-column: 1 / -1; flex-wrap: wrap; } .wo-band-go { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 960px) { .wo-hero-grid { grid-template-columns: 1fr; gap: 28px; } .wo-cards { grid-template-columns: 1fr; } .wo-more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .wo-hero { padding-top: 36px; }
  .wo-band { grid-template-columns: 1fr; padding: 24px 20px; }
  .wo-band-ic { justify-content: start; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
  .wo-band-ic .icon { width: 48px; height: 48px; }
  .wo-band-t h2 { white-space: normal; }
  .wo-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .wo-band-go { width: 100%; justify-content: center; }
  .wo-more { grid-template-columns: 1fr; }
}

/* ---------- Home: "A whole curriculum. One place to learn." (owner's band, 19 Nov 2026) ---------- */
.cb-wrap { padding: 56px 0; }
.cb-wrap > .wrap { max-width: 1440px; }
.cb { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 28px 40px; align-items: center; padding: 36px 36px 36px 48px; border-radius: 24px; color: #fff;
  background: #142848 radial-gradient(120% 140% at 0% 0%, #23457a 0%, rgba(35, 69, 122, 0) 60%); box-shadow: 0 26px 60px rgba(20, 40, 72, .22); }
.cb-copy h2 { font-size: clamp(1.8rem, 2.4vw, 2.4rem); white-space: nowrap; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
.cb-swoosh { display: block; width: 62%; max-width: 240px; height: auto; margin: 10px 0 0 2%; overflow: visible; }
.cb-swoosh path { fill: none; stroke: #f2b915; stroke-width: 5; stroke-linecap: round; }
.cb-copy p { margin-top: 18px; color: #d6deeb; font-size: 1.05rem; line-height: 1.6; max-width: 40ch; }
.cb-stats { list-style: none; margin: 0; padding: 4px 0 4px 40px; border-left: 1px solid rgba(255, 255, 255, .22); display: grid; gap: 22px; }
.cb-stats li { display: flex; align-items: center; gap: 16px; }
.cb-si { width: 38px; height: 38px; flex: none; color: var(--gold); stroke-width: 1.6; }
.cb-stats li > span { color: #d6deeb; font-size: 1.05rem; line-height: 1.25; }
.cb-stats b { font: 800 1.75rem/1.1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.cb-card { padding: 22px 24px 24px; border-radius: 18px; background: #fbf8f0; color: var(--ink); }
.cb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.cb-steps::before { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 27px; height: 2px; background: var(--navy); }
.cb-step { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.cb-node { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; border: 2px solid; position: relative; z-index: 1; }
.cb-node .icon { width: 26px; height: 26px; }
.cb-step.is-learn .cb-node { background: #e9eef7; color: #1f3a68; border-color: #c9d5ea; }
.cb-step.is-prac .cb-node { background: #e5f3ec; color: #22603f; border-color: #c4e2d1; }
.cb-step.is-test .cb-node { background: #f6eedf; color: #8a5a1f; border-color: #ecd9b4; }
.cb-step strong { font: 800 1.15rem/1.2 var(--display); color: var(--navy-deep); }
.cb-step strong i { font-style: normal; color: var(--gold); }
.cb-jump { margin-top: 18px; font-weight: 600; color: var(--ink); }
.cb-subjs { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cb-subj { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--edge);
  color: var(--navy-deep); font: 700 1.02rem/1.2 var(--display); text-decoration: none; box-shadow: 0 2px 6px rgba(20, 40, 72, .06); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.cb-subj .icon { width: 24px; height: 24px; color: var(--navy); }
.cb-subj .icon:last-child { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.cb-subj:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 40, 72, .12); }
.cb-subj:hover .icon:last-child { transform: translateX(3px); }
.cb-subj:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .cb-subj, .cb-subj:hover { transform: none; transition: none; } }
@media (max-width: 1240px) { .cb { grid-template-columns: minmax(0, 1fr) auto; padding: 32px; } .cb-card { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .cb-wrap { padding: 36px 0; }
  .cb { grid-template-columns: 1fr; padding: 26px 20px; }
  .cb-copy h2 { white-space: normal; }
  .cb-stats { border-left: 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .cb-card { padding: 18px 16px 18px; }
  .cb-subjs { grid-template-columns: 1fr; }
}

.wo-home { background: var(--ground); }
.wo-main-home { padding-bottom: 64px; }

/* ---------- Subjects page (owner's mock-up, 19 Nov 2026) ---------- */
.sx-hero { padding: 34px 0 30px; }
.sx-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.sx-hero-copy { padding-right: 40px; border-right: 1px solid rgba(255, 255, 255, .2); }
.sx-kicker { font: 800 .95rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.sx-hero h1 { margin-top: 6px; font-size: clamp(2.1rem, 3.4vw, 2.9rem); line-height: 1.08; max-width: none; }
.sx-hero .lede { margin-top: 10px; font-size: 1.02rem; max-width: 46ch; }
.sx-hero-tools .years { margin: 0; }
.sx-hero-tools .finder { margin-top: 14px; }
.sx-hero-tools .finder input { height: 50px; }
.sx-hero-tools .finder-status:empty { display: none; }
.sx-deco { position: absolute; right: 0; top: -6px; width: 54px; height: 54px; fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.4; stroke-linejoin: round; transform: rotate(-12deg); pointer-events: none; }
.sj { background: #fbf9f4; }
.sx-intro-h h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--navy-deep); }
.sx-intro-h p { margin-top: 4px; color: var(--ink-2); }
.sx-cards { margin-top: 20px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; }
.sx-card { --c: var(--navy); --t: #f2f5fb; display: flex; flex-direction: column; padding: 10px; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--t); border: 1.5px solid color-mix(in srgb, var(--c) 22%, #fff); border-radius: 18px; transition: box-shadow .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.sx-card:hover { box-shadow: 0 14px 30px rgba(20, 40, 72, .12); transform: translateY(-2px); }
.sx-card.is-on { border: 2.5px solid var(--navy-deep); padding: 9px; box-shadow: 0 16px 34px rgba(20, 40, 72, .16); background: #fff; }
.sx-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sx-pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #e7e2d6; }
.sx-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-sel { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 10px; background: #f2b915; color: var(--navy-deep); font: 700 .86rem/1 var(--body); box-shadow: 0 4px 10px rgba(20, 40, 72, .2); }
.sx-sel .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.sx-card-b { display: block; padding: 14px 10px 8px; }
.sx-card-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.sx-si { width: 40px; height: 40px; color: var(--c); stroke-width: 1.6; }
.sx-card-h strong { display: block; font: 800 1.45rem/1.15 var(--display); color: var(--navy-deep); }
.sx-card-h small { display: block; margin-top: 3px; color: var(--ink-2); font-size: .9rem; }
.sx-card-h small i { font-style: normal; margin: 0 6px; color: var(--muted); }
.sx-card-h > .icon:last-child { width: 22px; height: 22px; color: var(--navy-deep); }
.sx-rule { display: block; width: 52px; height: 3px; margin: 12px 0 10px; border-radius: 2px; background: #f2b915; }
.sx-desc { display: block; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.sx-main { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.sx-browse, .sx-side { background: #fff; border: 1px solid var(--edge); border-radius: 18px; box-shadow: 0 2px 6px rgba(20, 40, 72, .05); }
.sx-browse { padding: 22px 20px 20px; }
.sx-bh, .sx-ph { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.sx-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #eef3fb; color: var(--navy); border: 1px solid #dbe4f2; }
.sx-tile .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.sx-bh h3, .sx-ph h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.15; color: var(--navy-deep); }
.sx-bh p, .sx-ph p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.sx-terms { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sx-term { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--edge); background: #fff;
  color: var(--navy-deep); font: 700 .98rem var(--display); cursor: pointer; }
.sx-term .icon { width: 20px; height: 20px; color: #2f7d4c; }
.sx-term:nth-child(1) .icon { color: #b7791f; }
.sx-term:nth-child(3) .icon { color: #d4a52a; }
.sx-term.is-on { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.sx-term.is-on .icon { color: #f2b915; }
.sx-term:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sx-topics { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.sx-topic { border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; }
.sx-topic.is-open { border-color: #cfdaee; background: #f1f5fc; }
.sx-topic-h { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 52px; padding: 8px 14px; border: 0; background: none;
  text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.sx-topic-h strong { font: 700 1.02rem/1.3 var(--display); color: var(--navy-deep); }
.sx-topic-h em, .sx-les em { font-style: normal; font: 700 .7rem/1 var(--body); color: #8a5a1f; background: #f6eedf; padding: 3px 6px; border-radius: 6px; margin-left: 6px; vertical-align: .15em; }
.sx-ki .icon { width: 22px; height: 22px; color: #c08a1e; }
.sx-n { color: var(--ink-2); font-size: .9rem; white-space: nowrap; }
.sx-chev { width: 20px; height: 20px; color: var(--navy-deep); transition: transform .2s var(--ease); }
.sx-topic.is-open .sx-chev { transform: rotate(180deg); }
.sx-topic-b { padding: 0 14px 12px; }
.sx-intro { margin: 0 0 10px 34px; color: var(--ink-2); font-size: .9rem; }
.sx-lessons { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #e3e9f3; border-radius: 10px; }
.sx-lessons li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid #edf1f7; }
.sx-lessons li:first-child { border-top: 0; }
.sx-les { display: flex; align-items: center; gap: 10px; min-height: 36px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.sx-les:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.sx-play { width: 20px; height: 20px; color: var(--muted); flex: none; }
.sx-pills { display: flex; gap: 6px; }
.sx-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 9px; border-radius: 7px; font: 600 .8rem/1 var(--body); text-decoration: none; border: 1px solid; }
.sx-pill .icon { width: 14px; height: 14px; }
.sx-pill.is-l { color: #1f3a68; background: #eef3fb; border-color: #d4def0; }
.sx-pill.is-p { color: #22603f; background: #e9f6ee; border-color: #c9e6d4; }
.sx-pill.is-t { color: #8a5a1f; background: #fbf2e1; border-color: #efdcb8; }
.sx-pill:hover { filter: brightness(.97); }
.sx-go { display: grid; place-items: center; width: 32px; height: 32px; color: var(--navy-deep); border-radius: 8px; }
.sx-go .icon { width: 18px; height: 18px; }
.sx-go:hover { background: #eef3fb; }
.sx-topic-f { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sx-all { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--navy-deep); font-weight: 600; font-size: .92rem; text-decoration: none; }
.sx-all .icon { width: 18px; height: 18px; }
.sx-all:hover { text-decoration: underline; }
.sx-start { min-height: 42px; }
.sx-side { overflow: hidden; }
.sx-ph { padding: 20px 20px 18px; background: #eef3fb; }
.sx-path { list-style: none; margin: 0; padding: 18px 20px 4px; position: relative; display: grid; gap: 10px; }
.sx-path::before { content: ''; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px; background: #cfd8e6; }
.sx-path li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 4px 0; }
.sx-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 8px; border-radius: 50%; background: #fff; border: 2px solid #8796ad; }
.sx-path li.is-now .sx-dot { background: #2f7d4c; border-color: #2f7d4c; color: #fff; }
.sx-dot .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.sx-path li > div { padding: 8px 12px; border-radius: 10px; }
.sx-path li.is-now > div { background: #e9f6ee; }
.sx-path strong { display: block; font: 700 1rem/1.3 var(--display); color: var(--navy-deep); }
.sx-path strong em { font-style: normal; font: 700 .7rem/1 var(--body); color: #22603f; background: #fff; padding: 3px 6px; border-radius: 6px; margin-left: 6px; vertical-align: .15em; }
.sx-path span { display: block; margin-top: 3px; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.sx-prog { margin: 14px 20px 0; padding: 14px 16px; border: 1px solid var(--edge); border-radius: 12px; }
.sx-prog strong { font: 700 1rem var(--display); color: var(--navy-deep); }
.sx-prog p { margin-top: 6px; display: flex; justify-content: space-between; color: var(--ink-2); font-size: .9rem; }
.sx-prog p b { color: var(--navy-deep); }
.sx-bar { margin-top: 8px; height: 8px; border-radius: 99px; background: #e3e8f0; overflow: hidden; }
.sx-bar span { display: block; width: 0; height: 100%; background: #2f7d4c; }
.sx-prog small { display: block; margin-top: 8px; color: var(--muted); font-size: .82rem; }
.sx-cont { display: flex; justify-content: center; margin: 14px 20px 20px; min-height: 52px; }
.sx-other { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: 22px 26px; background: #fff; border: 1px solid var(--edge); border-radius: 18px; }
.sx-other h3 { font-size: 1.45rem; color: var(--navy-deep); }
.sx-other p { margin-top: 4px; color: var(--ink-2); }
.sx-other-b { display: flex; gap: 14px; flex-wrap: wrap; }
.sx-ob { --c: var(--navy); --t: #f2f5fb; display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 20px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--c) 25%, #fff);
  background: var(--t); color: var(--navy-deep); font: 800 1.12rem var(--display); cursor: pointer; }
.sx-ob .icon { width: 30px; height: 30px; color: var(--c); }
.sx-ob .icon:last-child { width: 20px; height: 20px; color: var(--navy-deep); }
.sx-ob:hover { border-color: var(--c); }
.sx-help-wrap { padding: 34px 0 56px; background: #fbf9f4; }
.sx-help { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 26px 32px; border-radius: 20px; color: #fff;
  background: #142848 radial-gradient(120% 140% at 0% 0%, #23457a 0%, rgba(35, 69, 122, 0) 60%); }
.sx-help-ic { width: 50px; height: 50px; fill: none; stroke: #f2b915; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sx-help h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); color: #fff; }
.sx-help p { margin-top: 4px; color: #d6deeb; }
@media (prefers-reduced-motion: reduce) { .sx-card, .sx-card:hover { transform: none; transition: none; } }
@media (max-width: 1080px) { .sx-main { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .sx-hero-grid { grid-template-columns: 1fr; gap: 20px; } .sx-hero-copy { padding-right: 0; border-right: 0; } .sx-deco { display: none; } .sx-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .sx-cards { grid-template-columns: 1fr; }
  .sx-lessons li { grid-template-columns: minmax(0, 1fr) auto; }
  .sx-pills { grid-column: 1 / -1; grid-row: 2; }
  .sx-go { grid-row: 1; grid-column: 2; }
  .sx-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .sx-term { font-size: .9rem; padding: 0 6px; gap: 6px; }
  .sx-tw { display: none; }
  .sx-topic-h { grid-template-columns: auto minmax(0, 1fr) auto; }
  .sx-n { grid-column: 2; grid-row: 2; }
  .sx-chev { grid-row: 1 / span 2; grid-column: 3; }
  .sx-help { grid-template-columns: 1fr; padding: 24px 22px; }
  .sx-other-b, .sx-ob { width: 100%; }
}

.sj.sec { padding-top: 30px; padding-bottom: 20px; }
