:root {
  --ink: #102a43;
  --ink-soft: #486581;
  --cream: #f8f5ed;
  --paper: #fffdf8;
  --line: #d9e2ec;
  --blue: #276fbf;
  --blue-dark: #145493;
  --teal: #13a89e;
  --gold: #f2b84b;
  --coral: #e76f51;
  --purple: #7c5ce5;
  --shadow: 0 24px 70px rgba(16, 42, 67, .14);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body {
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(39, 111, 191, .28); outline-offset: 3px; }

.app-shell { width: 100%; height: 100dvh; overflow: hidden; }
.screen { display: none; width: 100%; height: 100%; overflow: hidden; }
.screen.is-active { display: flex; }

.screen--landing {
  position: relative;
  align-items: center;
  padding: clamp(22px, 4vw, 64px);
  background:
    radial-gradient(circle at 82% 18%, rgba(19,168,158,.16), transparent 24%),
    radial-gradient(circle at 15% 90%, rgba(242,184,75,.16), transparent 25%),
    linear-gradient(135deg, #fffdf8 0%, #f4f8fb 52%, #eef7f6 100%);
}
.screen--landing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(16,42,67,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16,42,67,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.landing-grid { position: relative; z-index: 1; width: min(1480px, 100%); margin: auto; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.landing-copy { max-width: 760px; }

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand img { object-fit: cover; border-radius: 50%; box-shadow: 0 8px 24px rgba(16,42,67,.14); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--ink-soft); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brand--hero { margin-bottom: clamp(26px, 4vh, 48px); }
.brand--hero img { width: clamp(66px, 6vw, 88px); height: clamp(66px, 6vw, 88px); }
.brand--hero strong { font-size: clamp(1.08rem, 1.4vw, 1.34rem); }
.brand--hero small { font-size: .68rem; }
.brand--compact img { width: 46px; height: 46px; }
.brand--compact strong { font-size: .9rem; }
.brand--compact small { font-size: .57rem; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--blue-dark); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 3px; border-radius: 9px; background: var(--gold); }
.eyebrow--center { justify-content: center; }
h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4.55vw, 5.25rem); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
h1 em { color: var(--blue); font-style: normal; }
.hero-text { max-width: 690px; margin: clamp(18px, 2.7vh, 28px) 0; color: var(--ink-soft); font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.62; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(20px, 3vh, 30px); }
.quick-facts span { padding: 9px 13px; border: 1px solid rgba(39,111,191,.16); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--ink-soft); font-size: .8rem; box-shadow: 0 5px 15px rgba(16,42,67,.04); }
.quick-facts b { color: var(--ink); }
.start-row { display: grid; grid-template-columns: minmax(230px, .82fr) minmax(260px, 1.18fr); gap: 12px; max-width: 690px; }
.name-field { display: grid; gap: 6px; }
.name-field > span { color: var(--ink-soft); font-size: .72rem; font-weight: 800; }
.name-field small { font-weight: 600; }
.name-field input { width: 100%; min-height: 56px; padding: 0 17px; border: 1px solid #cbd8e5; border-radius: 14px; background: rgba(255,255,255,.88); color: var(--ink); }
.name-field input::placeholder { color: #829ab1; }
.primary-button, .outline-button, .ghost-button, .text-button { min-height: 48px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 850; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 25px; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: white; box-shadow: 0 12px 28px rgba(39,111,191,.25); transition: transform .18s ease, box-shadow .18s ease; }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(39,111,191,.31); }
.primary-button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.primary-button--hero { min-height: 56px; text-transform: uppercase; letter-spacing: .035em; font-size: .86rem; }
.privacy-note { display: flex; align-items: flex-start; gap: 7px; max-width: 690px; margin: 14px 0 0; color: #627d98; font-size: .7rem; line-height: 1.45; }
.privacy-note svg { flex: 0 0 17px; width: 17px; fill: none; stroke: var(--teal); stroke-width: 1.8; }

.product-preview { position: relative; min-height: 560px; display: grid; place-items: center; }
.preview-orbit { position: absolute; border: 1px solid rgba(39,111,191,.14); border-radius: 50%; }
.preview-orbit--one { width: 520px; height: 520px; }
.preview-orbit--two { width: 390px; height: 390px; border-style: dashed; }
.preview-card { position: relative; z-index: 2; width: min(470px, 90%); padding: 26px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(12px); transform: rotate(1.2deg); }
.preview-head, .preview-band, .preview-footer { display: flex; align-items: center; justify-content: space-between; }
.preview-label { color: var(--ink-soft); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.preview-badge { padding: 6px 9px; border-radius: 999px; background: #e8f7f5; color: #0b7770; font-size: .62rem; font-weight: 850; }
.preview-band { margin: 28px 0 24px; }
.preview-band > div:first-child { display: grid; gap: 5px; }
.preview-band small { color: var(--ink-soft); font-size: .72rem; }
.preview-band strong { color: var(--blue-dark); font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; }
.mini-donut { width: 90px; height: 90px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal) 78%, #e8eef4 0); position: relative; }
.mini-donut::before { content: ""; position: absolute; width: 64px; height: 64px; border-radius: 50%; background: white; }
.mini-donut span { position: relative; z-index: 1; font-size: 1.25rem; font-weight: 900; }
.mini-donut small { font-size: .65rem; }
.preview-bars { display: grid; gap: 12px; }
.preview-bars span { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; }
.preview-bars b { font-size: .68rem; }
.preview-bars i { height: 8px; border-radius: 999px; background: #e8eef4; overflow: hidden; }
.preview-bars i::before { content: ""; display: block; width: var(--value); height: 100%; border-radius: inherit; background: var(--color); }
.preview-footer { margin-top: 24px; padding-top: 17px; border-top: 1px solid #e7edf2; color: var(--ink-soft); font-size: .63rem; font-weight: 750; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; }
.dot--green { background: var(--teal); }.dot--gold { background: var(--gold); }.dot--blue { background: var(--blue); }
.floating-note { position: absolute; z-index: 3; display: grid; min-width: 142px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.92); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 16px 34px rgba(16,42,67,.13); }
.floating-note b { color: var(--blue-dark); font-size: 1.1rem; }.floating-note span { color: var(--ink-soft); font-size: .64rem; }
.floating-note--top { top: 55px; right: 0; }.floating-note--bottom { bottom: 66px; left: 0; }

.screen--test { flex-direction: column; padding: clamp(16px, 2.2vw, 28px) clamp(18px, 4vw, 64px); background: linear-gradient(145deg, #f9fbfd 0%, #f5f1e8 100%); }
.test-header, .report-header { flex: 0 0 auto; display: grid; grid-template-columns: 1fr minmax(280px, 520px) 1fr; align-items: center; gap: 28px; }
.progress-block { display: grid; gap: 8px; }
.progress-copy { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: .69rem; font-weight: 750; }
.progress-copy b { color: var(--blue-dark); }
.progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #dfe8ef; }
.progress-track i { display: block; width: 33%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); transition: width .3s ease; }
.ghost-button { justify-self: end; min-height: 42px; padding: 0 17px; background: transparent; color: var(--ink-soft); }
.ghost-button:hover { background: rgba(16,42,67,.05); }
.question-stage, .confidence-stage { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.question-stage[hidden], .confidence-stage[hidden] { display: none; }
.question-card, .confidence-card { width: min(1000px, 100%); margin: auto; }
.question-card { padding: clamp(22px, 3.3vh, 38px) clamp(24px, 4vw, 52px); border: 1px solid rgba(203,216,229,.9); border-radius: var(--radius-lg); background: rgba(255,255,255,.88); box-shadow: 0 18px 50px rgba(16,42,67,.09); }
.question-meta { display: flex; justify-content: space-between; margin-bottom: clamp(14px, 2vh, 22px); color: var(--blue-dark); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.question-meta span:last-child { color: var(--ink-soft); }
.instruction { margin: 0 0 clamp(14px, 2vh, 22px); color: var(--ink-soft); font-size: clamp(.85rem, 1.25vw, 1rem); }
.sentence { display: flex; align-items: center; min-height: clamp(60px, 10vh, 100px); margin-bottom: clamp(18px, 2.8vh, 30px); font-family: Georgia, serif; font-size: clamp(1.65rem, 3.2vw, 2.8rem); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.answers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.answer-option { min-height: clamp(60px, 8.2vh, 76px); padding: 10px 16px; display: flex; align-items: center; gap: 14px; border: 2px solid #d9e2ec; border-radius: 17px; background: white; color: var(--ink); cursor: pointer; text-align: left; font-weight: 750; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.answer-option:hover { border-color: #9fbad3; transform: translateY(-1px); }
.answer-option.is-selected { border-color: var(--blue); background: #edf6ff; box-shadow: 0 0 0 3px rgba(39,111,191,.1); }
.answer-letter { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #edf2f7; color: var(--blue-dark); font-size: .76rem; font-weight: 900; }
.answer-option.is-selected .answer-letter { background: var(--blue); color: white; }
.stage-footer { width: min(1000px, 100%); min-height: 64px; margin: 8px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.stage-footer p { color: var(--ink-soft); font-size: .72rem; }
.stage-footer .primary-button { min-width: 210px; }

.confidence-card { text-align: center; }
.registered-mark { width: 48px; height: 48px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: #e7f7f4; color: #0b847b; }
.registered-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 2.3; }
.confidence-kicker { color: #0b847b; font-size: .67rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.confidence-card h2 { margin: 8px 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.1vw, 2.75rem); letter-spacing: -.035em; }
.confidence-card > p { max-width: 650px; margin: 0 auto clamp(18px, 3vh, 28px); color: var(--ink-soft); font-size: .86rem; line-height: 1.55; }
.confidence-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.confidence-options button { min-height: clamp(105px, 17vh, 145px); padding: 17px; display: grid; justify-items: center; align-content: center; gap: 4px; border: 2px solid #d9e2ec; border-radius: 20px; background: rgba(255,255,255,.88); cursor: pointer; }
.confidence-options button:hover { border-color: #9fbad3; }
.confidence-options button.is-selected { border-color: var(--purple); background: #f2efff; box-shadow: 0 0 0 3px rgba(124,92,229,.1); }
.confidence-icon { color: var(--purple); font-size: 1.6rem; }
.confidence-options b { font-size: 1rem; }.confidence-options small { color: var(--ink-soft); font-size: .67rem; }
.text-button { padding: 0 12px; background: transparent; color: var(--blue-dark); }

.screen--processing { align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at center, #fff 0%, #f0f7f8 56%, #e6eff3 100%); text-align: center; }
.processing-card { width: min(620px, 100%); }
.analysis-visual { position: relative; width: 130px; height: 130px; margin: 0 auto 28px; display: grid; place-items: center; }
.analysis-visual i { position: absolute; inset: 0; border: 1px solid rgba(39,111,191,.24); border-radius: 50%; animation: pulse-ring 1.8s infinite ease-out; }
.analysis-visual i:nth-child(2) { inset: 14px; animation-delay: .2s; }.analysis-visual i:nth-child(3) { inset: 28px; animation-delay: .4s; }
.analysis-visual span { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); color: white; font-size: 1.5rem; box-shadow: 0 14px 30px rgba(39,111,191,.24); }
.processing-card h2 { margin: 10px 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.04em; }
.processing-card p { color: var(--ink-soft); }
.analysis-line { width: min(360px, 80%); height: 6px; margin: 28px auto 0; overflow: hidden; border-radius: 999px; background: #dfe9ed; }
.analysis-line i { display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); animation: analysis-slide 1.1s infinite ease-in-out; }

.screen--report { flex-direction: column; padding: clamp(14px, 2vw, 24px) clamp(18px, 3vw, 46px); background: #f5f7f9; }
.report-header { grid-template-columns: 1fr auto 1fr; }
.report-tabs { display: flex; padding: 4px; border: 1px solid #d9e2ec; border-radius: 13px; background: white; }
.report-tabs button { min-height: 38px; padding: 0 17px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: .69rem; font-weight: 850; }
.report-tabs button.is-active { background: var(--ink); color: white; }
.outline-button { justify-self: end; min-height: 42px; padding: 0 16px; border: 1px solid var(--blue); background: transparent; color: var(--blue-dark); font-size: .72rem; }
.report-page { flex: 1 1 auto; min-height: 0; width: min(1280px, 100%); margin: clamp(12px, 2vh, 22px) auto 0; }
.report-page.is-active { display: block; }
.report-intro, .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: clamp(12px, 2vh, 20px); }
.report-kicker { color: var(--blue); font-size: .65rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.report-intro h2, .section-heading h2 { margin: 4px 0 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.7vw, 2.65rem); letter-spacing: -.04em; }
.report-intro p, .section-heading p { max-width: 630px; margin: 5px 0 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.5; }
.report-date { align-self: flex-start; color: var(--ink-soft); font-size: .7rem; }
.overview-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: minmax(0, 1.22fr) minmax(0, .78fr); gap: 14px; height: calc(100% - 92px); }
.overview-grid article { min-height: 0; border: 1px solid #dfe6ec; border-radius: 20px; background: white; box-shadow: 0 10px 30px rgba(16,42,67,.05); }
.band-card { padding: clamp(18px, 2.5vw, 30px); background: linear-gradient(135deg, var(--ink), #163f63) !important; color: white; }
.band-card > span { color: #b8d4e8; font-size: .7rem; font-weight: 800; }.band-card > strong { display: block; margin: 6px 0; color: #9ff0e4; font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; }.band-card p { max-width: 620px; margin: 8px 0; color: #e6f0f6; font-size: clamp(.76rem, 1.1vw, .9rem); line-height: 1.45; }.band-card small { color: #9fb8ca; font-size: .61rem; }
.score-card { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 34px); padding: 22px; }
.score-card > div:last-child { display: grid; gap: 5px; }.score-card span { color: var(--ink-soft); font-size: .68rem; }.score-card strong { font-size: clamp(1.25rem, 2vw, 1.8rem); }.score-card small { color: var(--ink-soft); font-size: .6rem; }
.score-donut { --score: 0%; flex: 0 0 clamp(90px, 10vw, 125px); width: clamp(90px, 10vw, 125px); aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 50%; background: conic-gradient(var(--teal) var(--score), #e6edf2 0); }
.score-donut::before { content: ""; position: absolute; width: 72%; height: 72%; border-radius: 50%; background: white; }.score-donut span { position: relative; z-index: 1; color: var(--ink); }.score-donut b { font-size: 1.55rem; }.score-donut small { color: var(--ink); }
.insight-card { display: flex; align-items: center; gap: 15px; padding: 18px 22px; }.insight-card .insight-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; font-size: 1.3rem; font-weight: 900; }.insight-card div { display: grid; gap: 2px; }.insight-card small { color: var(--ink-soft); font-size: .61rem; text-transform: uppercase; letter-spacing: .07em; }.insight-card strong { font-size: .94rem; }.insight-card p { margin: 1px 0 0; color: var(--ink-soft); font-size: .65rem; }.insight-card--strong .insight-icon { background: #e3f7f3; color: #08847a; }.insight-card--priority .insight-icon { background: #fff3dc; color: #b97707; }
.level-chart { display: grid; gap: clamp(12px, 2.2vh, 20px); padding: clamp(22px, 3.5vw, 38px); border: 1px solid #dfe6ec; border-radius: 22px; background: white; }
.level-chart > div { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 14px; }.level-chart span, .level-chart strong { font-size: .75rem; }.level-chart strong { text-align: right; }.level-chart i { height: 13px; overflow: hidden; border-radius: 999px; background: #e8eef3; }.level-chart b { display: block; width: var(--bar); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.sample-warning { margin-top: 12px; padding: 12px 15px; border-radius: 12px; background: #fff4dd; color: #885d0a; font-size: .68rem; }
.confidence-report-grid, .study-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.confidence-report-grid article { min-height: 220px; padding: 25px; display: grid; align-content: center; gap: 8px; border: 1px solid #dfe6ec; border-radius: 22px; background: white; }.confidence-report-grid small { color: var(--ink-soft); font-size: .72rem; }.confidence-report-grid strong { font-family: Georgia, serif; font-size: 3rem; }.confidence-report-grid p { margin: 0; color: var(--ink-soft); font-size: .72rem; }.knowledge-dot { width: 12px; height: 12px; border-radius: 50%; }.knowledge-dot--strong { background: var(--teal); }.knowledge-dot--emerging { background: var(--gold); }.knowledge-dot--hidden { background: var(--coral); }
.study-path article { min-height: 230px; padding: 25px; display: flex; gap: 17px; border: 1px solid #dfe6ec; border-radius: 22px; background: white; }.study-path > article > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--ink); color: white; font-weight: 900; }.study-path div { display: grid; align-content: start; gap: 7px; }.study-path small { color: var(--blue); font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.study-path strong { font-size: 1rem; }.study-path p { margin: 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.5; }
.report-footer { flex: 0 0 40px; width: min(1280px, 100%); margin: 7px auto 0; display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: .62rem; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; max-width: min(420px, calc(100% - 28px)); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: .75rem; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: .2s ease; }.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes pulse-ring { 0% { transform: scale(.82); opacity: .2; } 70% { opacity: .7; } 100% { transform: scale(1.12); opacity: 0; } }
@keyframes analysis-slide { 0% { transform: translateX(-110%); } 50% { transform: translateX(80%); } 100% { transform: translateX(230%); } }

@media (max-width: 1040px) {
  .landing-grid { grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 35px; }
  .product-preview { min-height: 460px; }.preview-orbit--one { width: 430px; height: 430px; }.preview-orbit--two { width: 330px; height: 330px; }.floating-note { display: none; }
  .preview-card { padding: 22px; }.preview-band { margin: 20px 0; }.preview-footer { gap: 6px; }
}

@media (max-width: 760px) {
  .screen--landing { padding: max(16px, env(safe-area-inset-top)) 18px max(16px, env(safe-area-inset-bottom)); }
  .landing-grid { display: block; }
  .landing-copy { max-width: none; }
  .product-preview { display: none; }
  .brand--hero { margin-bottom: clamp(18px, 4vh, 30px); }.brand--hero img { width: 62px; height: 62px; }
  h1 { max-width: 620px; font-size: clamp(2.25rem, 10.8vw, 4.2rem); line-height: 1; }
  .hero-text { font-size: clamp(.92rem, 3.9vw, 1.05rem); line-height: 1.5; }
  .start-row { grid-template-columns: 1fr; }
  .name-field input, .primary-button--hero { min-height: 52px; }
  .test-header { grid-template-columns: auto 1fr auto; gap: 12px; }.brand--compact span { display: none; }.brand--compact img { width: 38px; height: 38px; }.ghost-button { min-height: 38px; padding: 0 10px; font-size: .7rem; }
  .answers-grid { grid-template-columns: 1fr; gap: 8px; }.answer-option { min-height: 54px; }.question-card { padding: 18px; }.sentence { font-size: clamp(1.4rem, 7vw, 2rem); }
  .stage-footer { min-height: 55px; margin-top: 5px; }.stage-footer p { display: none; }.stage-footer .primary-button { width: 100%; min-width: 0; }.confidence-stage .stage-footer .text-button { flex: 0 0 auto; font-size: .68rem; }.confidence-stage .stage-footer .primary-button { width: auto; flex: 1; }
  .confidence-options { grid-template-columns: 1fr; gap: 8px; }.confidence-options button { min-height: 68px; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; justify-items: start; align-content: center; text-align: left; }.confidence-icon { grid-row: 1 / 3; align-self: center; }.confidence-options b, .confidence-options small { grid-column: 2; }
  .report-header { grid-template-columns: auto 1fr auto; gap: 8px; }.report-tabs { justify-self: center; }.report-tabs button { padding: 0 10px; font-size: .62rem; }.outline-button { padding: 0 10px; }.outline-button span { display: none; }
  .report-intro { margin-bottom: 10px; }.report-intro p { display: none; }.report-date { display: none; }.overview-grid { grid-template-columns: 1fr; grid-template-rows: 1.15fr .85fr .7fr .7fr; gap: 8px; height: calc(100% - 58px); }.band-card { padding: 16px 18px; }.band-card > strong { font-size: 2.6rem; }.band-card p { margin: 4px 0; font-size: .7rem; }.score-card { padding: 12px 18px; justify-content: flex-start; }.score-donut { flex-basis: 74px; width: 74px; }.insight-card { padding: 10px 16px; }.insight-card p { display: none; }
  .confidence-report-grid, .study-path { grid-template-columns: 1fr; gap: 8px; }.confidence-report-grid article, .study-path article { min-height: 0; padding: 15px; }.confidence-report-grid article { grid-template-columns: auto 1fr auto; align-items: center; }.confidence-report-grid strong { font-size: 1.8rem; }.confidence-report-grid p { display: none; }.study-path article { align-items: center; }.study-path p { display: none; }
}

@media (max-height: 680px) {
  .screen--landing { padding-top: 14px; padding-bottom: 14px; }
  .brand--hero { margin-bottom: 14px; }.brand--hero img { width: 54px; height: 54px; }.eyebrow { margin-bottom: 8px; }.hero-text { margin: 12px 0; }.quick-facts { margin-bottom: 12px; }.privacy-note { margin-top: 8px; }
  .screen--test { padding-top: 11px; padding-bottom: 9px; }.brand--compact img { width: 36px; height: 36px; }.question-card { padding-top: 15px; padding-bottom: 15px; }.question-meta { margin-bottom: 8px; }.instruction { margin-bottom: 8px; }.sentence { min-height: 48px; margin-bottom: 10px; }.answer-option { min-height: 48px; }.stage-footer { min-height: 50px; }
  .registered-mark { width: 40px; height: 40px; margin-bottom: 5px; }.confidence-card h2 { margin: 5px 0; }.confidence-card > p { margin-bottom: 10px; }.confidence-options button { min-height: 60px; }
  .report-page { margin-top: 8px; }.report-intro, .section-heading { margin-bottom: 8px; }.report-intro h2, .section-heading h2 { font-size: 1.45rem; }.level-chart { gap: 9px; padding: 16px; }.confidence-report-grid article, .study-path article { min-height: 150px; }.report-footer { margin-top: 3px; }
}

@media (max-width: 380px), (max-height: 580px) {
  .quick-facts span:nth-child(3) { display: none; }
  .hero-text { font-size: .86rem; line-height: 1.38; }.privacy-note { font-size: .61rem; }
  .brand--hero strong { font-size: .94rem; }.brand--hero small { font-size: .56rem; }
  .question-card { border-radius: 20px; }.question-meta { font-size: .58rem; }.instruction { font-size: .76rem; }.answer-option { font-size: .78rem; }
  .report-tabs button { padding: 0 7px; }.outline-button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Dark premium theme — Grammar V2 */
:root {
  --ink: #f5f8ff;
  --ink-soft: #a9bdd0;
  --cream: #050b14;
  --paper: #0d1826;
  --line: #263b50;
  --blue: #3e9fff;
  --blue-dark: #71bdff;
  --teal: #20dfbd;
  --gold: #ffc857;
  --coral: #ff5d78;
  --purple: #b28cff;
  --shadow: 0 26px 75px rgba(0, 0, 0, .48);
}

body { background: #050b14; color: var(--ink); }
.screen--landing {
  background:
    radial-gradient(circle at 82% 16%, rgba(32,223,189,.16), transparent 25%),
    radial-gradient(circle at 12% 92%, rgba(62,159,255,.16), transparent 27%),
    linear-gradient(135deg, #050a12 0%, #081523 48%, #071b21 100%);
}
.screen--landing::before {
  opacity: .48;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
}
.brand, .brand strong, h1, .sentence { color: var(--ink); }
.brand small, .hero-text, .privacy-note, .name-field > span { color: var(--ink-soft); }
h1 em { color: #68baff; text-shadow: 0 0 34px rgba(62,159,255,.2); }
.eyebrow { color: #82c8ff; }
.quick-facts span { border-color: rgba(105,183,255,.22); background: rgba(14,30,47,.78); color: #bad0e1; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.quick-facts b { color: #fff; }
.name-field input { border-color: #2a4258; background: rgba(9,22,36,.92); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.name-field input::placeholder { color: #71869a; }
.preview-orbit { border-color: rgba(100,184,255,.17); }
.preview-card, .floating-note { border-color: rgba(124,170,204,.2); background: rgba(11,26,41,.94); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.preview-label, .preview-band small, .floating-note span, .preview-footer { color: var(--ink-soft); }
.preview-badge { background: rgba(32,223,189,.14); color: #73f2dc; }
.mini-donut::before { background: #0c1a29; }
.preview-bars i { background: #1d3042; }
.preview-footer { border-color: #213548; }

.screen--test { background: radial-gradient(circle at 50% 45%, #12283c 0%, #081522 56%, #040a12 100%); }
.progress-copy { color: #9fb6ca; }
.progress-copy b { color: #7fc8ff; }
.progress-track { background: #20364a; box-shadow: inset 0 1px 2px rgba(0,0,0,.45); }
.ghost-button { color: #adc2d3; }
.ghost-button:hover { background: rgba(255,255,255,.07); }
.question-card {
  border-color: #29435a;
  background: linear-gradient(150deg, rgba(18,36,54,.98), rgba(8,22,35,.98));
  box-shadow: 0 24px 75px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.035);
}
.question-meta { color: #64b8ff; }
.question-meta span:last-child, .instruction, .stage-footer p { color: var(--ink-soft); }
.answer-option {
  border-color: #304a60;
  background: #0d1f30;
  color: #f4f8ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.answer-option:hover:not(:disabled) { border-color: #6fbfff; background: #112a40; }
.answer-option:disabled { opacity: 1; cursor: default; }
.answer-letter { background: #1d3448; color: #8ecfff; }
.answer-option.is-correct {
  border-color: #00ff80;
  background: linear-gradient(135deg, #008f49, #00cf6b);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0,255,128,.22), 0 0 32px rgba(0,255,128,.82), inset 0 1px 0 rgba(255,255,255,.28);
  animation: correct-flash .48s ease-out;
}
.answer-option.is-correct .answer-letter { background: #eafff4; color: #007b3d; }
.answer-option.is-wrong {
  border-color: #ff174d;
  background: linear-gradient(135deg, #a90029, #f20f43);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255,23,77,.22), 0 0 34px rgba(255,23,77,.78), inset 0 1px 0 rgba(255,255,255,.24);
  animation: wrong-flash .42s ease-out;
}
.answer-option.is-wrong .answer-letter { background: #fff0f4; color: #b5002e; }

.inline-confidence { margin-top: clamp(13px, 2vh, 20px); padding-top: clamp(12px, 1.8vh, 18px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; border-top: 1px solid #294258; }
.inline-confidence[hidden] { display: none; }
.answer-result { min-width: 145px; padding: 12px 14px; border-radius: 13px; font-size: .78rem; font-weight: 900; text-align: center; letter-spacing: .02em; }
.answer-result.is-correct { border: 1px solid rgba(0,255,128,.6); background: rgba(0,207,107,.18); color: #67ffb4; box-shadow: 0 0 22px rgba(0,255,128,.16); }
.answer-result.is-wrong { border: 1px solid rgba(255,23,77,.64); background: rgba(242,15,67,.18); color: #ff8ba7; box-shadow: 0 0 22px rgba(255,23,77,.15); }
.confidence-prompt { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(380px, 1.25fr); align-items: center; gap: 14px; }
.confidence-prompt > span { color: #dcecff; font-size: .78rem; font-weight: 800; line-height: 1.3; }
.confidence-options--inline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.confidence-options--inline button {
  min-height: 52px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #38536a;
  border-radius: 13px;
  background: #102538;
  color: #eaf4ff;
  cursor: pointer;
  text-align: center;
}
.confidence-options--inline button:hover { border-color: #8dcbff; background: #17334a; }
.confidence-options--inline button.is-selected { border-color: #bd9aff; background: #4a2e82; box-shadow: 0 0 0 2px rgba(178,140,255,.2), 0 0 24px rgba(178,140,255,.22); }
.confidence-options--inline .confidence-icon { color: #c8adff; font-size: 1.15rem; }
.confidence-options--inline b { font-size: .75rem; }

.screen--processing { background: radial-gradient(circle at center, #142b3e 0%, #081522 58%, #040a12 100%); }
.processing-card p { color: var(--ink-soft); }
.analysis-line { background: #20374a; }

.screen--report { background: radial-gradient(circle at 50% 10%, #11283b, #07131f 52%, #040a12); }
.report-tabs { border-color: #294158; background: #0b1c2b; }
.report-tabs button { color: #a9bdd0; }
.report-tabs button.is-active { background: linear-gradient(135deg, #237ccb, #205aa4); color: #fff; }
.outline-button { border-color: #4da9f5; color: #8dceff; }
.overview-grid article, .level-chart, .confidence-report-grid article, .study-path article { border-color: #294158; background: #0d1d2c; box-shadow: 0 12px 34px rgba(0,0,0,.22); }
.band-card { background: linear-gradient(135deg, #0c3151, #10283e) !important; }
.score-donut { background: conic-gradient(var(--teal) var(--score), #213548 0); }
.score-donut::before { background: #0d1d2c; }
.score-donut span, .score-donut small { color: #fff; }
.insight-card--strong .insight-icon { background: rgba(32,223,189,.15); color: #5ef1d6; }
.insight-card--priority .insight-icon { background: rgba(255,200,87,.14); color: #ffd579; }
.level-chart i { background: #203548; }
.sample-warning { background: rgba(255,184,50,.12); color: #ffd277; border: 1px solid rgba(255,184,50,.25); }
.study-path > article > span { background: #20496c; }
.toast { background: #12283c; color: #fff; border: 1px solid #34516a; }

@keyframes correct-flash {
  0% { transform: scale(.98); filter: brightness(1); }
  42% { transform: scale(1.018); filter: brightness(1.45); }
  100% { transform: scale(1); filter: brightness(1); }
}
@keyframes wrong-flash {
  0%, 100% { transform: translateX(0); }
  28% { transform: translateX(-4px); }
  56% { transform: translateX(4px); }
  78% { transform: translateX(-2px); }
}

@media (max-width: 760px) {
  .inline-confidence { grid-template-columns: 1fr; gap: 7px; margin-top: 9px; padding-top: 9px; }
  .answer-result { min-width: 0; padding: 7px 10px; }
  .confidence-prompt { grid-template-columns: 1fr; gap: 6px; }
  .confidence-prompt > span { text-align: center; font-size: .68rem; }
  .confidence-options--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .confidence-options--inline button { min-height: 48px; padding: 5px 4px; display: flex; flex-direction: column; gap: 1px; justify-content: center; align-items: center; text-align: center; }
  .confidence-options--inline .confidence-icon { font-size: .9rem; line-height: 1; }
  .confidence-options--inline b { font-size: .62rem; }
}

@media (max-height: 680px) {
  .inline-confidence { margin-top: 7px; padding-top: 7px; gap: 8px; }
  .answer-result { padding-top: 7px; padding-bottom: 7px; }
  .confidence-options--inline button { min-height: 43px; }
}

/* Full A1–C2 product components */
.resume-panel {
  max-width: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(105, 183, 255, .28);
  border-radius: 18px;
  background: rgba(11, 29, 45, .9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .26);
}
.resume-panel[hidden], .start-row[hidden] { display: none; }
.resume-panel > div { display: grid; gap: 4px; }
.resume-panel > div:last-child { grid-template-columns: auto auto; align-items: center; }
.resume-panel small { color: #79c7ff; font-size: .64rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.resume-panel strong { color: #f4f8ff; font-size: .96rem; }
.resume-panel span { color: var(--ink-soft); font-size: .72rem; }
.resume-panel .primary-button { min-height: 46px; padding-inline: 18px; }
.resume-panel .text-button { color: #a8d5f7; font-size: .7rem; }

.level-chart .level-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 52px 78px;
  align-items: center;
  gap: 12px;
}
.level-row > b { width: auto; color: #f4f8ff; font-size: .8rem; }
.level-row > div, .topic-row > div { height: 11px; overflow: hidden; border-radius: 999px; background: #203548; }
.level-row > div i, .topic-row > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.level-row.is-developing > div i, .topic-row.is-developing > div i { background: linear-gradient(90deg, #f6aa28, var(--gold)); }
.level-row.is-priority > div i, .topic-row.is-priority > div i { background: linear-gradient(90deg, #d82d54, var(--coral)); }
.level-row > strong { text-align: right; color: #f4f8ff; font-size: .76rem; }
.level-row > small { color: var(--ink-soft); font-size: .65rem; text-align: right; }

.topic-chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid #294158;
  border-radius: 22px;
  background: #0d1d2c;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.topic-row { display: grid; grid-template-columns: minmax(120px, .72fr) minmax(100px, 1fr) 44px; align-items: center; gap: 10px; }
.topic-row > span { display: grid; gap: 2px; min-width: 0; }
.topic-row > span b { overflow: hidden; color: #edf6ff; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.topic-row > span small { color: var(--ink-soft); font-size: .58rem; }
.topic-row > strong { color: #f4f8ff; font-size: .7rem; text-align: right; }

.confidence-report-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.confidence-report-grid--five article { min-height: 142px; padding: 17px; }
.confidence-report-grid--five strong { font-size: 2.3rem; }
.confidence-report-grid--five p { font-size: .64rem; }
.knowledge-dot--lucky { background: var(--purple); }
.knowledge-dot--known { background: var(--gold); }
.confidence-accuracy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.confidence-accuracy article { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 13px 16px; border: 1px solid #294158; border-radius: 15px; background: #0d1d2c; }
.confidence-accuracy span { color: var(--ink-soft); font-size: .67rem; }
.confidence-accuracy b { color: #fff; font-size: .76rem; }
.confidence-accuracy small { grid-column: 1 / -1; color: #6f8ba2; font-size: .58rem; }

.plan-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 16px; }
.study-path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.study-path article { min-height: 116px; padding: 18px; }
.study-path > article > span { flex-basis: 36px; width: 36px; height: 36px; }
.plan-lists { display: grid; grid-template-columns: 1fr; gap: 10px; }
.plan-lists > article { min-height: 0; padding: 16px 18px; border: 1px solid #294158; border-radius: 18px; background: #0d1d2c; }
.plan-lists > article > small { color: #77c7ff; font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.plan-lists p { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; }
.plan-lists p b { color: #edf6ff; font-size: .67rem; }
.plan-lists p span { color: var(--ink-soft); font-size: .6rem; white-space: nowrap; }

.review-card {
  min-height: 0;
  padding: clamp(17px, 2.5vw, 28px);
  border: 1px solid #294158;
  border-radius: 22px;
  background: #0d1d2c;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.review-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.review-meta span { padding: 5px 8px; border-radius: 999px; background: #1b3348; color: #9fd4ff; font-size: .58rem; font-weight: 800; }
.review-card h3 { margin: 14px 0; color: #fff; font-family: Georgia, serif; font-size: clamp(1.2rem, 2vw, 1.75rem); }
.review-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.review-answers p { display: grid; gap: 4px; margin: 0; padding: 12px 14px; border: 1px solid #314a60; border-radius: 14px; background: #102438; }
.review-answers p.is-correct { border-color: rgba(32,223,189,.45); }
.review-answers p.is-wrong { border-color: rgba(255,93,120,.48); }
.review-answers small { color: var(--ink-soft); font-size: .6rem; text-transform: uppercase; }
.review-answers b { color: #f5f8ff; font-size: .78rem; }
.review-answers .is-correct b { color: #6df1d8; }
.review-answers .is-wrong b { color: #ff8ba1; }
.review-explanation { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 12px; }
.review-explanation p { margin: 0; color: #c3d4e2; font-size: .67rem; line-height: 1.45; }
.review-explanation small { display: block; margin-bottom: 4px; color: #77c7ff; font-size: .56rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.review-explanation b { font-weight: 700; }
.review-navigation { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 11px; }
.review-navigation span { color: var(--ink-soft); font-size: .68rem; }
.review-navigation button { min-height: 40px; padding-inline: 16px; }
.review-navigation button:disabled { opacity: .35; cursor: not-allowed; }

@media (max-width: 900px) {
  .report-header { grid-template-columns: auto 1fr auto; }
  .report-tabs button { padding-inline: 10px; }
  .confidence-report-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .confidence-report-grid--five article { min-height: 100px; padding: 12px; }
  .confidence-report-grid--five article:nth-child(n+4) { grid-column: span 1; }
  .plan-layout { grid-template-columns: 1fr; }
  .plan-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .resume-panel { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .resume-panel > div:last-child { grid-template-columns: 1fr auto; }
  .report-header { grid-template-columns: auto auto; gap: 6px 10px; }
  .report-header .outline-button { display: inline-flex; justify-self: end; }
  .report-tabs { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .report-tabs button { min-height: 29px; padding: 0 4px; font-size: .56rem; }
  .report-page { margin-top: 7px; }
  .section-heading { align-items: start; margin-bottom: 7px; }
  .section-heading p { display: none; }
  .level-chart { gap: 7px; padding: 12px; }
  .level-chart .level-row { grid-template-columns: 28px 1fr 38px 58px; gap: 7px; }
  .level-row > small { font-size: .55rem; }
  .topic-chart { grid-template-columns: 1fr; gap: 6px; padding: 10px 12px; }
  .topic-row { grid-template-columns: minmax(108px, .8fr) 1fr 36px; }
  .confidence-report-grid--five { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .confidence-report-grid--five article { min-height: 82px; padding: 9px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 7px; }
  .confidence-report-grid--five strong { font-size: 1.5rem; }
  .confidence-report-grid--five p { display: none; }
  .confidence-report-grid--five small { font-size: .56rem; }
  .confidence-accuracy { gap: 6px; margin-top: 7px; }
  .confidence-accuracy article { grid-template-columns: 1fr; padding: 8px; gap: 2px; }
  .confidence-accuracy b { font-size: .62rem; }
  .confidence-accuracy small { grid-column: auto; }
  .study-path { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .study-path article { min-height: 82px; padding: 10px; gap: 8px; }
  .study-path > article > span { flex-basis: 28px; width: 28px; height: 28px; }
  .study-path strong { font-size: .7rem; }
  .plan-lists { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .plan-lists > article { padding: 10px; }
  .plan-lists p { margin-top: 6px; }
  .plan-lists p span { display: none; }
  .review-card { padding: 12px; }
  .review-card h3 { margin: 8px 0; font-size: 1rem; }
  .review-answers { gap: 6px; }
  .review-answers p { padding: 8px; }
  .review-explanation { grid-template-columns: 1fr; gap: 5px; margin-top: 7px; }
  .review-explanation p { font-size: .59rem; line-height: 1.3; }
  .review-explanation p:nth-child(2) { display: none; }
  .review-navigation { margin-top: 6px; }
}

@media (max-height: 720px) and (max-width: 760px) {
  .screen--test { padding: 8px 11px 7px; }
  .test-header { gap: 7px; }
  .question-card { padding: 10px 12px; }
  .question-meta { margin-bottom: 4px; }
  .instruction { margin-bottom: 4px; font-size: .68rem; }
  .sentence { min-height: 34px; margin-bottom: 6px; font-size: 1.12rem; }
  .answers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .answer-option { min-height: 46px; padding: 5px 7px; gap: 7px; border-radius: 11px; font-size: .68rem; line-height: 1.16; }
  .answer-letter { flex-basis: 26px; width: 26px; height: 26px; border-radius: 8px; }
  .inline-confidence { grid-template-columns: auto 1fr; margin-top: 5px; padding-top: 5px; gap: 6px; }
  .answer-result { min-width: 90px; padding: 6px; font-size: .62rem; }
  .confidence-prompt { grid-template-columns: 1fr; gap: 3px; }
  .confidence-prompt > span { font-size: .58rem; }
  .confidence-options--inline button { min-height: 37px; padding: 3px; }
  .confidence-options--inline b { font-size: .56rem; }
  .stage-footer { min-height: 42px; }
  .stage-footer .primary-button { min-height: 40px; }
}
