/* SteadyExam — site motion and homepage blocks (loaded when motion is on). */
html.se-has-particles { background: var(--se-page-bg, #FFFFFF); }
html.se-has-particles body { background: transparent !important; }
#se-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.se-scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--se-accent, #FACC15); transform-origin: 0 50%; transform: scaleX(0); z-index: 99998; pointer-events: none; }
.js-motion .se-reveal { transform: translateY(22px); opacity: .25; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s ease; transition-delay: var(--d, 0ms); }
.js-motion .se-reveal.in { transform: none; opacity: 1; }
.se-tilt, .se-cardtest { transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }
.se-tilt:hover, .se-cardtest:hover { box-shadow: 0 18px 40px rgba(30, 30, 36, .12); }
.hl, .se-hl { background: var(--se-accent, #FACC15); color: var(--se-accent-ink, #1E1E24); padding: 0 .18em; border-radius: 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* reveal on scroll: content is visible at rest; JS only adds the motion */
.js-motion .reveal { transform: translateY(22px); opacity: .25; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s ease; transition-delay: var(--d, 0ms); }
.js-motion .reveal.in { transform: none; opacity: 1; }
.view.enter { animation: viewIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes viewIn { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* hero headline: rotating highlighted word */
.rot { display: inline-block; }
.sweep { background-image: linear-gradient(var(--se-accent, #FACC15), var(--se-accent, #FACC15)); background-repeat: no-repeat; background-size: 0% 100%; background-color: transparent; animation: sweep .7s .15s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes sweep { to { background-size: 100% 100%; } }
.rot .word-in { display: inline-block; animation: wordIn .45s cubic-bezier(.2,.7,.2,1), sweep .7s .15s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: #FFFFFF; border: 1px solid var(--se-line, #E2E2DC); border-radius: 14px; padding: 18px 20px; display: grid; gap: 2px; }
.stat b { font: 800 clamp(1.9rem, 4vw, 2.6rem) var(--se-font-display, sans-serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--se-muted, #55555F); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* question-type ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--se-line, #E2E2DC); background: #FFFFFF; padding-block: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 700; padding: 6px 14px; border: 1.5px solid var(--se-ink, #1E1E24); border-radius: 999px; }
.ticker-track span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--se-ink, #1E1E24); }
.ticker-track span:nth-child(3n)::before { background: var(--se-accent, #FACC15); border-color: var(--se-ink, #1E1E24); }
@keyframes tick { to { transform: translateX(-50%); } }

/* animated test-screen demo (plain exam look, like the real thing) */
.demo-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 40px; }
.demo { position: relative; background: #FFFFFF; border: 2px solid #111111; border-radius: 6px; font-family: Arial, Helvetica, sans-serif; color: #111111; overflow: hidden; box-shadow: 0 24px 60px rgba(30, 30, 36, .16); min-width: 0; }
.demo-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 2px solid #111111; font-size: 13px; }
.demo-top .who { display: grid; line-height: 1.2; } .demo-top .who small { color: #4A4A4A; }
.demo-top .tm { font-weight: 700; white-space: nowrap; }
.demo-top .tl { justify-self: end; text-decoration: underline; }
.demo-body { padding: 14px 16px 10px; font-size: 14px; display: grid; gap: 8px; }
.demo-ins { border: 1px solid #BDBDBD; padding: 6px 8px; }
.demo-q { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 8px; align-items: start; padding: 6px; }
.demo-q.cur { background: #EAF1FF; }
.demo-n { border: 1px solid #111111; border-radius: 3px; min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.demo-opts { display: grid; gap: 4px; margin-top: 4px; }
.demo-opt { border: 1px solid #BDBDBD; border-radius: 3px; padding: 5px 8px; display: flex; gap: 8px; align-items: center; transition: background .2s, border-color .2s; }
.demo-opt i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #111111; flex: 0 0 auto; }
.demo-opt.on { border-color: #111111; background: #EAF1FF; }
.demo-opt.on i { background: #111111; box-shadow: inset 0 0 0 2px #FFFFFF; }
.demo-flag { width: 26px; height: 26px; border: 1px solid #BDBDBD; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; color: #4A4A4A; transition: all .2s; }
.demo-flag.on { color: #C2410C; border-color: #C2410C; background: #FFF1E8; }
.demo-hl { transition: background .4s; } .demo-hl.on { background: #FFF176; }
.demo-nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; padding: 8px 12px; border-top: 2px solid #111111; font-size: 12px; }
.demo-nav b { margin-right: 6px; }
.demo-nav span { min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #BDBDBD; border-radius: 2px; transition: all .2s; }
.demo-nav span.ans { border-color: #111111; text-decoration: underline; text-decoration-thickness: 2px; }
.demo-nav span.cur { box-shadow: 0 0 0 2px #1A56DB; }
.demo-nav span.flag { position: relative; } .demo-nav span.flag::after { content: ""; position: absolute; top: -4px; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: #C2410C; }
.demo-nav .more { border: 1px solid #BDBDBD; padding: 2px 8px; border-radius: 3px; margin-left: 6px; }
.cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; pointer-events: none; transition: transform .9s cubic-bezier(.5,.1,.2,1); z-index: 2; }
.cursor::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(26, 86, 219, .25); transform: scale(0); }
.cursor.click::before { animation: clk .45s ease-out; }
@keyframes clk { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.demo-cap { display: grid; gap: 14px; }
.demo-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.demo-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--se-line, #E2E2DC); background: #FFFFFF; color: var(--se-muted, #55555F); transition: all .3s ease; }
.demo-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--se-ink, #1E1E24); flex: 0 0 auto; transition: background .3s; }
.demo-steps li.on { color: var(--se-ink, #1E1E24); border-color: var(--se-ink, #1E1E24); box-shadow: 4px 4px 0 var(--se-ink, #1E1E24); }
.demo-steps li.on::before { background: var(--se-accent, #FACC15); }
@media (max-width: 860px) { .demo-wrap { grid-template-columns: minmax(0, 1fr); } }

/* tilt + bubble pop */
.tilt { transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; will-change: transform; }
.tilt:hover { box-shadow: 0 18px 40px rgba(30, 30, 36, .12); }
.bubble { transition: transform .2s ease, background .2s ease, color .2s ease; }
.bubble:hover { transform: scale(1.08); }
.bubble.pop { animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
.need dd { transition: color .3s; } .need dd.flash { color: #1F7A4D; }
.faq details > p { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal { transform: none; opacity: 1; transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .sweep { animation: none; background-size: 100% 100%; }
  .view.enter, .rot .word-in, .bubble.pop, .faq details > p { animation: none; }
  .rot .word-in { background-size: 100% 100%; }
  .tilt, .bubble, .cursor { transition: none; }
}
.sec-head { display: grid; gap: 10px; max-width: 46rem; margin-bottom: 36px; }
.lede { font-size: 1.15rem; color: var(--se-muted, #55555F); max-width: 40rem; }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sheet { background: #FFFFFF; border: 1.5px solid var(--se-ink, #1E1E24); border-radius: 14px; padding: 24px; display: grid; gap: 16px; min-width: 0; box-shadow: 6px 6px 0 var(--se-ink, #1E1E24); }
.sheet-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bubbles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.bubble { width: 100%; max-width: 48px; aspect-ratio: 1; min-height: 40px; justify-self: center; padding: 0; border-radius: 50%; border: 2px solid var(--se-ink, #1E1E24); background: transparent; color: var(--se-ink, #1E1E24); font: 700 .88rem var(--se-font, monospace); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bubble[aria-pressed="true"] { background: var(--se-ink, #1E1E24); color: var(--se-accent, #FACC15); }
.need { display: grid; gap: 8px; margin: 0; }
.need div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--se-line, #E2E2DC); }
.need dt { color: var(--se-muted, #55555F); }
.need dd { margin: 0; font-family: var(--se-font, monospace); font-weight: 500; font-variant-numeric: tabular-nums; }
.small { font-size: .85rem; color: var(--se-muted, #55555F); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .bubbles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } .bubble { max-width: 52px; } }

/* modules table */
.modules { width: 100%; border-collapse: collapse; }
.modules th, .modules td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--se-line, #E2E2DC); vertical-align: top; }
.modules th { font-family: var(--se-font, monospace); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--se-muted, #55555F); font-weight: 500; }
.modules td:first-child { font-family: var(--se-font-display, sans-serif); font-weight: 800; font-size: 1.3rem; white-space: nowrap; }
.modules .num { font-family: var(--se-font, monospace); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tablewrap { overflow-x: auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--se-ink, #1E1E24); color: var(--se-accent, #FACC15); font: 800 1.1rem var(--se-font-display, sans-serif); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* tests */
.tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.test { background: #FFFFFF; border: 1px solid var(--se-line, #E2E2DC); border-radius: 14px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.test .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--se-font, monospace); font-size: .75rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--se-line, #E2E2DC); }
.chip--track { background: var(--se-accent, #FACC15); color: var(--se-accent-ink, #1E1E24); border-color: var(--se-accent, #FACC15); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters button { min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--se-ink, #1E1E24); background: transparent; color: var(--se-ink, #1E1E24); font: 700 .95rem var(--se-font, sans-serif); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--se-ink, #1E1E24); color: #FFFFFF; }

/* features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.feature { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--se-line, #E2E2DC); }
.feature svg { width: 26px; height: 26px; margin-top: 3px; }
.feature p { color: var(--se-muted, #55555F); }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: grid; max-width: 52rem; }
.faq details { border-top: 1px solid var(--se-line, #E2E2DC); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--se-font, monospace); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--se-muted, #55555F); max-width: 44rem; }

