:root {
  --ink: #102a43;
  --ink-deep: #071b2d;
  --paper: #fffdf7;
  --paper-warm: #f6f1e7;
  --blue: #2f6fed;
  --blue-deep: #1649a8;
  --yellow: #ffd166;
  --mint: #8ed1c6;
  --coral: #ff9671;
  --pink: #f6a6c1;
  --line: #d9e2ec;
  --muted: #52667a;
  --success: #087f5b;
  --radius-sm: .55rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --shadow: 0 22px 60px rgba(16, 42, 67, .12);
  --shell: min(1180px, calc(100% - 2rem));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 1rem; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .025; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
button, input, textarea { font: inherit; }
button { color: inherit; }
svg { width: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0 0 .65em; font-family: "Fraunces", Georgia, serif; line-height: 1.06; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
p { margin: 0 0 1.15rem; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 850px; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tint { background: var(--paper-warm); }
.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; top: .75rem; left: .75rem; z-index: 999; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.announcement { background: var(--ink-deep); color: white; font-size: .86rem; }
.announcement .shell { min-height: 2.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.announcement span, .announcement a { display: inline-flex; align-items: center; gap: .4rem; }
.announcement a { color: var(--yellow); font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid rgba(16,42,67,.1); backdrop-filter: blur(18px); }
.header-inner { min-height: 5.1rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 2.65rem; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font: 700 1.25rem/1 "Fraunces", serif; transform: rotate(-7deg); background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.brand-mark span { color: var(--blue); }
.brand strong { display: block; font: 700 1.15rem/1 "Fraunces", serif; }
.brand small { display: block; margin-top: .18rem; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav > a { text-decoration: none; font-weight: 600; font-size: .93rem; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current="page"] { color: var(--blue-deep); }
.menu-button { display: none; width: 2.8rem; height: 2.8rem; border: 0; background: transparent; }
.menu-close { display: none; }
.button { min-height: 3.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.25rem; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--blue); color: white; font-weight: 700; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--blue-deep); }
.button-small { min-height: 2.55rem; padding: .55rem .9rem; font-size: .88rem; }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--yellow); }
.button-light { background: var(--paper); color: var(--ink); }
.button-dark { background: var(--ink-deep); color: white; border-color: var(--ink-deep); box-shadow: 4px 4px 0 rgba(255,255,255,.4); }
.button-ghost { background: transparent; color: var(--ink); box-shadow: none; }
.button-link { background: transparent; color: var(--blue-deep); border: 0; box-shadow: none; padding-inline: 0; }
.button-link:hover { background: transparent; box-shadow: none; transform: none; }
.button-disabled { opacity: .55; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.eyebrow { margin-bottom: 1rem; color: var(--blue-deep); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero { min-height: calc(100svh - 7.6rem); display: grid; align-items: center; padding: clamp(4rem, 8vw, 7rem) 0; overflow: hidden; background: radial-gradient(circle at 15% 20%, rgba(255,209,102,.28), transparent 28%), radial-gradient(circle at 84% 76%, rgba(142,209,198,.24), transparent 32%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.hero h1 { max-width: 780px; }
.hero h1 em { color: var(--blue); font-weight: 600; }
.hero-lead { max-width: 720px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.34rem); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2rem; color: var(--muted); font-size: .87rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .35rem; }
.trust-row svg { color: var(--success); }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-visual::before { content: ""; width: min(29rem, 86vw); aspect-ratio: 1; border-radius: 46% 54% 58% 42% / 45% 41% 59% 55%; background: var(--ink-deep); transform: rotate(8deg); box-shadow: 24px 24px 0 var(--yellow); }
.level-stack { position: absolute; width: 260px; height: 360px; }
.level-chip { position: absolute; width: 5.2rem; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; color: var(--ink-deep); font: 700 1.55rem/1 "Fraunces", serif; box-shadow: 7px 7px 0 rgba(0,0,0,.35); }
.chip-a1 { left: 0; top: 15px; background: var(--yellow); }
.chip-a2 { right: 18px; top: 52px; background: var(--pink); }
.chip-b1 { left: 55px; top: 125px; background: var(--mint); }
.chip-b2 { right: 0; top: 190px; background: #86b6f6; }
.chip-c1 { left: 10px; bottom: 8px; background: #bc9cff; }
.chip-c2 { right: 54px; bottom: 0; background: var(--coral); }
.orbit { position: absolute; border: 1px solid rgba(16,42,67,.25); border-radius: 50%; }
.orbit-one { width: 33rem; height: 19rem; transform: rotate(42deg); }
.orbit-two { width: 20rem; height: 33rem; transform: rotate(-24deg); }
.visual-note { position: absolute; padding: .8rem 1rem; background: var(--paper); border: 2px solid var(--ink); border-radius: .6rem; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-3deg); }
.visual-note strong, .visual-note span { display: block; }
.visual-note strong { font: 700 1.05rem/1.1 "Fraunces", serif; }
.visual-note span { color: var(--muted); font-size: .75rem; }
.note-one { left: 0; top: 16%; }
.note-two { right: 0; bottom: 14%; transform: rotate(4deg); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.section-heading { max-width: 780px; margin-bottom: 3rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.12rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .72fr; gap: 2rem; align-items: end; }
.split-heading > p { color: var(--muted); }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.path-panel { position: relative; overflow: hidden; min-height: 500px; padding: clamp(2rem, 5vw, 4.2rem); border-radius: var(--radius-lg); }
.path-panel::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border: 36px solid currentColor; border-radius: 50%; opacity: .11; }
.learner-panel { background: var(--blue); color: white; }
.teacher-panel { background: var(--yellow); color: var(--ink); }
.path-panel .eyebrow { color: currentColor; opacity: .7; }
.path-panel h3 { font-size: clamp(2.6rem, 5vw, 4.7rem); }
.path-panel p, .path-panel ul { max-width: 510px; }
.path-panel ul { margin: 1.8rem 0 2.2rem; padding-left: 1.2rem; }
.panel-icon { width: 4rem; height: 4rem; display: grid; place-items: center; margin-bottom: 5rem; border: 2px solid currentColor; border-radius: 50%; }
.panel-icon svg { width: 2rem; }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.level-card { position: relative; min-height: 300px; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.level-card::before { content: ""; position: absolute; inset: 0 0 auto; height: .65rem; background: var(--level-colour); }
.level-card::after { content: ""; position: absolute; width: 9rem; aspect-ratio: 1; right: -4rem; bottom: -4rem; border: 1.5rem solid var(--level-colour); border-radius: 50%; opacity: .55; }
.level-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.level-code { display: inline-grid; place-items: center; width: 4rem; aspect-ratio: 1; margin: 1rem 0 3rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--level-colour); font: 700 1.25rem/1 "Fraunces", serif; }
.level-card p { color: var(--muted); font-size: .92rem; }
.card-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; color: var(--blue-deep); font-weight: 700; font-size: .9rem; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.topic-card { min-height: 300px; display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); background: var(--paper); text-decoration: none; }
.topic-card:nth-child(2n) { background: #eef6ff; }
.topic-card:nth-child(3n) { background: #fff4d8; }
.topic-card:hover .card-link { gap: .75rem; }
.topic-tag { align-self: flex-start; margin-bottom: 4rem; padding: .25rem .55rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.topic-card p { color: var(--muted); }
.topic-card .card-link { margin-top: auto; }
.test-cta { padding-top: 0; }
.test-cta-inner, .inline-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2.5rem, 6vw, 5rem); border-radius: var(--radius-lg); background: var(--ink-deep); color: white; }
.test-cta-inner > div { max-width: 740px; }
.test-cta .eyebrow, .inline-cta .eyebrow { color: var(--yellow); }
.teacher-strip { border-top: 2px solid var(--ink); }
.teacher-strip a { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 clamp(1.35rem, 3vw, 2.2rem)/1.1 "Fraunces", serif; }
.teacher-strip a:hover { color: var(--blue); }
.page-hero { padding: clamp(6rem, 12vw, 10rem) 0; background: radial-gradient(circle at 10% 20%, rgba(255,209,102,.25), transparent 30%); }
.page-hero h1 { font-size: clamp(3.5rem, 8vw, 7rem); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.teacher-hero, .teacher-topic-hero { background-color: #fff4d8; }
.shop-hero { background-color: #eef6ff; }
.free-hero { background-color: #ecfbf7; }
.hero-note { padding-left: 1rem; border-left: 4px solid var(--yellow); font-weight: 700; color: var(--ink) !important; }
.level-hero { padding: clamp(5rem, 10vw, 9rem) 0; background: linear-gradient(120deg, color-mix(in srgb, var(--level-colour) 48%, white), var(--paper)); }
.level-hero-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 4rem; align-items: center; }
.level-title { display: flex; align-items: center; gap: 1.3rem; }
.level-title > span { width: 5.5rem; aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid var(--ink); border-radius: 50%; background: var(--level-colour); box-shadow: 6px 6px 0 var(--ink); font: 700 1.6rem/1 "Fraunces", serif; }
.level-title h1 { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.level-hero p:not(.eyebrow) { max-width: 700px; font-size: 1.2rem; }
.level-meter { position: relative; display: flex; justify-content: space-between; padding: 2rem 1rem 0; border-top: 5px solid var(--ink); }
.level-meter span { font-weight: 800; }
.level-meter i { position: absolute; width: 2.2rem; height: 2.2rem; top: -1.2rem; left: calc((100% - 2.2rem) * (var(--position) / 5)); border: 4px solid var(--ink); border-radius: 50%; background: var(--level-colour); }
.content-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 5rem; align-items: start; }
.check-list { display: grid; gap: 1rem; }
.check-list > div { display: flex; gap: .75rem; align-items: flex-start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.check-list svg { flex: 0 0 auto; margin-top: .2rem; color: var(--success); }
.study-card { padding: 2rem; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 9px 9px 0 var(--ink); }
.study-number { font: 700 4rem/1 "Fraunces", serif; }
.study-card a { font-weight: 800; color: var(--blue-deep); }
.resource-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.resource-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.resource-list a { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.next-level { text-align: center; }
.next-level p { max-width: 640px; margin-inline: auto; }
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lesson-card { min-height: 260px; padding: 1.5rem; border: 1px solid var(--line); background: white; }
.lesson-card > span { display: block; margin-bottom: 3rem; color: var(--blue); font: 700 1.1rem/1 "Fraunces", serif; }
.lesson-card p { color: var(--muted); }
.lesson-card a { color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.inline-cta { padding-top: 0; }
.proof-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.proof-list { border-top: 2px solid var(--ink); }
.proof-list > div { display: grid; grid-template-columns: .4fr 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.proof-list strong { font-family: "Fraunces", serif; font-size: 1.3rem; }
.shop-nav { position: sticky; top: 5.1rem; z-index: 20; background: var(--paper); border-block: 1px solid var(--line); overflow-x: auto; }
.shop-nav .shell { display: flex; gap: 1.5rem; min-width: max-content; }
.shop-nav a { padding: 1rem 0; text-decoration: none; font-weight: 700; }
.shop-nav a.active { color: var(--blue); border-bottom: 3px solid var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.product-card { border: 1px solid var(--line); background: white; }
.product-cover { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: var(--ink-deep); color: white; background-image: linear-gradient(135deg, transparent 55%, rgba(255,209,102,.92) 55% 72%, transparent 72%), radial-gradient(circle at 20% 20%, rgba(142,209,198,.9), transparent 30%); }
.product-cover span { align-self: flex-start; padding: .25rem .55rem; border: 1px solid currentColor; border-radius: 999px; font-weight: 800; font-size: .75rem; }
.product-cover strong { font: 600 1.7rem/1.1 "Fraunces", serif; }
.product-body { padding: 1.5rem; }
.product-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.product-meta strong { color: var(--ink); font-size: 1.15rem; }
.product-body h2 { margin-top: 1rem; font-size: 1.55rem; }
.product-body p { color: var(--muted); }
.product-body a { color: var(--blue-deep); font-weight: 800; text-decoration: none; }
.product-page { padding-top: 7rem; }
.product-page-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.product-cover-large { min-height: 620px; position: sticky; top: 7rem; }
.product-page h1 { font-size: clamp(3rem, 6vw, 5.7rem); }
.product-price { color: var(--blue); font: 700 2rem/1 "Fraunces", serif; }
.product-summary { font-size: 1.25rem; color: var(--muted); }
.feature-list { list-style: none; padding: 0; display: grid; gap: .8rem; }
.feature-list li { display: flex; gap: .5rem; align-items: center; }
.feature-list svg { color: var(--success); }
.notice-box { margin: 2rem 0; padding: 1.2rem; background: #fff4d8; border-left: 5px solid var(--yellow); }
.notice-box p { margin: .35rem 0 0; }
.test-shell { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--paper-warm); min-height: 80vh; }
.test-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: start; }
.test-intro { position: sticky; top: 8rem; }
.test-intro h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.test-facts { display: flex; gap: 1rem; margin: 2rem 0; }
.test-facts div { flex: 1; padding: 1rem; border: 1px solid var(--line); background: white; }
.test-facts strong, .test-facts span { display: block; }
.test-facts strong { font: 700 1.35rem/1 "Fraunces", serif; }
.test-facts span { color: var(--muted); font-size: .78rem; }
.test-intro ul { list-style: none; padding: 0; }
.test-intro li { display: flex; gap: .45rem; align-items: center; margin: .55rem 0; }
.test-intro li svg { color: var(--success); }
.test-card { min-height: 600px; padding: clamp(1.5rem, 4vw, 3rem); background: white; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.test-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 4rem; font-size: .85rem; font-weight: 700; }
.test-progress > div { flex: 1; height: .5rem; background: var(--line); overflow: hidden; }
.test-progress i { display: block; height: 100%; background: var(--blue); transition: width .2s ease; }
.test-card fieldset { padding: 0; border: 0; }
.test-card legend { margin-bottom: 2rem; font: 600 clamp(1.7rem, 4vw, 2.8rem)/1.15 "Fraunces", serif; }
.answer-grid { display: grid; gap: .8rem; }
.answer-option input { position: absolute; opacity: 0; }
.answer-option span { min-height: 3.8rem; display: flex; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line); cursor: pointer; transition: border .15s ease, background .15s ease; }
.answer-option input:checked + span { border: 2px solid var(--ink); background: #eef6ff; box-shadow: 4px 4px 0 var(--ink); }
.answer-option input:focus-visible + span { outline: 3px solid var(--yellow); }
.test-controls { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.test-controls button:disabled { opacity: .4; cursor: not-allowed; }
.result-level { width: 7rem; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 7px 7px 0 var(--ink); font: 700 2rem/1 "Fraunces", serif; }
.result-card h2 { margin-top: 1.5rem; }
.result-score { font-weight: 700; }
.result-form, .lead-form { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); background: white; }
.result-form { margin-top: 2rem; background: var(--paper-warm); }
.result-form label, .lead-form label { display: grid; gap: .4rem; font-weight: 700; }
.result-form input, .lead-form input, .lead-form textarea { width: 100%; padding: .85rem .9rem; border: 1px solid #9fb3c8; border-radius: .25rem; background: white; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; font-size: .86rem; }
.consent input { width: 1.1rem !important; height: 1.1rem; margin-top: .25rem; }
.form-status { min-height: 1.5rem; margin: 0; color: var(--success); font-weight: 700; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--blue-deep); font-weight: 800; }
.lead-grid, .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.editorial-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.editorial-grid p { font-size: 1.15rem; color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.values-grid article { padding: 1.5rem; border-top: 4px solid var(--ink); }
.values-grid span { color: var(--blue); font-weight: 800; }
.legal-page { padding: 7rem 0; }
.legal-content { max-width: 820px; }
.legal-content h1 { font-size: clamp(3.5rem, 7vw, 6rem); }
.legal-content h2 { margin-top: 2.7rem; font-size: 2rem; }
.legal-content p { color: var(--muted); }
.site-footer { padding: 5rem 0 1.5rem; background: var(--ink-deep); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 3rem; }
.brand-footer .brand-mark { color: var(--ink); }
.brand-footer small { color: #c7d6e5; }
.footer-grid > div:first-child p { max-width: 320px; margin-top: 1.5rem; color: #c7d6e5; }
.footer-grid h2 { font-family: "DM Sans", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: .6rem; }
.footer-grid a { color: white; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); color: #c7d6e5; font-size: .85rem; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 500; right: 1rem; bottom: 1rem; left: 1rem; max-width: 900px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem; border: 2px solid var(--ink); background: white; box-shadow: 8px 8px 0 var(--ink); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: .25rem 0 0; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 980px) {
  .menu-button { display: grid; place-items: center; }
  .menu-button[aria-expanded="true"] .menu-open { display: none; }
  .menu-button[aria-expanded="true"] .menu-close { display: inline; }
  .site-nav { position: fixed; inset: 7.6rem 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 1rem; }
  .hero-grid, .level-hero-grid, .content-grid, .resource-columns, .test-layout, .product-page-grid, .lead-grid, .contact-grid, .editorial-grid, .proof-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; }
  .path-grid { grid-template-columns: 1fr; }
  .level-grid, .topic-grid, .lesson-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .test-intro, .product-cover-large { position: static; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --shell: min(100% - 1.25rem, 1180px); }
  .announcement .shell { justify-content: center; text-align: center; }
  .announcement a { display: none; }
  .header-inner { min-height: 4.5rem; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  .hero { min-height: auto; padding-top: 4rem; }
  .hero-visual { min-height: 420px; transform: scale(.88); margin-inline: -1.5rem; }
  .note-one { left: 1rem; }.note-two { right: 1rem; }
  .split-heading { grid-template-columns: 1fr; }
  .level-grid, .topic-grid, .lesson-grid, .product-grid, .values-grid { grid-template-columns: 1fr; }
  .level-card, .topic-card { min-height: 260px; }
  .path-panel { min-height: 460px; }
  .panel-icon { margin-bottom: 3rem; }
  .test-cta-inner, .inline-cta-inner { align-items: flex-start; flex-direction: column; }
  .level-title { align-items: flex-start; flex-direction: column; }
  .level-meter { margin-top: 2rem; }
  .test-card { min-height: auto; padding: 1.25rem; box-shadow: 5px 5px 0 var(--ink); }
  .test-progress { align-items: flex-start; flex-direction: column; }
  .test-progress > div { width: 100%; }
  .test-facts { flex-wrap: wrap; }
  .test-facts div { min-width: calc(50% - .5rem); }
  .proof-list > div { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom, .cookie-banner { align-items: flex-start; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
