:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #14202e;
  --muted: #5b6676;
  --line: #e3e0d8;
  --brand: #0f2a44;
  --accent: #c98a12;
  --accent-ink: #ffffff;
  --band: #0f2a44;
  --band-ink: #eef2f7;
  --grid: rgba(15, 42, 68, 0.05);
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d141c; --surface: #141e29; --ink: #e8edf3; --muted: #9aa7b6; --line: #24313f;
    --brand: #f2b134; --accent: #f2b134; --accent-ink: #14202e; --band: #141e29; --band-ink: #e8edf3;
    --grid: rgba(242, 177, 52, 0.05);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 1rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
h3 { font-size: 1.08rem; margin: 0 0 .35rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.logo svg { width: 26px; height: 26px; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; fill: none; }
nav { display: flex; gap: 1.4rem; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
nav a:hover, nav a[aria-current] { color: var(--ink); }
nav a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
.menu-btn { display: none; }

main { padding-bottom: 4rem; }
.hero { padding: 5rem 0 3.5rem; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.hero h1 { max-width: 18ch; }
.eyebrow { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: .75rem 1.2rem; border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; font-size: 1rem; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card, .price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h2 { margin-top: 0; font-size: 1.1rem; }
.card p, .price-card p { margin: 0; color: var(--muted); }
.band { background: var(--band); color: var(--band-ink); margin: 3.5rem 0; padding: 3rem 0; }
.band h2 { margin-top: 0; }
.band p { max-width: 65ch; opacity: .9; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-family: var(--mono); font-size: .82rem; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; background: var(--surface); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin: 1.5rem auto; }
.price { font-family: var(--mono); font-size: 1.3rem; font-weight: 600; color: var(--ink) !important; margin: .25rem 0 .6rem !important; }

.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: 1.2rem; padding-left: .4rem; }
.steps li::marker { font-family: var(--mono); color: var(--accent); font-weight: 700; }
.steps p { margin: 0; color: var(--muted); }
details { border-top: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); }

.notice { border-left: 4px solid var(--accent); background: var(--surface); padding: 1rem 1.2rem; border-radius: 6px; margin: 1rem 0 2rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 500; font-size: .95rem; }
input, select { font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; }
input:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem 1rem; display: grid; gap: .6rem; }
legend { font-weight: 500; font-size: .95rem; padding: 0 .3rem; }
label.inline, label.check { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
label.inline input, label.check input { width: auto; }
.hp { position: absolute; left: -9999px; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .85rem; color: var(--muted); }
.disclosure { max-width: 85ch; }
.footer-links a { color: var(--muted); }

@media (max-width: 760px) {
  .grid3 { grid-template-columns: 1fr; }
  .menu-btn { display: block; font: inherit; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .4rem .8rem; color: var(--ink); }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .9rem 16px; border-top: 1px solid var(--line); }
  nav a[aria-current] { box-shadow: inset 3px 0 var(--accent); }
  .hero { padding: 3rem 0 2.5rem; }
}

/* hero art + student section */
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.hero-art { width: 100%; max-width: 480px; justify-self: end; }
.hero-art .trace { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.hero-art .node circle { fill: var(--accent); }
.hero-art .lbl { font: 600 11px var(--mono); fill: var(--accent); letter-spacing: .06em; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; margin-top: 3.5rem; }
.split h2 { margin-top: 0; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 1.2rem 1.4rem; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .8rem; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .7rem; border-radius: 2px; background: var(--accent); }
.form-error { color: #b42318; font-weight: 600; }
@media (max-width: 760px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

.small-lede { font-size: 1rem; margin-top: -0.25rem; }

/* hero: circuit catching a thief */
.heist .code { font: 500 10px var(--mono); fill: var(--muted); white-space: pre; }
.heist .code.hot, .heist .bag-mark { fill: var(--accent); }
.heist .bag-mark { font: 700 12px var(--mono); }
.heist .lbl.dim { fill: var(--muted); }
.heist .chip { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.heist .alarm { fill: var(--accent); }
.heist .rays path { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.heist .thief > path:not(.limb), .heist .thief circle:not(.eye), .heist .thief .beanie { fill: var(--ink); }
.heist .thief .limb { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.heist .thief .mask { fill: var(--muted); }
.heist .thief .eye { fill: var(--bg); }
.heist .thief .bag { fill: var(--muted); }
.heist .beam { stroke: #e5484d; stroke-width: 2.5; stroke-dasharray: 6 5; filter: drop-shadow(0 0 3px #e5484d); }
.heist .node-dot { fill: #e5484d; }
@media (prefers-reduced-motion: no-preference) {
  .heist .beam { animation: beam-run 0.8s linear infinite; }
  .heist .rays, .heist .alarm { animation: alarm-blink 1s steps(2, jump-none) infinite; }
}
@keyframes beam-run { to { stroke-dashoffset: -11; } }
@keyframes alarm-blink { 50% { opacity: 0.25; } }
@media (prefers-color-scheme: dark) {
  .heist .thief > path:not(.limb), .heist .thief circle:not(.eye), .heist .thief .beanie { fill: #3b4d61; }
  .heist .thief .limb { stroke: #3b4d61; }
  .heist .thief .mask { fill: #0d141c; }
  .heist .thief .eye { fill: #f2b134; }
  .heist .thief .bag { fill: #56697e; }
}
