/* elsieos.com - "Night Console" (approved 2026-11-14)
   Navy and lavender come from the elsieOS logo, boot screen and screen saver;
   terminal green marks measured numbers, amber marks "in development".
   No fonts or files from other sites: system fonts only. */
:root {
  --bg:        #050A18;
  --bg-deep:   #000511;
  --surface:   #0C1430;
  --surface-2: #121C3E;
  --line:      #22305C;
  --text:      #E8E6F8;
  --muted:     #9097BC;
  --dim:       #5E6688;   /* decoration only */
  --lavender:  #B8ACFF;
  --signal:    #4DF0C0;
  --amber:     #FFC46B;
  --red:       #FF6B85;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--lavender); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(184,172,255,.35); }
code, kbd, pre { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.label { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label b { color: var(--signal); font-weight: 500; }
.label b.t-r { color: var(--red); } .label b.t-a { color: var(--amber); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lavender); color: var(--bg); padding: 8px 14px; border-radius: 6px; font: 600 14px var(--mono); }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5,10,24,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { height: 24px; width: auto; display: block; }
.nav nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font: 14px var(--mono); }
.nav ul a { color: var(--muted); white-space: nowrap; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); text-decoration: none; }
.nav ul a::before { content: "./"; color: var(--dim); }
.nav ul a[aria-current]::before { color: var(--signal); }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--amber);
  border: 1px solid #5a4614; background: #1a1406; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.pill:hover { text-decoration: none; border-color: var(--amber); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(1100px 600px at 70% 40%, #0B1838 0%, var(--bg) 60%, var(--bg-deep) 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.grid-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .18; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero .wrap > div { min-width: 0; }
.hero h1 { font: 700 clamp(34px, 5vw, 56px)/1.08 var(--sans); letter-spacing: -.02em; margin: 18px 0 18px; }
.hero h1 em, .page-head h1 em { font-style: normal; color: var(--lavender); }
.lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--mono); padding: 12px 20px; border-radius: 8px; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn:hover { text-decoration: none; border-color: var(--lavender); }
.btn.primary { background: var(--lavender); color: var(--bg); border-color: var(--lavender); }
.btn.primary:hover { background: #CCC3FF; }

/* ---------- terminal ---------- */
.term { background: #060C1F; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(184,172,255,.05), 0 0 60px -10px rgba(184,172,255,.18); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: inline-block; }
.term-bar span { margin-left: 8px; }
.term pre { margin: 0; padding: 18px 18px 22px; font: 13.5px/1.75 var(--mono); color: var(--text); white-space: pre-wrap; word-break: break-word; min-height: 300px; }
.term.short pre { min-height: 0; }
.t-p { color: var(--signal); } .t-d { color: var(--muted); } .t-l { color: var(--lavender); } .t-a { color: var(--amber); } .t-r { color: var(--red); } .t-ok { color: var(--signal); font-weight: 700; }
.cursor { display: inline-block; width: .6em; height: 1.1em; background: var(--signal); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
.term-note { font: 12px var(--mono); color: var(--muted); margin-top: 10px; text-align: right; }

/* ---------- inner page header ---------- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 420px at 80% 0%, #0B1838 0%, var(--bg) 65%); }
.page-head .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 64px; }
.page-head h1 { font: 700 clamp(32px, 4.4vw, 48px)/1.1 var(--sans); letter-spacing: -.02em; margin: 16px 0 16px; max-width: 18em; }
.page-head .lead { margin-bottom: 0; max-width: 40em; }

/* ---------- sections ---------- */
section.sec { padding: 88px 0; border-bottom: 1px solid var(--line); }
section.sec.tight { padding: 64px 0; }
.sec h2 { font: 700 clamp(26px, 3.4vw, 36px)/1.15 var(--sans); letter-spacing: -.015em; margin: 12px 0 14px; }
.sec .sub { color: var(--muted); max-width: 46em; margin: 0 0 40px; }
.sec-h3 { font: 650 19px/1.35 var(--sans); margin: 44px 0 4px; }
.more { display: inline-block; margin-top: 28px; font: 600 14px var(--mono); }
.more::after { content: " \2192"; }

/* long text */
.prose { max-width: 760px; }
.prose p, .prose li { color: #CFCDE6; }
.prose h3 { font: 650 19px/1.35 var(--sans); margin: 34px 0 8px; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--lavender); }
.prose strong { color: var(--text); }
.prose code, .card code, td code, .faq code { font-size: .88em; color: var(--amber); background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.prose a { text-decoration: underline; text-decoration-color: rgba(184,172,255,.4); text-underline-offset: 3px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two > * { min-width: 0; }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 26px 24px; }
.stat .n { font: 700 40px/1 var(--mono); color: var(--signal); letter-spacing: -.02em; }
.stat .n small { font-size: 18px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.stat h3 { font: 600 15px var(--sans); margin: 14px 0 6px; }
.stat p { margin: 0; color: var(--muted); font-size: 14px; }
.foot-note { font: 12px/1.6 var(--mono); color: var(--muted); margin-top: 14px; }

/* ---------- explainer picture (how it works: park and wake; wide SVG, tall SVG at <= 900 px via <picture>) ---------- */
.explainer { margin: 48px 0 0; }
.explainer img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .explainer img { max-width: 600px; margin: 0 auto; } }

/* ---------- bar chart ---------- */
.chart { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 18px; }
.chart h3 { margin: 0 0 4px; font: 600 16px var(--sans); }
.chart .sub { margin: 0 0 22px; font-size: 14px; }
.row { display: grid; grid-template-columns: 230px 1fr 100px; gap: 16px; align-items: center; margin-bottom: 14px; font: 13px var(--mono); }
.row .name { color: var(--text); }
.track { position: relative; height: 22px; background: var(--bg); border-radius: 4px; border: 1px solid var(--line); }
.bar { position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 3px; }
.bar.slow { background: linear-gradient(90deg, rgba(255,107,133,.85), rgba(255,107,133,.45)); }
.bar.mid { background: linear-gradient(90deg, rgba(255,196,107,.9), rgba(255,196,107,.5)); }
.bar.fast { background: var(--signal); box-shadow: 0 0 14px rgba(77,240,192,.5); }
.w-100 { width: 100%; } .w-68 { width: 68%; } .w-27 { width: 27%; } .w-10 { width: 9.6%; } .w-5 { width: 5%; } .w-4 { width: 4.2%; }
.row .v { color: var(--muted); text-align: right; }
.row .v.good { color: var(--signal); font-weight: 700; }
.axis { display: grid; grid-template-columns: 230px 1fr 100px; gap: 16px; font: 11px var(--mono); color: var(--dim); }
.axis div:nth-child(2) { display: flex; justify-content: space-between; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; transition: border-color .2s, transform .2s; }
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; }
.card:hover { border-color: rgba(184,172,255,.55); transform: translateY(-2px); }
.card .idx { font: 600 12px var(--mono); color: var(--lavender); letter-spacing: .1em; }
.card h3 { font: 650 20px/1.3 var(--sans); margin: 10px 0 10px; }
.card p { color: var(--muted); margin: 0 0 16px; }
.card p:last-child { margin-bottom: 0; }

/* built on */
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { font: 13px var(--mono); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; }
.chip.no { color: var(--muted); }
.chip.no::before { content: "\2715  "; color: var(--red); }
.built { margin-top: 44px; }

/* ---------- roadmap strip ---------- */
.phases { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 10px; }
.ph { border-radius: 6px; padding: 12px 10px 10px; background: var(--surface); border: 1px solid var(--line); min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; }
.ph .k { font: 700 12px var(--mono); color: var(--dim); }
.ph .t { font: 12px/1.35 var(--sans); color: var(--muted); }
.ph.done { border-color: rgba(77,240,192,.35); }
.ph.done .k { color: var(--signal); }
.ph.done .k::after { content: "  \2713"; }
.ph.now { border-color: var(--lavender); background: linear-gradient(180deg, rgba(184,172,255,.16), var(--surface)); box-shadow: 0 0 24px -6px rgba(184,172,255,.5); }
.ph.now .k { color: var(--lavender); }
.ph.now .t { color: var(--text); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font: 12px var(--mono); color: var(--muted); margin-top: 16px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.legend .l1::before { background: var(--signal); } .legend .l2::before { background: var(--lavender); } .legend .l3::before { background: var(--line); }

/* roadmap timeline (roadmap page) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline > li { position: relative; padding: 0 0 34px 64px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline .dot { position: absolute; left: 6px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; font: 700 11px var(--mono); color: var(--dim); }
.timeline .done .dot { border-color: var(--signal); color: var(--signal); }
.timeline .now .dot { border-color: var(--lavender); color: var(--lavender); box-shadow: 0 0 18px rgba(184,172,255,.55); }
.timeline h3 { font: 650 19px/1.35 var(--sans); margin: 2px 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.timeline p, .timeline li li { color: var(--muted); margin: 6px 0; }
.timeline ul { margin: 6px 0 0; padding-left: 1.2em; }
.timeline li li::marker { color: var(--lavender); }
.tag { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; padding: 2px 8px; border: 1px solid; }
.tag.done { color: var(--signal); border-color: rgba(77,240,192,.4); }
.tag.now { color: var(--lavender); border-color: rgba(184,172,255,.6); }
.tag.next { color: var(--muted); border-color: var(--line); }

/* ---------- social ---------- */
.social { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.soc { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--text); }
.soc:hover { text-decoration: none; border-color: var(--lavender); }
.soc .site { font: 12px var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.soc .handle { font: 600 16px var(--mono); color: var(--lavender); overflow-wrap: anywhere; }
.soc .what { font-size: 14px; color: var(--muted); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 18px 0 8px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
td { color: #CFCDE6; }
td.num, th.num { text-align: right; white-space: nowrap; font-family: var(--mono); }
td.win { color: var(--signal); font-weight: 700; }
td.lose { color: var(--red); }
/* a before/now table (Why page): on phones each row becomes a small card - the question, then Before | Now */
@media (max-width: 720px) {
  table.vs thead { display: none; }
  table.vs, table.vs tbody { display: block; width: 100%; }
  .tbl-wrap table.vs { min-width: 0; }   /* the phone rule below gives other tables min-width: 640px */
  table.vs tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  table.vs tr:last-child { border-bottom: 0; }
  table.vs td { border-bottom: 0; }
  table.vs td:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  table.vs td.num { text-align: left; white-space: normal; padding-top: 4px; }
  table.vs td.num::before { content: attr(data-label); display: block; font: 500 11px var(--mono); letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}
.caption { font: 12px/1.6 var(--mono); color: var(--muted); margin: 0 0 6px; }

/* ---------- key/value box ---------- */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; font-size: 14.5px; margin: 0; }
.kv dt { font: 12px/1.9 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.kv dd { margin: 0; color: var(--text); }

/* ---------- flow diagram (how it works) ---------- */
.flow { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr; align-items: center; margin: 36px 0 8px; }
.flow-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.node b { display: block; font: 600 14px var(--mono); color: var(--text); }
.node span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.node.main { border-color: var(--lavender); background: linear-gradient(180deg, rgba(184,172,255,.14), var(--surface)); box-shadow: 0 0 30px -8px rgba(184,172,255,.45); padding: 24px 18px; }
.node.main b { color: var(--lavender); font-size: 16px; }
.node.gpu { border-color: rgba(77,240,192,.45); }
.node.gpu b { color: var(--signal); }
.node.dashed { border-style: dashed; }
.node.dashed b { color: var(--muted); }
.flow-arrow { height: 2px; background: linear-gradient(90deg, var(--line), var(--lavender)); position: relative; margin: 0 8px; }
.flow-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--lavender); border-right: 0; }
.link { font: 12px var(--mono); color: var(--amber); text-align: center; }

/* steps (updates) */
.steps { list-style: none; counter-reset: s; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px 16px; color: var(--muted); font-size: 14.5px; }
.steps li::before { content: "step " counter(s); display: block; font: 600 12px var(--mono); color: var(--lavender); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.steps li b { color: var(--text); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.slot { border-radius: 8px; padding: 16px 18px; border: 1px solid var(--line); background: var(--surface); font: 13px/1.7 var(--mono); color: var(--muted); }
.slot b { display: block; font-size: 14px; color: var(--text); }
.slot.ok { border-color: rgba(77,240,192,.45); }
.slot.try { border-color: rgba(255,196,107,.5); }
.ok-t { color: var(--signal); } .warn-t { color: var(--amber); }

/* checklist */
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.checks li { position: relative; padding-left: 28px; color: #CFCDE6; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; font: 700 14px/1.65 var(--mono); color: var(--signal); }
.checks.no li::before { content: "\2715"; color: var(--red); }
.two .checks { grid-template-columns: 1fr; }
.two .term { margin-top: 28px; }
.two > .term:first-child, .two > .term:last-child { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px 18px 52px; font: 600 16.5px/1.4 var(--sans); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; position: absolute; left: 20px; top: 16px; font: 700 18px var(--mono); color: var(--lavender); }
.faq details[open] summary::before { content: "\2212"; color: var(--signal); }
.faq details[open] { border-color: rgba(184,172,255,.45); }
.faq .a { padding: 0 22px 18px 52px; color: #CFCDE6; }
.faq .a p { margin: 0 0 10px; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- callout ---------- */
.note { border-left: 3px solid var(--amber); background: rgba(255,196,107,.06); padding: 14px 18px; border-radius: 0 8px 8px 0; color: #CFCDE6; margin: 22px 0; }
.note.ok { border-left-color: var(--signal); background: rgba(77,240,192,.05); }

/* ---------- 404 ---------- */
.lost { position: relative; overflow: hidden; min-height: 62vh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 72px 0; }
.lost .wrap { position: relative; z-index: 1; width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.lost .term { max-width: 640px; width: 100%; }
.lost .btns { margin-top: 26px; justify-content: center; }

/* ---------- call to action box (home) ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-top: 36px;
  background: linear-gradient(180deg, rgba(184,172,255,.10), var(--surface)); border: 1px solid rgba(184,172,255,.45); border-radius: var(--radius); padding: 24px 26px; }
.cta > div { min-width: 0; flex: 1 1 320px; }
.cta h3 { margin: 0 0 6px; font: 650 19px/1.35 var(--sans); }
.cta p { margin: 0; color: var(--muted); max-width: 44em; }
.page-head .btns { margin-top: 28px; }

/* ---------- beta sign-up ---------- */
.beta { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "form need" "form follow"; grid-template-rows: auto 1fr; gap: 40px 56px; align-items: start; }
.beta-need { grid-area: need; }
.beta-main { grid-area: form; min-width: 0; }
.beta-follow { grid-area: follow; }
.beta-need .checks, .beta-follow .social { margin-top: 16px; }
.beta .checks { grid-template-columns: 1fr; }
.beta .social { grid-template-columns: 1fr 1fr; }
.beta-follow p { color: #CFCDE6; margin: 14px 0 0; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.form > .label { margin-bottom: 22px; }
.form fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.field { margin: 0 0 20px; min-width: 0; }
.lab { display: block; font: 600 15px/1.4 var(--sans); color: var(--text); margin: 0 0 8px; padding: 0; }
.hint { font-size: 13.5px; color: var(--muted); margin: -2px 0 10px; }
.form input[type=email], .form input[type=number], .form input[type=text], .form select {
  width: 100%; font: 16px var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; }
.form input:focus, .form select:focus { border-color: var(--lavender); outline: none; box-shadow: 0 0 0 3px rgba(184,172,255,.25); }
.form [aria-invalid="true"] { border-color: var(--red); }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer; }
.select::after { content: "\25BE"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--lavender); pointer-events: none; }
.form select option { background: var(--surface); color: var(--text); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.unit { display: flex; align-items: center; gap: 10px; }
.unit input { flex: 1 1 auto; min-width: 0; }
.unit span { font: 14px var(--mono); color: var(--muted); }
.optional { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 18px; }
.opt-head { font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; font: 14px var(--mono); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 11px; cursor: pointer; }
.chips label:hover { border-color: rgba(184,172,255,.6); }
.chips input { accent-color: var(--lavender); margin: 0; width: 15px; height: 15px; flex: none; }
.chips label:has(input:checked) { border-color: var(--lavender); background: rgba(184,172,255,.13); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--lavender); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 4px 0 18px; cursor: pointer; color: var(--text); }
.consent input { accent-color: var(--lavender); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.consent:has(input:checked) { border-color: var(--lavender); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; border-left: 3px solid var(--lavender); background: rgba(184,172,255,.08); color: var(--text); }
.form-msg.err { border-left-color: var(--red); background: rgba(255,107,133,.09); }
.form-msg[hidden] { display: none; }
button.btn { cursor: pointer; }
button.btn[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.form-note a { text-decoration: underline; text-decoration-color: rgba(184,172,255,.4); text-underline-offset: 3px; }
.beta-done { background: linear-gradient(180deg, rgba(77,240,192,.07), var(--surface)); border: 1px solid rgba(77,240,192,.45); border-radius: var(--radius); padding: 28px; }
.beta-done { scroll-margin-top: 96px; }
.beta-done:focus { outline: none; }
.beta-done .label b { color: var(--signal); }
.beta-done h2 { margin: 14px 0 12px; font: 700 26px/1.2 var(--sans); }
.beta-done p { color: #CFCDE6; }
.beta-done #beta-done-email { color: var(--text); overflow-wrap: anywhere; }
.beta-done a { text-decoration: underline; text-decoration-color: rgba(184,172,255,.4); text-underline-offset: 3px; }
.link-form { margin: 0 0 22px; }

/* ---------- footer ---------- */
.foot { background: var(--bg-deep); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { margin: 14px 0 0; max-width: 22em; }
.foot ul { list-style: none; margin: 12px 0 0; padding: 0; font: 13.5px/2 var(--mono); }
.foot ul a { color: var(--muted); }
.foot ul a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font: 12.5px var(--mono); }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 680px; margin: 0 auto; display: flex; gap: 16px; align-items: center;
  background: rgba(12,20,48,.97); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); font-size: 14px; }
.cookie p { margin: 0; color: var(--muted); }
.cookie p b { color: var(--text); font-weight: 600; }
.cookie button { margin-left: auto; font: 600 13px var(--mono); background: var(--lavender); color: var(--bg); border: 0; border-radius: 6px; padding: 9px 18px; cursor: pointer; white-space: nowrap; }
.cookie button:hover { background: #CCC3FF; }
.cookie[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .social { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: repeat(5, 1fr); }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { width: 2px; height: 34px; margin: 10px auto; background: linear-gradient(180deg, var(--line), var(--lavender)); }
  .flow-arrow::after { right: -5px; top: auto; bottom: -3px; border: 6px solid transparent; border-top: 8px solid var(--lavender); border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .beta { grid-template-columns: minmax(0, 1fr); grid-template-areas: "need" "form" "follow"; grid-template-rows: none; gap: 40px; }
  /* tablets: the six-item menu stays on one line without pushing the page sideways (721-980 px) */
  .nav { gap: 18px; }
  .nav ul { gap: 14px; font-size: 13px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav { height: auto; flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; }
  .nav nav { order: 3; width: 100%; margin: 0; }
  .nav ul { gap: 16px; overflow-x: auto; font-size: 13px; padding-bottom: 4px; scrollbar-width: none; }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav .pill { margin-left: auto; }
  section.sec { padding: 60px 0; }
  section.sec.tight { padding: 48px 0; }
  .page-head .wrap { padding-top: 48px; padding-bottom: 44px; }
  .cards, .cards.three, .checks, .slots { grid-template-columns: 1fr; }
  .stats, .social { grid-template-columns: 1fr; }
  .row, .axis { grid-template-columns: 1fr 96px; }
  .row .name { grid-column: 1 / -1; }
  .axis div:first-child { display: none; }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .ph { min-height: 76px; }
  .term pre { font-size: 11px; min-height: 250px; white-space: pre; overflow-x: auto; padding: 16px 14px 18px; }
  .term.short pre { min-height: 0; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .faq summary { padding-left: 44px; }
  .faq summary::before { left: 16px; }
  .faq .a { padding-left: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie button { margin-left: 0; }
  th, td { padding: 10px 12px; }
  .tbl-wrap table { min-width: 640px; }
  .tbl-wrap td:first-child { min-width: 190px; }
  .form, .beta-done { padding: 22px 16px; }
  .cta { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
