:root {
  --ink: #10213f;
  --muted: #5a6882;
  --forest: #0b3d91;
  --forest-2: #1557b0;
  --mint: #e7f1ff;
  --lime: #86dcff;
  --cream: #f5f7fb;
  --paper: #fff;
  --line: #d9e2f1;
  --red: #c7463b;
  --amber: #a86f00;
  --success: #19724f;
  --shadow: 0 20px 55px rgba(11, 61, 145, .11);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--forest-2); text-decoration-thickness: .08em; text-underline-offset: .16em; }
button, input, select { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4f9cff; outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 7vw, 5.7rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 32px), 780px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: 44px 0; }
.eyebrow { margin-bottom: 14px; color: var(--forest-2); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.08rem, 2.2vw, 1.35rem); }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(255,255,255,.08); font-weight: 700; font-size: .88rem; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; transform: translateY(-150%); background: white; border-radius: 10px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(11,61,145,.08); background: rgba(245,247,251,.92); backdrop-filter: blur(15px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand span:last-child { display: grid; line-height: 1.1; }
.brand strong { letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .68rem; }
.brand-mark { display: block; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 13px; object-fit: cover; box-shadow: 0 8px 18px rgba(11,61,145,.20); }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { padding: 9px 12px; border-radius: 11px; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: white; }
.desktop-nav .nav-app { margin-left: 4px; color: white; background: var(--forest); }
.desktop-nav .nav-app:hover, .desktop-nav .nav-app[aria-current="page"] { color: white; background: var(--forest-2); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; padding: 9px 13px; border: 1px solid var(--line); border-radius: 11px; background: white; font-weight: 800; list-style: none; }
.mobile-menu nav { position: absolute; top: 50px; right: 0; display: grid; width: min(280px, calc(100vw - 32px)); padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.mobile-menu nav a { padding: 10px 12px; color: var(--ink); font-weight: 700; text-decoration: none; }
.mobile-menu nav .nav-app { margin-top: 6px; border-radius: 10px; color: white; background: var(--forest); }

.hero { overflow: hidden; padding: clamp(58px, 10vw, 118px) 0 70px; color: white; background: var(--forest); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(36px, 7vw, 90px); align-items: center; }
.hero h1 { max-width: 820px; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero .lede { color: #dbe8ff; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 1px solid transparent; border-radius: 14px; background: var(--forest); color: white; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11,61,145,.20); }
.button-primary { color: var(--forest); background: var(--lime); }
.button-light { color: var(--forest); background: white; }
.button-outline { border-color: var(--line); color: var(--forest); background: transparent; }
.hero .button-outline { border-color: rgba(255,255,255,.35); color: white; }
.exam-preview { position: relative; padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.19); }
.exam-preview::before { content: ""; position: absolute; inset: -80px -120px auto auto; width: 200px; height: 200px; border-radius: 50%; background: var(--lime); filter: blur(80px); opacity: .25; }
.preview-top { display: flex; justify-content: space-between; margin-bottom: 18px; color: #dbe8ff; font-weight: 700; }
.preview-question { padding: 21px; border-radius: 19px; color: var(--ink); background: white; }
.preview-options { display: grid; gap: 9px; margin-top: 18px; }
.preview-option { display: flex; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.preview-option b { color: var(--forest-2); }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: #dbe8ff; font-size: .9rem; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--lime); font-weight: 900; }
.trust-row a { color: white; font-weight: 800; text-underline-offset: .22em; }

.stat-strip { margin-top: -32px; position: relative; z-index: 2; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.stat { padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--forest); font-size: 1.7rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

.home-app-bridge { border-bottom: 1px solid var(--line); background: #eaf2ff; }
.app-bridge-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: clamp(34px, 7vw, 84px); align-items: center; }
.app-bridge-grid h2 { max-width: 760px; font-size: clamp(1.75rem, 3.5vw, 2.8rem); }
.app-bridge-grid p:not(.eyebrow) { max-width: 740px; color: var(--muted); }
.app-bridge-actions { display: grid; gap: 22px; }
.app-detail-link, .app-hero-link { display: inline-block; color: var(--forest); font-weight: 850; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading > div { max-width: 740px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); box-shadow: 0 8px 30px rgba(11,61,145,.05); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); border-color: #9db8e3; box-shadow: var(--shadow); }
.card .meta { margin-bottom: 12px; color: var(--forest-2); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; color: var(--forest); font-weight: 800; }
.category-card { min-height: 240px; }
.category-number { display: grid; width: 46px; height: 46px; margin-bottom: 34px; place-items: center; border-radius: 15px; background: var(--mint); color: var(--forest); font-weight: 900; }
.sign-card { align-items: center; text-align: center; }
.sign-card img { width: 130px; height: 130px; object-fit: contain; margin-bottom: 17px; }
.sign-card .meta { align-self: stretch; }

.page-hero { padding: 74px 0 54px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.3rem, 6vw, 4.5rem); }
.breadcrumbs { padding-top: 18px; font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #91a0bb; }
.breadcrumbs a { color: var(--muted); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 46px; align-items: start; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 2.2em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose blockquote { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--lime); background: white; }
.aside-card { position: sticky; top: 98px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.aside-card dl { margin: 0; }
.aside-card div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.aside-card div:last-child { border: 0; }
.aside-card dt { color: var(--muted); }
.aside-card dd { margin: 0; font-weight: 800; text-align: right; }
.answer-list { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.answer { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.answer.correct { border-color: #8ac9ad; background: #effaf5; }
.answer-letter { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--mint); font-weight: 900; }
.explanation { margin-top: 26px; padding: 25px; border-radius: 20px; background: var(--mint); }
.media-frame { overflow: hidden; margin: 26px 0; border: 1px solid var(--line); border-radius: 20px; background: white; }
.media-frame img, .media-frame video { width: 100%; max-height: 580px; object-fit: contain; }
.media-frame-video { aspect-ratio: 16 / 9; background: #071e48; }
.media-frame-video video { width: 100%; height: 100%; max-height: none; }

.exam-shell { padding: 34px 0 90px; }
.exam-panel { overflow: hidden; scroll-margin-top: 88px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.exam-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #f8faff; }
.exam-progress { flex: 1; height: 7px; overflow: hidden; border-radius: 99px; background: #e2e9f5; }
.exam-progress span { display: block; height: 100%; width: 0; background: var(--forest-2); transition: width .2s ease; }
.exam-timer { min-width: 80px; font-variant-numeric: tabular-nums; font-weight: 900; text-align: right; }
.exam-content { padding: clamp(22px, 5vw, 48px); }
.exam-content h2 { max-width: 850px; font-size: clamp(1.35rem, 3.5vw, 2.15rem); }
.exam-options { display: grid; gap: 12px; margin: 28px 0; }
.exam-option { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; width: 100%; min-height: 70px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: white; cursor: pointer; text-align: left; }
.exam-option:hover, .exam-option:focus-visible { border-color: var(--forest-2); outline: none; }
.exam-option.selected { border-color: var(--forest); background: var(--mint); }
.exam-option.correct { border-color: var(--success); background: #effaf5; }
.exam-option.incorrect { border-color: var(--red); background: #fff1ef; }
.exam-option-letter { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #edf2fa; font-weight: 900; }
.exam-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; }
.exam-result { text-align: center; padding: 52px 24px; }
.score-ring { display: grid; width: 160px; height: 160px; margin: 0 auto 24px; place-items: center; border: 16px solid var(--mint); border-top-color: var(--forest); border-radius: 50%; font-size: 2.2rem; font-weight: 900; }
.result-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 620px; margin: 28px auto; }
.result-breakdown div { padding: 16px; border-radius: 14px; background: var(--cream); }
.result-breakdown strong { display: block; font-size: 1.45rem; }
.result-app-nudge { max-width: 760px; margin: 42px auto 0; padding: clamp(24px, 5vw, 38px); border-radius: 22px; color: var(--ink); background: var(--mint); }
.result-app-nudge h3 { max-width: 600px; margin-inline: auto; font-size: clamp(1.35rem, 3vw, 2rem); }
.result-app-nudge p:not(.eyebrow) { max-width: 620px; margin-inline: auto; color: var(--muted); }

.filter-bar { display: grid; grid-template-columns: 1fr 240px; gap: 12px; margin-bottom: 28px; }
.field { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; }
.school-card { position: relative; }
.school-result-title { font-size: 1.35rem; }
.directory-status { margin: -10px 0 22px; }
.badge { display: inline-flex; width: fit-content; align-items: center; padding: 5px 9px; border-radius: 99px; background: var(--mint); color: var(--forest); font-size: .75rem; font-weight: 800; }
.badge.warning { color: #684900; background: #fff0bf; }
.notice { margin-bottom: 28px; padding: 17px 20px; border: 1px solid #e8cf80; border-radius: 15px; background: #fff8df; }
.school-facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 18px; }
.school-facts span { padding: 5px 9px; border-radius: 9px; color: var(--muted); background: var(--cream); font-size: .82rem; }

.calculator { max-width: 760px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 800; }
.calculator-result { margin-top: 22px; padding: 22px; border-radius: 16px; background: var(--mint); }
.calculator-result strong { font-size: 1.5rem; }

.cta-band { color: white; background: var(--forest); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-grid p { color: #dbe8ff; }
.site-footer { padding: 62px 0 20px; color: #dbe8ff; background: #071e48; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid a { color: #dbe8ff; text-decoration: none; }
.footer-grid strong { color: white; }
.footer-brand { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #a9bbdc; font-size: .85rem; }
.store-legal { margin-top: 12px; color: #8197bc; font-size: .72rem; }
.footer-consent-button { width: fit-content; padding: 0; border: 0; color: #c2d2ed; background: transparent; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }

.app-promo, .app-home-section { border-top: 1px solid var(--line); background: #eaf2ff; }
.app-promo { padding: clamp(44px, 7vw, 76px) 0; }
.app-promo-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 38px; align-items: center; }
.app-promo-grid > div:first-child { max-width: 700px; }
.app-promo-grid h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.app-promo-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.app-promo-actions { display: grid; justify-items: end; gap: 14px; }
.app-promo-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; padding: 0; list-style: none; }
.app-promo-benefits li { padding: 7px 10px; border: 1px solid #b8cbea; border-radius: 99px; color: var(--forest); background: rgba(255,255,255,.65); font-size: .84rem; font-weight: 800; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-button { display: inline-flex; min-width: 185px; min-height: 72px; align-items: center; justify-content: center; border-radius: 12px; text-decoration: none; transition: transform .16s ease, filter .16s ease; }
.store-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-badge { display: block; width: 185px; height: auto; }
.store-badge-google { transform: translateY(1px); }
.app-page-hero { color: white; background: var(--forest); }
.app-page-hero .lede { color: #dbe8ff; }
.app-page-hero .eyebrow { color: var(--lime); }
.app-page-hero .store-buttons { margin-top: 30px; }
.app-hero-link { margin-top: 20px; color: white; }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(38px, 8vw, 100px); align-items: center; }
.app-hero-note { padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.08); box-shadow: 0 24px 60px rgba(7,30,72,.22); }
.app-hero-note strong { display: block; margin-bottom: 14px; color: var(--lime); font-size: 1.15rem; }
.app-hero-note ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.app-hero-note li { position: relative; padding-left: 24px; color: #e7efff; }
.app-hero-note li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 900; }
.app-groups { padding: clamp(46px, 7vw, 76px) 0; border-bottom: 1px solid var(--line); background: #f5f8fd; }
.app-groups-heading { max-width: 820px; }
.app-groups-heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.app-groups-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.license-group-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.license-group-grid li { display: grid; gap: 5px; min-height: 108px; align-content: center; padding: 20px; border: 1px solid #c9d7ed; border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(11,61,145,.06); }
.license-group-grid strong { color: var(--ink); font-size: 1rem; }
.license-group-grid span { color: var(--forest); font-size: .88rem; font-weight: 800; }
.app-features-section { overflow: hidden; background: white; }
.app-features-heading { margin-bottom: clamp(56px, 8vw, 94px); }
.app-feature-list { display: grid; gap: clamp(84px, 12vw, 150px); }
.app-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(48px, 9vw, 120px); align-items: center; }
.app-feature-reverse .app-feature-copy { order: 2; }
.app-feature-reverse .iphone-mockup { order: 1; }
.app-feature-copy { max-width: 650px; }
.app-feature-copy h2 { font-size: clamp(1.9rem, 4vw, 3.15rem); }
.app-feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.app-feature-number { display: grid; width: 50px; height: 50px; margin-bottom: 30px; place-items: center; border-radius: 16px; color: var(--forest); background: var(--mint); font-weight: 900; }
.app-feature-points { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.app-feature-points li { display: grid; grid-template-columns: 12px auto; column-gap: 10px; align-items: baseline; color: var(--muted); }
.app-feature-points li strong { color: var(--ink); }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.status-dot-red { background: var(--red); }
.status-dot-amber { background: #d39213; }
.status-dot-green { background: var(--success); }
.iphone-mockup { display: grid; gap: 14px; margin: 0; place-items: center; }
.app-feature-screenshot { display: block; width: min(100%, 388px); height: auto; filter: drop-shadow(0 36px 44px rgba(11,61,145,.18)); }
.app-image-caption { max-width: 340px; color: var(--muted); font-size: .82rem; line-height: 1.45; text-align: center; }
.app-mid-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; margin-block: -20px; padding: clamp(28px, 5vw, 48px); border-radius: 28px; color: white; background: var(--forest); box-shadow: var(--shadow); }
.app-mid-cta h2 { max-width: 720px; font-size: clamp(1.7rem, 3.7vw, 2.8rem); }
.app-mid-cta p:not(.eyebrow) { max-width: 680px; color: #dbe8ff; }
.app-mid-cta .eyebrow { color: var(--lime); }
.app-download-cta .eyebrow { color: var(--lime); }

.hidden { display: none !important; }
.consent-banner { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 50; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; width: min(calc(100% - 40px), 980px); margin-inline: auto; align-items: center; padding: clamp(22px, 4vw, 30px); border: 1px solid #b7c9e7; border-radius: 24px; color: var(--ink); background: white; box-shadow: 0 24px 70px rgba(7,30,72,.24); }
.consent-copy { max-width: 680px; }
.consent-copy strong { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.consent-copy p { margin: 0 0 8px; color: var(--muted); font-size: .94rem; }
.consent-copy a { color: var(--forest); font-size: .85rem; font-weight: 800; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .button { min-width: 150px; }
.empty-state { grid-column: 1 / -1; padding: 40px; border: 1px dashed #a9b8b3; border-radius: 18px; text-align: center; }
.print-only { display: none; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-grid, .content-grid, .footer-grid, .cta-grid, .app-promo-grid, .app-hero-grid, .app-bridge-grid, .app-mid-cta { grid-template-columns: 1fr; }
  .app-promo-actions { justify-items: start; }
  .license-group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-feature { grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr); gap: 40px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4.7rem); }
  .exam-preview { max-width: 620px; }
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .aside-card { position: static; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { min-height: 66px; }
  .brand small { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding-top: 52px; }
  .card-grid, .card-grid-4, .filter-bar, .form-grid, .result-breakdown { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading .button { margin-top: 16px; }
  .stat { padding: 18px; }
  .exam-toolbar { flex-wrap: wrap; }
  .exam-progress { order: 3; flex-basis: 100%; }
  .exam-actions { align-items: stretch; flex-direction: column-reverse; }
  .exam-actions .button { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .store-buttons { width: 100%; }
  .store-button { min-width: 0; }
  .trust-row { gap: 10px 18px; }
  .app-promo-benefits { display: grid; }
  .consent-banner { right: 12px; bottom: 12px; left: 12px; grid-template-columns: 1fr; width: calc(100% - 24px); gap: 18px; border-radius: 20px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-actions .button { min-width: 0; padding-inline: 14px; }
  .license-group-grid { grid-template-columns: 1fr; }
  .license-group-grid li { min-height: 0; }
  .app-feature { grid-template-columns: 1fr; }
  .app-feature-reverse .app-feature-copy, .app-feature-reverse .iphone-mockup { order: initial; }
  .app-feature-copy { max-width: none; }
  .app-feature-screenshot { width: min(92vw, 360px); }
}

@media print {
  .site-header, .site-footer, .breadcrumbs, .app-promo, .app-home-section, .no-print { display: none !important; }
  body { color: black; background: white; font-size: 11pt; }
  .section, .page-hero { padding: 20px 0; }
  .print-only { display: block; }
  .card { break-inside: avoid; box-shadow: none; }
  a { color: black; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
