/* The public landing page, paired with landing.html and its tiny coin demo.
   style.css supplies the site-wide palette and basic element styles. Every rule
   here styles the public pages: Journal shares the navigation and base type.
   The practice room uses its own layout. System fonts avoid downloads and keep this page self-contained.
   Sections follow the HTML order; phone adjustments are collected at the end. */

/* An editorial layout: large serif headlines, restrained teal, generous paper.
   The width cap keeps text comfortable on very large displays. */
.landing-page { background: var(--paper); font-size: 16px; line-height: 1.6; }
.landing-width { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
/* :where keeps this reset easy for a later section-specific margin to override. */
.landing-page :where(h1, h2, h3, p) { margin-top: 0; }
.landing-page h1, .landing-page h2 { font-family: var(--serif); font-weight: 400; }
.landing-page em { font-family: var(--serif); font-weight: 400; }
.landing-page h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.12; letter-spacing: -1.8px; }
.landing-page h2 em { color: var(--teal-strong); }
.landing-page section[id], .landing-page #challenge { scroll-margin-top: 28px; }
.landing-kicker { font-size: 10px; font-weight: 650; letter-spacing: 1.9px; line-height: 1.6; color: var(--teal-strong); margin-bottom: 24px; }
.landing-section { padding-block: 80px; }

/* Navigation uses real links and the shared native Account disclosure. The
   small-screen version wraps links without a JavaScript-dependent mobile menu. */
.landing-header { min-height: 100px; padding-block: 23px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.landing-header .brand { font-size: 23px; }
.landing-nav { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; font-size: 12px; }
.landing-nav > a:not(.landing-nav-cta):hover { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 5px; }
.landing-nav-cta { border: 1px solid var(--ink); padding: 10px 15px; border-radius: 4px; }
.landing-nav-cta:hover { background: var(--ink); color: var(--paper); }
.landing-nav-cta span { margin-left: 14px; }
/* Signed-in visitors always find the brand and Account in the first row.
   Navigation may wrap in the middle column without squeezing either control. */
.landing-header-signed-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 20px; }
.landing-header-signed-in .landing-nav { justify-content: flex-end; gap: 10px 18px; }
.landing-header-signed-in > .account-menu { margin: 0; }
.landing-header-signed-in .landing-nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* The first screen states the destination before explaining the philosophy.
   A centred headline leaves equal visual weight for the three subjects below. */
.landing-hero { padding-block: 53px 46px; text-align: center; }
.hero-copy { max-width: 1060px; margin-inline: auto; }
.hero-copy, .hero-experiment { min-width: 0; }
.hero-copy .landing-kicker { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 21px; }
.landing-page h1 { font-size: clamp(48px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -2.8px; margin: 0 0 21px; }
.landing-page h1 em { color: var(--teal-strong); }
.hero-description { font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.hero-explanation { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 23px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.landing-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: var(--teal-strong); border: 1px solid var(--teal-strong); color: var(--on-accent); border-radius: 4px; padding: 14px 20px; font-size: 12px; font-weight: 600; transition: background .15s; }
.landing-button:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
.landing-button span { font-size: 19px; line-height: 1; font-weight: 400; }
.landing-text-link { font-size: 12px; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.landing-text-link span { margin-left: 10px; }
.landing-text-link:hover { color: var(--teal-strong); border-color: var(--teal-strong); }
.hero-footnote { font-size: 10px; color: var(--muted); margin: 14px 0 0; }

/* These are introductions, not buttons. Original subject drawings and three
   palette accents give each coach a recognisable identity without portraits. */
.coaches-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.coaches-heading h2 { font-size: 27px; letter-spacing: -.6px; margin: 0; }
.coaches-heading > p { font-size: 12px; color: var(--muted); margin: 0; }
.coach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coach-card { display: flex; flex-direction: column; --coach-accent: var(--teal-strong); min-width: 0; padding: 26px 27px 0; border: 1px solid var(--line); border-top: 2px solid var(--coach-accent); border-radius: 5px; background: var(--surface); }
.coach-physics { --coach-accent: var(--blue); }
.coach-programming { --coach-accent: var(--ochre-strong); }
.coach-identity { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
.coach-identity .landing-kicker { font-size: 8px; letter-spacing: 1.35px; color: var(--coach-accent); margin-bottom: 9px; }
.coach-identity h3 { font: 42px/1.1 var(--serif); letter-spacing: -1.5px; margin: 0; }
.coach-identity > div { flex-shrink: 0; }
.coach-art { width: 100px; height: 90px; min-width: 38px; flex-shrink: 1; fill: none; stroke: var(--coach-accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.coach-art circle { fill: var(--surface); }
.coach-art .art-light { opacity: .35; }
.coach-promise { font: 23px/1.3 var(--serif); letter-spacing: -.45px; margin-bottom: 13px; }
.coach-destination { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.coach-topics { font-size: 10px; color: var(--coach-accent); border-top: 1px solid var(--line); margin: auto 0 0; padding-block: 16px; }

/* Clear prerequisites sit beside the ambition, rather than inside a long FAQ.
   Each subject keeps its own starting point. This is not a proficiency score. */
.landing-start { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-block: 56px; margin-top: 0; border-block: 1px solid var(--line); }
.landing-start .landing-kicker { margin-bottom: 17px; }
.landing-start h2 { font-size: 37px; letter-spacing: -1px; margin: 0; }
.starting-points p { display: grid; grid-template-columns: 100px 1fr; gap: 16px; margin: 0; padding-block: 12px; font-size: 12px; }
.starting-points strong { font-weight: 550; color: var(--teal-strong); }
.starting-points span { color: var(--muted); }

/* The former hero returns as an editorial section below the subject cards.
   Large serif lines balance the coin board. The button enters the real coach;
   the board itself remains a local experiment, without a duplicate puzzle. */
.landing-demo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; margin-top: 54px; padding-block: 70px; border-top: 1px solid var(--line); }
.demo-invitation { min-width: 0; }
.demo-invitation .landing-kicker { font-size: 8px; letter-spacing: 1.3px; }
.demo-invitation h2 { font-size: clamp(52px, 5.8vw, 76px); line-height: 1.04; letter-spacing: -2.7px; margin-bottom: 30px; }
.demo-invitation > p:not(.landing-kicker) { max-width: 370px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.demo-invitation > p.demo-punchline { max-width: none; font-size: 20px; line-height: 1.5; color: var(--ink); margin-bottom: 10px; }
.demo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.demo-invitation > p.demo-note { font-size: 10px; margin: 15px 0 0; }

/* Thin orbital circles and offset paper add warmth without external images.
   Decorative layers ignore pointer events so they cannot block coin buttons. */
.hero-experiment { position: relative; padding: 9px 15px 0; isolation: isolate; }
.experiment-orbit { position: absolute; border: 1px solid var(--ochre-line); border-radius: 50%; z-index: -1; pointer-events: none; }
.orbit-one { width: 85%; height: 65%; max-height: 400px; top: 17%; left: 7%; transform: rotate(-16deg); }
.orbit-two { width: 70%; height: 99%; max-height: 540px; top: 0; left: 14%; border-color: var(--teal-line); transform: rotate(18deg); }
.puzzle-paper { position: relative; padding: 23px 29px 0; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); box-shadow: 8px 10px 0 var(--surface-soft), 9px 11px 0 var(--line), 0 12px 38px var(--panel-shadow); }
.puzzle-topline { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; letter-spacing: 1.6px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.puzzle-star { font-size: 25px; line-height: 1; color: var(--ochre); }
.puzzle-paper h2 { font-size: 37px; line-height: 1.08; letter-spacing: -1px; margin: 24px 0 14px; }
.puzzle-rule { max-width: 310px; font-size: 12px; line-height: 1.75; color: var(--body-text); margin-bottom: 0; }
.puzzle-rule strong { font-weight: 650; }
.landing-coins { display: grid; grid-template-columns: repeat(3, 54px); gap: 14px 25px; justify-content: center; margin: 25px 0 22px; }
.landing-coin { width: 54px; height: 54px; border: 1px solid var(--ochre-line); border-radius: 50%; padding: 4px; background: var(--ochre-light); box-shadow: 0 3px 0 var(--ochre-line); color: var(--ochre-strong); transition: transform .15s; }
.landing-coin span { display: grid; place-items: center; width: 100%; height: 100%; border: 1px solid var(--ochre-line); border-radius: 50%; font: 23px/1 var(--serif); }
.landing-coin:hover:not(:disabled) { transform: translateY(-2px); }
.landing-coin[aria-pressed="true"] { outline: 2px solid var(--teal-strong); outline-offset: 4px; transform: translateY(-3px); }
.landing-coin.is-tail { color: var(--blue-strong); background: var(--blue-soft); border-color: var(--blue-line); box-shadow: 0 3px 0 var(--blue-line); }
.landing-coin.is-tail span { border-color: var(--blue-line); }
.landing-coin:disabled, #puzzle-reset:disabled { opacity: 1; cursor: default; }
.puzzle-instruction { min-height: 36px; text-align: center; color: var(--muted); font-size: 10px; margin-bottom: 0; }
.puzzle-tally { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0 14px; color: var(--muted); font-size: 10px; }
#puzzle-reset { border: 0; padding: 5px 0 5px 5px; background: transparent; color: var(--muted); font-size: 10px; }
#puzzle-reset:hover:not(:disabled) { color: var(--teal-strong); }
.puzzle-nudge { border-top: 1px solid var(--line); }
.puzzle-nudge summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; cursor: pointer; font-size: 11px; color: var(--teal-strong); list-style: none; }
.puzzle-nudge summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.puzzle-nudge summary span { font-size: 18px; }
.puzzle-nudge[open] summary span, .faq-list details[open] summary span { transform: rotate(45deg); }
.puzzle-nudge p { font-size: 12px; color: var(--body-text); margin: 0 0 10px; }
.puzzle-nudge small { display: block; font-size: 10px; color: var(--muted); padding-bottom: 16px; }
.puzzle-caption { text-align: center; font: italic 14px/1.5 var(--serif); color: var(--blue); margin: 24px 0 0; }
.puzzle-caption span { margin-right: 8px; font-size: 23px; }
.puzzle-no-script { font-size: 12px; margin-top: 15px; }

/* Three readable steps and one example show what the product actually does.
   Dialogue colours mirror the real workspace: rose learner, teal coach. */
.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 22px; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 105px; align-items: center; }
.approach-steps article { display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.step-number { font: italic 19px/1.4 var(--serif); color: var(--ochre-strong); }
.approach-steps h3 { font-size: 16px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 8px; }
.approach-steps p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }
.dialogue-example { margin: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.dialogue-example figcaption { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 23px; font-size: 8px; letter-spacing: 1px; color: var(--muted); }
.dialogue-example figcaption span:last-child { letter-spacing: 0; font-size: 9px; }
.example-student, .example-coach { padding: 15px 17px; border-radius: 4px; }
.example-student { background: var(--rose-soft); margin-left: 34px; }
.example-coach { background: var(--teal-soft); margin: 14px 25px 14px 0; }
.example-speaker { display: block; font-size: 8px; letter-spacing: 1px; color: var(--rose-strong); font-weight: 600; margin-bottom: 6px; }
.example-coach .example-speaker { color: var(--teal-strong); }
.example-speaker > span { margin-right: 4px; font-size: 12px; }
.dialogue-example div p { font-size: 13px; line-height: 1.7; margin: 0; }

/* A charcoal interlude carries the provocative statement. All body text uses
   light paper colours for contrast; circles stay decorative and translucent. */
.landing-manifesto { background: var(--ink); color: var(--paper); overflow: hidden; }
.manifesto-inner { position: relative; padding-block: 72px 54px; text-align: center; isolation: isolate; }
.manifesto-inner .landing-kicker { color: var(--ochre-mid); }
.manifesto-inner h2 { font-size: clamp(38px, 4.7vw, 63px); margin-bottom: 26px; }
.manifesto-inner h2 em { color: var(--ochre-mid); }
.manifesto-signoff { font: italic 14px/1.5 var(--serif); color: var(--line-strong); margin: 0; }
.manifesto-art { position: absolute; width: 330px; height: 330px; right: -220px; top: 68px; z-index: -1; opacity: .5; }
.manifesto-art i { position: absolute; width: 230px; height: 230px; border: 1px solid var(--ochre); border-radius: 50%; left: 0; top: 0; }
.manifesto-art i:nth-child(2) { left: 100px; border-color: var(--teal); }
.manifesto-art i:nth-child(3) { top: 87px; left: 50px; border-color: var(--rose); }
.manifesto-art span { position: absolute; left: 144px; top: 91px; font: italic 66px/1 var(--serif); color: var(--ochre-mid); }

/* Let three small drawings and their questions carry the teaching story.
   The artwork inherits a palette accent; words remain ivory for contrast.
   There are no cards, scores, animation or implied interactive controls. */
.judgment-questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 930px; margin: 32px auto 38px; }
.judgment-questions article { color: var(--ochre-mid); }
.judgment-questions article:nth-child(2) { color: var(--teal-line); }
.judgment-questions article:nth-child(3) { color: var(--rose-line); }
.judgment-drawing { display: block; width: 180px; height: 101px; margin: 0 auto 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.judgment-drawing .drawing-node { fill: currentColor; stroke: none; }
.judgment-drawing .drawing-faint { opacity: .3; }
.judgment-drawing path.drawing-faint { stroke-dasharray: 3 6; }
.judgment-drawing .drawing-gap { stroke: var(--rose-line); }
.judgment-drawing .drawing-spark { stroke: var(--ochre-mid); }
.judgment-questions h3 { font: 25px/1.25 var(--serif); letter-spacing: -.4px; margin: 0; color: var(--paper); }
/* A single editorial line replaces the ambition's former paragraphs. Its
   visible label keeps wider access framed as an ambition, not a proven result. */
.manifesto-ambition { display: flex; justify-content: center; align-items: center; gap: 22px; max-width: 860px; margin: 0 auto 23px; padding-top: 25px; border-top: 1px solid var(--muted); }
.manifesto-ambition .landing-kicker { margin: 0; font-size: 8px; }
.manifesto-ambition p { font: 27px/1.3 var(--serif); margin: 0; }
.manifesto-ambition em { color: var(--ochre-mid); }
.ambition-break { display: none; }

/* The investor case is optional reading inside the existing visual statement.
   Native details provides keyboard operation even when JavaScript is disabled. */
.investor-thesis { max-width: 800px; margin: 25px auto 0; }
.investor-thesis > summary { display: inline-flex; align-items: center; gap: 18px; list-style: none; cursor: pointer; padding: 10px 2px; color: var(--paper); font-size: 12px; border-bottom: 1px solid var(--muted); }
.investor-thesis > summary::-webkit-details-marker { display: none; }
.investor-thesis > summary span { font-size: 20px; color: var(--ochre-mid); }
.investor-thesis[open] > summary span { transform: rotate(45deg); }
.thesis-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 35px; text-align: left; padding-top: 30px; }
.thesis-points p { font-size: 13px; line-height: 1.8; color: var(--line-strong); margin: 0; }
.thesis-points strong { display: block; color: var(--paper); font-weight: 550; margin-bottom: 5px; }

/* Parent value is expressed as inspectable evidence, never fabricated scores. */
.landing-parents { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.parents-intro h2 { margin-bottom: 24px; }
.parents-intro > p:not(.landing-kicker) { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.parents-intro .landing-text-link { display: inline-block; margin-top: 10px; }
.parent-evidence article { display: flex; gap: 22px; border-top: 1px solid var(--line-strong); padding: 27px 0; }
.parent-evidence article > span { font: italic 16px/1.8 var(--serif); color: var(--blue); white-space: nowrap; }
.parent-evidence h3 { font: 24px/1.2 var(--serif); letter-spacing: -.4px; margin-bottom: 12px; }
.parent-evidence article p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.evidence-note { font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 15px; margin: 0; }

/* Two disclosure levels keep detailed parent answers out of the main reading
   path. Native details/summary supplies expanded state and keyboard controls.
   Direct-child selectors prevent opening a topic from rotating question icons. */
.landing-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 32px; }
.faq-intro h2 { margin-bottom: 24px; }
.faq-intro > p:not(.landing-kicker) { font-size: 14px; color: var(--muted); margin-block: 24px; }
.faq-topics { min-width: 0; }
.faq-topic { border-top: 1px solid var(--line-strong); }
.faq-topic:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-topic > summary { display: grid; grid-template-columns: 25px minmax(0, 1fr) 20px; align-items: center; gap: 14px; padding: 24px 0; list-style: none; cursor: pointer; font: 23px/1.25 var(--serif); }
.faq-topic > summary::-webkit-details-marker { display: none; }
.faq-topic-number { color: var(--ochre-strong); font: italic 15px/1.5 var(--serif); }
.faq-topic > summary small { display: block; font: 11px/1.6 var(--sans); color: var(--muted); margin-top: 6px; }
.disclosure-icon { color: var(--teal-strong); font: 24px/1 var(--sans); }
.faq-topic[open] > summary .disclosure-icon { transform: rotate(45deg); }
.faq-list { padding-left: 39px; padding-bottom: 12px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; font-size: 14px; font-weight: 550; cursor: pointer; }
.faq-list summary span { font-size: 21px; font-weight: 400; color: var(--teal-strong); flex-shrink: 0; }
.faq-list details p { font-size: 14px; color: var(--body-text); padding-right: 20px; margin: 0 0 24px; line-height: 1.8; }
.faq-list strong { color: var(--ink); font-weight: 600; }
/* Underline the support link so it remains recognisable without colour alone. */
.faq-list a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
/* A visible outline works on both light paper and the dark thesis panel. */
.faq-topic summary:focus-visible, .investor-thesis summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* The only end-of-page conversion is an honest link into the existing preview.
   There is deliberately no implied checkout or non-working signup form. */
.landing-preview { position: relative; text-align: center; border: 1px solid var(--teal-line); background: var(--teal-soft); border-radius: 6px; padding: 66px 32px; }
.preview-flower { color: var(--teal-strong); font-size: 37px; line-height: 1; display: block; margin-bottom: 22px; }
.landing-preview .landing-kicker { font-size: 9px; margin-bottom: 18px; }
.landing-preview h2 { font-size: clamp(42px, 4.8vw, 64px); margin-bottom: 23px; }
.landing-preview > p:not(.landing-kicker):not(.preview-terms):not(.preview-availability) { font-size: 14px; color: var(--body-text); margin-bottom: 26px; }
.landing-preview .preview-terms { font-size: 10px; margin: 16px 0 4px; color: var(--teal-hover); }
.landing-preview .preview-availability { font-size: 10px; color: var(--muted); margin-bottom: 0; }

/* One brief invitation leads to the essay about longer-term ambitions. The article gets its own
   reading page, so this addition does not turn the homepage into a wall of text. */
.landing-journal { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: 45px; margin-bottom: 60px; border-block: 1px solid var(--line); }
.landing-journal .landing-kicker { margin-bottom: 14px; }
.landing-journal h2 { font-size: 37px; line-height: 1.15; letter-spacing: -1px; margin: 0; }
.landing-journal > div:last-child { max-width: 390px; justify-self: end; }
.landing-journal > div > p:not(.landing-kicker) { font: 25px/1.4 var(--serif); margin: 0 0 18px; }
.landing-journal > div > p.journal-description { font: 13px/1.8 var(--sans); color: var(--muted); }

/* Narrow laptops retain two columns with less space between them. Tablets and
   phones use one column; the puzzle stays fully visible rather than being hidden. */
@media (max-width: 1100px) {
  .landing-width { width: calc(100% - 64px); }
  .landing-page h1 { font-size: clamp(48px, 6.3vw, 66px); letter-spacing: -2px; }
  .hero-copy .landing-kicker { font-size: 8px; letter-spacing: 1px; }
  .hero-actions { gap: 18px; }
  .landing-button { padding-inline: 17px; }
  .approach-grid, .landing-parents, .landing-faq, .landing-demo, .landing-start { column-gap: 50px; }
  .coach-grid { gap: 14px; }
  .coach-card { padding-inline: 20px; }
  .coach-identity h3 { font-size: 36px; }
  .coach-art { width: 72px; height: 80px; }
  .coach-promise { font-size: 21px; min-height: 82px; }
}
/* At tablet widths the artwork sits above each name so Neumann's longer name
   stays within its card. All three identities keep the same reading order. */
@media (min-width: 761px) and (max-width: 950px) {
  .coach-identity { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
}
@media (max-width: 760px) {
  .landing-journal { grid-template-columns: 1fr; gap: 25px; padding-block: 32px; margin-bottom: 40px; }
  .landing-journal > div:last-child { justify-self: start; }
  .landing-width { width: calc(100% - 40px); }
  .landing-header { height: auto; padding-block: 23px 18px; flex-wrap: wrap; gap: 22px; }
  .landing-header .brand { font-size: 22px; }
  .landing-nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 11px; }
  .landing-nav-cta { padding: 8px 10px; }
  .landing-nav-cta span { margin-left: 6px; }
  .landing-hero { padding-block: 41px 39px; }
  .hero-copy .landing-kicker { max-width: 300px; margin-inline: auto; font-size: 8px; letter-spacing: 1px; margin-bottom: 19px; }
  .landing-page h1 { font-size: clamp(37px, 9.3vw, 58px); letter-spacing: -1.6px; margin-bottom: 22px; }
  .hero-description { font-size: 15px; max-width: 320px; margin-inline: auto; }
  .hero-explanation { font-size: 13px; }
  .hero-footnote { font-size: 10px; }
  .coaches-heading { align-items: start; flex-direction: column; gap: 8px; }
  .coaches-heading h2 { font-size: 27px; }
  /* Stacked introductions retain generous type and recognisable artwork. */
  .coach-grid { grid-template-columns: 1fr; gap: 17px; }
  .coach-card { padding: 23px 25px 0; }
  .coach-identity { margin-bottom: 18px; }
  .coach-identity h3 { font-size: 40px; }
  .coach-art { width: 100px; height: 86px; }
  .coach-promise { min-height: 0; font-size: 24px; }
  .coach-destination { margin-bottom: 20px; }
  .landing-start { grid-template-columns: 1fr; gap: 22px; padding-block: 38px; }
  .landing-start h2 { font-size: 32px; }
  .starting-points p { grid-template-columns: 88px 1fr; gap: 10px; }
  .landing-demo { grid-template-columns: 1fr; gap: 36px; margin-top: 35px; padding-block: 40px 50px; }
  .hero-experiment { width: 100%; max-width: 430px; margin-inline: auto; padding-inline: 16px; }
  .puzzle-paper { padding-inline: 23px; }
  .puzzle-paper h2 { font-size: 34px; }
  .puzzle-instruction { min-height: 32px; }
  /* Upright ellipses stay inside the phone column even when the hint opens. */
  .orbit-one { width: 100%; left: 0; transform: none; }
  .orbit-two { width: 98%; left: 1%; transform: none; }
  .landing-section { padding-block: 64px; }
  .landing-page h2 { font-size: 36px; letter-spacing: -1.4px; }
  .demo-invitation h2 { font-size: clamp(48px, 11vw, 66px); letter-spacing: -2px; }
  .demo-invitation > p.demo-punchline { font-size: 18px; }
  .section-heading { margin-bottom: 30px; }
  .approach-grid, .landing-parents, .landing-faq { grid-template-columns: 1fr; gap: 30px; }
  .approach-steps article { gap: 17px; }
  .dialogue-example { padding: 21px 17px; }
  .example-student { margin-left: 22px; }
  .example-coach { margin-right: 15px; }
  .manifesto-inner { padding-block: 48px 38px; }
  .manifesto-inner h2 { font-size: clamp(31px, 8.4vw, 37px); }
  .manifesto-art { opacity: .14; right: -220px; }
  .manifesto-signoff { font-size: 13px; }
  /* Compact picture-and-question rows avoid three tall text blocks on phones. */
  .judgment-questions { grid-template-columns: 1fr; gap: 15px; max-width: 370px; margin-block: 26px; }
  .judgment-questions article { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; align-items: center; text-align: left; }
  .judgment-drawing { width: 100px; height: 64px; margin: 0; }
  .judgment-questions h3 { font-size: 23px; }
  .manifesto-ambition { flex-direction: column; gap: 12px; padding-top: 22px; }
  .manifesto-ambition p { font-size: 25px; }
  .ambition-break { display: block; }
  .thesis-points { grid-template-columns: 1fr; gap: 22px; }
  .parents-intro > p:not(.landing-kicker) { max-width: 100%; }
  .parent-evidence h3 { font-size: 23px; }
  .landing-faq header h2 { margin-bottom: 0; }
  .faq-intro { position: static; }
  .faq-topic > summary { font-size: 22px; grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 10px; }
  .faq-list { padding-left: 0; }
  .faq-list details p { padding-right: 12px; }
  .landing-preview { padding: 44px 18px; }
  .landing-preview h2 { font-size: 43px; }
}

/* Small phones still need room for all three coins in each row. Reduce the
   coins themselves rather than allowing the grid to widen the entire page. */
@media (max-width: 380px) {
  .landing-nav { font-size: 10px; gap: 8px; }
  .landing-nav-cta { padding-inline: 8px; font-size: 9px; white-space: nowrap; }
  .landing-coins { grid-template-columns: repeat(3, 48px); gap: 13px 18px; }
  .landing-coin { width: 48px; height: 48px; }
}

/* The page has no automatic animation. Remove even pointer transitions for
   people whose operating-system settings request reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .landing-coin, .landing-button { transition: none; }
}

/* Small phones need room for the longest name alongside its drawing. */
@media (max-width: 400px) {
  .coach-identity h3 { font-size: 36px; }
}

/* A direct subject action makes each coach card an entrance to learning. */
.coach-start { margin-top: 18px; align-self: flex-start; }
.concise-thesis { padding-block: 48px; border-block: 1px solid var(--line); }
.concise-thesis h2 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(30px, 4vw, 46px); }
.concise-thesis p:not(.landing-kicker) { max-width: 65ch; line-height: 1.7; }

/* Keep signed-in navigation readable at tablet and narrow phone widths. Only
   the links wrap; the account menu remains beside the directly clickable logo. */
@media (max-width: 1000px) {
  .landing-header-signed-in { grid-template-columns: minmax(0, 1fr) auto; }
  .landing-header-signed-in > .brand { grid-column: 1; grid-row: 1; }
  .landing-header-signed-in > .account-menu { grid-column: 2; grid-row: 1; }
  .landing-header-signed-in .landing-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 5px 19px; font-size: 12px; }
  .landing-header-signed-in .landing-nav-cta { font-size: 12px; padding-inline: 12px; }
}
@media (max-width: 380px) {
  .landing-header-signed-in { column-gap: 10px; }
  .landing-header-signed-in .brand.stemoverflow-brand { font-size: 19px; }
  .landing-header-signed-in .landing-nav { column-gap: 15px; }
}
