@font-face{font-family:'Geist';src:url('fonts/Geist-Variable.woff2') format('woff2');font-weight:300 700;font-display:swap;}
@font-face{font-family:'Geist Mono';src:url('fonts/GeistMono-Variable.woff2') format('woff2');font-weight:400 500;font-display:swap;}
/* ============================================================
   OBSCURA, monochrome browser-engine landing page
   Geist / Geist Mono · sharp corners · pure black & white
   ============================================================ */

:root {
  --bg: #000000;
  --bg-1: #0a0a0a;
  --bg-2: #121212;
  --line: #1d1d1d;
  --line-2: #2a2a2a;
  --fg: #e8e8e8;
  --fg-strong: #fafafa;
  --muted: #8a8a8a;
  --faint: #565656;
  --white: #ffffff;

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1200px;
  --pad: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-feature-settings: "cv01", "cv03", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--white); color: #000; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ---------- layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* section dividers, constrained to the content column (not full-bleed) */
.section { position: relative; }
.section, .statband, .cta, .footer { position: relative; }
.section::before, .statband::before, .cta::before, .footer::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: calc(min(var(--maxw), 100%) - 2 * var(--pad));
  height: 1px; background: var(--line);
  pointer-events: none; z-index: 5;
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--white);
  display: inline-block;
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; color: var(--fg-strong); line-height: 1.05; }

.h-section {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 46ch;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--white); color: #000; }
.btn-primary:hover { background: #d6d6d6; }
.btn-ghost { background: transparent; color: var(--fg-strong); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #555; background: rgba(255,255,255,0.06); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner {
  height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; color: var(--fg-strong); justify-self: start; }
.brand .mark {
  width: 22px; height: 22px;
  display: block;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 28px; justify-self: center; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--fg-strong); }
.nav-right { display: flex; align-items: center; gap: 14px; justify-self: end; }
.gh-pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--fg-strong);
  transition: border-color .15s, background .15s;
}
.gh-pill:hover { border-color: #4a4a4a; background: var(--bg-1); }
.gh-pill .star { color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 72% 18%, #161616 0%, #0b0b0b 46%, #000 78%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: contrast(1.04) saturate(1.05);
  pointer-events: none;
  z-index: 0;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.25) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0.5) 82%, #000 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(96px, 15vw, 188px) var(--pad) clamp(72px, 10vw, 132px);
  display: grid;
  gap: 40px;
}
.hero-copy { max-width: 880px; }
.hero h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-top: 0;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 22px;
  font-family: var(--mono); font-size: 12.5px; color: var(--faint);
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.hero-meta .dot { width: 5px; height: 5px; background: var(--faint); display: inline-block; }

/* terminal card in hero */
.term {
  border: 1px solid var(--line-2);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 560px;
  font-family: var(--mono);
  font-size: 13px;
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
}
.term-bar .dots { display: flex; gap: 6px; }
.term-bar .dots i { width: 9px; height: 9px; border: 1px solid var(--line-2); display: block; }
.term-bar .title { margin-left: 6px; letter-spacing: 0.05em; font-size: 12px; }
.term-body { padding: 16px 16px 18px; line-height: 1.75; min-height: 156px; }
.term-body .ln { white-space: pre-wrap; }
.term .c-key { color: #fff; }
.term .c-mut { color: var(--faint); }
.term .c-str { color: #b9b9b9; }
.term .c-ok { color: #fff; }
.term .cursor {
  display: inline-block; width: 8px; height: 15px; background: var(--white);
  vertical-align: -2px; margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- stats band ---------- */
.statband { background: #000; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 48px 40px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500; letter-spacing: -0.03em; color: var(--fg-strong);
  font-variant-numeric: tabular-nums;
}
.stat .lbl { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head { padding: clamp(60px, 8vw, 96px) 0 clamp(30px, 4vw, 48px); max-width: 760px; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head .lead { margin-top: 20px; }

/* ============================================================
   PROBLEM, numbered list
   ============================================================ */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(48px, 7vw, 90px);
}
.prob {
  padding: 38px 30px 40px;
  border-left: 1px solid var(--line);
  position: relative;
}
.prob:first-child { border-left: none; }
.prob:first-child { padding-left: 0; }
.prob:last-child { padding-right: 0; }
.prob .idx { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }
.prob h3 { font-size: 22px; margin: 24px 0 12px; letter-spacing: -0.02em; }
.prob p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ============================================================
   STACK, sticky panels (Problem to Engine overlap)
   ============================================================ */
.stack { position: relative; z-index: 1; }
.stack-panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(82px, 13vh, 132px) 0 clamp(60px, 9vh, 100px);
  overflow: hidden;
  will-change: transform;
}
#engine.stack-panel { z-index: 2; }
.panel-body {
  width: 100%;
  transform-origin: center 42%;
  will-change: transform, opacity, filter;
}
/* tighten grids inside panels (they are vertically centered now) */
.stack-panel .feat-grid { margin-bottom: 0; }
.stack-panel .prob-grid { padding-bottom: 0; }
.stack-panel .sec-head { padding: 0 0 clamp(28px, 4vw, 46px); }
/* the leading-edge line that reads as the rising card's top */
.stack-panel::before { z-index: 6; }

@media (prefers-reduced-motion: reduce) {
  .stack-panel { position: static; min-height: 0; padding: clamp(60px,8vw,96px) 0; display: block; }
  .panel-body { transform: none !important; opacity: 1 !important; filter: none !important; }
}
@media (max-width: 760px) {
  .stack-panel { min-height: 0; padding: clamp(60px,12vw,90px) 0; display: block; position: static; }
  .panel-body { transform: none !important; opacity: 1 !important; filter: none !important; }
}

/* ============================================================
   SOLUTION, metric feature cards
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(48px, 7vw, 90px);
}
.feat {
  padding: 40px 38px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .25s var(--ease);
}
.feat:nth-child(odd) { padding-left: 0; }
.feat:nth-child(even) { padding-right: 0; border-right: none; }
.feat:nth-last-child(-n+2) { border-bottom: none; }
.feat:hover { background: var(--bg-1); }
.feat .tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.feat .metric {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500; letter-spacing: -0.04em; color: var(--fg-strong);
  margin: 0 0 4px; line-height: 1; font-variant-numeric: tabular-nums;
}
.feat h3 { font-size: 18px; margin-top: 22px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 38ch; }

/* ============================================================
   HOW IT WORKS, code + steps
   ============================================================ */
.how {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 100px);
}
.how > * { min-width: 0; }
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; padding-top: 4px; }
.step .sidx { font-family: var(--mono); font-size: 13px; color: var(--faint); padding-top: 3px; }
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.code-panel {
  border: 1px solid var(--line);
  background: #060606;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.code-tabs {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.code-tabs::-webkit-scrollbar { display: none; }
.code-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 16px; height: 46px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--muted); background: transparent;
  border: none; border-bottom: 2px solid transparent;
  cursor: pointer; white-space: nowrap; flex: none;
  transition: color .16s, background .16s, border-color .16s;
}
.code-tab img { width: 17px; height: 17px; object-fit: contain; display: block; opacity: .55; transition: opacity .16s, filter .16s; filter: grayscale(1); }
.code-tab:hover { color: var(--fg-strong); background: rgba(255,255,255,0.02); }
.code-tab:hover img { opacity: 1; filter: grayscale(0); }
.code-tab.active { color: var(--fg-strong); border-bottom-color: var(--white); background: rgba(255,255,255,0.03); }
.code-tab.active img { opacity: 1; filter: grayscale(0); }
.code-tab.soon { color: var(--faint); cursor: default; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-left: auto; }
.code-tab.soon:hover { background: transparent; color: var(--faint); }
.code-body {
  flex: 1; padding: 22px 24px 24px;
  font-family: var(--mono); font-size: 13px; line-height: 1.78;
  color: #e6edf3;
  overflow-x: auto;
}
.code-body pre { white-space: pre; margin: 0; }
.code-line { display: block; }
.tok-kw  { color: #ff7b72; }
.tok-cls { color: #d2a8ff; }
.tok-fn  { color: #79c0ff; }
.tok-str { color: #7ee787; }
.tok-com { color: #6e7681; font-style: italic; }
.tok-num { color: #ffa657; }
.tok-pun { color: #8b949e; }
/* ============================================================
   OPEN SOURCE
   ============================================================ */
.oss {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--line);
}
.oss h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 20px; }
.oss-single { grid-template-columns: 1fr; }
.oss-single > div { max-width: 620px; }
.oss p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 44ch; margin-bottom: 28px; }
.oss-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.oss-card {
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  font-family: var(--mono);
}
.oss-card .top { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.oss-card .repo { font-size: 14px; color: var(--fg-strong); display: flex; align-items: center; gap: 9px; }
.oss-card .body { padding: 20px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.oss-card .body .cmd { color: var(--fg); }
.oss-card .body .prompt { color: var(--faint); }
.oss-stats { display: flex; gap: 26px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.oss-stats b { color: var(--fg-strong); font-weight: 500; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.tier {
  padding: 38px 36px 40px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.tier:first-child { padding-left: 0; }
.tier:last-child { padding-right: 0; border-right: none; }
.tier.featured { background: var(--bg-1); }
.tier .name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.tier .name .badge { font-size: 10px; border: 1px solid var(--line-2); padding: 2px 7px; color: var(--fg); letter-spacing: 0.1em; }
.tier .price { margin: 26px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.tier .price .amt { font-size: 46px; font-weight: 500; letter-spacing: -0.03em; color: var(--fg-strong); }
.tier .price .per { font-size: 14px; color: var(--muted); }
.tier .desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; min-height: 44px; }
.tier .tbtn { margin: 26px 0 28px; }
.tier .tbtn .btn { width: 100%; justify-content: center; }
.tier ul { list-style: none; display: grid; gap: 14px; }
.tier li {
  position: relative; padding-left: 23px;
  font-size: 14px; color: var(--fg); line-height: 1.45;
}
.tier li::before {
  content: ""; position: absolute; left: 1px; top: 5px;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(-45deg);
}

/* ============================================================
   FINAL CTA, dot matrix hands
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) var(--pad);
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.cta-hands {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.cta-hands img {
  width: min(100%, 1180px);
  filter: brightness(1.65) contrast(1.08);
  opacity: 0.2;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(118% 108% at 50% 44%, #000 28%, rgba(0,0,0,0.55) 56%, transparent 80%);
  mask-image: radial-gradient(118% 108% at 50% 44%, #000 28%, rgba(0,0,0,0.55) 56%, transparent 80%);
}
.cta-mask {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(95% 130% at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.32) 62%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 2; max-width: 620px; }
.cta-copy h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 0.98;
  text-wrap: balance;
}
.cta-copy p { color: var(--muted); font-size: 18px; margin-top: 24px; max-width: 42ch; line-height: 1.5; }
.cta-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 80px var(--pad) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.footer .brand { margin-bottom: 20px; }
.footer .brand-lg { font-size: 22px; }
.footer .brand-lg .mark { width: 30px; height: 30px; }
.footer .tagline { color: var(--muted); font-size: 14.5px; max-width: 34ch; line-height: 1.55; }
.footer-cta { margin-top: 24px; }

.footer-config {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 2.05;
  color: var(--muted);
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  justify-self: end;
  width: max-content;
  max-width: 100%;
}
.footer-config .brace { color: var(--faint); }
.footer-config .k { color: var(--muted); }
.footer-config .p { color: var(--faint); }
.footer-config .s { color: var(--fg-strong); }
.footer-config a.lnk { color: var(--fg-strong); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .15s, opacity .15s; }
.footer-config a.lnk:hover { border-color: var(--white); }
@media (max-width: 760px) {
  .footer-config { justify-self: start; max-width: 100%; font-size: 12.5px; padding: 22px 20px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; gap: 36px; }
  .steps { border-right: none; }
  .oss { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }

  /* --- nav: declutter to brand + CTA + menu --- */
  .nav-links { display: none; }
  .nav-right .gh-pill { display: none; }
  .nav-inner { display: flex; justify-content: space-between; gap: 12px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
    flex: none;
  }
  .nav-toggle span { width: 17px; height: 1.5px; background: var(--fg); position: relative; transition: background .15s; }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--fg);
    transition: transform .22s var(--ease), top .22s var(--ease);
  }
  .nav-toggle span::before { top: -5.5px; }
  .nav-toggle span::after { top: 5.5px; }
  .nav-toggle.open span { background: transparent; }
  .nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

  /* --- hero --- */
  .hero-inner { padding-top: clamp(84px, 22vw, 120px); padding-bottom: 64px; gap: 28px; }
  .hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .hero-sub { font-size: 16.5px; margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 140px; }

  /* --- stats: single column, flush --- */
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 26px 0; border-left: none; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }

  /* --- section heads --- */
  .sec-head { padding: clamp(48px, 12vw, 72px) 0 clamp(24px, 6vw, 36px); }

  /* --- problem cards: single column, consistent flush padding --- */
  .prob-grid { grid-template-columns: 1fr; }
  .prob, .prob:first-child, .prob:last-child { padding: 30px 0; border-left: none; border-top: 1px solid var(--line); }
  .prob:first-child { border-top: none; padding-top: 4px; }
  .prob h3 { margin: 16px 0 10px; }

  /* --- feature cards: single column, consistent flush padding --- */
  .feat-grid { grid-template-columns: 1fr; }
  .feat,
  .feat:nth-child(odd),
  .feat:nth-child(even) { padding: 30px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .feat:last-child { border-bottom: none; }
  .feat h3 { margin-top: 16px; }

  /* --- how it works --- */
  .step { grid-template-columns: 34px 1fr; }

  /* --- pricing: single column, consistent flush padding --- */
  .price-grid { grid-template-columns: 1fr; }
  .tier,
  .tier:first-child,
  .tier:last-child { padding: 34px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .tier:last-child { border-bottom: none; }
  .tier.featured { background: transparent; }
  .tier .desc { min-height: 0; }

  /* --- CTA --- */
  .cta-inner { min-height: 380px; padding: 80px var(--pad); }
  .cta-copy h2 { font-size: clamp(34px, 10vw, 52px); }
  .cta-copy p { font-size: 16.5px; }
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 140px; }

  /* --- footer: stacked, config scrolls inside its own box --- */
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 56px var(--pad); }
  .footer .tagline { max-width: none; }
  .footer-config {
    justify-self: start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 12.5px;
    line-height: 1.9;
    border: 1px solid var(--line);
    background: var(--bg-1);
    padding: 18px 18px;
  }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(34px, 12vw, 46px); }
  .cta-copy h2 br { display: none; }
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.mnav {
  position: fixed; left: 0; right: 0; top: 60px; z-index: 99;
  background: #000; border-bottom: 1px solid var(--line);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.mnav.open { opacity: 1; transform: none; pointer-events: auto; }
.mnav a { display: block; padding: 17px var(--pad); border-bottom: 1px solid var(--line); color: var(--fg-strong); font-size: 16px; font-weight: 500; }
.mnav a:active { background: var(--bg-1); }
.mnav .mcta { padding: 18px var(--pad) 22px; border-bottom: none; }
.mnav .mcta .btn { height: 48px; }

/* ============================================================
   LEGAL PAGES (terms, privacy)
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--pad) clamp(64px, 9vw, 120px); }
.legal-head { padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.legal-head h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; }
.legal-head .updated { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 18px; }
.legal-head .intro { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 22px; max-width: 64ch; text-wrap: pretty; }
.legal h2 { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.02em; margin: clamp(40px, 5vw, 58px) 0 16px; }
.legal h2 .sec-no { font-family: var(--mono); font-size: 0.62em; color: var(--faint); margin-right: 12px; font-weight: 400; }
.legal h3 { font-size: 17px; color: var(--fg-strong); margin: 26px 0 10px; }
.legal p { color: var(--muted); font-size: 15.5px; line-height: 1.72; margin: 14px 0; max-width: 70ch; text-wrap: pretty; }
.legal ul { list-style: none; margin: 14px 0; display: grid; gap: 11px; max-width: 70ch; }
.legal li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.legal li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 1px; background: var(--faint); }
.legal a { color: var(--fg-strong); border-bottom: 1px solid var(--line-2); transition: border-color .15s; }
.legal a:hover { border-color: var(--white); }
.legal strong { color: var(--fg); font-weight: 500; }
.legal .lead-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.legal .lead-back:hover { color: var(--fg-strong); border-bottom-color: transparent; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); color: var(--muted); vertical-align: top; line-height: 1.55; }
.legal th { color: var(--fg-strong); font-weight: 500; background: var(--bg-1); }
.legal .note { border-left: 1px solid var(--line-2); background: var(--bg-1); padding: 16px 18px; margin: 22px 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 760px) { .legal { padding-top: 84px; } }
