/* lightspeed thinking: presentation refinements shared by every page.
   Colours and subject tokens are defined in styles.css. */
:root {
  color-scheme: dark;
  --wrap: 1200px;
  --header-h: 76px;
  --subnav-h: 56px;
  --fs-h2: clamp(2.25rem, 1.2rem + 3.3vw, 4.5rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 3.4vw, 5.25rem);
  --section-y: clamp(5rem, 9vw, 8rem);
  --shadow-1: none;
  --shadow-2: 0 12px 40px rgba(0,0,0,.24);
  --shadow-3: 0 24px 72px rgba(0,0,0,.4);
  --r-tile: 16px;
}
body { background: #000; }
h1, h2, h3 { color: var(--text); }
h2 { letter-spacing: -.045em; font-weight: 500; line-height: 1.08; }
p { line-height: 1.6; }
.section-head h2::after { display: none; }
.section-kicker, .subject-label { font: 500 .8125rem/1.5 var(--font-sans); color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 24px; }
.section-lead { font-family: var(--font-sans); font-size: 1.125rem; line-height: 1.7; max-width: 42rem; color: var(--text-2); }
.tone, .tone--spectrum { color: var(--text); background: none; -webkit-text-fill-color: currentColor; font-family: inherit; font-style: normal; font-weight: inherit; }
.site-header { border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header::before, .subnav::before,
html[data-tone-under="dark"] body:not(.nav-open) .site-header::before,
html.sub-stuck[data-tone-under="dark"] body:not(.nav-open) .subnav::before { background: rgba(0,0,0,.88); }
.header-inner { gap: 24px; }
.brand { gap: 12px; }
.brand-mark { color: #eee; }
.brand-mark svg { width: 32px; height: 32px; }
.brand-text strong { font-size: 1rem; letter-spacing: -.035em; font-weight: 500; }
.brand-text small { display: none; }
.primary-nav ul { gap: 26px; }
.primary-nav ul a { color: #aaa; font-size: .8125rem; font-weight: 400; }
.primary-nav ul a[aria-current="page"] { color: #fff; }
.site-header .btn { min-height: 38px; padding: 9px 19px; font-size: .8125rem; font-weight: 500; }
.site-header .subnav-progress { height: 1px; }
.subnav-progress i { display: none; }
.subnav-progress::before { height: 1px; bottom: 0; }
.btn { font-weight: 500; }
.btn-lg { min-height: 50px; padding: 14px 25px; font-size: .9375rem; }
.btn-primary { background: #f1f1f1; color: #080808; }
.btn-primary:hover { color: #080808; filter: none; background: #fff; }
.btn-secondary { background: rgba(255,255,255,.02); }
a.text-link { color: #f4f4f4; text-decoration: none; border-bottom: 1px solid #555; padding-bottom: 6px; }
.text-link span { margin-left: 12px; }

/* Kinetic typography is decorative. Real text stays in the document. */
[data-kinetic] { position: relative; display: inline-block; vertical-align: top; max-width: 100%; }
[data-kinetic-burst] { --kinetic-text-opacity: 1; }
.kinetic-text { display: inline-block; color: #f4f4f4; }
.kinetic-canvas { position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; }
.motion-ok [data-kinetic].kinetic-ready .kinetic-text { color: rgba(255,255,255,.5); }
.kinetic-canvas-burst { z-index: 1; }
.motion-ok [data-kinetic-burst].kinetic-ready .kinetic-text { color: #fff; opacity: var(--kinetic-text-opacity, 1); }
.landing-hero .kinetic-title .kinetic-text { color: #fff; opacity: 1; }
html:not(.motion-ok) .kinetic-canvas { display: none; }
html:not(.motion-ok) .kinetic-text { color: #f4f4f4; opacity: 1; }

/* A typographic opening with room to breathe. */
.landing-hero { position: relative; isolation: isolate; padding: 0; overflow: hidden; background: #000; }
.landing-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 40% at 50% 45%, #111 0%, transparent 100%); }
.particle-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .65; z-index: -1; }
.landing-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: min(820px, calc(100svh - 76px)); padding-top: clamp(64px, 6vw, 92px); }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; font-size: .8125rem; color: #a8a8a8; margin: 0 0 28px; }
.portal-mini { font-size: 1.1rem; color: #ddd; }
.kinetic-title { font: 500 clamp(3.5rem, 9.3vw, 8.4rem)/.98 var(--font-sans); letter-spacing: -.055em; margin: 0; color: #fff; }
.hero-title-line { display: block; }
.hero-title-line + .hero-title-line { margin-top: .08em; }
.hero-kinetic-lines { display: flex; flex-direction: column; align-items: center; margin-top: .13em; }
.hero-kinetic-lines .hero-title-line { margin-top: .07em; }
.hero-kinetic-lines .hero-at { font-size: clamp(1.35rem, 2.65vw, 2.2rem); font-weight: 400; line-height: 1.15; letter-spacing: .025em; }
.hero-kinetic-lines .hero-lightspeed { font-size: 1em; line-height: .98; }
.motion-ok .landing-hero [data-kinetic-burst].kinetic-ready .kinetic-text { color: #fff; opacity: var(--kinetic-text-opacity, 1); }
.landing-lead { font: 400 1.0625rem/1.65 var(--font-sans); color: #a6a6a6; margin: 32px auto 0; max-width: 38rem; }
.landing-hero .hero-actions { margin-top: 30px; justify-content: center; }
.hero-footnote { color: #868686; font-size: .8125rem; margin: 18px 0 0; }
.hero-bottom { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 48px 26px; margin-top: auto; color: #898989; font-size: .75rem; }
.hero-motion { color: #a0a0a0; padding: 6px 0; box-shadow: none; border-radius: 0; background: transparent; font-size: .75rem; }
.hero-motion span { margin-right: 6px; }
.hero-motion[aria-pressed="true"] { color: #fff; }
.proof-strip { background: #080808; border-block: 1px solid #1f1f1f; padding-block: 28px; }
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.proof-grid p { margin: 0; font-size: .8125rem; line-height: 1.6; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-weight: 500; color: #e5e5e5; margin-bottom: 4px; }
.proof-grid span { color: #8e8e8e; }

/* Three doors, one coherent system. */
.in-vivo-section { padding-block: 0; }
.in-vivo-note { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); gap: 30px 56px; padding: 44px; background: #080808; border: 1px solid #292929; border-radius: 20px; }
.in-vivo-note h2 { font: 500 clamp(1.75rem,3.2vw,2.5rem)/1.12 var(--font-sans); letter-spacing: -.045em; margin: 0 0 28px; }
.in-vivo-copy p { font-size: 1rem; line-height: 1.75; color: #aaa; margin: 0 0 18px; }
.in-vivo-copy p:last-child { margin-bottom: 0; }
.in-vivo-copy strong { color: #eee; font-weight: 500; }
.in-vivo-note .in-vivo-experience { grid-column: 1/-1; max-width: none; margin: 0; padding-top: 24px; border-top: 1px solid #252525; color: #949494; font-size: .875rem; line-height: 1.7; }
.hub-head { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 24px; }
.hub-head > p { color: #999; font-size: 1rem !important; margin: 0 !important; }
.subject-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.subject-portal { position: relative; display: flex; flex-direction: column; padding: 25px; border: 1px solid #252525; border-radius: 16px; background: #0a0a0a; color: #f4f4f4; text-decoration: none; overflow: hidden; min-width: 0; transition: border-color 300ms, transform 400ms var(--ease-out), background 300ms; }
.subject-portal:hover { text-decoration: none; color: #fff; border-color: #535353; background: #0e0e0e; }
.portal-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a3a3a3; font-size: .75rem; }
.card-corner { font-size: 1.15rem; color: #858585; }
.portal-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 220px; margin: 14px -25px 14px; overflow: hidden; }
.portal-art small { position: absolute; bottom: 18px; color: #696969; font-size: .6875rem; }
.english-art { font-family: var(--font-serif); }
.letter-pair { font-size: 7.5rem; line-height: 1; color: var(--accent); letter-spacing: -.06em; font-style: italic; }
.ink-period { color: #9d9587; }
.editorial-line { position: absolute; width: 56%; height: 1px; background: #443e36; bottom: 57px; transform: rotate(-6deg); transform-origin: center; }
.math-art svg { width: 90%; height: 90%; }
.math-grid-lines { stroke: rgba(186,204,229,.08); }
.math-axis { stroke: rgba(186,204,229,.28); }
.math-card-curve { stroke: var(--accent); stroke-width: 1.6; }
.math-card-dot { fill: var(--accent); }
.math-art small { font-family: var(--font-mono); }
.code-art { align-items: flex-start; padding: 24px 32px; background: radial-gradient(ellipse at center,rgba(175,207,190,.045),transparent 70%); }
.code-art-label { color: #68756e; font: .6875rem var(--font-mono); border-bottom: 1px solid #222b26; width: 100%; padding-bottom: 13px; margin-bottom: 19px; }
.code-art code { color: #bbb; font: .8125rem/1.9 var(--font-mono); white-space: nowrap; }
.code-art small { align-self: center; }
.code-cursor { color: var(--accent); }
.portal-card-copy h3 { font: 500 clamp(1.5rem, 2vw, 1.875rem)/1.13 var(--font-sans); letter-spacing: -.035em; margin: 0 0 14px; }
.portal-card-copy h3 em { font-family: inherit; font-weight: inherit; font-style: normal; }
.portal-cs h3 em { font-family: var(--font-sans); font-style: normal; }
.portal-card-copy p { color: #999; font-size: .9375rem; line-height: 1.6; margin: 0 0 25px; }
.portal-card-copy { display: flex; flex-direction: column; flex: 1; }
.portal-card-link { display: flex; align-items: center; gap: 9px; font-size: .8125rem; margin-top: auto; color: #ddd; }
.portal-card-tags { margin: 25px 0 0; padding-top: 18px; border-top: 1px solid #242424; font-size: .75rem; color: #999; letter-spacing: 0; }
.hub-footnote { margin: 26px 0 0; font-size: .875rem; color: #888; }
.hub-footnote a { color: #ccc; text-decoration-color: #555; text-underline-offset: 4px; }

.process-section { border-top: 1px solid #202020; }
.simple-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; }
.simple-process li { margin: 0; border-top: 1px solid #363636; padding-top: 24px; }
.process-index { color: #777; font: .8125rem var(--font-mono); }
.simple-process h3 { font-weight: 500; font-size: 1.375rem; letter-spacing: -.025em; margin: 28px 0 13px; }
.simple-process p { font-size: 1rem; color: #999; margin: 0; }
.tutor-section { background: #0a0a0a; border-block: 1px solid #202020; }
.tutor-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 100px; }
.tutor-intro h2 { font-size: clamp(2.25rem, 3.6vw, 3.5rem); }
.tutor-intro h2 em { font-family: inherit; font-weight: inherit; font-style: normal; }
.tutor-statement { max-width: 27rem; margin-top: 27px; color: #929292; }
.tutor-signature { display: flex; gap: 16px; align-items: center; margin-top: 40px; }
.tutor-monogram { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #464646; border-radius: 50%; font: 500 1rem var(--font-sans); color: #ddd; }
.tutor-signature strong { display: block; color: #ddd; font-size: .9375rem; font-weight: 500; }
.tutor-signature div > span { display: block; font-size: .8125rem; color: #888; margin-top: 3px; }
.tutor-details > p { margin: 0 0 20px; color: #aaa; font-size: 1.0625rem; line-height: 1.7; }
.tutor-details > p:first-child { color: #ddd; }
.tutor-evidence { display: flex; gap: 44px; margin: 36px 0; padding-top: 24px; border-top: 1px solid #333; }
.tutor-evidence p { margin: 0; }
.tutor-evidence strong { font-size: 2.75rem; line-height: 1.1; display: block; color: #e5e5e5; font-weight: 400; letter-spacing: -.04em; }
.tutor-evidence span { display: block; color: #888; font-size: .75rem; margin-top: 8px; }
.tutor-details .text-link { font-size: .875rem; }
.thinking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.thinking-art { border: 1px solid #282828; background: #090909; border-radius: 16px; padding: 36px; min-height: 380px; }
.thinking-caption, .thinking-bottom { font-size: .6875rem; color: #777; letter-spacing: .1em; }
.thinking-word { margin: 12px 0 0; font: 500 clamp(2rem, 3.6vw, 3.75rem)/1.2 var(--font-sans); letter-spacing: -.045em; color: #939393; }
.thinking-caption + .thinking-word { margin-top: 34px; }
.thinking-last { color: #e3e0d9; }
.thinking-star { font-family: var(--font-sans); color: #c3b7cc; margin-left: 10px; font-size: .7em; display: inline-block; }
.thinking-rule { height: 1px; background: #363636; margin: 32px 0 22px; }
.thinking-bottom { letter-spacing: 0; }
.thinking-copy h2 { font-size: clamp(2.25rem, 3.5vw, 3.5rem); }
.thinking-copy > p:not(.section-kicker) { color: #999; font-size: 1rem; margin-top: 24px; }
.thinking-copy .btn { margin-top: 22px; }
#pricing { border-top: 1px solid #202020; }
.price-card-featured { box-shadow: inset 0 0 0 1px #555; }
.price-badge { background: #242424; color: #ccc; }
.price-pending { color: #aaa; }
.pricing-notes { color: #999; }
#contact { border-top: 1px solid #242424; }
.contact-card { background: #0a0a0a; }
.contact-pending { font-size: .9375rem; color: #aaa; }
.form-status.is-error, .form-status.is-success { background: #181818; }
.req { color: #b4b4b4; }
.site-footer { background: #050505; }
.footer-brand { font-size: 1.25rem; letter-spacing: -.04em; }
.footer-note, .footer-tagline, .footer-fine { color: #858585; }
.footer-bottom { gap: 24px; }
.float-pill::before { background: rgba(15,15,15,.95); }

/* Existing subject worlds retain their lesson diagrams and controls. */
.page-hero { padding-top: 66px; padding-bottom: 60px; }
.page-hero > .wrap { position: relative; }
.page-hero h1 { max-width: 22ch; margin-top: 38px; font-size: clamp(2.5rem,4.3vw,4rem); letter-spacing: -.045em; font-weight: 500; line-height: 1.1; }
.page-hero .lead { font: 400 1.0625rem/1.7 var(--font-sans); color: #aaa; max-width: 39rem; }
.wordmark { margin: 0; font: 500 clamp(4rem, 9.8vw, 8.25rem)/1.02 var(--font-sans); letter-spacing: -.06em; color: #eee; }
.wm-english { font: italic 400 clamp(5rem,12vw,10rem)/1.05 var(--font-serif); letter-spacing: -.055em; }
.wm-cs { font: 400 clamp(3.5rem, 7.5vw, 6.5rem)/1.03 var(--font-mono); letter-spacing: -.07em; }
.wm-caret { height: .7em; width: .13em; background: #afcfbe; vertical-align: .05em; }
.subject-label { margin-bottom: 27px; }
.subject-hero-note { font-size: .8125rem; color: #898989; margin-top: 24px; }
.subject-hero-note > span { margin-inline: 8px; color: #555; }
.subject-hero-note a { color: #bcbcbc; text-underline-offset: 4px; }
.subject-switcher { margin-top: 36px; }
.hero-stage-wrap { margin-top: 64px; max-width: calc(var(--wrap) + var(--gutter) * 2); }
.hero-stage { background-color: #080808; border: 1px solid #282828; border-radius: 16px; padding: 40px; }
.hero-stage.motif { background-color: #080808; }
.motif-fade::before { opacity: .38; -webkit-mask-image: linear-gradient(90deg,transparent 30%,#000); mask-image: linear-gradient(90deg,transparent 30%,#000); }
.contents { font-size: .875rem; }
.contents-head { color: #8d8d8d; }
.stat-strip { border-bottom: 1px solid #222; padding-block: 40px; }
.stat-num { font-weight: 400; }
.stat-label { color: #999; font-size: .9375rem; }
.subnav { border-bottom: 1px solid #202020; }
.card, .stage-body, .cross-link, .pillar { background-color: #0d0d0d; }
.lab { background: #101010; border-radius: 16px; }
.lab-head h3 { font-size: 1.375rem; font-weight: 500; }
.lab-head p { color: #aaa; }
.lab::before { height: 28px; }
.lab-badge { font-size: .6875rem; letter-spacing: .08em; }
.paper, .slip, .sheet:not(.sheet--band), .chat-bubble.is-ai { color-scheme: dark; }
.paper { background-color: #121211; }
.paper ins { color: var(--ink-blue); }
.hv-pencil { opacity: .5; filter: grayscale(1); }
.plan-card, .work-card, .prep-card { background-color: #101010; }
[data-theme="english"] .stat-num::after { opacity: .45; }
[data-theme="english"] .note-sticky { --card-bg: #171511; --line: rgba(255,255,255,.14); background: #171511; }
[data-theme="english"] .note-sticky::before { background: rgba(224,213,195,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.sent[data-tag] { color: #f4f4f4; }
.pp-key, .tag-badge { font-size: .75rem; }
.graph-fig .g-grid path { stroke: rgba(186,204,229,.1); }
.stamp { background: #1b1b1b; color: var(--danger); }
.tool-btn { min-height: 40px; }
.pledge, .hero-pledge, .hand-pledge { color: #bbb; }
.pledge-icon, .hands-icon { color: #ddd; }
.bg-band .duo-pane, .duo-pane, .hands-note, .ai-policy { background-color: #111; }
.tick::before, .pf-gate input:checked { color: #080808; }
@media (min-width: 1100px) {
  body[data-theme="cs"] .page-hero > .wrap {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 80px;
    grid-template-areas: "label label" "word title" "word lead" "actions lead" "note note" "switch switch";
    align-items: start;
  }
  body[data-theme="cs"] .subject-label { grid-area: label; }
  body[data-theme="cs"] .wordmark { grid-area: word; }
  body[data-theme="cs"] .page-hero h1 { grid-area: title; margin-top: 0; max-width: 14ch; }
  body[data-theme="cs"] .page-hero .lead { grid-area: lead; margin-top: 25px; }
  body[data-theme="cs"] .page-hero .hero-actions { grid-area: actions; }
  body[data-theme="cs"] .subject-hero-note { grid-area: note; }
  body[data-theme="cs"] .subject-switcher { grid-area: switch; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .motion-ok .subject-portal:hover { transform: translateY(-5px); }
  .motion-ok .subject-portal .portal-art { transition: transform 600ms var(--ease-out); }
  .motion-ok .portal-english:hover .letter-pair { transform: rotate(-4deg); transition: transform 600ms; }
  .motion-ok .portal-math:hover .math-card-curve { animation: portal-graph-draw 1s var(--ease-out); }
  .motion-ok .portal-cs:hover .code-cursor { animation: portal-caret 800ms step-end 3; }
}
@keyframes portal-graph-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes portal-caret { 50% { opacity: 0; } }
@media (max-width: 1050px) {
  .tutor-layout, .thinking-layout { gap: 50px; }
  .subject-portal { padding: 20px; }
  .portal-art { margin-inline: -20px; height: 190px; }
  .code-art { padding-inline: 22px; }
  .code-art code { font-size: .6875rem; }
  .portal-card-tags { font-size: .75rem; white-space: normal; }
  .portal-card-copy h3 { font-size: 1.5rem; }
}
@media (max-width: 900px) {
  .in-vivo-note { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .hero-stage { padding: 28px; }
  .subject-grid { grid-template-columns: 1fr; }
  .subject-portal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 28px; }
  .portal-card-top { grid-column: 1/-1; }
  .portal-art { grid-column: 1; grid-row: 2/4; margin: 10px -8px 0; height: 230px; }
  .portal-card-copy { grid-column: 2; padding-top: 34px; }
  .portal-card-tags { grid-column: 2; align-self: end; font-size: .75rem; white-space: normal; }
  .portal-card-copy h3 { font-size: 1.875rem; }
  .code-art code { font-size: .875rem; }
  .tutor-layout, .thinking-layout { grid-template-columns: 1fr; gap: 44px; }
  .tutor-details { max-width: 40rem; }
  .thinking-art { max-width: 40rem; width: 100%; }
  .thinking-word { font-size: 3rem; }
  .simple-process { gap: 24px; }
  .hub-head { align-items: start; }
  .hub-head > p { font-size: .875rem !important; }
  html.js .primary-nav { height: calc(100dvh - var(--header-h)); }
}
@media (max-width: 600px) {
  .in-vivo-note { padding: 26px 22px; border-radius: 16px; }
  :root { --header-h: 68px; --gutter: 22px; --section-y: 72px; }
  .brand-text strong { font-size: .9375rem; }
  .brand-mark svg { width: 29px; height: 29px; }
  .landing-hero-inner { min-height: 690px; padding-top: 70px; }
  .hero-eyebrow { font-size: .75rem; gap: 6px; }
  .kinetic-title { font-size: clamp(2.5rem, 11.8vw, 4.4rem); }
  .hero-kinetic-lines .hero-at { font-size: clamp(1.1rem, 5vw, 1.5rem); }
  .landing-lead { font-size: .9375rem; margin-top: 28px; }
  .landing-hero .hero-actions { gap: 12px; flex-direction: column; width: 100%; }
  .landing-hero .hero-actions .btn { width: min(100%, 290px); }
  .hero-bottom { font-size: .6875rem; flex-direction: column; gap: 12px; padding-block: 32px 24px; }
  .hero-motion { font-size: .75rem; }
  .proof-grid { grid-template-columns: 1fr; gap: 20px; }
  .proof-grid p { padding-bottom: 18px; border-bottom: 1px solid #242424; }
  .proof-grid p:last-child { padding-bottom: 0; border: 0; }
  .proof-grid strong { margin-bottom: 3px; }
  .proof-strip { padding-block: 26px; }
  .hub-head { flex-direction: column; gap: 20px; }
  .hub-head > p br { display: none; }
  .subject-portal { display: flex; padding: 24px; }
  .portal-art { margin-inline: -24px; margin-block: 8px 0; height: 210px; }
  .portal-card-copy { padding-top: 18px; }
  .portal-card-copy h3 { font-size: 1.875rem; }
  .portal-card-copy h3 br { display: none; }
  .portal-card-copy h3 em { display: inline; }
  .portal-card-tags { width: 100%; font-size: .6875rem; }
  .code-art { padding-inline: 32px; }
  .code-art code { font-size: .9375rem; }
  .simple-process { grid-template-columns: 1fr; gap: 32px; }
  .simple-process h3 { margin-top: 20px; }
  .tutor-evidence { gap: 28px; }
  .tutor-evidence span { font-size: .6875rem; }
  .thinking-art { padding: 26px; min-height: 355px; }
  .thinking-word { font-size: clamp(1.75rem,7.5vw,2.75rem); }
  .thinking-star { margin-left: 5px; }
  .section-kicker, .subject-label { font-size: .75rem; margin-bottom: 20px; }
  .page-hero { padding-top: 40px; }
  .wordmark { font-size: clamp(2.6rem,10.5vw,4rem); }
  .wm-english { font-size: clamp(4.75rem,20vw,7rem); }
  .wm-cs { font-size: clamp(3rem,12.3vw,4.5rem); }
  .page-hero h1 { margin-top: 32px; font-size: 2.5rem; }
  .page-hero .lead { font-size: 1rem; }
  .page-hero .hero-actions { gap: 10px; }
  .page-hero .hero-actions .btn { padding-inline: 18px; font-size: .875rem; }
  .subject-switcher { gap: 6px; }
  .subject-switcher a { font-size: .75rem; padding-inline: 12px; min-height: 40px; }
  .subject-hero-note { line-height: 1.8; font-size: .75rem; }
  .subject-hero-note > span { display: none; }
  .subject-hero-note a { display: block; }
  .hero-stage { padding: 24px 16px; }
  .hero-stage-wrap { margin-top: 44px; }
  .faq summary { font-size: 1.0625rem; }
  .footer-bottom { align-items: start; }
  .contact-card { padding: 24px; }
}
@media (prefers-reduced-motion:reduce) {
  .kinetic-canvas { display: none; }
  .kinetic-text { color: #f4f4f4 !important; opacity: 1 !important; }
  .particle-orbit { opacity: .4; }
}
@media (forced-colors:active) {
  .kinetic-canvas, .particle-orbit { display: none; }
  .kinetic-text, h1, h2, h3 { color: CanvasText !important; opacity: 1 !important; }
  .subject-portal { border: 1px solid CanvasText; }
}
@media print {
  .particle-orbit, .kinetic-canvas, .hero-motion { display: none; }
  .kinetic-text { color: #000 !important; opacity: 1 !important; }
  .landing-hero, .proof-strip, .subject-portal, .tutor-section, .thinking-art { background: #fff; color: #000; }
  .landing-hero-inner { min-height: auto; }
}
.hero-motion::before { display: none; }
.hero-motion span[data-motion-label] { margin-right: 0; }
.tutor-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

.subject-hub, .thinking-section { background: #000; }
@media (min-width:901px) { html.js .mobile-cta { display: none !important; } }

/* One reading voice. Serif and mono remain in subject artwork and lesson specimens. */
.pro-pull, .hand-note-lead, .ai-rule-text, .ai-para, .pledge-text,
.dial-cap, .view-note, .handwork-note, .ai-echo, .h2h-text {
  font-family: var(--font-sans); font-style: normal; line-height: 1.65;
}
.plan-card, .trace-grid .slip, .work .spark-note { font-family: var(--font-sans); font-style: normal; }
.note-sticky h3 { font-family: var(--font-sans); font-style: normal; }
.pro-pull, .hand-note-lead, .ai-rule-text, .pledge-text, .h2h-text { font-size: 1.125rem; }
.section-lead { letter-spacing: 0; }
.hero-stage .contents a { font-family: var(--font-sans); }
.section-head .section-lead { color: #aaa; }
.thinking-caption, .thinking-bottom, .code-art-label { color: #a0a0a0; }
.portal-art small { color: #909090; }

/* Learning paths: useful detail without losing the quiet page rhythm. */
.learner-section { background: #050505; border-top: 1px solid #222; }
.learner-tabs { width: min(100%, 540px); margin-bottom: 28px; background: #191919; }
.learner-tabs > button { min-height: 44px; font-weight: 500; }
.learner-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 44px; min-height: 380px; border: 1px solid #292929; border-radius: 16px; background: #0a0a0a; }
.path-index, .focus-label, .format-index { display: block; font: 400 .75rem/1.5 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: #999; }
.learner-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.learner-copy h3 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 500; margin: 24px 0 20px; }
.learner-copy > p { font-size: 1rem; line-height: 1.7; color: #aaa; margin: 0 0 28px; }
.learner-copy .text-link { font-size: .875rem; margin-top: auto; }
.learner-focus { min-width: 0; align-self: center; }
.focus-label { margin: 0 0 12px; }
.learner-focus ul { list-style: none; padding: 0; margin: 0; }
.learner-focus li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px 0; margin: 0; border-top: 1px solid #292929; color: #aaa; font-size: .9375rem; line-height: 1.6; }
.learner-focus li > span { color: #e5e5e5; font-size: .8125rem; padding-top: 2px; }
.focus-footnote { margin: 18px 0 0; color: #909090; font-size: .8125rem; line-height: 1.6; }

/* Complete lower-page layouts, using the same type and spacing as the opening. */
#pricing .price-card { padding: 30px; background: #0a0a0a; border: 1px solid #292929; box-shadow: none; }
.price-card-featured::before { display: none; }
.format-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.format-symbol { font-size: 1.2rem; color: #999; }
#pricing .price-card h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; margin-bottom: 12px; }
.format-description { font-size: .9375rem; color: #aaa; margin: 0 0 24px; }
#pricing .price-pending, #pricing .price { padding-top: 22px; border-top: 1px solid #292929; }
#pricing .price-pending { font-size: .875rem; color: #ccc; }
#pricing .price-card ul { padding: 0; list-style: none; font-size: .875rem; line-height: 1.65; }
#pricing .price-card li { position: relative; padding-left: 18px; margin-bottom: 12px; color: #999; }
#pricing .price-card li::before { content: ''; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: #777; }
.format-link { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: auto; padding-top: 28px; text-decoration: none; color: #ddd; font-size: .8125rem; }
.format-link:hover { color: #fff; text-decoration: underline; }
.pricing-notes { border-top: 1px solid #292929; padding-top: 28px; gap: 24px 30px; }
.pricing-notes li { font-size: .8125rem; line-height: 1.65; }
.pricing-notes li::before { color: #aaa; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 100px; align-items: start; }
.faq-layout .section-head { margin: 0; }
.faq-layout .section-lead { font-size: 1rem; margin-top: 26px; }
.faq-layout .text-link { display: inline-block; font-size: .875rem; margin-top: 26px; }
.faq summary { font-size: 1.125rem; font-weight: 500; line-height: 1.45; letter-spacing: -.015em; padding-block: 26px; }
.faq details > p { color: #aaa; }
.faq summary::after { box-shadow: none; color: #aaa; font-size: 23px; }
.faq details[open] > summary::after { background: transparent; }
.inquiry-form { background: #0a0a0a; padding: 32px; }
.inquiry-availability { font: 400 .875rem/1.6 var(--font-sans); color: #b6b6b6; border-bottom: 1px solid #292929; padding-bottom: 24px; margin-bottom: 28px; }
.field-group > legend { font-size: 1.0625rem; font-weight: 500; }
.field label, .chip-fieldset > legend { font-weight: 500; }
.field input, .field select, .field textarea { border-radius: 8px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5l6-6' fill='none' stroke='%23AAA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.contact-card { padding: 30px; }
.contact-card h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; }
.contact-intro { color: #aaa; font-size: .9375rem; line-height: 1.7; margin-bottom: 24px; }
.contact-facts > div { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 1.3fr); gap: 20px; padding-block: 14px; }
.contact-facts { font-size: .8125rem; }
.contact-facts dd { line-height: 1.6; }
.mini-steps { list-style: none; padding: 0; counter-reset: next; }
.mini-steps li { position: relative; padding: 0 0 18px 30px; margin: 0; color: #aaa; font-size: .9375rem; line-height: 1.65; counter-increment: next; }
.mini-steps li:last-child { padding-bottom: 0; }
.mini-steps li::before { content: counter(next, decimal-leading-zero); position: absolute; left: 0; top: 3px; font-size: .6875rem; color: #888; }
.btn:disabled { cursor: not-allowed; background: #242424; color: #999; box-shadow: inset 0 0 0 1px #383838; }
.btn:disabled:hover { transform: none; filter: none; background: #242424; color: #999; }
.footer-grid { gap: 48px; }
.footer-note { max-width: 26rem; line-height: 1.75; }
.footer-bottom { flex-wrap: wrap; }
@media (max-width: 1050px) {
  .learner-panel { gap: 40px; padding: 32px; }
  .faq-layout { gap: 50px; }
  #pricing .price-card { padding: 26px; }
}
@media (max-width: 800px) {
  .learner-panel, .faq-layout { grid-template-columns: 1fr; }
  .learner-panel { min-height: 0; gap: 40px; }
  .learner-focus { align-self: start; }
  .faq-layout { gap: 40px; }
  .faq-layout h2 br { display: none; }
  .faq-layout .section-head { max-width: 34rem; }
}
@media (max-width: 600px) {
  .learner-tabs { margin-bottom: 20px; }
  .learner-tabs > button { font-size: .75rem; padding: 6px 8px; line-height: 1.3; }
  .learner-panel { padding: 26px 22px; }
  .learner-copy h3 { font-size: 1.875rem; }
  .learner-focus li { grid-template-columns: 1fr; gap: 6px; }
  .learner-focus li > span { padding-top: 0; }
  .faq summary { font-size: 1.0625rem; padding: 22px 40px 22px 0; }
  .faq details > p { padding-right: 8px; font-size: .9375rem; }
  .inquiry-form, .contact-card { padding: 24px; }
  .chip > span { font-size: .8125rem; padding-inline: 14px; }
  .form-actions .btn { width: 100%; font-size: .875rem; }
  .footer-grid { gap: 32px; }
}
