:root {
  color-scheme: light dark;
  --paper: #e7e5df;
  --ink: #121315;
  --muted: #484a4e;
  --rule: rgba(18, 19, 21, 0.16);
  --fine: rgba(18, 19, 21, 0.09);
  --accent: #e8381c;
  --button-bg: #d8d5cd;
  --button-ink: #121315;
  --error: var(--accent);
  --console-bg: #1a1b1d;
  --console-ink: #f2f0ea;
  --model-fill: #e2dfd7;
  --grain-opacity: 0.14;
  --grain-blend: multiply;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #090a0b;
    --ink: #eceae4;
    --muted: #a6a8ac;
    --rule: rgba(236, 234, 228, 0.16);
    --fine: rgba(236, 234, 228, 0.08);
    --accent: #ff3b1d;
    --button-bg: #181a1d;
    --button-ink: #eceae4;
    --console-bg: #1e2024;
    --console-ink: #eceae4;
    --model-fill: #121416;
    --grain-opacity: 0.11;
    --grain-blend: screen;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #090a0b;
  --ink: #eceae4;
  --muted: #a6a8ac;
  --rule: rgba(236, 234, 228, 0.16);
  --fine: rgba(236, 234, 228, 0.08);
  --accent: #ff3b1d;
  --button-bg: #181a1d;
  --button-ink: #eceae4;
  --console-bg: #1e2024;
  --console-ink: #eceae4;
  --model-fill: #121416;
  --grain-opacity: 0.11;
  --grain-blend: screen;
}
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { min-height: 100%; }
body { min-height: 100svh; margin: 0; position: relative; display: flex; flex-direction: column; }
body::after { position: absolute; inset: 0; z-index: 3; pointer-events: none; content: ""; background: url("grain.svg"); opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend); }
body::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.24) 100%); }
::selection { background: var(--accent); color: var(--console-ink); }
.masthead, footer { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 10px/1.6 "JetBrains Mono", "Courier New", monospace; text-transform: uppercase; position: relative; }
.masthead { padding-top: 24px; padding-bottom: 8px; font-size: 11px; letter-spacing: 0.18em; }
footer { color: var(--muted); }
footer a { color: inherit; text-underline-offset: 3px; }
main { flex: 1; width: 100%; max-width: 960px; margin: auto; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
h1 { font-size: 30px; font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; text-align: center; margin: 0 0 4px; }
h1 strong { font-weight: 500; }
h1, .field-tagline { cursor: default; }
.release-console { width: 100%; max-width: 400px; background: var(--console-bg); color: var(--console-ink); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3); padding: 20px; }
input, button { font-family: "JetBrains Mono", "Courier New", monospace; }
input { width: 100%; border-radius: 8px; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.15); padding: 11px 14px; font-size: 13px; color: var(--console-ink); text-align: center; }
input::placeholder { color: var(--console-ink); opacity: 0.45; }
button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; color: var(--console-ink); border: 1px solid rgba(255, 255, 255, 0.18); }
.early-access-option { display: flex; align-items: center; gap: 9px; min-height: 44px; margin: 7px 0; font-size: 11px; line-height: 1.5; cursor: pointer; }
#early-access { flex: none; width: 15px; height: 15px; margin: 0; padding: 0; accent-color: var(--accent); cursor: pointer; }
#subscribe-btn { width: 100%; min-height: 44px; background: var(--accent); letter-spacing: 0.06em; }
.future-options { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.future-label { display: flex; justify-content: space-between; margin: 0 0 10px; color: var(--console-ink); font: 9px/1.5 "JetBrains Mono", "Courier New", monospace; letter-spacing: 0.04em; }
.future-label span { opacity: 0.5; }
.platform-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.future-options svg { width: 20px; height: 20px; flex: none; }
.future-options button { min-height: 56px; background: transparent; font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.platform-option { display: grid; grid-template-rows: 20px 24px; justify-items: center; align-items: center; gap: 6px; padding: 8px 4px; min-width: 0; }
.platform-option span { line-height: 12px; text-align: center; }
button:hover:enabled { filter: brightness(1.08); }
button:active:enabled { transform: translateY(1px); }
button:disabled { cursor: default; opacity: 0.45; }
#subscribe-btn:disabled { cursor: wait; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#signup-status { font-size: 10px; line-height: 1.5; text-align: center; margin: 10px 0 0; }
#signup-status:empty { display: none; }
#signup-status[data-state="error"] { color: var(--error); }
footer { padding-top: 8px; padding-bottom: 20px; letter-spacing: 0.16em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  footer { letter-spacing: 0.06em; font-size: 9px; }
}
@media (max-width: 639px) {
  .masthead { font-size: 9px; letter-spacing: 0.08em; gap: 12px; }
  main { padding: 28px 16px; }
  h1 { font-size: 24px; }
  .release-console { padding: 16px; }
  footer { flex-wrap: wrap; justify-content: center; text-align: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
