:root {
  color-scheme: dark;
  --bg: #0b0e10;
  --surface: #12171a;
  --surface-2: #182024;
  --text: #f2f5ef;
  --muted: #98a6a0;
  --line: #2b3537;
  --accent: #bdff65;
  --accent-dark: #1d2b11;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { min-height: 100vh; margin: 0; color: var(--text); background: radial-gradient(circle at 75% 15%, #16332b 0, transparent 26rem), var(--bg); }
a { color: inherit; }
.site-header, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-size: 12px; font-weight: 750; letter-spacing: .16em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; color: var(--bg); background: var(--accent); border-radius: 50%; font-size: 14px; letter-spacing: 0; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover, nav a.active { color: var(--text); }
.hero { padding: 92px 0 68px; }
.status-line { float: right; margin-top: 8px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(189,255,101,.1); }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 20px 0 26px; font-size: clamp(48px, 8vw, 92px); font-weight: 540; line-height: .97; letter-spacing: -.055em; }
.lead { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); line-height: 1.65; }
.access-card { margin-top: 70px; padding: 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: end; background: rgba(18,23,26,.86); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(12px); }
.card-label { margin: 0 0 8px; color: var(--text); font-size: 15px; font-weight: 650; }
.card-copy { margin: 0; color: var(--muted); line-height: 1.5; }
.code-entry label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.input-row { display: flex; gap: 10px; }
input, button { min-height: 50px; border-radius: 9px; font: inherit; }
input { min-width: 0; flex: 1; padding: 0 16px; color: var(--text); background: #0c1113; border: 1px solid var(--line); outline: none; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(189,255,101,.1); }
button { padding: 0 22px; color: #10150c; background: var(--accent); border: 0; font-weight: 750; cursor: pointer; }
button:hover { background: #d0ff91; }
.code-result { min-height: 20px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.code-result[data-state="warning"] { color: #ffc66d; }
.code-result[data-state="info"] { color: var(--accent); }
.principles { padding: 0 0 100px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles article { min-height: 220px; padding: 28px 28px 0 0; }
.principles article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.principles span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 12px; }
.principles h2 { margin: 50px 0 12px; font-size: 20px; font-weight: 600; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.page-shell { min-height: calc(100vh - 177px); padding: 92px 0; }
.page-shell h1 { max-width: 900px; }
.prose { max-width: 720px; margin: 50px 0; color: #c6cfca; font-size: 18px; line-height: 1.75; }
.prose p + p { margin-top: 24px; }
.text-link { display: inline-block; color: var(--accent); text-decoration: none; font-weight: 650; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.error-page { display: flex; flex-direction: column; justify-content: center; }
.error-code { margin: 0; color: var(--accent); font: 700 13px ui-monospace, monospace; letter-spacing: .2em; }
.error-page .lead { margin-bottom: 38px; }
footer { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #728079; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .brand > span:last-child { display: none; }
  .hero { padding-top: 64px; }
  .status-line { float: none; margin: 0 0 44px; }
  .access-card { grid-template-columns: 1fr; gap: 28px; margin-top: 50px; }
  .input-row { flex-direction: column; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: auto; padding: 30px 0; }
  .principles article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .principles h2 { margin-top: 24px; }
  footer { padding: 24px 0; flex-direction: column; align-items: flex-start; }
}
