/* AutonomZ pre-registration page. Self-hosted IBM Plex (SIL OFL 1.1, see fonts/OFL.txt). */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex_sans_latin_400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex_sans_latinext_400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex_sans_latin_500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex_sans_latinext_500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex_sans_latin_600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex_sans_latinext_600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex_mono_latin_400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex_mono_latinext_400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex_mono_latin_500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex_mono_latinext_500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --panel: #1F2F5C;
  --panel-text: #F3F6FB;
  --panel-sub: #C5CFE2;
  --panel-caption: #B8C3D9;
  --panel-dim: #94A3BF;
  --panel-note: #DCE3F0;
  --panel-list: #E3E9F4;
  --signal: #F6B45A;
  --signal-ink: #2A1A04;
  --ink: #14201F;
  --muted: #4A5A59;
  --line: #7C8F8D;
  --error: #B42318;
  --focus: #3A55A0;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #FFFFFF; color: var(--ink); font-family: var(--sans); }
a { color: var(--panel); }
a:hover { color: var(--ink); }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout: panel is first in the DOM (mobile order), shown on the right on wide screens. */
.layout { min-height: 100vh; display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

/* Right panel */
.panel {
  flex: 1.25 1 600px; min-width: 0;
  padding: clamp(32px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  background: var(--panel); color: var(--panel-text);
}
.hero { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.hero h1 { margin: 0; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; }
.hero h1 span { display: block; }
.hero p { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--panel-sub); }

.console {
  margin: 0; max-width: 640px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; overflow: hidden;
}
.console figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px; color: var(--panel-caption);
}
.console-body {
  padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.5;
}
.log-row { display: flex; flex-wrap: wrap; column-gap: 14px; color: var(--panel-dim); }
.log-row .msg { flex: 1 1 220px; min-width: 0; }
.log-row.is-new { align-items: center; row-gap: 6px; color: var(--signal); font-weight: 500; }
.log-row.is-new .msg { flex-basis: 180px; }
.first-tag {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--signal-ink); background: var(--signal);
  padding: 2px 9px; border-radius: 999px;
}
.log-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 6px; padding: 10px 12px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.07); color: var(--panel-note);
  font-family: var(--sans); font-size: 14px;
}
.log-note svg { flex: none; margin-top: 1px; }
.cursor-line { display: flex; padding-top: 2px; }
.cursor { display: block; width: 8px; height: 16px; background: var(--panel-dim); }

.trust {
  list-style: none; margin: 0; padding: 0; max-width: 640px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 20px;
}
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--panel-list); }
.trust svg { flex: none; }

.icon { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* Left form side */
.form-side {
  flex: 1 1 460px; min-width: 0;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 64px);
  display: flex; flex-direction: column; gap: 40px; background: #FFFFFF;
}
.brand { align-self: flex-start; display: block; max-width: 100%; line-height: 0; }
.brand img { display: block; width: 726px; max-width: 100%; height: auto; }
.form-wrap { width: 100%; max-width: 420px; margin: auto; display: flex; flex-direction: column; gap: 28px; }
#form-view { display: flex; flex-direction: column; gap: 28px; }
.form-head { display: flex; flex-direction: column; gap: 8px; }
.form-head h2, .success h2 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 600; }
.form-head p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .band-group legend { font-size: 14px; font-weight: 500; }
.optional { font-weight: 400; color: var(--muted); }

.field input, .field select {
  height: 48px; padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px;
}
.field select { padding: 0 12px; }
.field input[aria-invalid="true"] { border-color: var(--error); }

.field-error { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--error); }
.field-error svg { flex: none; }

.band-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.band-group legend { padding: 0; margin-bottom: 10px; }
.band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(124px, 100%), 1fr)); gap: 8px; }
.band-option {
  position: relative; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 10px; text-align: center;
  font-size: 14px; font-weight: 500; line-height: 1.25;
  border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; color: var(--ink);
  cursor: pointer;
}
.band-option:has(input:checked) { background: var(--panel); border-color: var(--panel); color: #FFFFFF; }
.band-group.has-error .band-option:not(:has(input:checked)) { border-color: var(--error); }
.band-group .field-error { margin-top: 8px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--panel); }

.turnstile-slot { min-height: 65px; }

.form-error {
  margin: 0; padding: 10px 12px; border-radius: 6px;
  font-size: 14px; line-height: 1.45; color: var(--error); background: #FDECEA;
}

.primary-btn {
  height: 52px; border: 0; border-radius: 6px;
  background: var(--panel); color: #FFFFFF;
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.primary-btn:hover { filter: brightness(1.18); }
.primary-btn:disabled { cursor: progress; filter: none; opacity: 0.75; }

.legal { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

.success { display: flex; flex-direction: column; gap: 16px; }
.success .lead { margin: 0; font-size: 16px; line-height: 1.5; }
.success .note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.success svg { stroke: var(--panel); }

.site-footer {
  width: 100%; max-width: 420px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.site-footer .controller { font-size: 10px; line-height: 1.4; }

.field input:focus-visible, .field select:focus-visible, .primary-btn:focus-visible,
.consent input:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.band-option:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }

/* One orchestrated reveal for the console sample. */
.reveal { animation: row-in 380ms ease-out both; }
.d1 { animation-delay: 100ms; } .d2 { animation-delay: 300ms; } .d3 { animation-delay: 500ms; }
.d4 { animation-delay: 700ms; } .d5 { animation-delay: 1000ms; } .d6 { animation-delay: 1400ms; }
.cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes row-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .reveal, .cursor { animation: none; } }

/* Plain document pages (privacy notice placeholder, 404). */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px; font-size: 16px; line-height: 1.6; }
.doc h1 { font-size: 30px; line-height: 1.2; margin: 0 0 16px; }
