:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f6f3ff;
  background: #211b46;
  font-synthesis: none;
  --lime: #c1fb7b;
  --lavender: #ccbaff;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 8% 10%, #6650b324, transparent 52%), radial-gradient(ellipse at 95% 65%, #8061ce14, transparent 45%);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 7px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 5; padding: 14px 18px; background: var(--lime); color: #211b46; border-radius: 8px; }
.skip-link:focus { top: 15px; }
.home-shell { max-width: 1160px; margin: auto; padding: 0 38px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid #8273ad33; }
.brand { display: inline-flex; border-radius: 8px; flex-shrink: 0; }
.brand img { display: block; width: 224px; max-width: 100%; height: auto; }
.header-note { color: #c4bbdf; font-size: .83rem; }
.welcome { text-align: center; padding: 49px 0 34px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 18px; font-size: .65rem; line-height: 1.6; font-weight: 700; letter-spacing: .17em; color: #c9c0e3; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #c1fb7b55; flex-shrink: 0; }
h1 { font-size: clamp(2rem, 4.6vw, 3.65rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.13; margin: 0 0 17px; }
h1 span { color: var(--lime); }
.welcome-copy { color: #d3cbe6; font-size: 1.05rem; line-height: 1.65; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: auto; }
.choice { --accent: var(--lime); position: relative; display: flex; flex-direction: column; min-width: 0; padding: 29px 30px 25px; background: #2d2657; border: 1px solid #766699; border-radius: 20px; text-decoration: none; box-shadow: 0 9px 0 #16112e55; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.teacher { --accent: var(--lavender); background: #30265a; }
.choice::before { content: ""; position: absolute; top: -1px; left: 30px; right: 30px; height: 3px; background: var(--accent); border-radius: 0 0 4px 4px; }
.choice-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.choice-icon { display: grid; place-items: center; width: 58px; height: 58px; color: var(--accent); background: #c1fb7b10; border: 1px solid #c1fb7b33; border-radius: 14px; }
.teacher .choice-icon { background: #b99aef14; border-color: #b99aef40; }
.choice-icon svg { width: 37px; height: 37px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.choice-label { font-size: .62rem; font-weight: 750; letter-spacing: .12em; color: var(--accent); text-align: right; }
h2 { font-size: 2.1rem; letter-spacing: -.04em; line-height: 1.15; margin: 0 0 12px; }
.choice > p { color: #d5cee9; font-size: .96rem; line-height: 1.7; margin: 0; max-width: 360px; }
.choice-preview { display: flex; align-items: center; min-height: 63px; margin: 23px 0 26px; border: 1px solid #8f7baf4d; border-radius: 10px; background: #211b466b; padding: 12px 17px; }
.student-preview { justify-content: space-between; gap: 12px; }
.binary { color: #d0f4ad; font: 600 1.02rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; letter-spacing: .02em; }
.preview-check { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #c1fb7b1a; color: var(--lime); flex-shrink: 0; }
.preview-check svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.teacher-preview { justify-content: space-between; gap: 12px; }
.teacher-preview > span { display: inline-flex; align-items: center; gap: 7px; font-size: .81rem; font-weight: 650; color: #e1d3ff; white-space: nowrap; }
.teacher-preview i { height: 7px; width: 7px; border-radius: 2px; background: #b8a4e6; }
.teacher-preview > span:nth-child(2) i { background: #bcdf9f; }
.teacher-preview > span:nth-child(3) i { background: #d6b998; }
.choice-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid #8f7baf4d; color: var(--accent); font-size: .91rem; font-weight: 740; min-height: 48px; }
.choice-action > svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform .18s ease; }
@media (hover: hover) { .choice:hover { transform: translateY(-4px); border-color: var(--accent); background: #372d64; } .choice:hover .choice-action > svg { transform: translateX(4px); } }
.choice:active { transform: translateY(1px); }
.return-note { display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; color: #c6bde0; font-size: .76rem; line-height: 1.7; margin: 28px 0 40px; }
.return-note svg { width: 18px; height: 18px; stroke: #b4a2d8; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0 26px; border-top: 1px solid #8273ad33; color: #aca2c9; font-size: .68rem; line-height: 1.7; }
@media (max-width: 740px) {
  .home-shell { padding: 0 23px; }
  .masthead { padding: 17px 0; }
  .brand img { width: 182px; }
  .header-note { font-size: .7rem; max-width: 130px; line-height: 1.6; text-align: right; }
  .welcome { padding: 37px 0 29px; }
  .eyebrow { font-size: .58rem; letter-spacing: .11em; gap: 7px; }
  .choices { grid-template-columns: 1fr; gap: 23px; max-width: 480px; }
  .choice { padding: 25px 25px 22px; }
  .choice-top { margin-bottom: 17px; }
  h2 { font-size: 1.9rem; }
  .choice > p { max-width: none; }
  .choice-preview { margin: 20px 0; }
  .return-note { max-width: 380px; margin: 27px auto 30px; align-items: flex-start; }
  .return-note svg { margin-top: 2px; }
}
@media (max-width: 380px) {
  .home-shell { padding: 0 17px; }
  .brand img { width: 162px; }
  .header-note { display: none; }
  .choice { padding: 23px 21px 21px; }
  .choice-label { font-size: .56rem; }
  .choice-preview { padding: 11px 12px; }
  .binary { font-size: .91rem; }
  .teacher-preview { gap: 8px; }
  .teacher-preview > span { font-size: .75rem; gap: 5px; }
  .choice-action { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; scroll-behavior: auto !important; } }
@media print { body { background: white; color: #211b46; } body::before { display: none; } .header-note, .return-note, footer { color: #54456f; } .choice { background: white; color: #211b46; box-shadow: none; border-color: #54456f; break-inside: avoid; } .choice > p { color: #54456f; } }
