:root {
  --bg: #FAFAF9;
  --bg-alt: #F5F5F4;
  --bg-card: #FFFFFF;
  --text: #0A0A0A;
  --text-mute: #57534E;
  --text-faint: #A8A29E;
  --border: #E7E5E4;
  --border-strong: #D6D3D1;
  --accent: #EA580C;
  --accent-soft: #FFF7ED;
  --green: #16A34A;
  --green-soft: #F0FDF4;
  --code-bg: #0C0F14;
  --code-text: #E5E7EB;
  --code-mute: #6B7280;
  --code-accent: #FB923C;
  --code-green: #34D399;
  --code-blue: #60A5FA;
  --code-purple: #C792EA;
  --code-yellow: #F2C572;
  --max-width: 1120px;
  --radius: 8px;
  --radius-sm: 6px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 1px 6px;
  background: var(--bg-alt);
  border-radius: 4px;
  color: var(--text);
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* About page uses a narrower main column but keeps the 1120px chrome */
body.page-about main .wrapper {
  max-width: 760px;
}
body.page-about {
  line-height: 1.65;
}

/* ─── HEADER ──────────────────────────────────────── */
header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
header.site .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header.site .logo {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  font-family: var(--font-mono);
}
header.site .logo .dot { color: var(--accent); }
header.site nav { display: flex; gap: 28px; }
header.site nav a {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
header.site nav a:hover { color: var(--text); }
header.site nav a.current { color: var(--text); }
header.site .gh-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  transition: background 0.15s;
}
header.site .gh-cta:hover { background: #1c1917; }

/* ─── HERO ──────────────────────────────────────── */
.hero {
  padding: 120px 0 80px;
}
.hero .eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  font-family: var(--font-mono);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin-bottom: 12px;
  max-width: 920px;
}
.hero h1 .accent { color: var(--accent); }
.hero h2.sub-headline {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-mute);
  margin-bottom: 40px;
  max-width: 760px;
}
.hero .subheader {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 680px;
  margin-bottom: 48px;
}
.hero .subheader strong { color: var(--text); font-weight: 500; }
.hero .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: #1c1917;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--text-mute);
}
.btn-arrow { transition: transform 0.15s; }
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: translateX(2px); }

/* ─── TERMINAL BLOCKS ──────────────────────────────────────── */
.terminal {
  background: var(--code-bg);
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  padding: 28px 32px;
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: 0 12px 40px -12px rgba(12, 15, 20, 0.35);
  position: relative;
}
.terminal::before {
  content: "";
  display: block;
  position: absolute;
  top: 14px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF5F57;
  box-shadow: 18px 0 0 #FEBC2E, 36px 0 0 #28C840;
}
.terminal pre {
  margin: 0;
  padding-top: 22px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
}
.terminal .prompt { color: var(--code-mute); }
.terminal .ok { color: var(--code-green); }
.terminal .accent { color: var(--code-accent); }
.terminal .comment { color: var(--code-mute); font-style: italic; }
.terminal .out { color: #94A3B8; }
.terminal .key { color: var(--code-blue); }
.terminal .str { color: var(--code-yellow); }
.terminal .lock { color: #FBBF24; }
.terminal .flag { color: #A78BFA; }
.terminal .err { color: #F87171; }

.terminal-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-faint);
  font-style: italic;
  text-align: center;
}

/* ─── SECTIONS ──────────────────────────────────────── */
section {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
section.section-light {
  background: var(--bg);
}
section.section-alt {
  background: var(--bg-alt);
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: 0.03em;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 28px;
  max-width: 760px;
}
.section-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 660px;
  margin-bottom: 16px;
}
.section-body:last-of-type { margin-bottom: 0; }
.section-body strong {
  color: var(--text);
  font-weight: 600;
}
.section-body code {
  background: rgba(234, 88, 12, 0.08);
  color: var(--accent);
}

/* ─── INLINE DRILL + SIDE PANEL ──────────────────────────────────────── */
/* Custom elements: <drill-link>label<drill-content>...</drill-content></drill-link>
   drill-content is hidden by default and cloned into the side panel on click.
   Edit mode (add `?edit` to the URL) makes drill-content visible for inline
   authoring via contentEditable. */

drill-link {
  display: inline;
  color: var(--accent);
  cursor: pointer;
  border-bottom: 1.5px dotted var(--accent);
  transition: all 0.15s;
  line-height: inherit;
  padding: 0 1px;
}
drill-link:hover {
  background: var(--accent-soft);
  border-bottom-style: solid;
  border-bottom-width: 1.5px;
}
drill-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
drill-content {
  display: none;
}

/* iOS-table-view-style flash when returning to a previous page */
drill-link.flash {
  animation: drillFlash 0.85s ease-out;
  border-radius: 3px;
}
@keyframes drillFlash {
  0% {
    background: var(--accent);
    color: #fff;
    border-bottom-color: var(--accent);
    border-bottom-style: solid;
  }
  35% {
    background: var(--accent);
    color: #fff;
    border-bottom-color: var(--accent);
    border-bottom-style: solid;
  }
  100% {
    background: transparent;
    color: var(--accent);
    border-bottom-style: dotted;
  }
}

/* Edit mode — activated by adding `?edit` to the URL.
   Makes drill-content visible and editable inline, disables drill clicks. */
body.drill-editing drill-content {
  display: block;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin: 12px 0 12px 8px;
  border-radius: 4px;
}
body.drill-editing drill-link {
  pointer-events: auto;
  background: rgba(234, 88, 12, 0.08);
  padding: 2px 5px;
  border-radius: 3px;
}
body.drill-editing drill-link::before {
  content: "✎ ";
  color: var(--accent);
  font-size: 0.85em;
}

/* Floating "copy html" button — visible only in edit mode */
.drill-copy-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--text);
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  z-index: 500;
  box-shadow: 0 12px 32px -8px rgba(12, 15, 20, 0.35);
  transition: all 0.15s;
  user-select: none;
}
body.drill-editing .drill-copy-btn {
  display: inline-flex;
}
.drill-copy-btn::before {
  content: "⧉";
  font-size: 15px;
  line-height: 1;
}
.drill-copy-btn:hover {
  background: #1c1917;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(12, 15, 20, 0.4);
}
.drill-copy-btn.copied {
  background: #15803D;
  border-color: rgba(255, 255, 255, 0.12);
}
.drill-copy-btn.copied::before {
  content: "✓";
}
.drill-copy-btn.failed {
  background: #B91C1C;
}
.drill-copy-btn.failed::before {
  content: "✕";
}

.drill-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 200;
}
.drill-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drill-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 520px;
  max-width: calc(100vw - 48px);
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: -24px 0 60px -24px rgba(12, 15, 20, 0.25);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 300;
  display: flex;
  flex-direction: column;
}
.drill-panel.open {
  transform: translateX(0);
}

.drill-panel-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.drill-panel-chrome .back,
.drill-panel-chrome .close {
  background: none;
  border: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-mute);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.drill-panel-chrome .back {
  color: var(--accent);
  font-weight: 500;
}
.drill-panel-chrome .back:hover,
.drill-panel-chrome .close:hover {
  background: var(--bg-alt);
  color: var(--text);
}
.drill-panel-chrome .back:disabled {
  opacity: 0;
  cursor: default;
}
.drill-panel-chrome .breadcrumb {
  flex: 1;
  text-align: center;
  color: var(--text-faint);
  text-transform: lowercase;
  letter-spacing: 0.03em;
}
.drill-panel-chrome .close {
  font-size: 22px;
  line-height: 1;
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drill-panel-body {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.drill-page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 36px 40px 48px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease-out;
  background: var(--bg);
}
.drill-page.enter-right {
  transform: translateX(100%);
  opacity: 0;
}
.drill-page.enter-left {
  transform: translateX(-40%);
  opacity: 0;
}
.drill-page.active {
  transform: translateX(0);
  opacity: 1;
}
.drill-page.leave-left {
  transform: translateX(-40%);
  opacity: 0;
  pointer-events: none;
}
.drill-page.leave-right {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}
.drill-page h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.drill-page p,
.drill-page .para {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.drill-page p:last-child,
.drill-page .para:last-child {
  margin-bottom: 0;
}
.drill-page p strong,
.drill-page .para strong {
  color: var(--text);
  font-weight: 600;
}
body.drill-editing drill-content .para {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 10px 0;
  color: var(--text-mute);
}
body.drill-editing drill-content .para:last-child {
  margin-bottom: 0;
}
body.drill-editing drill-content .para strong {
  color: var(--text);
  font-weight: 600;
}
.drill-page ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.drill-page ul li {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.6;
  padding: 6px 0 6px 20px;
  position: relative;
}
.drill-page ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}
.drill-page ul li strong { color: var(--text); font-weight: 600; }
.drill-page code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 1px 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  color: var(--text);
}
.drill-page drill-link {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

body.drill-locked {
  overflow: hidden;
}

@media (max-width: 640px) {
  .drill-panel {
    width: 100vw;
    max-width: 100vw;
  }
  .drill-page {
    padding: 28px 24px 40px;
  }
  .drill-page h3 {
    font-size: 22px;
  }
}

/* ─── COMPARISON visual ──────────────────────────────────────── */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 56px 0 40px;
}
.comparison .col {
  background: var(--code-bg);
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  padding: 28px 24px;
  border-radius: var(--radius);
  position: relative;
  overflow-x: auto;
}
.comparison .col .label {
  color: var(--code-accent);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-weight: 600;
}
.comparison .col.bad .label { color: #F87171; }
.comparison .col.good .label { color: var(--code-green); }
.comparison .col.blue .label { color: var(--code-blue); }
.comparison .col .item { color: var(--code-mute); }
.comparison .col .item.highlight { color: var(--code-accent); font-weight: 600; }
.comparison .col .note {
  display: block;
  margin-top: 14px;
  color: var(--code-mute);
  font-style: italic;
  font-size: 11.5px;
}
.comparison .col pre {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
}
.comparison .col .key { color: #7DD3FC; }
.comparison .col .str { color: var(--code-yellow); }

/* ─── CODE BLOCK (typescript) ──────────────────────────────────────── */
.code-block {
  background: var(--code-bg);
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
  padding: 32px 36px;
  border-radius: var(--radius);
  margin: 40px 0 24px;
  overflow-x: auto;
  box-shadow: 0 12px 40px -12px rgba(12, 15, 20, 0.35);
}
.code-block .kw { color: var(--code-purple); }
.code-block .str { color: var(--code-yellow); }
.code-block .fn { color: var(--code-blue); }
.code-block .var { color: #E5E7EB; }
.code-block .comment { color: var(--code-mute); font-style: italic; }
.code-block .obj-key { color: #7DD3FC; }
.code-block .punct { color: #9CA3AF; }
.code-block pre { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }

/* ─── TRUST GRID (5 cards, 3-col) ──────────────────────────────────────── */
.grid-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.grid-trust .card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}
.grid-trust .card:hover {
  border-color: var(--text-mute);
  transform: translateY(-2px);
}
.grid-trust .card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}
.grid-trust .card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.grid-trust .card p {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.55;
}
.grid-trust .card code {
  font-size: 0.88em;
  padding: 1px 5px;
  background: var(--bg-alt);
  color: var(--text);
}

/* ─── TOOLS GRID ──────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.tools-grid .tool {
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}
.tools-grid .tool:hover { border-color: var(--text-mute); }
.tools-grid .tool .name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.tools-grid .tool .desc {
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.45;
}
.tools-grid .tool .badges {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.tools-grid .tool .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg-alt);
  color: var(--text-faint);
}
.tools-grid .tool .badge.priv { color: #DC2626; background: #FEF2F2; }
.tools-grid .tool .badge.untr { color: #D97706; background: #FFFBEB; }
.tools-grid .tool .badge.exfil { color: #7C3AED; background: #F5F3FF; }

.tools-cta {
  margin-top: 36px;
  text-align: center;
}

/* ─── HOSTS row ──────────────────────────────────────── */
.hosts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
}
.hosts-row .host {
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--text);
  transition: all 0.15s;
}
.hosts-row .host:hover {
  border-color: var(--text-mute);
  transform: translateY(-1px);
}
.hosts-caption {
  margin-top: 28px;
  color: var(--text-mute);
  font-size: 16px;
  font-style: italic;
}

/* ─── ARCHITECTURE diagram ──────────────────────────────────────── */
.arch {
  margin-top: 56px;
  padding: 40px;
  background: var(--code-bg);
  color: var(--code-text);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  overflow-x: auto;
}
.arch pre { margin: 0; font-family: inherit; }
.arch .label { color: var(--code-accent); }
.arch .branch { color: var(--code-mute); }
.arch .note {
  display: block;
  margin-top: 20px;
  color: var(--code-green);
  font-style: italic;
}

/* ─── INSTALL section ──────────────────────────────────────── */
.install-section {
  text-align: center;
  background: var(--bg-alt);
}
.install-section .section-title {
  margin-left: auto;
  margin-right: auto;
}
.install-section .terminal {
  text-align: left;
  max-width: 720px;
  margin: 56px auto 32px;
}
.install-section .next-line {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-mute);
  font-family: var(--font-mono);
}
.install-section .links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.install-section .links a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.15s;
}
.install-section .links a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ─── FLOW DIAGRAM (Mermaid-rendered SVG) ──────────────────────────────────────── */
.toolbox-diagram {
  margin-top: 56px;
}
.toolbox-diagram svg {
  display: block;
  margin: 0 auto;
  font-family: var(--font-sans);
  max-width: 720px;
  height: auto;
}
.toolbox-diagram .mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.toolbox-diagram .sub {
  font-size: 11.5px;
  color: var(--text-mute);
  font-weight: 400;
}
.toolbox-diagram .edgeLabel {
  background: var(--bg);
  color: var(--text-mute);
  font-size: 11px;
  padding: 0 4px;
}
.toolbox-diagram .edgeLabel rect,
.toolbox-diagram .edgeLabel foreignObject > div {
  background: var(--bg);
}

/* ─── ABOUT PAGE ──────────────────────────────────────── */
body.page-about main {
  padding: 96px 0 120px;
}
body.page-about .eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}
body.page-about h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}
body.page-about h1 .accent { color: var(--accent); }
body.page-about .lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-mute);
  margin-bottom: 64px;
  max-width: 640px;
  font-weight: 400;
}
body.page-about .lede strong { color: var(--text); font-weight: 500; }
body.page-about section.block {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
  padding: 0;
  border-top: none;
  background: transparent;
}
body.page-about h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 18px 0;
  color: var(--text);
}
body.page-about main p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-mute);
  margin-bottom: 18px;
  max-width: 640px;
}
body.page-about main p:last-child { margin-bottom: 0; }
body.page-about main p strong { color: var(--text); font-weight: 600; }
body.page-about main a.inline {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent);
  transition: background 0.15s;
}
body.page-about main a.inline:hover {
  background: var(--accent-soft);
}
body.page-about .callout {
  margin: 28px 0 8px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
body.page-about .callout p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  max-width: none;
}
body.page-about .callout p strong { color: var(--text); }
body.page-about ul.plain {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  max-width: 640px;
}
body.page-about ul.plain li {
  padding: 4px 0 4px 22px;
  position: relative;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-mute);
}
body.page-about ul.plain li::before {
  content: "→";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 500;
}
body.page-about ul.plain li strong { color: var(--text); font-weight: 600; }
body.page-about .contact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
body.page-about .contact-row a {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all 0.15s;
  background: var(--bg);
}
body.page-about .contact-row a:hover {
  background: var(--bg-alt);
  border-color: var(--text-mute);
  transform: translateY(-1px);
}

/* ─── FOOTER ──────────────────────────────────────── */
footer.site {
  padding: 56px 0 64px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
footer.site .wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
footer.site .brand-block {
  max-width: 400px;
}
footer.site .brand {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
footer.site .brand .dot { color: var(--accent); }
footer.site .tagline {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 12px;
}
footer.site .license-note {
  font-size: 11.5px;
  color: var(--text-faint);
  line-height: 1.55;
}
footer.site .license-note a {
  color: var(--text-mute);
  border-bottom: 1px dotted var(--border-strong);
  transition: color 0.15s, border-color 0.15s;
}
footer.site .license-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
footer.site nav {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
footer.site nav .col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 12px;
  font-weight: 600;
}
footer.site nav .col a {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.15s;
}
footer.site nav .col a:hover { color: var(--text); }

/* About footer keeps full-width nav, not narrow column */
body.page-about footer.site .wrapper {
  max-width: 1120px;
}

/* ─── PREVIEW PILL / STATUS BADGES ──────────────────────────────────────── */
.hero .eyebrow.preview {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  background: var(--accent-soft);
}
.status-planned,
.status-in-dev {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--bg-alt);
  color: var(--text-faint);
  letter-spacing: 0.02em;
  margin: 0 2px;
  vertical-align: 1px;
}
.title-aside {
  font-size: 0.6em;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.01em;
  vertical-align: 4px;
  margin-left: 4px;
}
.catalog-subhead {
  margin: 40px 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
}
.catalog-subhead code {
  background: var(--bg-alt);
  color: var(--text);
  padding: 1px 5px;
}

/* ─── WAITLIST FORM ──────────────────────────────────────── */
.waitlist {
  max-width: 560px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.waitlist-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}
.waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.waitlist-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.waitlist-hint {
  color: var(--text-faint);
  font-weight: 400;
}
.waitlist input[type="email"],
.waitlist select {
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}
.waitlist input[type="email"]:focus,
.waitlist select:focus {
  outline: none;
  border-color: var(--accent);
}
.waitlist select {
  cursor: pointer;
}
.waitlist-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.waitlist button[type="submit"] {
  justify-content: center;
  border: none;
}
.waitlist-status {
  font-size: 14px;
  color: var(--text-mute);
  min-height: 1.4em;
  text-align: center;
}
.waitlist-status.error { color: #DC2626; }
.waitlist-status.ok { color: var(--text); }
.waitlist-success {
  text-align: center;
  padding: 24px 0;
}
.waitlist-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.waitlist-success p {
  color: var(--text-mute);
  margin-bottom: 20px;
}
.waitlist-success .links {
  justify-content: center;
}
@media (max-width: 640px) {
  .waitlist-row { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1000px) {
  .grid-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison { grid-template-columns: 1fr; }
  footer.site nav { gap: 24px; }
}
@media (max-width: 640px) {
  .wrapper { padding: 0 20px; }
  header.site nav { display: none; }
  .hero { padding: 60px 0 40px; }
  section { padding: 70px 0; }
  .terminal, .code-block { font-size: 11.5px; padding: 20px; padding-top: 30px; }
  .code-block { padding: 22px; }
  .tools-grid { grid-template-columns: 1fr; }
  .grid-trust { grid-template-columns: 1fr; }
  footer.site .wrapper { flex-direction: column; }
  body.page-about main { padding: 56px 0 72px; }
  footer.site nav { gap: 20px; }
}
