/* ============================================================
   Claryon — shared stylesheet
   Brand: lime / purple / ink / paper / night
   Fonts: Special Elite (display), Space Grotesk (sans), JetBrains Mono (mono)
   ============================================================ */

:root {
  --lime:       #BEDC00;
  --lime-2:     #D4EE4A;
  --purple:     #B97BE0;
  --purple-2:   #8B4FC0;
  --ink:        #111111;
  --ink-2:      #2A2A2A;
  --paper:      #EDECE8;
  --paper-2:    #E2E0DA;
  --paper-3:    #D6D4CC;
  --muted:      #6B6A64;
  --rule:       #1111111F;
  --rule-strong:#11111140;
  --accent:     var(--lime);
  --accent-2:   var(--purple);
  --ok:         var(--lime);
  --warn:       #D96B3A;
  --night:      #1a1830;

  --display: 'Special Elite','Courier Prime','Courier New',monospace;
  --sans:    'Space Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mono:    'JetBrains Mono',ui-monospace,'SF Mono',Menlo,monospace;

  --max: 1320px;
  --pad-x: 32px;

  --step-0: clamp(13px, 0.82rem + 0.1vw, 14.5px);
  --step-1: clamp(15px, 0.93rem + 0.2vw, 17px);
  --step-2: clamp(18px, 1rem + 0.4vw, 20px);
  --step-h3: clamp(22px, 1.25rem + 0.6vw, 28px);
  --step-h2: clamp(28px, 1.7rem + 1.4vw, 44px);
  --step-h1: clamp(40px, 4.6vw + 0.8rem, 84px);

  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }

.mono   { font-family: var(--mono); font-feature-settings: "tnum"; }
.serif  { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.num    { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--lime); padding: 10px 14px;
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { left: 12px; top: 12px; }

/* -------- Patterns -------- */
.brand-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.brand-bg::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 45% at 18% 30%, var(--lime) 0%, transparent 60%),
    radial-gradient(45% 50% at 78% 22%, var(--purple) 0%, transparent 62%),
    radial-gradient(55% 55% at 70% 85%, var(--lime) 0%, transparent 55%),
    radial-gradient(40% 45% at 20% 80%, var(--purple-2) 0%, transparent 60%),
    var(--night);
  filter: saturate(1.1);
}
.brand-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55; mix-blend-mode: overlay;
}
.binary-strip {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='120' font-family='monospace' font-size='14' fill='%23ffffff60'><text x='0' y='16'>1 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 0</text><text x='0' y='38'>0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 0 1 0</text><text x='0' y='60'>0 0 1 1 0 1 1 0 0 1 0 1 1 0 1 0 1 1 0 0 1 1 0 1 0 1 1</text><text x='0' y='82'>1 0 1 0 1 1 0 1 1 0 0 1 0 1 1 0 1 0 1 0 0 1 1 0 1 0 0</text><text x='0' y='104'>1 1 0 0 1 0 1 0 1 1 0 0 1 1 0 1 0 1 0 1 1 0 0 1 0 1 1</text></svg>");
  background-size: 420px 120px;
}
.binary-strip-ink {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='120' font-family='monospace' font-size='14' fill='%2311111130'><text x='0' y='16'>1 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 0</text><text x='0' y='38'>0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 0 1 0</text><text x='0' y='60'>0 0 1 1 0 1 1 0 0 1 0 1 1 0 1 0 1 1 0 0 1 1 0 1 0 1 1</text><text x='0' y='82'>1 0 1 0 1 1 0 1 1 0 0 1 0 1 1 0 1 0 1 0 0 1 1 0 1 0 0</text><text x='0' y='104'>1 1 0 0 1 0 1 0 1 1 0 0 1 1 0 1 0 1 0 1 1 0 0 1 0 1 1</text></svg>");
  background-size: 420px 120px;
}
.dots-strip {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='20' cy='20' r='13' fill='none' stroke='%23BEDC00' stroke-width='2.5'/><circle cx='20' cy='20' r='3.5' fill='%23BEDC00'/></svg>");
  background-size: 40px 40px;
}
.dots-strip-purple {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='20' cy='20' r='13' fill='none' stroke='%23B97BE0' stroke-width='2.5'/><circle cx='20' cy='20' r='3.5' fill='%23B97BE0'/></svg>");
  background-size: 40px 40px;
}

/* -------- Top announcement bar -------- */
.topbar {
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 8px 0;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.topbar .live { color: var(--lime); }
.topbar .live::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--lime); border-radius: 999px; margin-right: 8px;
  vertical-align: middle; box-shadow: 0 0 0 3px rgba(190,220,0,0.18);
}
.topbar a:hover { color: var(--lime); }

/* -------- Nav -------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand-chip {
  background: var(--lime); padding: 6px 10px 4px;
  border-radius: var(--radius); display: inline-flex; flex-shrink: 0;
}
.brand-tag {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--muted); letter-spacing: 0.18em;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  position: relative;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  padding: 8px 2px;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--lime);
}
.nav-cta {
  font-size: 13px; color: var(--ink); background: var(--lime);
  padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
  letter-spacing: 0.02em; white-space: nowrap;
}
.nav-cta:hover { background: var(--lime-2); }
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; display: block;
  width: 18px; height: 2px; background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after  { position: absolute; top:  6px; left: 0; }
.nav[data-open="true"] .nav-toggle span { background: transparent; }
.nav[data-open="true"] .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* -------- Mega menu (dropdown groups) -------- */
.has-menu { position: relative; }
.has-menu > .nav-link::after {
  content: " ▾"; font-size: 9px; color: var(--muted);
  margin-left: 2px;
}
.dropdown {
  position: absolute; top: calc(100% + 4px); left: -16px;
  min-width: 260px; padding: 14px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0,0,0,0.14);
  display: none; z-index: 50;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; padding: 8px 10px; border-radius: var(--radius);
  font-size: 14px; color: var(--ink-2);
}
.dropdown a:hover { background: var(--paper-2); color: var(--ink); }
.dropdown .dropdown-kick {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; color: var(--muted);
  padding: 8px 10px 4px;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  white-space: nowrap; border: 1px solid transparent;
  transition: transform .12s ease, background-color .18s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-primary   { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-2); }
.btn-ghost {
  color: var(--ink); border-color: var(--rule-strong);
  background: transparent;
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-dark {
  background: var(--ink); color: var(--paper);
}
.btn-dark:hover { background: #000; }
.btn-on-dark {
  color: #fff; border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.14); }

/* -------- Hero variants -------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.hero-binary {
  position: absolute; width: 420px; height: 140px;
  opacity: 0.32; z-index: 1; mix-blend-mode: screen;
  pointer-events: none;
}
.hero-binary.tr { top: 0; right: 0; }
.hero-binary.bl { bottom: 24px; left: 0; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-copy { color: #fff; display: flex; flex-direction: column; gap: 22px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.85);
}
.eyebrow-dot {
  width: 8px; height: 8px; background: var(--lime); border-radius: 999px;
  display: inline-block; box-shadow: 0 0 0 3px rgba(190,220,0,0.25);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--display);
  font-size: var(--step-h1);
  line-height: 1.02; margin: 0; font-weight: 400; letter-spacing: -0.01em;
  color: #fff; text-wrap: balance;
}
.hero h1 .lime { color: var(--lime); }
.hero h1 .purple { color: var(--purple); }
.hero h1 .period { color: var(--lime); }
.hero .lede {
  font-size: var(--step-2); color: rgba(255,255,255,0.88);
  margin: 0; max-width: 50ch;
}
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sub-hero (page header for non-home pages) */
.subhero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.subhero::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 320px; height: 220px; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='20' cy='20' r='13' fill='none' stroke='%23BEDC00' stroke-width='2.5'/><circle cx='20' cy='20' r='3.5' fill='%23BEDC00'/></svg>");
  background-size: 40px 40px; pointer-events: none;
}
.subhero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; position: relative; z-index: 2; }
.subhero h1 {
  font-family: var(--display); font-size: var(--step-h2);
  line-height: 1.05; margin: 12px 0 16px; font-weight: 400;
  letter-spacing: -0.01em; text-wrap: balance;
}
.subhero .lede {
  font-size: var(--step-2); color: var(--ink-2); margin: 0; max-width: 56ch;
}
.subhero-meta { display: flex; flex-direction: column; gap: 12px; align-self: end; }
.kick {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; color: var(--muted);
  text-transform: uppercase;
}
.kick .dot { color: var(--lime); margin-right: 6px; }

/* -------- Breadcrumbs -------- */
.crumbs {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted);
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--rule-strong); }

/* -------- Sections -------- */
section { scroll-margin-top: 84px; }
.section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.section.dark {
  background: var(--ink); color: var(--paper);
  border-bottom-color: var(--ink);
  position: relative; overflow: hidden;
}
.section.dark .section-head h2 { color: var(--paper); }
.section.dark .section-head p  { color: rgba(255,255,255,0.75); }
.section.dark .section-head { border-bottom-color: rgba(255,255,255,0.15); }
.section.dark .section-kick { color: var(--lime); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; border-bottom: 1px solid var(--rule);
  padding-bottom: 16px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-h2); margin: 0; letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-head p {
  max-width: 48ch; color: var(--ink-2);
  margin: 0; font-size: 15px;
}
.section-kick { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.section-title-row { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }

/* -------- Card grids -------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
          border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.grid-3 > .card-bordered {
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 32px 28px; background: var(--paper);
}
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-soft { display: grid; gap: 16px; }
.grid-soft.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-soft.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-soft.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--rule-strong);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.card.dark {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.card h3, .card-bordered h3 {
  font-family: var(--display); font-size: var(--step-h3);
  font-weight: 400; letter-spacing: -0.005em; margin: 0;
}
.card p, .card-bordered p {
  color: var(--ink-2); font-size: 15.5px;
  margin: 0; line-height: 1.55;
}
.card.dark p { color: rgba(255,255,255,0.78); }
.card-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted);
}
.card-link {
  margin-top: auto; padding-top: 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--ink);
}
.card-link:hover { color: var(--purple-2); }
.card.dark .card-link { color: var(--lime); }

.chip {
  display: inline-flex; align-items: center;
  padding: 6px 10px; border-radius: var(--radius);
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.05em;
}
.chip-lime   { background: var(--lime); color: var(--ink); }
.chip-purple { background: var(--purple); color: var(--ink); }
.chip-ink    { background: var(--ink); color: var(--lime); }

/* -------- Bullet lists -------- */
.bullets { list-style: none; padding: 16px 0 0; margin: 0;
  display: grid; gap: 10px; border-top: 1px dashed var(--rule-strong); }
.bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.bullets li::before {
  content: ""; width: 14px; height: 14px; border-radius: 999px;
  border: 2px solid var(--ink);
  flex-shrink: 0; margin-top: 3px;
  background: radial-gradient(var(--lime) 0 30%, transparent 32%);
}
.card.dark .bullets li::before {
  border-color: var(--lime);
  background: radial-gradient(var(--lime) 0 30%, transparent 32%);
}

/* -------- Stats / numbers -------- */
.stats {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.stats > div { display: flex; flex-direction: column; gap: 4px; }
.stats .num-big {
  font-family: var(--mono); font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em; line-height: 1;
}
.stats .lime { color: var(--lime); }
.stats .purple { color: var(--purple); }
.stats .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}
.section.dark .stats .label { color: rgba(255,255,255,0.6); }
.section.dark .stats .num-big { color: var(--paper); }

/* -------- Tables -------- */
.tbl {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
}
.tbl th, .tbl td {
  text-align: left; padding: 14px 12px;
  border-bottom: 1px dashed var(--rule);
  vertical-align: top;
}
.tbl th {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.08em;
  border-bottom: 1px solid var(--rule-strong);
}
.tbl tr:last-child td { border-bottom: 0; }

/* -------- FAQ accordion -------- */
.faq { list-style: none; padding: 0; margin: 0; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; text-align: left; border: 0; background: transparent;
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px; color: var(--ink);
}
.faq-q .q {
  font-family: var(--display); font-size: clamp(17px, 1.8vw, 20px);
  text-wrap: balance;
}
.faq-q .plus {
  font-family: var(--mono); color: var(--purple-2);
  margin-top: 4px; font-size: 20px; flex-shrink: 0;
}
.faq-a {
  color: var(--ink-2); font-size: 15px;
  margin: 0 0 20px; max-width: 70ch; line-height: 1.6;
  display: none;
}
.faq-item[data-open="true"] .faq-a { display: block; }
.faq-item:not([data-open="true"]) .faq-q .plus::before { content: "+"; }
.faq-item[data-open="true"] .faq-q .plus::before { content: "−"; }

/* -------- Forms -------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase;
}
.field input, .field select, .field textarea {
  background: var(--paper); border: 1px solid var(--rule-strong);
  color: var(--ink); padding: 12px 14px; font-size: 15px;
  font-family: inherit; border-radius: var(--radius); outline: none;
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime); box-shadow: 0 0 0 3px rgba(190,220,0,0.18);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* -------- CTA band -------- */
.cta-band {
  position: relative; padding: clamp(48px, 6vw, 72px) 0;
  background: var(--ink); color: var(--paper); overflow: hidden;
}
.cta-band .binary-strip {
  position: absolute; inset: 0; opacity: 0.18; pointer-events: none;
}
.cta-band-inner {
  position: relative; display: grid; grid-template-columns: 1.4fr auto;
  gap: 32px; align-items: center;
}
.cta-band h2 {
  font-family: var(--display); font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400; letter-spacing: -0.01em;
  margin: 0 0 8px; text-wrap: balance; color: var(--lime);
}
.cta-band p { color: rgba(255,255,255,0.78); margin: 0; max-width: 60ch; }
.cta-band .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* -------- Footer -------- */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.78);
  padding: 64px 0 24px; position: relative; overflow: hidden;
}
.footer .binary-strip {
  position: absolute; inset: 0; opacity: 0.1; pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px; align-items: start;
}
.footer-brand { color: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.footer-brand p {
  margin: 0; font-size: 14px; color: rgba(255,255,255,0.7);
  max-width: 36ch; line-height: 1.55;
}
.footer-col h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--lime);
  margin: 0 0 14px; text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.78);
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.55); letter-spacing: 0.1em; gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .footer-social { display: flex; gap: 16px; }
.footer-bottom a:hover { color: var(--lime); }

/* -------- "Coming soon" notice -------- */
.coming-soon {
  border: 1px dashed var(--rule-strong);
  background: var(--paper-2);
  padding: 24px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-2); letter-spacing: 0.04em;
}
.coming-soon .pulse {
  width: 10px; height: 10px; background: var(--purple);
  border-radius: 999px; flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(185,123,224,0.22);
}

/* -------- Ribbon ("read the page") -------- */
.ribbon {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--muted);
  display: flex; gap: 16px; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--rule);
  flex-wrap: wrap;
}

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .hero-grid, .subhero-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-soft.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-soft.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band .ctas { justify-content: flex-start; }
}
@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  .topbar { font-size: 11px; }
  .topbar .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav-inner { height: 60px; }
  .nav-toggle { display: inline-flex; }
  .brand-tag { display: none; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
    max-height: calc(100dvh - 60px); overflow-y: auto;
  }
  .nav[data-open="true"] .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link {
    padding: 14px 0; font-size: 16px;
    border-bottom: 1px solid var(--rule);
  }
  .has-menu > .nav-link::after { display: none; }
  .dropdown { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0; background: transparent; }
  .dropdown a { padding: 10px 14px; font-size: 14px; color: var(--muted); }
  .dropdown .dropdown-kick { padding: 10px 14px 4px; }
  .nav-cta { margin-top: 14px; text-align: center; padding: 14px 18px; font-size: 14px; }

  .grid-3, .grid-soft.cols-3, .grid-4, .grid-soft.cols-4, .grid-soft.cols-2 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .row-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }

  .hero { padding: 56px 0 40px; }
  .hero-binary { width: 240px; height: 100px; opacity: 0.25; }
  .section-head { flex-direction: column; align-items: stretch; gap: 12px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
