:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #a9aa9f;
  --faint: #75776f;
  --night: #0b0c0b;
  --panel: #121411;
  --panel-2: #171a16;
  --line: #292d27;
  --moss: #c7f36b;
  --moss-dim: #85a349;
  --rust: #e1845d;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 16%, rgba(199, 243, 107, .07), transparent 26rem),
    var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { height: 76px; border-bottom: 1px solid var(--line); }
.site-header .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 14px/1 var(--mono); letter-spacing: .18em; }
.mark { width: 26px; height: 26px; border: 1px solid var(--moss); border-radius: 50%; position: relative; }
.mark::before, .mark::after { content: ""; position: absolute; left: 4px; right: 4px; height: 6px; border: 1px solid var(--moss); border-radius: 50%; }
.mark::before { top: 4px; } .mark::after { bottom: 4px; }
.header-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font: 12px/1 var(--mono); }
.header-meta a { text-decoration: none; } .header-meta a:hover { color: var(--ink); }
.status-pill { color: var(--moss); display: inline-flex; gap: 7px; align-items: center; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.hero { padding: 96px 0 76px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 76px; align-items: center; }
.eyebrow { margin: 0 0 24px; color: var(--moss); font: 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; max-width: 720px; font-size: clamp(54px, 7.2vw, 104px); line-height: .92; letter-spacing: -.065em; font-weight: 650; }
.hero-copy { margin: 28px 0 0; max-width: 590px; color: #c9c9c0; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; letter-spacing: -.015em; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 20px; }
.text-link { color: var(--muted); text-decoration: none; font: 11px/1.4 var(--mono); }
.text-link:hover { color: var(--ink); }
.hero-note { margin: 30px 0 0; display: flex; gap: 18px; align-items: center; color: var(--muted); font: 12px/1.4 var(--mono); }
.hero-note .line { width: 40px; height: 1px; background: var(--moss-dim); }
.flow-panel { min-height: 455px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.025), transparent), var(--panel); padding: 28px; display: flex; flex-direction: column; box-shadow: 0 32px 80px rgba(0,0,0,.28); }
.panel-label { display: flex; justify-content: space-between; color: var(--faint); font: 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.flow { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; margin: auto 0; }
.flow-arrow { color: var(--moss); text-align: center; font: 18px/1 var(--mono); }
.flow-node { min-height: 155px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: #0e100e; }
.flow-node:last-child { border-color: #4f6030; background: rgba(199,243,107,.04); }
.node-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--moss); font: 13px/1 var(--mono); }
.node-title { font-weight: 650; letter-spacing: -.02em; }
.node-sub { color: var(--muted); font: 11px/1.45 var(--mono); }
.flow-log { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 8px; color: var(--muted); font: 11px/1.4 var(--mono); }
.log-line { display: flex; justify-content: space-between; gap: 16px; }
.log-line b { color: var(--moss); font-weight: 500; }
.tool-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 90px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 42px; align-items: end; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; font-weight: 620; }
.section-head p { margin: 0; max-width: 530px; color: var(--muted); font-size: 17px; }
.tool-card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--panel); }
.tool-top { padding: 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.step { font: 11px/1 var(--mono); color: var(--moss); letter-spacing: .12em; text-transform: uppercase; }
.private-note { color: var(--muted); font: 11px/1.4 var(--mono); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; }
.form-pane, .command-pane { padding: 34px; }
.command-pane { border-left: 1px solid var(--line); background: #0e100e; display: flex; flex-direction: column; }
.field { margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 150px; gap: 14px; }
label { display: block; margin-bottom: 9px; color: var(--muted); font: 11px/1.2 var(--mono); }
input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: #0c0e0c; font: 13px/1 var(--mono); }
input:focus { border-color: var(--moss-dim); box-shadow: 0 0 0 3px rgba(199,243,107,.08); }
input[aria-invalid="true"] { border-color: var(--rust); }
.providers { display: flex; flex-wrap: wrap; gap: 8px; }
.provider { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font: 11px/1 var(--mono); }
.provider:hover, .provider[aria-pressed="true"] { color: var(--ink); border-color: var(--moss-dim); background: rgba(199,243,107,.06); }
.command-label { color: var(--faint); font: 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.command { margin: 22px 0 24px; min-height: 126px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; color: #dfeac6; background: #090a09; font: 13px/1.7 var(--mono); }
.command::before { content: "$ "; color: var(--faint); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button, button.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid var(--moss); border-radius: 9px; color: #11150a; background: var(--moss); text-decoration: none; cursor: pointer; font: 650 12px/1 var(--mono); }
.button.secondary { color: var(--ink); border-color: var(--line); background: transparent; }
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.checksum-link { display: inline-flex; align-items: center; padding: 0 6px; color: var(--muted); font: 10px/1 var(--mono); text-underline-offset: 3px; }
.checksum-link:hover { color: var(--ink); }
.copy-status { min-height: 22px; margin: 14px 0 0; color: var(--muted); font: 11px/1.4 var(--mono); }
.prereq { margin-top: auto; padding-top: 30px; color: var(--faint); font: 10px/1.6 var(--mono); }
.prereq a { color: var(--muted); }
.proof-section { padding: 100px 0; }
.proof-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.proof-copy h2 { margin-bottom: 26px; }
.proof-copy p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; color: #c9c9c0; }
.checks li::before { content: "✓"; color: var(--moss); font-family: var(--mono); }
.manifest { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; overflow: auto; background: var(--panel); color: #c3c9b8; font: 11px/1.75 var(--mono); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.manifest .key { color: var(--moss); } .manifest .string { color: #d7aa86; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle { padding: 50px 32px; border-right: 1px solid var(--line); }
.principle:last-child { border-right: 0; }
.principle-index { color: var(--moss); font: 11px/1 var(--mono); }
.principle h3 { margin: 42px 0 12px; font-size: 21px; letter-spacing: -.025em; }
.principle p { margin: 0; color: var(--muted); }
.final { padding: 110px 0; text-align: center; }
.final h2 { max-width: 780px; margin: 0 auto 22px; }
.final p { max-width: 620px; margin: 0 auto 34px; color: var(--muted); }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--faint); font: 10px/1.5 var(--mono); }
.site-footer .shell { display: flex; justify-content: space-between; gap: 20px; }
.site-footer p { margin: 0; max-width: 780px; }
@media (max-width: 900px) {
  .hero, .section-head, .proof-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; gap: 48px; }
  .tool-grid { grid-template-columns: 1fr; }
  .command-pane { border-left: 0; border-top: 1px solid var(--line); min-height: 360px; }
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header { height: 64px; }
  .header-meta a:first-child, .status-pill { display: none; }
  .hero { padding: 58px 0; }
  h1 { font-size: 58px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .flow-panel { min-height: 390px; padding: 18px; }
  .flow { grid-template-columns: 1fr 28px 1fr; }
  .flow-node { min-height: 145px; padding: 14px; }
  .tool-section, .proof-section { padding: 64px 0; }
  .tool-top, .form-pane, .command-pane { padding: 22px; }
  .tool-top { align-items: flex-start; gap: 12px; }
  .private-note { text-align: right; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer .shell { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
