:root {
  color-scheme: dark;
  --ink: #070a0d;
  --panel: #0b1117;
  --panel-deep: #080d12;
  --line: #23303b;
  --line-strong: #344756;
  --text: #edf6fb;
  --muted: #94a7b3;
  --signal: #63d7ff;
  --signal-soft: #b9edff;
  --danger: #ff9f95;
  --success: #8de3b7;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
  font: 650 .82rem/1 var(--mono);
  letter-spacing: .18em;
  text-decoration: none;
}
.brand-mark { width: 25px; height: 25px; fill: none; stroke: var(--signal); stroke-width: 1.5; }
.release-state { font: 600 .68rem/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.release-state i { display: inline-block; width: 7px; height: 7px; margin-right: .5rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 14px rgba(99, 215, 255, .7); }

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(4rem, 8vw, 7.5rem) 0 5rem;
  align-items: start;
}
.intro { min-width: 0; }
.eyebrow, .terminal-kicker {
  margin: 0 0 1.2rem;
  color: var(--signal);
  font: 650 .7rem/1.4 var(--mono);
  letter-spacing: .16em;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  font-weight: 540;
  line-height: .98;
  letter-spacing: -.058em;
}
.lede {
  max-width: 650px;
  margin: 2rem 0 0;
  color: #bfd0da;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.6;
}

.trust-boundary { margin: clamp(3rem, 6vw, 5.5rem) 0 0; }
.boundary-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem; }
.boundary-line::before, .boundary-line::after { content: ""; height: 1px; background: var(--line-strong); }
.boundary-line span { width: 8px; height: 8px; border: 1px solid var(--signal); transform: rotate(45deg); }
.boundary-line span:nth-child(2) { width: 100%; height: 1px; border: 0; background: var(--signal); transform: none; }
.boundary-copy { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.boundary-copy div { display: grid; gap: .45rem; }
.boundary-copy strong { font: 650 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.boundary-copy span { color: var(--muted); font-size: .88rem; line-height: 1.55; }

.truth-grid { margin-top: 3.7rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.truth-grid article { padding: 1.5rem 1.2rem 0 0; }
.truth-grid article + article { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.index { color: var(--signal); font: 600 .67rem/1 var(--mono); letter-spacing: .12em; }
.truth-grid h2 { margin: 1rem 0 .55rem; font-size: .95rem; font-weight: 650; }
.truth-grid p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }

.terminal {
  position: sticky;
  top: 1.5rem;
  background: var(--panel-deep);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}
.terminal::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(99, 215, 255, .08); pointer-events: none; }
.terminal-bar, .terminal-foot {
  min-height: 42px;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  background: var(--panel);
  font: 600 .62rem/1 var(--mono);
  letter-spacing: .11em;
}
.terminal-bar { border-bottom: 1px solid var(--line); }
.terminal-foot { border-top: 1px solid var(--line); }
.terminal-body { padding: clamp(1.5rem, 4vw, 2.6rem); }
.terminal-kicker { margin-bottom: .75rem; }
.terminal h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 560; letter-spacing: -.035em; }
.terminal-intro { margin: .85rem 0 2rem; color: var(--muted); font-size: .92rem; line-height: 1.58; }
form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .55rem; }
label { font-size: .78rem; font-weight: 650; letter-spacing: .025em; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #080c10;
  color: var(--text);
  font: 1rem/1.45 var(--sans);
  padding: .8rem .9rem;
  appearance: none;
}
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: #627481; }
input:hover, textarea:hover { border-color: #4b6475; }
input:focus, textarea:focus { border-color: var(--signal); outline: 1px solid var(--signal); outline-offset: 0; }
.field-note { color: var(--muted); font-size: .72rem; line-height: 1.48; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; color: #aebfca; font-size: .75rem; font-weight: 450; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--signal); }
button {
  min-height: 52px;
  border: 1px solid var(--signal);
  border-radius: 0;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--signal);
  color: #041017;
  font: 700 .79rem/1 var(--mono);
  letter-spacing: .055em;
  cursor: pointer;
}
button:hover { background: var(--signal-soft); border-color: var(--signal-soft); }
button:disabled { cursor: wait; opacity: .62; }
button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.retention-note { margin: -.25rem 0 0; color: var(--muted); font-size: .69rem; line-height: 1.5; }
.form-status { min-height: 1.3em; margin: -.35rem 0 0; color: var(--muted); font: .73rem/1.45 var(--mono); }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 1.8rem 0 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font: .7rem/1.5 var(--mono);
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.5rem; }

.privacy-main { display: block; max-width: 780px; }
.privacy-main article { max-width: 720px; }
.privacy-main h1 { margin-bottom: 1.5rem; }
.privacy-main h2 { margin: 2.6rem 0 .8rem; font-size: 1.12rem; }
.privacy-main p, .privacy-main li { color: #b8c8d2; line-height: 1.7; }
.privacy-main li + li { margin-top: .5rem; }
.back-link { display: inline-block; margin-top: 3rem; font: .75rem/1 var(--mono); }

@media (max-width: 900px) {
  main { grid-template-columns: 1fr; gap: 4.5rem; }
  .terminal { position: relative; top: auto; max-width: 650px; }
  .truth-grid { max-width: 700px; }
}
@media (max-width: 600px) {
  .site-header, main, .site-footer { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 72px; }
  .release-state { font-size: 0; }
  .release-state i { margin: 0; }
  main { padding-top: 3.2rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .boundary-copy { grid-template-columns: 1fr; gap: 1.1rem; }
  .truth-grid { grid-template-columns: 1fr; }
  .truth-grid article { padding: 1.3rem 0; }
  .truth-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .terminal-body { padding: 1.5rem; }
  .terminal-foot { align-items: flex-start; flex-direction: column; justify-content: center; gap: .5rem; padding-block: .8rem; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
