/* prepquest site: one structure, four themes.
   Every color, font, radius and shadow below is a token; a theme only overrides tokens.
   space: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 72 / 112 */
:root {
  /* Light green: the site's own greens (#e3f5d3 / #c6f0a8), one bright green for actions. Add ?t=blue to the URL for the navy version. */
  --bg: #f3faea; --surface: #ffffff; --tint: #e3f5d3; --tint-2: #c6f0a8;
  --ink: #12241a; --ink-2: #47594e; --ink-3: #5f7166; --line: #d9e8cd; --line-2: #c2d7b3;
  --brand: #35d867; --brand-ink: #06240f; --brand-edge: #22c256; --accent: #0d7a3c;
  --panel: #143826; --panel-ink: #f1f7f3; --panel-2: #a9c2b3; --panel-hi: #c6f0a8; --panel-line: rgba(241,247,243,.14);
  --logo-filter: none; --word-filter: none;
  --r: 10px; --r-lg: 18px; --r-btn: 10px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(18,36,26,.05), 0 12px 28px -14px rgba(18,36,26,.18);
  --shadow-lg: 0 2px 4px rgba(18,36,26,.04), 0 40px 80px -40px rgba(13,122,60,.35);
  --btn-shadow: none;
  /* type, as OnePrep sets it: DM Sans medium with tight tracking for headings, Inter for everything else */
  --font-d: "DM Sans", system-ui, sans-serif; --font-t: "Inter", system-ui, sans-serif;
  --d-weight: 500; --d-track: -0.05em; --d-lh: 1.03;
  --gutter: clamp(18px, 4.5vw, 56px);
}
:root[data-theme="blue"] {
  --bg: #f6f8fc; --surface: #ffffff; --tint: #e9effb; --tint-2: #cfdcf7;
  --ink: #0b1f3a; --ink-2: #4a5b73; --ink-3: #64748b; --line: #d8e0ec; --line-2: #c3cedd;
  --brand: #1d4ed8; --brand-ink: #ffffff; --brand-edge: #1e3fae; --accent: #1d4ed8;
  --panel: #0b1f3a; --panel-ink: #eef3fa; --panel-2: #a6b4c8; --panel-hi: #8fb4ff; --panel-line: rgba(238,243,250,.14);
  --shadow: 0 1px 2px rgba(11,31,58,.05), 0 12px 28px -14px rgba(11,31,58,.18);
  --shadow-lg: 0 2px 4px rgba(11,31,58,.04), 0 40px 80px -40px rgba(29,78,216,.38);
  --btn-shadow: 0 1px 2px rgba(11,31,58,.25), 0 10px 22px -12px rgba(29,78,216,.8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-t); font-size: 16.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* type */
.d { font-family: var(--font-d); font-weight: var(--d-weight); letter-spacing: var(--d-track); line-height: var(--d-lh); margin: 0; text-wrap: balance; }
h1.d { font-size: clamp(42px, 5.5vw, 80px); }
h2.d { font-size: clamp(30px, 3.6vw, 50px); }
.d em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); margin: 0; text-wrap: pretty; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.section { padding: 0 0 120px; }
.section > .wrap > .d { margin-bottom: 40px; }

/* nav */
.nav { display: flex; align-items: center; gap: 30px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.brand .face { width: 36px; height: 36px; }
.brand .word { height: 22px; width: auto; filter: var(--word-filter); }
.nav-links { display: flex; gap: 28px; }
.nav a.link { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 10px 0; }
.nav a.link:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-btn); border: 1px solid transparent; font-family: var(--font-t); font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, filter .15s ease, border-color .15s ease, background-color .15s ease; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--btn-shadow); }
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.cta-note { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; }

/* lead: headline row, then the showcase */
.lead { padding-top: 36px; padding-bottom: 112px; }
.lead-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.lead-side .lede { max-width: 16em; font-family: var(--font-d); font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.tabsrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 48px 0 16px; flex-wrap: wrap; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--tint); }
.tab { border: 0; background: transparent; padding: 9px 20px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); }
.screen { position: relative; aspect-ratio: 2 / 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.cam { position: absolute; left: 0; right: 0; top: 0; transform-origin: 0 0; aspect-ratio: 1600 / 1000; transition: transform 1.1s cubic-bezier(.65,0,.2,1); will-change: transform; --s: 1; }
.cam img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s ease; }
.cam img.on { opacity: 1; }
.mark { position: absolute; border: calc(2px / var(--s)) solid var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); border-radius: calc(8px / var(--s)); opacity: 0; transition: opacity .2s ease; z-index: 2; }
.cursor { position: absolute; left: 72%; top: 88%; width: 0; height: 0; z-index: 3; transition-property: left, top, transform, opacity; transform: scale(calc(1 / var(--s))); transition: left .85s cubic-bezier(.5,0,.15,1), top .85s cubic-bezier(.5,0,.15,1), transform 1.1s cubic-bezier(.65,0,.2,1); }
.cursor svg { position: absolute; left: -4px; top: -3px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.cursor i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 22%, transparent); border: 2px solid var(--brand); opacity: 0; transform: scale(.2); }
.cursor.click i { animation: ripple .55s ease-out; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.15); } }
.cap { position: absolute; left: 18px; bottom: 18px; z-index: 5; margin: 0; max-width: calc(100% - 36px); background: #0f172a; color: #fff; font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 10px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.cap:empty { display: none; }
.cap.swap { animation: fadeup .3s ease both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 4; }
.bar i { display: block; height: 100%; width: 0; background: var(--brand); }

/* the tutor view inside the showcase */
.tutorview { display: none; position: absolute; inset: 0; z-index: 6; background: var(--tint); padding: clamp(16px, 2.6vw, 34px); grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.screen.is-tutor .tutorview { display: grid; }
.screen.is-tutor .cap, .screen.is-tutor .bar { display: none; }
.chatwin { --c-ink: #121a24; --c-2: #5a6472; --c-3: #9099a6; --c-line: #e5e8ec; height: 100%; display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--c-ink); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 44px -28px rgba(0,0,0,.4); font-family: var(--font-t); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--c-line); }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; background: #e9effb; flex: none; }
.chat-head b { display: block; font-size: 15.5px; line-height: 1.2; }
.chat-head span:not(.tag) { display: block; font-size: 13px; color: var(--c-3); }
.chat-head .tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c-3); border: 1px solid var(--c-line); border-radius: 6px; padding: 3px 7px; }
.thread { flex: 1; min-height: 0; padding: 18px 18px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; background: #f8f9fa; }
.msg { max-width: 90%; font-size: 15.5px; line-height: 1.5; animation: fadeup .28s cubic-bezier(.2,.8,.3,1) both; }
.msg.user { align-self: flex-end; background: #121a24; color: #fff; padding: 9px 14px; border-radius: 14px 14px 4px 14px; font-weight: 500; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-line); padding: 13px 16px; border-radius: 14px 14px 14px 4px; }
.msg.bot p { margin: 0; min-height: 1.5em; }
.msg.bot p + p, .msg.bot .ex + p { margin-top: 9px; }
.msg.bot p.stream::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -0.15em; background: #16a34a; animation: blink .9s steps(2) infinite; }
.msg.bot p.think::after { content: "\2022\2009\2022\2009\2022"; color: var(--c-3); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.msg .ex { margin-top: 9px; padding: 9px 12px; border-radius: 8px; background: #f1f3f5; font-size: 14.5px; font-weight: 500; line-height: 1.6; font-variant-numeric: tabular-nums; white-space: pre-wrap; }
.msg .ex div { animation: fadeup .25s ease both; }
.msg .go { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14.5px; color: var(--accent); text-decoration: none; animation: fadeup .3s ease both; }
.msg .go:hover { text-decoration: underline; text-underline-offset: 3px; }
.ask { display: flex; align-items: center; gap: 8px; margin: 12px 14px 0; padding: 5px 5px 5px 16px; border: 1.5px solid var(--c-line); border-radius: 12px; background: #fff; transition: border-color .15s ease; }
.ask:focus-within { border-color: var(--c-ink); }
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; height: 40px; color: var(--c-ink); }
.ask input::placeholder { color: var(--c-3); }
.send { flex: none; width: 40px; height: 40px; border-radius: 9px; border: 0; cursor: pointer; display: grid; place-items: center; background: #121a24; color: #fff; transition: transform .12s ease; }
.send.fire { transform: scale(.88); }
.chips { display: flex; gap: 6px; margin: 0; padding: 10px 14px 14px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--c-2); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chips button:hover { border-color: var(--c-ink); color: var(--c-ink); }
.chips button.on { background: #121a24; border-color: #121a24; color: #fff; }
.humans .kicker { color: var(--ink-2); }
.humans p { margin: 12px 0 22px; font-family: var(--font-d); font-weight: var(--d-weight); font-size: clamp(26px, 2.9vw, 40px); letter-spacing: var(--d-track); line-height: 1.08; text-wrap: balance; }
.faces { display: flex; }
.faces img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--tint); margin-left: -12px; }
.faces img:first-child { margin-left: 0; }

/* results */
.stats { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); margin: 0; padding: 0; list-style: none; }
.stats li { padding: 4px 32px 4px; }
.stats li:first-child { padding-left: 0; }
.stats li + li { border-left: 1px solid var(--line-2); }
.stats b { display: block; font-family: var(--font-d); font-weight: var(--d-weight); font-size: clamp(52px, 6.6vw, 96px); letter-spacing: var(--d-track); line-height: 1; font-variant-numeric: tabular-nums; }
.stats li:first-child b { color: var(--accent); }
.stats span { display: block; margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.fine { margin: 28px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.stage { background: var(--tint); height: 300px; padding: 26px 26px 0; overflow: hidden; }
.ui { --c-ink: #121a24; --c-2: #5a6472; --c-3: #9099a6; background: #fff; color: var(--c-ink); border-radius: 14px 14px 0 0; box-shadow: 0 16px 32px -20px rgba(0,0,0,.4); height: 100%; padding: 20px 20px 0; font-size: 13.5px; overflow: hidden; font-family: var(--font-t); }
.step-copy { padding: 24px 26px 28px; }
.step-copy .kicker { color: var(--accent); }
.step-copy h3 { font-family: var(--font-d); font-weight: var(--d-weight); font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; margin: 8px 0 6px; }
.step-copy p { margin: 0; color: var(--ink-2); }
.ui-title { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; text-align: center; margin: 0; }
.ui-pills { display: flex; justify-content: center; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.ui-pills li { font-size: 10.5px; font-weight: 500; color: var(--c-2); background: #f1f3f5; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.gauge { position: relative; width: 186px; margin: 10px auto 0; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge .gtrack { stroke: #e9ecef; }
.gauge .gfill { stroke: var(--brand); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s cubic-bezier(.3,.8,.3,1); }
.gauge .val { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; }
.gauge .val b { display: block; font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge .val span { display: block; font-size: 10.5px; color: var(--c-3); margin-top: 3px; }
.gauge .lo, .gauge .hi { position: absolute; bottom: -2px; font-size: 10px; color: var(--c-3); font-variant-numeric: tabular-nums; }
.gauge .lo { left: -24px; } .gauge .hi { right: -28px; }
.ui-seg { display: flex; justify-content: center; gap: 2px; margin: 14px auto 0; padding: 3px; width: max-content; border: 1.5px solid #e5e8ec; border-radius: 999px; }
.ui-seg span { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--c-2); padding: 4px 9px; border-radius: 999px; }
.ui-seg span.on { background: #121a24; color: #fff; }
.q-stem { margin: 0 0 10px; font-size: 13.5px; line-height: 1.4; font-weight: 500; }
.opts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.opts li { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1.5px solid #d9dee4; border-radius: 10px; font-size: 13px; transition: border-color .2s ease, background-color .2s ease, opacity .2s ease; }
.opts i { font-style: normal; flex: none; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #d9dee4; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: var(--c-2); transition: all .2s ease; }
.ui.s1 .opts li.pick { border-color: #121a24; }
.ui.s2 .opts li.pick { border-color: #16a34a; background: #effaf2; }
.ui.s2 .opts li.pick i { background: #16a34a; border-color: #16a34a; color: #fff; }
.ui.s2 .opts li:not(.pick) { opacity: .5; }
.solve { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #effaf2; border: 1.5px solid #c9ecd4; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.3,1); }
.ui.s2 .solve { opacity: 1; transform: none; }
.solve b { display: flex; justify-content: space-between; font-size: 12.5px; }
.solve b span { color: #15803d; }
.solve p { margin: 4px 0 0; font-size: 12px; line-height: 1.42; color: var(--c-2); }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--c-2); font-weight: 500; }
.t-head .clock { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--c-ink); background: #f1f3f5; padding: 3px 8px; border-radius: 7px; }
.t-bar { display: grid; grid-template-columns: repeat(27, 1fr); gap: 2px; margin: 10px 0 14px; }
.t-bar i { height: 4px; border-radius: 2px; background: #e9ecef; transition: background-color .3s ease; }
.t-bar i.done { background: var(--brand); }
.t-bar i.now { background: #121a24; }
.t-q { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--c-3); margin-bottom: 8px; }
.t-q b { background: #121a24; color: #fff; font-size: 11px; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.t-pass { margin: 0 0 10px; font-size: 12.5px; line-height: 1.5; }
.ui .opts.small li { padding: 6px 9px; font-size: 12px; }

/* scores */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.scores li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.scores img { width: 100%; aspect-ratio: 5 / 3.6; object-fit: cover; object-position: 50% 22%; }
.scores div { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 24px 22px; }
.scores b { font-family: var(--font-d); font-weight: var(--d-weight); font-size: 46px; letter-spacing: var(--d-track); line-height: 1; font-variant-numeric: tabular-nums; }
.scores b small { font-family: var(--font-t); font-size: 13px; font-weight: 700; letter-spacing: .05em; color: var(--ink-3); margin-left: 6px; }
.scores span { font-size: 14.5px; color: var(--ink-2); text-align: right; line-height: 1.3; }
.scores span strong { display: block; color: var(--ink); }
.pull { margin: 28px 0 0; padding: 30px 34px; border-radius: var(--r-lg); background: var(--tint); font-family: var(--font-d); font-weight: 600; font-size: clamp(21px, 2.2vw, 29px); letter-spacing: -0.02em; line-height: 1.25; }
.pull footer { margin-top: 12px; font-family: var(--font-t); font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }

/* team panel */
.panel { background: var(--panel); color: var(--panel-ink); border-radius: var(--r-lg); padding: clamp(36px, 5.5vw, 72px) clamp(22px, 5vw, 68px); }
.panel .d em { color: var(--panel-hi); }
.panel .lede { color: var(--panel-2); }
.panel-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: end; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); filter: grayscale(1) contrast(1.05); }
.team b { display: block; margin-top: 10px; font-size: 15px; }
.team small { display: block; font-size: 13px; color: var(--panel-2); }
.team q { display: block; quotes: none; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--panel-hi); }
.admits { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--panel-line); }
.admits .kicker { color: var(--panel-2); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin: 24px 0 0; padding: 0; list-style: none; }
.logos img { opacity: .95; }
.logos .more { font-weight: 700; color: var(--panel-hi); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.plan.feature { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.sale { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--brand); color: var(--brand-ink); padding: 3px 8px; border-radius: 6px; }
.price { margin: 16px 0 0; font-family: var(--font-d); font-weight: var(--d-weight); font-size: 50px; letter-spacing: var(--d-track); line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--font-t); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.plan .note { margin: 10px 0 22px; font-size: 14px; color: var(--ink-2); min-height: 1.5em; }
.plan .btn { width: 100%; }
.plan ul, .feat ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15.5px; }
.plan li, .feat li { padding-left: 28px; position: relative; }
.plan li::before, .feat li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 1a8 8 0 100 16A8 8 0 009 1zm4.2 5.9l-4.8 5.4a.9.9 0 01-1.3 0L4.8 9.9l1.3-1.3 1.6 1.7 4.2-4.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 1a8 8 0 100 16A8 8 0 009 1zm4.2 5.9l-4.8 5.4a.9.9 0 01-1.3 0L4.8 9.9l1.3-1.3 1.6 1.7 4.2-4.6z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* closing */
.closing { background: var(--tint); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 84px) clamp(22px, 5vw, 68px); text-align: center; }
.closing .d { max-width: 15em; margin: 0 auto; }
.closing .cta-row { justify-content: center; margin-top: 30px; }
.foot { padding: 28px 0 80px; font-size: 13.5px; color: var(--ink-3); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; margin-left: 20px; }
.foot a:hover { color: var(--ink); }

/* parents page */
.p-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 48px; padding-bottom: 96px; }
.p-hero h1.d { font-size: clamp(40px, 5vw, 70px); }
.p-hero .lede { margin-top: 22px; max-width: 27em; }
.p-hero .kicker { margin-bottom: 18px; color: var(--accent); }
.chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 28px 30px 30px; }
.chart .kicker { color: var(--ink-2); }
.chart .bigrow { display: flex; align-items: flex-end; gap: 14px; margin: 10px 0 24px; }
.chart .bigrow b { font-family: var(--font-d); font-weight: var(--d-weight); font-size: clamp(72px, 9vw, 116px); letter-spacing: var(--d-track); line-height: .9; font-variant-numeric: tabular-nums; color: var(--accent); }
.chart .bigrow span { font-size: 17px; color: var(--ink-2); padding-bottom: 6px; }
.bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 92px 1fr 46px; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bars i { display: block; height: 14px; border-radius: 7px; background: var(--tint-2); width: 0; transition: width 1s cubic-bezier(.3,.8,.3,1) var(--dl, 0ms); }
.bars li:last-child i { background: var(--brand); }
.in .bars i { width: var(--w); }
.bars b { color: var(--ink); text-align: right; }
.feat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.feat .kicker { color: var(--accent); }
.feat h3 { font-family: var(--font-d); font-weight: var(--d-weight); font-size: clamp(26px, 2.7vw, 36px); letter-spacing: var(--d-track); line-height: 1.08; margin: 10px 0 12px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 17.5px; max-width: 26em; }
.feat ul { margin-top: 18px; }
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; }
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-size: 17.5px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 26px; font-weight: 400; color: var(--ink-3); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 36px 20px 0; color: var(--ink-2); max-width: 40em; }

/* arrival */
.js [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.js [data-rv].in { opacity: 1; transform: none; }


@media (max-width: 1000px) {
  .lead-top, .p-hero, .panel-top, .feat { grid-template-columns: 1fr; align-items: start; }
  .steps, .scores, .plans { grid-template-columns: 1fr; max-width: 540px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .screen.is-tutor { aspect-ratio: auto; }
  .screen.is-tutor .cam { display: none; }
  .tutorview { position: static; grid-template-columns: 1fr; }
  .chatwin { height: auto; }
  .thread { flex: none; height: 330px; }
  .feat { gap: 24px; }
  .panel-top { gap: 36px; }
}
@media (max-width: 760px) {
  .nav { gap: 12px; height: 68px; }
  .nav-links, .nav .login { display: none; }
  .section { padding-bottom: 80px; }
  .section > .wrap > .d { margin-bottom: 28px; }
  .lead { padding-top: 20px; padding-bottom: 80px; }
  .cta-row .btn { flex: 1 1 100%; }
  .tabsrow { margin-top: 36px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 9px 6px; font-size: 14px; }
  .screen { aspect-ratio: 1600 / 1000; }
  .cap { font-size: 12.5px; left: 8px; bottom: 8px; padding: 6px 10px; }
  .tutorview { padding: 12px; }
  .msg { font-size: 15px; max-width: 94%; }
  .chat-head .tag { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li:first-child { padding: 0; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line-2); padding-top: 24px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .logos { gap: 18px 26px; }
  .logos img { transform: scale(.8); transform-origin: left center; margin-right: -14%; }
  .p-hero { padding-top: 24px; padding-bottom: 72px; }
  .themes button { font-size: 0; gap: 0; padding: 8px; }
  .themes i { width: 15px; height: 15px; }
  .themes a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rv] { opacity: 1 !important; transform: none !important; }
}

/* ---- polish pass ---- */
body { font-size: 17px; }
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav { height: 68px; }
.section { padding-bottom: 136px; }
.section > .wrap > .d { margin-bottom: 44px; }

.lead { padding-top: 64px; padding-bottom: 72px; }
.lead-top { display: block; text-align: center; }
.lead h1.d { font-size: clamp(42px, 5.6vw, 76px); max-width: 13em; margin: 0 auto; }
.lead-top .lede { margin: 20px auto 0; max-width: 24em; font-family: var(--font-t); font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.01em; line-height: 1.4; color: var(--ink-2); }
.lead-top .cta-row { justify-content: center; margin-top: 30px; }
.trust { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 5px 16px 5px 6px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.trust .faces img { width: 28px; height: 28px; border-width: 2px; border-color: var(--surface); margin-left: -9px; }
.trust .faces img:first-child { margin-left: 0; }
.tabsrow { flex-direction: column; justify-content: center; gap: 14px; margin: 64px 0 20px; }
.browser { max-width: 1120px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-lg); }
.chrome { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #f3f4f6; border-bottom: 1px solid #e3e6ea; }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #d3d8df; }
.chrome span { margin: 0 auto; transform: translateX(-25px); min-width: 240px; text-align: center; font-size: 12.5px; color: #6b7480; background: #fff; border: 1px solid #e3e6ea; border-radius: 7px; padding: 3px 12px; }
.screen { aspect-ratio: 16 / 10; border: 0; border-radius: 0; box-shadow: none; }
.cam { transition: transform 1.25s cubic-bezier(.45,0,.15,1); }
.cursor { transition-duration: .9s, .9s, 1.25s, .3s; }
.cap { left: 20px; bottom: 20px; font-size: 16px; padding: 10px 16px; }

.logobar { padding: 0 0 128px; text-align: center; }
.logobar .logos { justify-content: center; margin-top: 28px; gap: 26px 46px; }
.logobar .logos img { filter: brightness(0); opacity: .58; }
:root[data-theme="midnight"] .logobar .logos img { filter: none; opacity: .8; }
.logobar .logos .more { color: var(--ink-3); font-weight: 600; }

.stats b { font-size: clamp(48px, 5.8vw, 84px); }
.stats li:first-child b { color: var(--ink); }
.stats b { color: var(--ink); }
.stats li:first-child b { color: var(--accent); }
.scores img { filter: grayscale(1); }
.plan.feature { position: relative; }
.foot { border-top: 1px solid var(--line); padding-top: 28px; }

@media (max-width: 760px) {
  .lead { padding-top: 36px; padding-bottom: 56px; }
  .trust { font-size: 13px; margin-bottom: 20px; }
  .tabsrow { margin-top: 44px; }
  .chrome { height: 32px; } .chrome span { min-width: 140px; font-size: 11px; padding: 1px 10px; } .chrome i { width: 8px; height: 8px; }
  .logobar { padding-bottom: 80px; }
  .section { padding-bottom: 88px; }
}

/* tutors are people */
.chat-head .faces img { width: 34px; height: 34px; border: 2px solid #fff; margin-left: -11px; background: #e5e8ec; }
.chat-head .faces img:first-child { margin-left: 0; }
.msg .from { display: block; font-size: 12.5px; font-weight: 700; color: var(--c-3); margin-bottom: 4px; }
.msg.bot p.think { min-height: 1.5em; }
.msg.bot p, .msg.bot .ex { animation: fadeup .3s ease both; }
.chat-head span.faces { display: flex; flex: none; }
.msg.bot p.think::after { content: "typing\2026"; font-size: 14px; color: var(--c-3); animation: blink 1.1s ease-in-out infinite; }

.msg .from { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--c-2); margin-bottom: 7px; }
.msg .from img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.msg .from b { color: var(--c-ink); font-weight: 700; margin-right: -3px; }

/* Desmos, typed: real keystroke frames laid over the calculator window */
.typed { position: absolute; z-index: 1; pointer-events: none; }
.typed img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: none; }
.typed img.on { opacity: 1; }

.msg.bot p.think::after { content: "typing\2026"; }
.thread { gap: 10px; }

/* single palette */
.btn-primary:hover { filter: none; background: var(--brand-edge); }
.cap { background: var(--ink); }
.logobar .logos img { filter: brightness(0); opacity: .55; }

/* hero: copy on the left, the showcase on the right (desktop) */
@media (min-width: 1001px) {
  .lead { max-width: calc(1380px + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); column-gap: clamp(32px, 4vw, 64px); align-items: center; padding-top: 56px; padding-bottom: 96px; }
  .lead-top { grid-column: 1; grid-row: 1 / span 2; text-align: left; }
  .lead h1.d { font-size: clamp(40px, 4.5vw, 66px); margin: 0; }
  .lead-top .lede { margin-left: 0; }
  .lead-top .cta-row { justify-content: flex-start; }
  .tabsrow { grid-column: 2; grid-row: 1; flex-direction: row; justify-content: space-between; margin: 0 0 14px; }
  .browser { grid-column: 2; grid-row: 2; max-width: none; width: 100%; }
  .tutorview { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 12px; padding: 16px 20px 20px; align-items: stretch; }
  .humans { order: -1; display: flex; align-items: baseline; gap: 12px; }
  .humans p { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
  .tutorview .chatwin { min-height: 0; }
  .msg { font-size: 14.5px; }
  .cap { font-size: 14.5px; left: 14px; bottom: 14px; }
}

/* hero copy: plain and quiet. No badge, no colored word, no glow. */
.by { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: 0; }
.lead h1.d { letter-spacing: -0.03em; line-height: 1.04; }
.lead-top .lede { margin-top: 18px; font-size: clamp(19px, 1.5vw, 22px); }
.lead-top .cta-row { gap: 26px; margin-top: 32px; }
.lead .btn-primary { box-shadow: none; border-radius: 8px; min-height: 54px; padding: 0 30px; }
.lead .btn-primary:hover { transform: none; }
.textlink { font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: text-decoration-color .15s ease; }
.textlink:hover { text-decoration-color: var(--ink); }
.lead-top .cta-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 760px) { .lead-top .cta-row { flex-direction: column; gap: 18px; } .lead-top .cta-row .btn { width: 100%; flex: none; } }

/* OnePrep type pass */
.lead h1.d { letter-spacing: -0.05em; line-height: 1.02; }
h2.d { letter-spacing: -0.045em; }
.step-copy h3, .feat h3, .humans p { letter-spacing: -0.03em; }
.btn { font-weight: 600; }
.by, .textlink, .tab, .nav a.link { font-weight: 500; }
.lead-top .lede { letter-spacing: -0.02em; }
.stats b, .price, .scores b, .chart .bigrow b { letter-spacing: -0.05em; }

/* the big line */
.panel h2.d.big { font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -0.035em; word-spacing: .06em; margin: 0 0 clamp(32px, 5vw, 64px); max-width: 13em; }
.panel .panel-top { align-items: start; }
.panel .panel-top .lede { max-width: 22em; font-size: clamp(18px, 1.5vw, 21px); }

/* brand: the current site's leaf wordmark, with the mascot beside it */
.brand { gap: 10px; }
.brand .word { height: 30px; }
.brand .face { width: 40px; height: 40px; }
@media (max-width: 760px) { .brand .word { height: 25px; } .brand .face { width: 34px; height: 34px; } }

/* the current site's animated logo: same crop rules as its own stylesheet. Plays once, still for reduced motion. */
.prepquest-logo { position: relative; display: block; flex: none; width: 180px; height: 34px; overflow: hidden; mix-blend-mode: multiply; }
.prepquest-logo img, .prepquest-logo video { position: absolute; left: -2.586%; top: 50%; transform: translateY(-50%); width: 103.448%; height: auto; max-width: none; pointer-events: none; }
.brand { gap: 4px; }
@media (max-width: 760px) { .prepquest-logo { width: 146px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .prepquest-logo video { display: none; } }

.lockup { display: flex; flex-direction: column; }
.tagline { margin: -1px 0 0 3px; font-size: 11.5px; font-weight: 500; letter-spacing: .01em; color: var(--ink-2); white-space: nowrap; line-height: 1.2; }
.nav { height: 76px; }
@media (max-width: 760px) { .tagline { font-size: 10px; margin-left: 2px; } .nav { height: 70px; } }
.brand { gap: 12px; }

/* the mascot's one spot: standing on the closing panel */
.closing { position: relative; margin-top: 96px; }
.closing .buddy { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); width: 132px; margin-bottom: -10px; pointer-events: none; }
@media (max-width: 760px) { .closing { margin-top: 80px; } .closing .buddy { width: 108px; margin-bottom: -8px; } }

/* alignment: the hero uses the same column as the top bar and every section below it */
@media (min-width: 1001px) {
  .lead { max-width: calc(1200px + 2 * var(--gutter)); grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); column-gap: clamp(32px, 4vw, 56px); }
  .lead h1.d { font-size: clamp(40px, 4.3vw, 62px); }
}
.lead h1.d { letter-spacing: -0.04em; line-height: 1.04; }

.scores img { aspect-ratio: 5 / 4.4; object-position: 50% 18%; }

.scores div { align-items: flex-start; }
.scores b i { display: block; margin-top: 8px; font-family: var(--font-t); font-style: normal; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.scores span { padding-top: 6px; }

/* scratch work over the math question: pen notes, highlighter, strike-throughs */
.screen { container-type: inline-size; }
.notes { position: absolute; inset: 0; z-index: 2; pointer-events: none; --pen: #2447c9; }
.notes .pad { position: absolute; left: 2.2%; top: 18%; width: 22.5%; font-family: "Caveat", cursive; font-weight: 600; font-size: 2.35cqw; line-height: 1.15; color: var(--pen); }
.notes p { margin: 0 0 .5em; white-space: nowrap; clip-path: inset(-20% 100% -20% 0); transition: clip-path .1s linear; }
.notes p.on { clip-path: inset(-20% 0 -20% 0); transition: clip-path .85s cubic-bezier(.3,0,.5,1); }
.notes p.in { padding-left: 1.4em; }
.notes small { display: block; font-family: var(--font-t); font-size: .42em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a94a3; margin-bottom: .15em; }
.notes .frac { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; line-height: 1; font-size: .86em; }
.notes .frac b { font-weight: 600; padding: 0 .2em; }
.notes .frac b:first-child { border-bottom: .09em solid var(--pen); padding-bottom: .06em; margin-bottom: .06em; }
.notes .ans { display: inline-block; margin-top: .25em; padding: .08em .5em .12em; font-size: 1.22em; border: .08em solid var(--pen); border-radius: .4em; transform: rotate(-1.5deg); }
.notes .hl { position: absolute; border-radius: .25cqw; background: #ffe45c; mix-blend-mode: multiply; transform: scaleX(0); transform-origin: 0 50%; transition: transform .1s linear; }
.notes .hl.on { transform: scaleX(1); transition: transform .5s cubic-bezier(.4,0,.2,1); }
.notes .strike { position: absolute; height: .28cqw; margin-top: -.14cqw; border-radius: 1cqw; background: var(--pen); transform: scaleX(0) rotate(-2deg); transform-origin: 0 50%; transition: transform .1s linear; }
.notes .strike.on { transform: scaleX(1) rotate(-2deg); transition: transform .4s cubic-bezier(.4,0,.2,1) var(--sd, 0s); }

/* highlighter lets the text show through */
.notes .hl { background: rgba(255, 221, 51, .5); mix-blend-mode: normal; }
/* tutors line: one sentence, one style */
.humans p { font-family: var(--font-t); font-weight: 400; font-size: 16px; letter-spacing: 0; line-height: 1.4; color: var(--ink-2); margin: 0; }
.humans p b { font-weight: 600; color: var(--ink); }
@media (min-width: 1001px) { .humans { display: block; } .humans p { font-size: 16px; } }

/* step cards: three small analytics views. One accent, gray for the rest, text in ink. */
.stage { height: 318px; padding: 22px; }
.ui.viz { --mute: #e6eaee; height: 100%; border-radius: 14px; padding: 18px 18px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 14px 28px -18px rgba(0,0,0,.3); display: flex; flex-direction: column; }
.viz-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--c-ink); }
.viz-head em { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c-3); border: 1px solid #e3e7eb; border-radius: 5px; padding: 2px 6px; }
.viz-big { margin: 14px 0 0; font-family: var(--font-d); font-weight: 600; font-size: 46px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.viz-big small { font-family: var(--font-t); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--c-2); margin-left: 10px; }
.scale { position: relative; height: 6px; border-radius: 3px; background: var(--mute); margin: 22px 6px 0; }
.scale .band { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--brand); opacity: .45; }
.scale .dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2.5px #fff; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.5,.5,1) .5s; }
.scale .goal { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -2px; background: var(--c-ink); border-radius: 1px; }
.in .scale .dot { transform: scale(1); }
.scale-ax { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 10.5px; color: var(--c-3); font-variant-numeric: tabular-nums; }
.rows { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rows li { display: grid; grid-template-columns: 112px 1fr 34px; align-items: center; gap: 10px; font-size: 12px; color: var(--c-2); }
.rows li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows li > i { display: block; height: 8px; border-radius: 4px; background: var(--mute); overflow: hidden; }
.rows u { display: block; height: 100%; width: 0; border-radius: 4px; background: #b9c2cc; transition: width .9s cubic-bezier(.3,.8,.3,1) var(--dl, 0s); }
.in .rows u { width: var(--w); }
.rows b { text-align: right; font-weight: 600; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.rows.skills { margin-top: 18px; gap: 13px; }
.rows .focus u { background: var(--brand); }
.rows .focus span { color: var(--c-ink); font-weight: 600; }
.viz-note { display: flex; align-items: center; gap: 7px; margin: auto 0 0; font-size: 12.5px; font-weight: 600; color: var(--c-ink); }
.viz-note i { width: 9px; height: 9px; border-radius: 3px; background: var(--brand); }
.viz .line { display: block; width: 100%; height: auto; margin-top: auto; overflow: visible; }
.line .grid line { stroke: #edf0f3; stroke-width: 1; }
.line text { font-family: var(--font-t); font-size: 9.5px; fill: #9099a6; font-variant-numeric: tabular-nums; }
.line .ylab text { text-anchor: end; }
.line .area { fill: var(--brand); opacity: 0; transition: opacity .6s ease .9s; }
.in .line .area { opacity: .1; }
.line .trace { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.4,0,.2,1) .2s; }
.in .line .trace { stroke-dashoffset: 0; }
.line .pts circle { fill: var(--brand); stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .3s ease 1.1s; }
.in .line .pts circle { opacity: 1; }
.line .val { font-size: 11px; font-weight: 600; fill: #121a24; opacity: 0; transition: opacity .3s ease 1.2s; }
.line .val.end { font-size: 13px; }
.in .line .val { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rows u { width: var(--w); } .scale .dot { transform: scale(1); } .line .trace { stroke-dashoffset: 0; } .line .pts circle, .line .val { opacity: 1; } .line .area { opacity: .1; } }

/* founders: a fun fact slides up over the photo on hover, focus or tap */
.scores li { outline-offset: 3px; }
.scores figure { position: relative; margin: 0; overflow: hidden; }
.scores figure img { display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.scores figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 24px 22px; background: linear-gradient(to top, rgba(10,20,14,.88) 40%, rgba(10,20,14,0)); color: #fff; font-family: var(--font-d); font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.02em; line-height: 1.15; opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.scores figcaption small { display: block; margin-bottom: 6px; font-family: var(--font-t); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--panel-hi); }
.scores li:hover figcaption, .scores li:focus figcaption, .scores li:focus-within figcaption { opacity: 1; transform: none; }
.scores li:hover figure img, .scores li:focus figure img { transform: scale(1.04); }
@media (hover: none) { .scores figcaption { opacity: 1; transform: none; } }

/* team panel: College Hall behind a deep green wash */
.panel.penn { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(420px, 46vw, 600px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(120px, 14vw, 200px); background: #0e2a1c url("/mint/assets/college-hall-1900.jpg") 70% 30% / cover no-repeat; }
.panel.penn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,34,22,.96) 18%, rgba(10,34,22,.72) 55%, rgba(10,34,22,.45)), linear-gradient(to right, rgba(10,34,22,.75), rgba(10,34,22,0) 70%); }
.panel.penn h2.d.big { margin-bottom: 22px; }
.panel.penn .lede { max-width: 30em; color: #dbe7df; font-size: clamp(18px, 1.5vw, 21px); }
.panel.penn .who { margin: 14px 0 0; font-size: 15px; color: var(--panel-2); }
.panel.penn .credit { position: absolute; right: 18px; top: 14px; margin: 0; font-size: 11.5px; color: rgba(241,247,243,.6); }
:root[data-theme="blue"] .panel.penn { background-color: #0b1f3a; }
:root[data-theme="blue"] .panel.penn::before { background: linear-gradient(to top, rgba(9,22,42,.96) 18%, rgba(9,22,42,.72) 55%, rgba(9,22,42,.45)), linear-gradient(to right, rgba(9,22,42,.75), rgba(9,22,42,0) 70%); }
@media (max-width: 760px) { .panel.penn .credit { position: static; margin-top: 22px; } }

/* language switcher, and looser type for scripts that tight tracking hurts */
.lang { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2347594e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 11px center / 10px no-repeat; font: 500 14.5px var(--font-t); color: var(--ink); cursor: pointer; }
.lang:hover { border-color: var(--ink-3); }
.tagline { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.lockup { min-width: 0; max-width: 300px; }
html:lang(zh) .d, html:lang(hi) .d, html:lang(ko) .d, html:lang(zh) .lead h1.d, html:lang(hi) .lead h1.d, html:lang(ko) .lead h1.d, html:lang(zh) .panel h2.d.big, html:lang(hi) .panel h2.d.big, html:lang(ko) .panel h2.d.big { letter-spacing: -0.01em; line-height: 1.22; font-weight: 600; word-spacing: 0; }
html:lang(zh) .step-copy h3, html:lang(hi) .step-copy h3, html:lang(ko) .step-copy h3, html:lang(zh) .kicker, html:lang(hi) .kicker, html:lang(ko) .kicker { letter-spacing: 0; }
html:lang(ko) body, html:lang(zh) body { word-break: keep-all; }
html:not(:lang(en)) .lead h1.d { font-size: clamp(36px, 3.7vw, 54px); }
html:not(:lang(en)) .stats span { font-size: 16px; }
@media (max-width: 760px) { .lang { height: 38px; padding: 0 24px 0 9px; font-size: 13.5px; max-width: 92px; background-position: right 8px center; } .nav .btn { padding: 0 12px; } .lockup { max-width: 150px; } .tagline { font-size: 9.5px; } .nav { gap: 8px; } .nav-end { gap: 8px; } }

/* results: a titled block, not a loose strip */
.statcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px) clamp(22px, 3.4vw, 48px); }
.statcard .stats li { padding-top: 0; padding-bottom: 0; }
.logobar { padding-bottom: 104px; }
.p-hero h1.d { font-size: clamp(38px, 4.4vw, 62px); }
.p-hero .kicker { color: var(--accent); }
@media (max-width: 760px) { .lang { max-width: 84px; } .nav .btn { padding: 0 10px; font-size: 14px; } }

/* slimmer top bar; hero weighted to the copy, with a smaller showcase */
.nav { height: 62px; }
.prepquest-logo { width: 150px; height: 28px; }
.tagline { font-size: 10.5px; margin-top: -2px; }
.nav .btn { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.lang { height: 36px; }
.nav a.link { font-size: 14.5px; }
@media (min-width: 1001px) {
  .lead { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(40px, 5vw, 80px); padding-top: 72px; padding-bottom: 104px; }
  .lead h1.d { font-size: clamp(48px, 5.6vw, 84px); line-height: 1; }
  html:not(:lang(en)) .lead h1.d { font-size: clamp(40px, 4.3vw, 62px); }
  .lead-top .lede { font-size: clamp(20px, 1.7vw, 24px); margin-top: 22px; }
  .lead-top .cta-row { margin-top: 36px; }
  .lead .btn-primary { min-height: 58px; padding: 0 34px; font-size: 18px; }
  .textlink { font-size: 18px; }
  .by { font-size: 16px; margin-bottom: 20px; }
  .tabsrow { margin-bottom: 12px; }
  .tabsrow .kicker { font-size: 12px; }
  .tab { padding: 7px 15px; font-size: 14px; }
  .chrome { height: 34px; } .chrome span { font-size: 11.5px; min-width: 180px; padding: 2px 10px; } .chrome i { width: 9px; height: 9px; }
  .tutorview { padding: 12px 14px 14px; gap: 8px; }
  .humans p { font-size: 14px; }
  .chat-head { padding: 9px 14px; } .chat-head .faces img { width: 28px; height: 28px; } .chat-head b { font-size: 14px; } .chat-head span:not(.tag) { font-size: 12px; }
  .thread { padding: 12px 12px 6px; gap: 8px; } .msg { font-size: 13.5px; } .msg.bot { padding: 10px 12px; } .msg .ex { font-size: 13px; padding: 7px 10px; }
  .ask { margin: 8px 10px 0; } .ask input { height: 34px; font-size: 14px; } .send { width: 34px; height: 34px; }
  .chips { padding: 8px 10px 10px; } .chips button { min-height: 28px; font-size: 12.5px; padding: 0 10px; }
  .cap { font-size: 13.5px; padding: 8px 12px; }
}
@media (max-width: 760px) { .nav { height: 60px; } .prepquest-logo { width: 132px; height: 26px; } .tagline { font-size: 9px; } }

/* green options, previewed with ?g=name (see greens.html). The default (no ?g) is "wash". */
:root[data-green="white"]   { --bg: #ffffff; --tint: #eaf7e4; --tint-2: #cfeebd; --line: #e2ebdc; --line-2: #cbd9c3; }
:root[data-green="lime"]    { --bg: #ffffff; --tint: #f1f9dc; --tint-2: #dff2ae; --line: #e4ead8; --line-2: #cdd6bd; --brand: #c3f060; --brand-ink: #12241a; --brand-edge: #b2e345; --accent: #2f7d1f; --panel-hi: #c3f060; }
:root[data-green="sage"]    { --bg: #eef2ea; --tint: #e0e8da; --tint-2: #c8d6bf; --line: #d6dfcf; --line-2: #bfcbb6; --brand: #10b981; --brand-ink: #04231a; --brand-edge: #0ea371; --accent: #0b6b4c; --panel: #17352b; --panel-hi: #a7e8cf; }
:root[data-green="ink"]     { --bg: #f4faef; --tint: #e3f5d3; --tint-2: #c6f0a8; --brand: #12241a; --brand-ink: #ffffff; --brand-edge: #25392d; --accent: #0d7a3c; }
:root[data-green="emerald"] { --bg: #ffffff; --tint: #e8f6ef; --tint-2: #c8ead9; --line: #dfe9e3; --line-2: #c6d6cc; --brand: #047857; --brand-ink: #ffffff; --brand-edge: #03644a; --accent: #047857; --panel: #06382b; --panel-hi: #8ee0c0; }
.bare .lang { display: none; }

/* showcase a step larger */
@media (min-width: 1001px) {
  .lead { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); column-gap: clamp(36px, 4.4vw, 68px); }
  .lead h1.d { font-size: clamp(46px, 5.2vw, 78px); }
}

/* the hero fills the first screen, so the next section only appears on scroll */
@media (min-width: 1001px) {
  .lead { min-height: calc(100svh - 63px); align-content: center; padding-top: 40px; padding-bottom: 56px; }
}

/* centering: the copy lines up with the middle of the window itself, and the pair sits mid-screen */
@media (min-width: 1001px) {
  .lead { padding-top: 32px; padding-bottom: 32px; }
  .lead-top { grid-row: 2; align-self: center; }
  .lead::after { content: ""; grid-column: 2; grid-row: 3; height: 55px; }   /* balances the tab row above the window */
  .lead { row-gap: 0; }
}

/* results: two real charts. One hue (light = start, strong = now), values in ink, thin bars. */
.res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.rescard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 2.8vw, 38px); display: flex; flex-direction: column; }
.rescard .kicker { color: var(--ink-2); }
.resbig { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 0; }
.resbig b { font-family: var(--font-d); font-weight: 500; font-size: clamp(72px, 8.4vw, 124px); letter-spacing: -0.055em; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.resbig span { font-size: 20px; color: var(--ink-2); }
.gain { list-style: none; margin: auto 0 0; padding: 30px 0 0; display: grid; gap: 14px; }
.gain li { display: grid; grid-template-columns: 168px 1fr 52px; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.gain li > i, .pairs i { display: block; height: 10px; border-radius: 5px; }
.gain li > i { background: var(--tint); }
.gain u, .pairs u { display: block; height: 100%; width: 0; border-radius: 5px; transition: width 1s cubic-bezier(.3,.8,.3,1) var(--dl, 0s); }
.gain u { background: var(--tint-2); }
.gain .top u { background: var(--brand); }
.gain .top span { color: var(--ink); font-weight: 600; }
.in .gain u, .in .pairs u { width: var(--w); }
.gain b, .pairs b { font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.reshead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legend { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.legend i { width: 11px; height: 11px; border-radius: 3px; }
.legend i.b { margin-left: 10px; }
.legend .a, .pairs .a u { background: var(--tint-2); }
.legend .b, .pairs .b u { background: var(--brand); }
.pairs { list-style: none; margin: auto 0 0; padding: 30px 0 0; display: grid; gap: 22px; }
.pairs li { display: grid; grid-template-columns: 84px 1fr; row-gap: 6px; align-items: center; }
.pairs strong { grid-row: 1 / span 2; font-family: var(--font-d); font-weight: 500; font-size: 26px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pairs div { display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 12px; font-size: 15px; }
.pairs i { background: var(--tint); min-width: 0; }
.resfoot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px; margin: 26px 2px 0; font-size: 16px; color: var(--ink-2); }
.resfoot b { font-family: var(--font-d); font-weight: 500; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); margin-right: 4px; font-variant-numeric: tabular-nums; }
.resfoot em { font-style: normal; }
.resfoot .src { margin-left: auto; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 1000px) { .res { grid-template-columns: 1fr; } .resfoot .src { margin-left: 0; flex-basis: 100%; } }
@media (max-width: 760px) { .gain li { grid-template-columns: 1fr 44px; } .gain li > i { grid-column: 1 / -1; grid-row: 2; } .gain li b { grid-row: 1; grid-column: 2; } .pairs li { grid-template-columns: 70px 1fr; } }
@media (prefers-reduced-motion: reduce) { .gain u, .pairs u { width: var(--w); } }

/* results section variants, previewed with ?r=b|c|d (see results.html). Default is a. */
.resv { display: none; }
:root:not([data-res]) .resv[data-v="a"], :root[data-res="a"] .resv[data-v="a"], :root[data-res="b"] .resv[data-v="b"], :root[data-res="c"] .resv[data-v="c"], :root[data-res="d"] .resv[data-v="d"] { display: block; }
.resv[data-v="a"] > .d { margin-bottom: 44px; }
/* b: one giant number */
.hero-stat { text-align: center; }
.hero-stat .kicker { color: var(--accent); }
.giant { margin: 6px 0 0; font-family: var(--font-d); font-weight: 500; font-size: clamp(140px, 22vw, 320px); letter-spacing: -0.07em; line-height: .86; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-stat h2.d { max-width: 16em; margin: 18px auto 0; font-size: clamp(26px, 3vw, 40px); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.trio li { padding: 26px 28px 0; }
.trio li:first-child { padding-left: 0; }
.trio li + li { border-left: 1px solid var(--line-2); }
.trio b { display: block; font-family: var(--font-d); font-weight: 500; font-size: clamp(36px, 4vw, 54px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.trio span { display: block; margin-top: 10px; color: var(--ink-2); }
/* c: before and after, on the dark panel */
.panel.bands h2.d { font-size: clamp(34px, 4.6vw, 64px); }
.panel.bands .lede { margin-top: 14px; }
.panel.bands ul { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--panel-line); }
.panel.bands li { padding: 28px 28px 4px; }
.panel.bands li:first-child { padding-left: 0; }
.panel.bands li + li { border-left: 1px solid var(--panel-line); }
.panel.bands li span { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--panel-2); }
.panel.bands li p { display: flex; align-items: baseline; gap: 14px; margin: 12px 0 0; font-family: var(--font-d); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.panel.bands li i { font-style: normal; font-size: clamp(30px, 3.4vw, 46px); color: var(--panel-2); }
.panel.bands li em { font-style: normal; font-size: 24px; letter-spacing: 0; color: var(--panel-2); }
.panel.bands li b { font-weight: 500; font-size: clamp(60px, 7.6vw, 108px); color: var(--panel-hi); }
.panel.bands .src { margin: 34px 0 0; font-size: 13.5px; color: var(--panel-2); }
/* d: a staircase */
.stairs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.stairs .lede { margin-top: 18px; max-width: 24em; }
.stairs .src { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-3); }
.stairs ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: clamp(300px, 34vw, 440px); list-style: none; margin: 0; padding: 0; }
.stairs li { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.stairs li b { font-family: var(--font-d); font-weight: 500; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stairs li.top b { font-size: clamp(44px, 5.6vw, 84px); color: var(--accent); }
.stairs li i { display: block; height: 0; border-radius: 8px 8px 0 0; background: var(--tint-2); transition: height 1s cubic-bezier(.3,.8,.3,1) var(--dl, 0s); }
.stairs li.top i { background: var(--brand); }
.in.stairs li i { height: calc(var(--h) * .72); }
.stairs li span { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .trio, .panel.bands ul { grid-template-columns: 1fr; } .trio li, .trio li:first-child, .panel.bands li, .panel.bands li:first-child { padding: 22px 0; } .trio li + li, .panel.bands li + li { border-left: 0; border-top: 1px solid var(--line-2); } .panel.bands li + li { border-top-color: var(--panel-line); } .stairs { grid-template-columns: 1fr; align-items: start; } .stairs ol { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .stairs li i { height: calc(var(--h) * .72); } }

/* staircase: the copy sits level with the middle of the chart */
@media (min-width: 901px) { .stairs { align-items: center; } }

/* step number in the corner of each card */
.step { position: relative; }
.step-copy { position: relative; padding-right: 76px; }
.stepno { position: absolute; right: 22px; bottom: 18px; font-family: var(--font-d); font-weight: 500; font-size: 64px; letter-spacing: -0.05em; line-height: 1; color: var(--tint-2); font-variant-numeric: tabular-nums; }
.step-copy h3 { margin-top: 0; }

/* step number in the top-left corner of each card, above the chart */
.stage { height: 352px; padding-top: 58px; }
.step-copy { padding-right: 26px; }
.stepno { right: auto; bottom: auto; left: 24px; top: 14px; font-size: 32px; letter-spacing: -0.04em; color: var(--accent); }
.step-copy { position: static; }

/* section rhythm: equal space above and below, and every other section on a white band with hairlines */
.section { padding: 112px 0; }
#results, #scores, #pricing { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logobar { padding-bottom: 96px; }
#scores .scores li, #pricing .plan:not(.feature) { background: var(--bg); }
@media (max-width: 760px) { .section { padding: 72px 0; } .logobar { padding-bottom: 64px; } }

.by u, .panel h2.d.big u { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .16em; }
.by u { text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* a phone beside the showcase window, showing the real app at phone size (desktop only) */
.phone { display: none; }
@media (min-width: 1001px) {
  .phone { display: block; grid-column: 2; grid-row: 2; align-self: end; justify-self: end; z-index: 7; width: 132px; margin: 0 calc(-1 * min(58px, var(--gutter) - 10px)) -34px 0; padding: 6px; border-radius: 24px; background: #101612; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 24px 44px -18px rgba(10,30,18,.55); pointer-events: none; }
  .phone img { display: block; width: 100%; height: auto; border-radius: 18px; }
  .phone::before { content: ""; position: absolute; left: 50%; top: 11px; width: 34px; height: 9px; margin-left: -17px; border-radius: 6px; background: #101612; }
}

/* "Built by Ivy League students": a real line of the hero, not a caption */
.by { font-family: var(--font-d); font-size: clamp(20px, 1.9vw, 27px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); margin-bottom: 22px; }
.by u { color: var(--accent); text-decoration-thickness: 2.5px; text-underline-offset: 6px; }
@media (max-width: 760px) { .by { font-size: 19px; margin-bottom: 16px; } }


/* entrance: the hero assembles itself on load. Lines land one at a time, then the button, then the window rises in. */
.lead h1 .ln { display: inline-block; }
@keyframes pq-slam { from { opacity: 0; transform: translateY(.42em) scale(1.05); filter: blur(16px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes pq-slide { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pq-pop { 0% { opacity: 0; transform: scale(.82); } 62% { opacity: 1; transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes pq-rise { 0% { opacity: 0; transform: translateY(72px) scale(.955); } 70% { opacity: 1; transform: translateY(-5px) scale(1.004); } 100% { opacity: 1; transform: none; } }
@keyframes pq-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.topbar .nav { animation: pq-drop .5s ease both; }
.lead .by { animation: pq-slide .6s cubic-bezier(.2,.8,.2,1) .1s both; }
.lead h1 .ln { animation: pq-slam .8s cubic-bezier(.2,.8,.2,1) .25s both; }
.lead h1 .ln + .ln { animation-delay: .43s; }
.lead-top .lede { animation: pq-slide .65s cubic-bezier(.2,.8,.2,1) .72s both; }
.lead .btn-primary { animation: pq-pop .6s cubic-bezier(.2,.8,.2,1) .92s both; }
.lead .textlink { animation: pq-slide .5s ease 1.08s both; }
.lead .tabsrow { animation: pq-slide .6s ease .95s both; }
.lead .browser { animation: pq-rise .95s cubic-bezier(.2,.8,.2,1) .55s both; transform-origin: 50% 100%; }

/* logo: the animation blends into the bar, so nothing between the logo and the bar may isolate it */
.topbar .nav { animation: none; }
.topbar .nav-links, .topbar .nav-end { animation: pq-drop .5s ease both; }
.topbar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }

.prepquest-logo video, .prepquest-logo img:not(.final) { filter: brightness(1.06) contrast(1.08); }
.prepquest-logo.done { mix-blend-mode: normal; overflow: visible; }
.prepquest-logo img.final { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: auto; height: 88%; max-width: none; filter: none; }

/* parents: gain chart as the staircase, in a card */
.gaincard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 2.6vw, 34px); }
.stairs.solo { display: block; }
.stairs.solo .kicker { color: var(--ink-2); margin-bottom: 8px; }
.stairs.solo ol { height: clamp(260px, 27vw, 340px); }
/* parent portal */
#portal { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.portal .kicker { color: var(--accent); margin-bottom: 14px; }
.portal .lede { margin-top: 16px; max-width: 26em; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 17px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.3 8.4l2.4 2.4 5-5.6' fill='none' stroke='%2306240f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dash { --c-ink: #121a24; --c-2: #5a6472; --c-3: #9099a6; --mute: #e6eaee; background: #fff; color: var(--c-ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 24px 26px 26px; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--c-2); }
.dash-head b { display: block; font-size: 17px; color: var(--c-ink); }
.dash-head em { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--c-3); border: 1px solid #e3e7eb; border-radius: 5px; padding: 2px 6px; }
.dash-score { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 22px; }
.dash-score small { font-size: 13px; color: var(--c-2); }
.dash-score p { margin: 4px 0 0; font-family: var(--font-d); font-weight: 500; font-size: 62px; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.dash-score p i { font-family: var(--font-t); font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--accent); margin-left: 12px; }
.dash-score svg { width: 42%; height: auto; overflow: visible; }
.dash-score .area { fill: var(--brand); opacity: .12; }
.dash-score .trace { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s ease .2s; }
.in .dash-score .trace { stroke-dashoffset: 0; }
.dash-score circle { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.dash-week { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 22px 0 0; padding: 18px 0; border-top: 1px solid #edf0f3; border-bottom: 1px solid #edf0f3; }
.dash-week b { display: block; font-family: var(--font-d); font-weight: 500; font-size: 24px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-week span { font-size: 13px; color: var(--c-2); }
.dash .rows li { grid-template-columns: 130px 1fr 40px; font-size: 13.5px; }
@media (max-width: 1000px) { .portal { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .dash-score p { font-size: 48px; } .dash-score p i { display: block; margin: 6px 0 0; } .dash-week b { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .dash-score .trace { stroke-dashoffset: 0; } }

/* parents: the portal is the first screen, and it assembles itself on load */
.p-first { background: none; border: 0; }
.p-first .portal { min-height: calc(100svh - 63px); padding: 40px 0 56px; align-items: center; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
.p-first h1.d { font-size: clamp(42px, 4.9vw, 72px); letter-spacing: -0.04em; line-height: 1.02; }
.p-first h1 .ln { display: inline-block; animation: pq-slam .8s cubic-bezier(.2,.8,.2,1) .25s both; }
.p-first h1 .ln + .ln { animation-delay: .43s; }
.p-first .kicker { animation: pq-slide .6s cubic-bezier(.2,.8,.2,1) .1s both; }
.p-first .lede { animation: pq-slide .65s cubic-bezier(.2,.8,.2,1) .7s both; }
.p-first .ticks li { animation: pq-slide .5s ease both; }
.p-first .ticks li:nth-child(1) { animation-delay: .85s; } .p-first .ticks li:nth-child(2) { animation-delay: .95s; } .p-first .ticks li:nth-child(3) { animation-delay: 1.05s; } .p-first .ticks li:nth-child(4) { animation-delay: 1.15s; }
.p-first .btn-primary { animation: pq-pop .6s cubic-bezier(.2,.8,.2,1) 1.25s both; }
.p-first .cta-note { animation: pq-slide .5s ease 1.4s both; }
.p-first .dash { animation: pq-rise .95s cubic-bezier(.2,.8,.2,1) .55s both; transform-origin: 50% 100%; }
@keyframes pq-draw { to { stroke-dashoffset: 0; } }
@keyframes pq-grow { from { width: 0; } to { width: var(--w); } }
@keyframes pq-fade { from { opacity: 0; } to { opacity: 1; } }
.p-first .dash-score .trace { transition: none; animation: pq-draw 1.1s ease 1.25s both; }
.p-first .dash-score .area, .p-first .dash-score circle { animation: pq-fade .5s ease 2.1s both; }
.p-first .dash-week li { animation: pq-slide .5s ease both; }
.p-first .dash-week li:nth-child(1) { animation-delay: 1.35s; } .p-first .dash-week li:nth-child(2) { animation-delay: 1.47s; } .p-first .dash-week li:nth-child(3) { animation-delay: 1.59s; }
.p-first .rows u { transition: none; width: var(--w); animation: pq-grow .9s cubic-bezier(.3,.8,.3,1) both; animation-delay: calc(1.7s + var(--dl, 0s)); }
.p-gain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.p-gain .kicker { color: var(--accent); margin-bottom: 16px; }
.p-gain .lede { margin-top: 18px; max-width: 27em; }
#gain { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 1000px) { .p-first .portal { grid-template-columns: 1fr; min-height: 0; padding: 28px 0 64px; } .p-gain { grid-template-columns: 1fr; } }

/* parents first screen sits on the page color, like the landing hero */
#portal.p-first { background: none; border: 0; }
/* Students | Parents switch in the top bar of both pages */
.brand { margin-right: 0; }
.aud { display: inline-flex; gap: 2px; padding: 3px; margin-right: auto; border-radius: var(--r-pill); background: var(--tint); animation: pq-drop .5s ease both; }
.aud a { padding: 6px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.aud a:hover { color: var(--ink); }
.aud a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(18,36,26,.14); }
.nav { gap: 22px; }
@media (max-width: 1100px) { .nav-links { gap: 18px; } }
@media (max-width: 760px) {
  .nav { height: auto; flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .brand { margin-right: auto; }
  .aud { order: 5; flex: 1 1 100%; margin: 0; }
  .aud a { flex: 1; text-align: center; padding: 8px 0; }
}

@keyframes pq-tint { from { opacity: 0; } to { opacity: .12; } }
.p-first .dash-score .area { animation: pq-tint .5s ease 2.1s both; }

/* closing panel without the mascot */
.closing { margin-top: 0; }
/* language picker: a quiet pill with a globe */
.lang { height: 36px; padding: 0 30px 0 36px; border: 0; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--ink);
  background-color: var(--tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2312241a' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.2'/%3E%3Cpath d='M2.8 10h14.4M10 2.8c2.3 2.2 3.4 4.6 3.4 7.2s-1.1 5-3.4 7.2c-2.3-2.2-3.4-4.6-3.4-7.2s1.1-5 3.4-7.2z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2347594e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat; background-position: 11px center, right 12px center; background-size: 17px, 9px; transition: background-color .15s ease; }
.lang:hover { background-color: var(--tint-2); }
@media (max-width: 760px) { .lang { max-width: none; padding: 0 26px 0 34px; height: 38px; } }

/* hero proportions (2026-11-10): one clear headline, a quieter eyebrow, a showcase big enough to read.
   Headline tracking eased so letters stop touching; buttons share the nav button's radius; nav controls share one height. */
@media (min-width: 1001px) {
  .lead { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
  .lead h1.d { font-size: clamp(46px, 4.6vw, 68px); letter-spacing: -0.03em; line-height: 1.04; }
  html:not(:lang(en)) .lead h1.d { font-size: clamp(38px, 3.9vw, 56px); }
  .by { font-size: clamp(17px, 1.35vw, 20px); margin-bottom: 16px; }
  .by u { text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .lead-top .lede { font-size: clamp(18px, 1.5vw, 22px); margin-top: 20px; }
  .lead-top .cta-row { margin-top: 32px; gap: 24px; }
  .lead .btn-primary { min-height: 52px; padding: 0 28px; font-size: 17px; border-radius: var(--r-btn); }
  .textlink { font-size: 17px; }
  .aud { height: 38px; align-items: stretch; }
  .aud a { display: inline-flex; align-items: center; padding: 0 14px; }
  .lang { height: 38px; }
}
/* the caption sits above the app's own bottom bar ("Question 1 of 10"), never on top of it */
.cap { bottom: calc(8% + 12px); }
@media (max-width: 760px) { .cap { bottom: calc(8% + 8px); } }

.panel h2.d.big u { text-decoration: none; font-style: italic; padding-right: .04em; }

/* pricing: billing period switch above three tiers */
.billing { display: inline-flex; gap: 2px; padding: 4px; margin: -12px 0 28px; border-radius: var(--r-pill); background: var(--tint); }
.billing button { border: 0; background: transparent; padding: 9px 18px; border-radius: var(--r-pill); font: 600 15px var(--font-t); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.billing button:hover { color: var(--ink); }
.billing button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.price b { font-weight: inherit; }
.lifetime { margin: 22px 2px 0; font-size: 16px; color: var(--ink-2); }
.lifetime b { color: var(--ink); font-weight: 600; }
.lifetime a { margin-left: 8px; font-weight: 600; color: var(--accent); text-underline-offset: 4px; }
#pricing .plan.feature { background: var(--surface); }
@media (max-width: 760px) { .billing { display: flex; } .billing button { flex: 1; padding: 9px 4px; font-size: 13.5px; } }

.panel h2.d.big u { font-style: normal; padding-right: 0; }
.lifetime a { white-space: nowrap; }

/* tab switch (2026-11-10): one green thumb slides between the tabs; the window dips out (.14s), resets camera, cursor
   and notes while hidden (.snap), then fades the new scene in (.26s). No camera swoop, no double exposure. */
.tabs.has-thumb { position: relative; isolation: isolate; }
.tabs .thumb { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: var(--r-pill); background: var(--brand); pointer-events: none; }
.tabs.ready .thumb { transition: transform .34s cubic-bezier(.3,.7,.2,1), width .34s cubic-bezier(.3,.7,.2,1); }
.tabs.has-thumb .tab, .tabs.has-thumb .tab[aria-selected="true"] { background: transparent; }
.screen .cam { transition: transform 1.1s cubic-bezier(.65,0,.2,1), opacity .26s ease; }
.screen .bar, .screen .tutorview { transition: opacity .26s ease; }
.screen.leaving .cam { opacity: 0; transition: transform 1.1s cubic-bezier(.65,0,.2,1), opacity .14s ease; }
.screen.leaving .bar, .screen.leaving .tutorview { opacity: 0; transition-duration: .14s; }
.screen.leaving .cap { opacity: 0; animation: none; }
.screen.snap .cam, .screen.snap .cam *, .screen.snap .tutorview, .screen.snap .bar, .screen.snap .bar i { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .tabs.ready .thumb { transition: none; } }

/* entrance, calmer (2026-11-10): one motion for the whole first screen, a short fade and rise on one easing.
   No blur, no scale, no overshoot; the copy and the window arrive together and everything settles in under a second.
   Redefining the keyframes also calms the parents first screen, which uses the same names. */
@keyframes pq-slam { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pq-slide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pq-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pq-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pq-drop { from { opacity: 0; } to { opacity: 1; } }
.topbar .nav-links, .topbar .nav-end, .aud { animation: pq-drop .4s ease both; }
.lead .by { animation: pq-slide .6s cubic-bezier(.2,.7,.2,1) 0s both; }
.lead h1 .ln { animation: pq-slam .7s cubic-bezier(.2,.7,.2,1) .06s both; }
.lead h1 .ln + .ln { animation-delay: .13s; }
.lead-top .lede { animation: pq-slide .6s cubic-bezier(.2,.7,.2,1) .22s both; }
.lead .btn-primary, .lead .textlink { animation: pq-pop .6s cubic-bezier(.2,.7,.2,1) .3s both; }
.lead .tabsrow { animation: pq-slide .6s cubic-bezier(.2,.7,.2,1) .14s both; }
.lead .browser { animation: pq-rise .8s cubic-bezier(.2,.7,.2,1) .1s both; }

/* results: say where the numbers come from, above the headline */
#results .stairs .kicker { color: var(--accent); margin: 0 0 14px; }

/* light green options, previewed with ?g=name (see greens.html) */
:root[data-green="mint"] { --bg: #effaf3; --tint: #dcf5e6; --tint-2: #b4ebcb; --line: #d5e9dc; --line-2: #bcd9c7; --brand: #2fd27a; --brand-ink: #04241a; --brand-edge: #2fd27a; --accent: #0b7a47; --panel: #10382a; --panel-hi: #b4ebcb; }
:root[data-green="pistachio"] { --bg: #f6f9e6; --tint: #eaf3c8; --tint-2: #d6e99a; --line: #e1e8c9; --line-2: #ccd6ad; --brand: #b5e550; --brand-ink: #1a2a06; --brand-edge: #b5e550; --accent: #4a7410; --panel: #24360f; --panel-hi: #d6e99a; }
:root[data-green="seafoam"] { --bg: #edf9f6; --tint: #d7f2ec; --tint-2: #a9e4d8; --line: #d0e7e1; --line-2: #b5d6ce; --brand: #22c9a5; --brand-ink: #03241d; --brand-edge: #22c9a5; --accent: #0a7461; --panel: #0f3a33; --panel-hi: #a9e4d8; }
:root[data-green="sagepale"] { --bg: #f2f6f0; --tint: #e3ebdf; --tint-2: #c9d9c3; --line: #d9e2d5; --line-2: #c2cfbd; --brand: #58c47a; --brand-ink: #06240f; --brand-edge: #58c47a; --accent: #2a6a44; --panel: #1b3527; --panel-hi: #c9d9c3; }
:root[data-green="fresh"] { --bg: #e8f7da; --tint: #d5f0bd; --tint-2: #b3e58d; --line: #cfe6bb; --line-2: #b6d59e; --brand: #22c55e; --brand-ink: #04240f; --brand-edge: #22c55e; --accent: #0c6b35; --panel: #123a22; --panel-hi: #b3e58d; }

/* pricing: what you save against paying monthly */
.billing button { display: inline-flex; align-items: center; gap: 8px; }
.billing button em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: var(--r-pill); background: var(--brand); color: var(--brand-ink); }
.plan h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 .save { font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 9px; border-radius: var(--r-pill); background: var(--brand); color: var(--brand-ink); }
.price .was { font-family: var(--font-t); font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-right: 10px; text-decoration-thickness: 1.5px; }
@media (max-width: 760px) { .billing { flex-wrap: wrap; } .billing button { flex: 1 1 45%; justify-content: center; padding: 9px 6px; } .billing button em { font-size: 10.5px; padding: 2px 6px; } }

.lifetime { text-align: center; margin-top: 28px; }
.lifetime a { margin-left: 0; font-size: 17px; }

/* parent portal example: a small app that walks through its sections */
.dash.tour { padding: 22px 24px 24px; }
.dtabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 0; border-bottom: 1px solid #edf0f3; }
.dtabs button { border: 0; background: none; padding: 9px 0 11px; font: 600 13.5px var(--font-t); color: var(--c-3); cursor: pointer; transition: color .2s ease; }
.dtabs button:hover { color: var(--c-2); }
.dtabs button[aria-selected="true"] { color: var(--c-ink); }
.dbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.dbar u { display: block; height: 100%; width: 0; background: var(--brand); }
.dviews { display: grid; margin-top: 20px; min-height: 212px; }
.dview { grid-area: 1 / 1; display: none; flex-direction: column; justify-content: space-between; gap: 18px; }
.dview.on { display: flex; animation: pq-slide .4s cubic-bezier(.2,.8,.2,1) both; }
.dash.tour .dash-score { margin-top: 0; }
.p-first .dash.tour .dash-score .trace { animation: none; stroke-dashoffset: 1; }
.dview.on .dash-score .trace { animation: pq-draw 1s ease .15s both !important; }
.p-first .dash.tour .dash-score .area { animation: none; opacity: 0; }
.dview.on .dash-score .area { animation: pq-tint .5s ease .9s both !important; }
.dview.on .dash-score circle { animation: pq-fade .4s ease .95s both; }
.goal { font-size: 13px; color: var(--c-2); }
.goal div { display: flex; justify-content: space-between; margin-bottom: 7px; }
.goal b { color: var(--c-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.goal > i { display: block; height: 8px; border-radius: 4px; background: var(--mute); overflow: hidden; }
.goal u { display: block; height: 100%; border-radius: 4px; background: var(--brand); width: var(--w); }
.dview.on .goal u { animation: pq-grow .9s cubic-bezier(.3,.8,.3,1) .3s both; }
.goal p { margin: 8px 0 0; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; height: 104px; font-size: 12px; color: var(--c-3); text-align: center; }
.days li { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.days i { display: block; height: var(--h); min-height: 4px; border-radius: 5px 5px 2px 2px; background: var(--mute); transform-origin: 50% 100%; }
.days .y i { background: var(--brand); }
.days .y { color: var(--c-ink); font-weight: 600; }
@keyframes pq-up { from { transform: scaleY(0); } to { transform: none; } }
.dview.on .days i { animation: pq-up .6s cubic-bezier(.3,.9,.3,1.15) both; }
.dview.on .days li:nth-child(2) i { animation-delay: .06s; } .dview.on .days li:nth-child(3) i { animation-delay: .12s; } .dview.on .days li:nth-child(4) i { animation-delay: .18s; } .dview.on .days li:nth-child(5) i { animation-delay: .24s; } .dview.on .days li:nth-child(6) i { animation-delay: .3s; } .dview.on .days li:nth-child(7) i { animation-delay: .36s; }
.dash.tour .dash-week { margin: 0; padding: 16px 0 0; border-bottom: 0; }
.p-first .dash.tour .dash-week li { animation: none; }
.dview.on .dash-week li { animation: pq-slide .45s ease both !important; }
.dview.on .dash-week li:nth-child(2) { animation-delay: .1s !important; } .dview.on .dash-week li:nth-child(3) { animation-delay: .2s !important; }
.dash.tour .rows.skills { margin: 0; gap: 12px; }
.p-first .dash.tour .rows u { animation: none; width: var(--w); }
.dview.on .rows u { animation: pq-grow .8s cubic-bezier(.3,.8,.3,1) both !important; animation-delay: var(--dl, 0s) !important; }
.dash.tour .viz-note { margin: 0; }
.tests { list-style: none; margin: 0; padding: 0; display: grid; }
.tests li { display: grid; grid-template-columns: 1fr auto 64px; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #edf0f3; font-size: 14.5px; }
.tests li:last-child { border-bottom: 0; }
.tests span { font-weight: 600; }
.tests small { display: block; font-size: 12.5px; font-weight: 400; color: var(--c-3); }
.tests em { font-style: normal; font-size: 13px; color: var(--c-2); font-variant-numeric: tabular-nums; }
.tests b { font-family: var(--font-d); font-weight: 500; font-size: 26px; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; }
.tests .last b { color: var(--accent); }
.dview.on .tests li { animation: pq-slide .45s ease both; }
.dview.on .tests li:nth-child(2) { animation-delay: .12s; } .dview.on .tests li:nth-child(3) { animation-delay: .24s; }
/* the matching point on the left lights up */
.p-first .ticks li { cursor: pointer; color: var(--ink-2); transition: color .25s ease; }
.p-first .ticks li::before { background-color: var(--tint-2); transition: background-color .25s ease; }
.p-first .ticks li.now { color: var(--ink); font-weight: 600; }
.p-first .ticks li.now::before { background-color: var(--brand); }
@media (max-width: 760px) { .dtabs button { font-size: 12.5px; } .tests li { grid-template-columns: 1fr 56px; } .tests em { display: none; } .dviews { min-height: 200px; } }

.p-first .cta-row { gap: 24px; }
.p-first .textlink { animation: pq-slide .5s ease 1.4s both; }

/* parents hero: the portal walk-through in a browser window */
.p-first .browser.ptour { max-width: none; width: 100%; animation: pq-rise .95s cubic-bezier(.2,.8,.2,1) .55s both; transform-origin: 50% 100%; }
.ptour .chrome { position: relative; }
.ptour .chrome em { position: absolute; right: 12px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #6b7480; border: 1px solid #d9dde2; border-radius: 5px; padding: 2px 6px; background: #fff; }
.pscreen { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; background: var(--bg); }
.pcam { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; transition: transform 1.2s cubic-bezier(.45,0,.15,1); will-change: transform; --s: 1; }
.pcam.scroll { transition-duration: 1.05s; transition-timing-function: cubic-bezier(.3,0,.2,1); }
.pcam img { display: block; width: 100%; height: auto; max-width: none; }
.pcam .cursor { transition: left .9s cubic-bezier(.5,0,.15,1), top .9s cubic-bezier(.5,0,.15,1), transform 1.2s cubic-bezier(.45,0,.15,1); }
.pscreen .cap { left: 14px; bottom: 14px; font-size: 14px; padding: 8px 12px; }
.p-first .ticks li { cursor: default; }
@media (max-width: 760px) { .ptour .chrome em { display: none; } .pscreen .cap { font-size: 12.5px; left: 8px; bottom: 8px; } }

/* the walk-through sits beside the copy, not on the row below */
.p-first .browser.ptour { grid-column: auto; grid-row: auto; margin: 0; }

/* chosen palette: Mint. A cooler light green; this is now the site's default. */
:root:not([data-theme="blue"]):not([data-green]) { --bg: #effaf3; --tint: #dcf5e6; --tint-2: #b4ebcb; --line: #d5e9dc; --line-2: #bcd9c7; --brand: #2fd27a; --brand-ink: #04241a; --brand-edge: #25c06d; --accent: #0b7a47; --panel: #10382a; --panel-hi: #b4ebcb; }

/* "Ivy League" in the hero line is a link down to the founders (#scores), with the team panel right below it */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#scores, #team { scroll-margin-top: 64px; }
.by a.ivy { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); transition: text-decoration-color .15s ease; }
.by a.ivy:hover { text-decoration-color: var(--accent); }

/* launch 2026-11-10: no Students / Parents switch yet, so the logo pushes the rest of the nav to the right */
.nav > .brand { margin-right: auto; }
@media (max-width: 760px) { .nav { flex-wrap: nowrap; height: 64px; padding-top: 0; padding-bottom: 0; gap: 10px; } .nav-end { gap: 8px; } }
@media (max-width: 420px) { .tagline { display: none; } .prepquest-logo { width: 120px; height: 24px; } }
@media (max-width: 380px) { .nav .lang { width: 54px; max-width: 54px; padding: 0; color: transparent; } .nav .lang option { color: #12241a; } .nav .btn { padding: 0 12px; } }
