:root {
  --ink: #17243c;
  --ink-soft: #455068;
  --navy: #17233b;
  --cream: #f8f5ed;
  --paper: #fffdf8;
  --blue: #85c7ee;
  --blue-light: #dff2fb;
  --yellow: #f5ce52;
  --yellow-light: #fff1b8;
  --coral: #f28f78;
  --coral-light: #f9d6ce;
  --lilac: #d8d0f1;
  --green: #c9e3c6;
  --line: rgba(23, 36, 60, .15);
  --shadow: 0 18px 50px rgba(23, 36, 60, .11);
  --radius: 24px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 108px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; height: 76px; background: rgba(248,245,237,.89); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 26px rgba(23,36,60,.05); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: baseline; position: relative; flex: 0 0 auto; font-weight: 900; letter-spacing: -.055em; font-size: 23px; line-height: 1; }
.logo-page { font-family: var(--font-display); font-style: italic; }
.logo-amp { color: var(--coral); margin: 0 4px; font-family: var(--font-display); font-style: italic; }
.logo-code { font-weight: 800; }
.logo-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; margin-left: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 13px; font-weight: 700; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--coral); transition: right .2s; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav .nav-secondary { color: #b95848; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 2px solid var(--ink); background: var(--ink); color: white; border-radius: 999px; padding: 13px 22px; font-weight: 800; font-size: 14px; line-height: 1.2; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(23,36,60,.12); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.button-small { padding: 10px 17px; font-size: 13px; }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: white; }
.menu-toggle { display: none; margin-left: auto; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }

.hero { position: relative; overflow: hidden; padding-top: 72px; background: radial-gradient(circle at 85% 18%, rgba(133,199,238,.27), transparent 28%), var(--cream); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 64px; padding-bottom: 80px; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { background: white; border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px; box-shadow: 3px 3px 0 var(--yellow); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(49px, 5.3vw, 76px); margin: 27px 0 25px; max-width: 760px; }
h2 { font-size: clamp(40px, 4.3vw, 62px); margin: 15px 0 0; }
h3 { line-height: 1.25; }
.marker { position: relative; z-index: 0; font-style: italic; white-space: nowrap; }
.marker::after { content: ""; position: absolute; z-index: -1; height: .25em; background: var(--yellow); bottom: .05em; left: -.04em; right: -.06em; transform: rotate(-2deg); border-radius: 70% 20% 80% 20%; }
.hero-lede { max-width: 650px; font-size: 19px; font-weight: 700; line-height: 1.55; color: var(--ink); }
.hero-support { max-width: 620px; color: var(--ink-soft); font-size: 15px; }
.level-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.level-chips span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.64); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-line { display: flex; align-items: center; gap: 13px; margin-top: 34px; font-size: 12px; line-height: 1.45; color: var(--ink-soft); }
.trust-line strong { color: var(--ink); }
.founder-matching-link { border-radius: 4px; transition: color .2s; }
.founder-matching-link:hover { color: #b95848; }
.mini-portraits { display: flex; padding-left: 9px; }
.founder-avatar-link { display: block; flex: 0 0 auto; margin-left: -9px; border-radius: 50%; cursor: pointer; transition: transform .2s, filter .2s; }
.founder-avatar-link:hover { transform: translateY(-2px) scale(1.04); }
.founder-avatar-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mini-portraits img { width: 39px; height: 39px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); filter: saturate(.85); }
.hero-visual { position: relative; min-height: 530px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 45% 55% 54% 46% / 51% 43% 57% 49%; background: var(--blue-light); transform: rotate(8deg); }
.orbit { position: absolute; border: 1px dashed rgba(23,36,60,.23); border-radius: 50%; }
.orbit-one { width: 480px; height: 390px; transform: rotate(-14deg); }
.orbit-two { width: 380px; height: 490px; transform: rotate(28deg); }
.subject-stack { position: relative; z-index: 2; width: min(400px, 85%); }
.stack-card { min-height: 103px; display: grid; grid-template-columns: 66px 1fr 35px; align-items: center; gap: 14px; padding: 19px 22px; border: 2px solid var(--ink); border-radius: 19px; box-shadow: 8px 9px 0 rgba(23,36,60,.14); }
.stack-card + .stack-card { margin-top: -7px; }
.stack-card:nth-child(1) { transform: rotate(-3deg); background: var(--paper); }
.stack-card:nth-child(2) { transform: rotate(2deg); background: var(--yellow-light); }
.stack-card:nth-child(3) { transform: rotate(-1deg); background: var(--coral-light); }
.stack-icon { width: 57px; height: 57px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 14px; background: rgba(255,255,255,.7); font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.stack-card small { display: block; font-size: 9px; letter-spacing: .16em; font-weight: 900; opacity: .55; }
.stack-card strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 23px; line-height: 1.15; }
.check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 12px; }
.stack-tags { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.stack-tags span { padding: 7px 12px; border-radius: 999px; background: white; border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.hero-note { position: absolute; z-index: 3; background: var(--yellow); padding: 15px 18px; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: var(--font-display); transform: rotate(5deg); }
.hero-note span { display: block; font-style: italic; }
.hero-note strong { display: block; font-size: 18px; }
.hero-note i { position: absolute; font-style: normal; color: var(--coral); font-size: 26px; right: -18px; top: -22px; }
.note-top { right: -2px; top: 60px; }
.note-bottom { left: auto; right: 24px; bottom: -36px; background: var(--paper); transform: rotate(-6deg); font-family: var(--font-sans); font-size: 12px; font-weight: 700; }
.note-bottom .scribble-arrow { display: inline-block; font-size: 23px; margin-right: 6px; }
.note-bottom strong { display: inline; color: #dc6554; font-family: var(--font-display); font-size: 18px; }
.hero-ribbon { display: flex; justify-content: center; gap: 40px; align-items: center; min-width: 100%; padding: 16px 30px; color: white; background: var(--ink); transform: rotate(-1deg) scale(1.02); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.hero-ribbon i { color: var(--yellow); font-style: normal; }

.trust-strip { padding: 34px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: grid; grid-template-columns: 30px 1fr; padding: 5px 22px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { grid-row: 1 / 3; font-family: var(--font-display); font-size: 13px; font-style: italic; color: #cb6a57; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { font-family: var(--font-display); font-size: 16px; line-height: 1.2; }
.trust-grid small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }

.section-heading { margin-bottom: 48px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }
.split-heading p { max-width: 480px; margin: 0 0 4px; color: var(--ink-soft); }
.section-heading .blue { color: #4997c8; font-style: italic; }
.section-heading .coral { color: #df745e; font-style: italic; }
.underline { position: relative; z-index: 0; font-style: italic; }
.underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 6px; background: var(--blue); border-radius: 60%; transform: rotate(-1deg); z-index: -1; }
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subject-card { position: relative; min-height: 305px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.subject-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: var(--shadow); }
.tone-blue { background: var(--blue-light); }
.tone-yellow { background: var(--yellow-light); }
.tone-coral { background: var(--coral-light); }
.tone-navy { background: var(--navy); color: white; }
.tone-lilac { background: var(--lilac); }
.tone-green { background: var(--green); }
.card-number { position: absolute; right: 20px; top: 20px; font-family: var(--font-display); font-style: italic; font-size: 13px; opacity: .55; }
.subject-icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 28px; border: 1.5px solid currentColor; border-radius: 14px; font-family: var(--font-display); font-size: 22px; font-weight: 900; background: rgba(255,255,255,.4); }
.subject-card h3 { margin-bottom: 10px; font-family: var(--font-display); font-size: 25px; letter-spacing: -.02em; }
.subject-card p { color: inherit; opacity: .76; font-size: 14px; }
.card-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid currentColor; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.card-link b { font-size: 16px; }
.card-note { display: block; margin-top: auto; padding-top: 16px; border-top: 1px solid currentColor; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.section-cta { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; text-align: center; }
.section-cta p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.process { color: white; background: var(--navy); position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; width: 450px; height: 450px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.16); left: -230px; top: -220px; }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.kicker-light { color: var(--blue); }
.yellow { color: var(--yellow); font-style: italic; }
.process-copy > p { color: rgba(255,255,255,.65); max-width: 440px; margin: 26px 0 38px; }
.availability { max-width: 430px; display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.06); }
.availability > span { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; background: var(--yellow); color: var(--ink); border-radius: 50%; font-size: 24px; }
.availability strong, .availability small { display: block; }
.availability strong { font-size: 13px; }
.availability small { color: rgba(255,255,255,.58); font-size: 11px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr 48px; gap: 22px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.steps li:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.step-num { align-self: start; font-family: var(--font-display); font-size: 18px; color: var(--yellow); }
.steps h3 { margin-bottom: 7px; font-family: var(--font-display); font-size: 25px; }
.steps p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }
.step-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--yellow); }
.inline-link { display: inline-flex; color: white; border-bottom: 2px solid var(--yellow); font-weight: 900; }
.inline-link:hover { color: var(--yellow); }

.founders { background: var(--paper); }
.centered { text-align: center; max-width: 760px; margin-inline: auto; }
.centered p { max-width: 650px; margin: 25px auto 0; color: var(--ink-soft); }
.coral-marker::after { background: var(--coral-light); }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.founder-card { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: white; box-shadow: 0 16px 50px rgba(23,36,60,.06); }
.founder-photo { height: 390px; position: relative; overflow: hidden; }
.founder-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 70%, rgba(23,36,60,.16)); pointer-events: none; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.founder-card:hover .founder-photo img { transform: scale(1.025); }
.roman-photo { background: var(--blue-light); }
.roman-photo img { filter: grayscale(1) contrast(.92); object-position: center 28%; }
.adonay-photo { background: var(--yellow-light); }
.adonay-photo img { object-position: center 24%; }
.photo-label { position: absolute; z-index: 2; left: 22px; bottom: 20px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 8px 12px; font-size: 10px; font-weight: 900; letter-spacing: .1em; transform: rotate(-2deg); }
.photo-label i { font-style: normal; margin-left: 8px; }
.photo-doodle { position: absolute; z-index: 2; right: 21px; top: 18px; color: var(--yellow); font-size: 35px; text-shadow: 1px 1px 0 var(--ink); }
.code-doodle { color: white; font-family: monospace; font-size: 24px; }
.founder-info { padding: 28px 30px 30px; }
.founder-title { display: flex; justify-content: space-between; align-items: start; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.founder-title h3 { margin: 0; font-family: var(--font-display); font-size: 34px; letter-spacing: -.03em; }
.founder-title p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.founder-initial { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--blue-light); font-family: var(--font-display); font-style: italic; font-weight: 900; }
.founder-card:nth-child(2) .founder-initial { background: var(--yellow-light); }
.founder-info > p { color: var(--ink-soft); font-size: 13px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.social-section { padding: 74px 0; background: var(--blue-light); overflow: hidden; }
.social-page { min-height: calc(100vh - 76px); }
.social-page .social-grid { min-height: 610px; }
.social-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.social-copy h2 { max-width: 500px; }
.social-copy > p { color: var(--ink-soft); margin-top: 18px; max-width: 500px; }
.social-compact { grid-template-columns: 1fr 1fr; }
.soon-badge { display: inline-flex; margin-top: 16px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.48); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.content-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; transform: rotate(2deg); }
.content-tiles-compact .content-tile:nth-child(2) { transform: translateY(14px); }
.content-tile { aspect-ratio: 1 / 1.05; min-height: 220px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 2px solid var(--ink); border-radius: 19px; box-shadow: 7px 7px 0 var(--ink); overflow: hidden; }
.content-tile:nth-child(2), .content-tile:nth-child(3) { transform: translateY(14px); }
.tile-essay { background: var(--yellow); }
.tile-python { background: var(--navy); color: white; }
.tile-top, .content-tile small { font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.content-tile strong { position: relative; z-index: 2; font-family: var(--font-display); font-size: 29px; line-height: 1.05; }
.tile-icon { position: absolute; right: 18px; bottom: 30px; font-family: var(--font-display); font-size: 70px; font-weight: 900; opacity: .17; }

.resources { background: var(--cream); }
.resource-feature { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.resource-feature h2 { max-width: 650px; }
.resource-feature p { max-width: 600px; margin: 22px 0 28px; color: var(--ink-soft); }
.resource-preview { display: grid; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 8px 8px 0 var(--yellow-light); }
.resource-preview span { padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.resource-preview span::before { content: "↳"; margin-right: 10px; color: var(--coral); }
.resource-preview small { margin-top: 20px; color: var(--ink-soft); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.resource-preview-live { box-shadow: 8px 8px 0 var(--green); }
.resource-preview-live small { color: #2d6a43; }

.learning-page { background: var(--paper); }
.learning-hero { padding: 88px 0 76px; background: var(--blue-light); border-bottom: 1px solid var(--line); }
.learning-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; }
.learning-hero h1 { max-width: 760px; margin-bottom: 24px; }
.learning-hero p { max-width: 640px; margin-bottom: 0; color: var(--ink-soft); font-size: 17px; }
.learning-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(23,36,60,.22); }
.learning-meta div { padding: 17px 14px; border-right: 1px solid rgba(23,36,60,.22); }
.learning-meta div:last-child { border-right: 0; }
.learning-meta strong, .learning-meta span { display: block; }
.learning-meta strong { font-family: var(--font-display); font-size: 18px; }
.learning-meta span { margin-top: 2px; color: var(--ink-soft); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.learning-workspace { background: var(--paper); }
.learning-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: start; margin-bottom: 44px; }
.learning-intro h2 { font-size: clamp(36px, 4vw, 50px); }
.strategy-note { padding: 24px 26px; border-left: 4px solid var(--coral); background: var(--cream); }
.strategy-note strong { display: block; margin-bottom: 7px; font-family: var(--font-display); font-size: 21px; }
.strategy-note p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.word-bank { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; padding: 20px; border: 1px solid var(--line); background: var(--yellow-light); }
.word-bank span { padding: 7px 11px; border: 1px solid rgba(23,36,60,.25); border-radius: 999px; background: var(--paper); font-size: 11px; font-weight: 900; }
.vocabulary-quiz { max-width: 980px; margin-inline: auto; }
.quiz-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: quiz-question; }
.quiz-question { position: relative; padding: 22px 24px 22px 66px; border: 1px solid var(--line); background: white; transition: border-color .2s, background .2s; counter-increment: quiz-question; }
.quiz-question::before { content: counter(quiz-question, decimal-leading-zero); position: absolute; left: 22px; top: 23px; color: #b95848; font-family: var(--font-display); font-size: 15px; font-style: italic; font-weight: 900; }
.quiz-question p { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.65; }
.quiz-answer { min-width: 145px; margin: 0 5px; padding: 7px 30px 7px 10px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); font-size: 14px; font-weight: 800; }
.quiz-answer.correct { border-color: #34734a; background: #e1f2df; }
.quiz-answer.incorrect { border-color: #b94f3e; background: #fbe0da; }
.quiz-question.is-correct { border-color: rgba(52,115,74,.5); }
.quiz-question.is-incorrect { border-color: rgba(185,79,62,.5); }
.quiz-explanation { margin: 12px 0 0 !important; color: var(--ink-soft); font-family: var(--font-sans) !important; font-size: 12px !important; line-height: 1.5 !important; }
.quiz-explanation strong { color: var(--ink); }
.quiz-actions { display: flex; align-items: center; gap: 12px; margin-top: 25px; }
.quiz-actions .button-ghost { border-color: var(--line); }
.quiz-status { display: none; margin-top: 20px; padding: 22px 24px; background: var(--green); outline: none; }
.quiz-status.show { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.quiz-status strong { font-family: var(--font-display); font-size: 27px; }
.quiz-status span { max-width: 560px; font-size: 12px; font-weight: 700; }
.learning-extension { background: var(--navy); color: white; }
.extension-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.extension-grid h2 { max-width: 440px; }
.extension-prompts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: extension; }
.extension-prompts li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.15); counter-increment: extension; }
.extension-prompts li::before { content: counter(extension, decimal-leading-zero); color: var(--yellow); font-family: var(--font-display); font-style: italic; }
.extension-prompts strong, .extension-prompts span { display: block; }
.extension-prompts span { margin-top: 4px; color: rgba(255,255,255,.62); font-size: 12px; }

@media print {
  .site-header, footer, .quiz-actions, .quiz-status { display: none !important; }
  .learning-hero, .learning-workspace { padding: 25px 0; }
  .learning-hero { background: white; }
  .learning-extension { break-before: page; color: var(--ink); background: white; }
  .reveal { opacity: 1; transform: none; }
}

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 118px; }
.faq-intro p { max-width: 390px; margin-top: 22px; color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--font-sans); font-size: 16px; }
.faq-list details[open] summary::after { content: "−"; background: var(--yellow); border-color: var(--ink); }
.faq-list details p { max-width: 680px; padding: 0 48px 22px 0; margin: 0; color: var(--ink-soft); font-size: 13px; }

.tutor-mini { padding: 26px 0; background: var(--yellow-light); border-block: 1px solid var(--line); }
.tutor-mini-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tutor-mini p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.tutor-mini strong { color: var(--ink); }

.subpage-hero { padding: 110px 0 100px; color: white; background: var(--navy); overflow: hidden; }
.subpage-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.subpage-hero h1 { margin: 24px 0; color: white; }
.subpage-hero .hero-lede { color: rgba(255,255,255,.76); }
.button-ghost-light { color: white; border-color: rgba(255,255,255,.6); }
.button-ghost-light:hover { color: var(--ink); }
.tutor-hero-card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 36px; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 26px; box-shadow: 10px 10px 0 var(--coral); transform: rotate(2deg); }
.tutor-hero-card > strong { font-family: var(--font-display); font-size: clamp(34px, 4vw, 50px); line-height: 1.05; }
.tutor-hero-card > small { max-width: 360px; font-size: 10px; }
.tutor-subject-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tutor-subject-cloud span { padding: 7px 10px; border: 1px solid var(--ink); border-radius: 999px; background: rgba(255,255,255,.45); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.tutor-story { background: var(--paper); }
.tutor-story .split-heading { align-items: start; }
.tutor-story .split-heading > div:last-child p { color: var(--ink-soft); }
.tutor-benefits { background: var(--cream); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.benefit-card span { color: #bc5f4c; font-family: var(--font-display); font-style: italic; }
.benefit-card h3 { margin: 45px 0 12px; font-family: var(--font-display); font-size: 25px; }
.benefit-card p { color: var(--ink-soft); font-size: 13px; }
.page-process { padding-block: 105px; }
.expectations { background: var(--paper); }
.expectations-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.expectations-grid > div > p { margin-top: 22px; color: var(--ink-soft); }
.expectation-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.expectation-list li { display: flex; gap: 11px; align-items: flex-start; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); font-size: 12px; font-weight: 700; }
.expectation-list li span { width: 22px; height: 22px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green); font-size: 10px; }
.tutor-safeguarding { background: var(--blue-light); }
.interest-section { background: var(--cream); }

.safeguarding-home { background: var(--blue-light); }
.safeguard-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; padding: 48px 54px; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); }
.safeguard-card h2 { font-size: clamp(36px, 4vw, 52px); }
.safeguard-card p { color: var(--ink-soft); }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 3px; border-bottom: 2px solid var(--coral); font-size: 12px; font-weight: 900; }
.policy-hero-inner { max-width: 900px; }
.policy-content { background: var(--paper); }
.policy-layout { display: grid; grid-template-columns: .35fr .65fr; gap: 90px; align-items: start; }
.policy-summary { position: sticky; top: 116px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--blue-light); }
.policy-summary ul { margin: 20px 0 0; padding: 0; list-style: none; }
.policy-summary li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.policy-summary li:last-child { border-bottom: 0; }
.policy-article > h2 { margin: 55px 0 18px; font-size: clamp(34px, 4vw, 48px); }
.policy-article > h2:first-child { margin-top: 0; }
.policy-article > p { color: var(--ink-soft); }
.policy-lede { font-size: 18px; font-weight: 700; color: var(--ink) !important; }
.policy-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.policy-points section { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.policy-points h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: 20px; }
.policy-points p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.policy-callout { margin-top: 28px; padding: 28px; border-radius: 18px; background: var(--yellow-light); }
.policy-callout > strong { font-family: var(--font-display); font-size: 23px; }
.policy-callout p { margin: 9px 0 20px; color: var(--ink-soft); font-size: 12px; }
.policy-review { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; }

.tutor-callout { padding-top: 40px; background: var(--cream); }
.tutor-inner { position: relative; display: grid; grid-template-columns: 1.18fr .82fr; gap: 90px; color: white; background: var(--navy); padding: 72px 80px; border-radius: 32px; overflow: hidden; }
.tutor-inner::after { content: ""; position: absolute; width: 390px; height: 390px; border: 1px dashed rgba(255,255,255,.15); border-radius: 50%; right: -230px; bottom: -240px; }
.tutor-copy > p { max-width: 610px; color: rgba(255,255,255,.65); }
.button-yellow { margin-top: 10px; border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.tutor-sticker { position: absolute; right: 33px; top: -4px; z-index: 2; width: 112px; height: 96px; display: grid; place-items: center; background: var(--coral); color: var(--ink); border: 2px solid var(--ink); transform: rotate(7deg); font-size: 10px; font-weight: 900; line-height: 1.2; text-align: center; }
.tutor-sticker i { position: absolute; right: 9px; bottom: 5px; font-style: normal; }
.tutor-points { align-self: center; padding-top: 35px; }
.tutor-points > div { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.tutor-points > div > span { font-family: var(--font-display); color: var(--yellow); font-style: italic; }
.tutor-points p { margin: 0; }
.tutor-points strong, .tutor-points small { display: block; }
.tutor-points strong { font-family: var(--font-display); font-size: 18px; }
.tutor-points small { color: rgba(255,255,255,.5); font-size: 11px; }
.tutor-points .safeguarding { margin-top: 22px; padding-left: 15px; border-left: 2px solid var(--coral); color: rgba(255,255,255,.52); font-size: 10px; }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-copy > p { color: var(--ink-soft); max-width: 400px; margin-top: 25px; }
.contact-note { display: flex; gap: 14px; align-items: center; margin-top: 40px; padding: 18px; background: var(--yellow-light); border-radius: 15px; transform: rotate(-1deg); }
.contact-note > span { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--font-display); font-weight: 900; }
.contact-note strong, .contact-note small { display: block; }
.contact-note strong { font-size: 12px; }
.contact-note small { color: var(--ink-soft); font-size: 10px; }
.enquiry-form { padding: 38px; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); background: white; }
.form-helper { margin: 0 0 20px; color: var(--ink-soft); font-size: 11px; }
.required { color: #b94f3e; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label { display: block; margin-bottom: 18px; font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 11px; background: #fbfaf6; padding: 13px 14px; color: var(--ink); font-size: 13px; font-weight: 500; outline: none; }
.enquiry-form textarea { resize: vertical; min-height: 110px; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: #559bc3; box-shadow: 0 0 0 3px rgba(133,199,238,.25); }
.form-button { width: 100%; border-radius: 11px; }
.form-button:disabled { cursor: wait; opacity: .72; transform: none; box-shadow: none; }
.form-status { display: none; margin: 15px 0 0; padding: 12px; border-radius: 9px; background: var(--green); font-size: 12px; font-weight: 700; }
.form-status.show { display: block; }
.privacy-note { display: block; margin-top: 12px; text-align: center; color: var(--ink-soft); font-size: 9px; }

footer { padding: 70px 0 26px; color: white; background: #111c31; }
.logo-footer { color: white; font-size: 28px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 40px; padding-bottom: 50px; }
.footer-top > p { color: rgba(255,255,255,.55); font-family: var(--font-display); font-size: 18px; line-height: 1.4; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 12px; font-weight: 700; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.4); font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open { position: absolute; top: 75px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 24px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(23,36,60,.1); }
  .nav.open a { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 560px; }
  .subject-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .social-grid, .contact-grid, .resource-feature { grid-template-columns: 1fr; gap: 55px; }
  .learning-hero-grid, .learning-intro, .extension-grid { grid-template-columns: 1fr; gap: 35px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .subpage-hero-grid, .expectations-grid { grid-template-columns: 1fr; gap: 50px; }
  .safeguard-card, .policy-layout { grid-template-columns: 1fr; gap: 35px; }
  .policy-summary { position: static; }
  .benefit-grid { grid-template-columns: 1fr; }
  .process-copy > p { max-width: 650px; }
  .founder-photo { height: 330px; }
  .social-copy { max-width: 700px; }
  .content-tiles { max-width: 650px; margin-inline: auto; }
  .tutor-inner { padding: 65px 50px; grid-template-columns: 1fr; gap: 30px; }
  .tutor-points { padding-top: 0; }
  .contact-copy { position: static; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 600px); }
  .section { padding: 78px 0; }
  .site-header { height: 68px; }
  .nav.open { top: 67px; }
  .hero { padding-top: 48px; }
  .hero-grid { min-height: auto; padding-bottom: 45px; }
  h1 { font-size: clamp(45px, 14vw, 62px); }
  h2 { font-size: clamp(38px, 11vw, 52px); }
  .coral-marker { white-space: normal; }
  .hero-lede { font-size: 17px; }
  .hero-support { font-size: 14px; }
  .level-chips { margin-top: 18px; }
  .hero .button-row .button { width: 100%; }
  .hero-visual { min-height: 480px; margin-top: 12px; }
  .hero-visual::before { width: 330px; height: 330px; }
  .orbit-one { width: 350px; height: 300px; }
  .orbit-two { width: 290px; height: 390px; }
  .subject-stack { width: 90%; }
  .stack-card { min-height: 88px; grid-template-columns: 52px 1fr 28px; padding: 15px 16px; gap: 10px; }
  .stack-icon { width: 47px; height: 47px; font-size: 19px; }
  .stack-card strong { font-size: 19px; }
  .note-top { right: 5px; top: 6px; padding: 11px 13px; }
  .note-bottom { left: 2px; bottom: 20px; }
  .hero-ribbon { gap: 24px; justify-content: flex-start; white-space: nowrap; overflow: hidden; }
  .trust-grid { grid-template-columns: 1fr; gap: 0; }
  .trust-grid > div { padding: 14px 5px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .subject-grid, .founder-grid { grid-template-columns: 1fr; }
  .subject-card { min-height: 280px; }
  .section-cta { flex-direction: column; gap: 12px; }
  .process-grid { gap: 46px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 12px; }
  .step-arrow { display: none; }
  .founder-photo { height: 360px; }
  .content-tiles { gap: 8px; }
  .content-tiles-compact { grid-template-columns: 1fr; max-width: 330px; }
  .content-tiles-compact .content-tile:nth-child(2) { transform: none; }
  .content-tile { min-height: 180px; padding: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .content-tile strong { font-size: 22px; }
  .tutor-inner { width: calc(100% - 20px); padding: 58px 25px 38px; border-radius: 24px; }
  .tutor-sticker { width: 88px; height: 76px; right: 15px; }
  .contact-grid { gap: 40px; }
  .faq-list summary { font-size: 18px; }
  .tutor-mini-inner { align-items: stretch; flex-direction: column; }
  .tutor-mini-inner .button { width: 100%; }
  .subpage-hero { padding: 75px 0; }
  .tutor-hero-card { min-height: 330px; padding: 25px; }
  .expectation-list { grid-template-columns: 1fr; }
  .safeguard-card { padding: 32px 22px; }
  .policy-points { grid-template-columns: 1fr; }
  .enquiry-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .learning-hero { padding: 60px 0; }
  .learning-meta { grid-template-columns: 1fr; }
  .learning-meta div { padding: 11px 0; border-right: 0; border-bottom: 1px solid rgba(23,36,60,.22); }
  .learning-meta div:last-child { border-bottom: 0; }
  .quiz-question { padding: 18px 16px 18px 48px; }
  .quiz-question::before { left: 15px; top: 20px; }
  .quiz-question p { font-size: 17px; }
  .quiz-answer { display: block; width: 100%; margin: 9px 0; }
  .quiz-actions, .quiz-status.show { align-items: stretch; flex-direction: column; }
  .quiz-actions .button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .hero-visual { min-height: 450px; }
  .note-bottom { display: none; }
  .founder-photo { height: 315px; }
  .content-tile { min-height: 155px; }
  .content-tile strong { font-size: 19px; }
  .tile-icon { font-size: 50px; }
}
