/* ============== TOKENS ============== */
:root {
  --bg:           #07080A;
  --bg-2:         #0B0D11;
  --surface:      #0F1217;
  --surface-2:    #14181F;
  --surface-3:    #1A1F28;
  --ink:          #ECEEF2;
  --ink-2:        #C5C8D0;
  --muted:        #6B7280;
  --dim:          #4A5160;
  --line:         #1F242E;
  --line-2:       #2A303D;
  --accent:       #C7F751;       /* electric lime */
  --accent-2:     #5B8DEF;       /* electric blue */
  --accent-ink:   #07080A;
  --danger:       #FF6B6B;
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","ss03","cv11";
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ============== AMBIENT ============== */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.5;
  pointer-events: none; z-index: 0;
}
#bg-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.6;
}

/* ============== SHELL ============== */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
@media (max-width: 720px){ .wrap { padding: 0 20px; } }

.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.mono.small { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.dim { color: var(--dim); }
.italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.serif { font-family: var(--serif); }

/* ============== RIBBON ============== */
.ribbon {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-2);
  position: relative; z-index: 51;
  transition: background .15s ease;
  text-align: center;
}
.ribbon:hover { background: var(--surface); }
.ribbon:hover .ribbon-arrow { transform: translateX(4px); }
.ribbon-tag {
  font-weight: 600; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent);
  padding: 2px 7px; border-radius: 3px;
}
.ribbon-text { color: var(--ink); }
.ribbon-text strong { color: var(--accent); }
.ribbon-arrow { color: var(--accent); transition: transform .2s ease; }
@media (max-width: 700px){
  .ribbon { font-size: 10px; padding: 8px 14px; }
  .ribbon-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
}

/* ============== NAV ============== */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
nav.top .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .tld { color: var(--accent); }
.brand-mark { width: 24px; height: 24px; color: var(--ink-2); }

.nav-links { list-style: none; padding: 0; margin: 0;
  display: flex; gap: 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--accent); }
@media (max-width: 980px){ .nav-links { display: none; } }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.status-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@media (max-width: 720px){ .status-pill { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn.primary { padding: 14px 22px; font-size: 13px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============== HERO ============== */
.hero { padding: 64px 0 80px; position: relative; }
.hero-meta {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

h1.headline {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(48px, 8vw, 116px);
  line-height: 0.94; letter-spacing: -0.04em;
  margin: 0 0 48px;
  max-width: 14ch;
  text-wrap: balance;
}
h1.headline .line { display: block; }
h1.headline .italic {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2)));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cursor {
  display: inline-block;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  animation: blink 1.1s steps(2,end) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 56px; align-items: start;
}
@media (max-width: 1040px){ .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero-sub {
  font-size: 18px; color: var(--ink-2); margin: 0 0 32px;
  max-width: 54ch; line-height: 1.55;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 24px; border-top: 1px dashed var(--line);
}
.trust-list { font-size: 12px; color: var(--ink-2); letter-spacing: 0.08em; }

/* ============== HERO MONITOR ============== */
.hero-monitor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px #00000080, 0 0 0 1px var(--line);
}
.monitor-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.monitor-lights { display: flex; gap: 6px; }
.monitor-lights .lt {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--surface-3); border: 1px solid var(--line-2);
}
.monitor-head .live-tag {
  margin-left: auto;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.live-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent); animation: pulse 1.4s infinite; }

.monitor-body {
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 22px, color-mix(in srgb, var(--line) 60%, transparent) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, color-mix(in srgb, var(--line) 60%, transparent) 22px 23px);
}
.agent-svg { width: 100%; max-width: 360px; height: auto; }
.node-text {
  font-family: var(--mono); font-size: 9px;
  fill: var(--ink-2); letter-spacing: 0.08em;
}
.agent-text {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  fill: var(--accent); letter-spacing: 0.1em;
}
.rotor { transform-origin: 180px 180px; animation: rot 18s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.packet { filter: drop-shadow(0 0 4px var(--accent)); }

.monitor-foot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.foot-stat {
  padding: 14px 18px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.foot-stat:last-child { border-right: 0; }
.foot-val { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }

/* ============== TICKER ============== */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  background: var(--bg-2);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: inline-flex; gap: 48px;
  animation: scroll 80s linear infinite;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-2);
}
.tk { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; }
.tk i { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: inline-block; box-shadow: 0 0 6px var(--accent); }
.tk em { font-style: normal; color: var(--accent); font-weight: 500; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============== SECTIONS ============== */
section {
  padding: 100px 0; position: relative; z-index: 1;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px){ section { padding: 72px 0; } }
.section-head {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 64px; margin-bottom: 64px;
  align-items: baseline;
}
@media (max-width: 900px){ .section-head { grid-template-columns: 1fr; gap: 16px; } }
.section-head .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.section-head .num::before {
  content: ""; display: inline-block; width: 24px; height: 1px; background: var(--accent);
}
.section-head h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02; letter-spacing: -0.03em;
  margin: 0; max-width: 22ch;
  text-wrap: balance;
}
.section-head h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2)));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============== STATS ============== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 880px){ .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stat:last-child { border-right: 0; }
@media (max-width: 880px){
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.stat .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat .figure {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(48px, 5.6vw, 76px);
  line-height: 1; letter-spacing: -0.04em;
  margin: 16px 0 12px;
  color: var(--ink);
}
.stat .figure em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent);
}
.stat .figure .unit { font-size: 0.4em; color: var(--muted); font-style: italic; font-family: var(--serif); margin-left: 4px; }
.stat .desc { font-size: 13px; color: var(--ink-2); max-width: 26ch; line-height: 1.5; }

/* ============== THESIS ============== */
.thesis-quote {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.1; letter-spacing: -0.025em;
  max-width: 24ch;
  color: var(--ink-2);
}
.thesis-quote em {
  font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400;
}
.position-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 16px; margin-top: 56px;
}
@media (max-width: 900px){ .position-grid { grid-template-columns: 1fr; } }
.position-cell {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.position-cell:hover { border-color: var(--accent); transform: translateY(-2px); }
.position-cell .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}
.position-cell h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: 22px; letter-spacing: -0.015em;
  margin: 12px 0 12px;
  color: var(--ink);
}
.position-cell p { color: var(--ink-2); font-size: 15px; margin: 0; line-height: 1.55; }

/* ============== LIBRARY ============== */
.lib-intro {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 64px; margin-bottom: 56px; align-items: end;
}
@media (max-width: 900px){ .lib-intro { grid-template-columns: 1fr; gap: 24px; } }
.lib-intro p {
  font-size: 17px; color: var(--ink-2); margin: 0;
  max-width: 56ch; line-height: 1.55;
}
.lib-counter {
  font-family: var(--sans); font-weight: 500;
  font-size: 80px; line-height: 0.9; letter-spacing: -0.05em;
  text-align: right;
}
.lib-counter .of { color: var(--muted); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.4em; }

.cat { margin-top: 56px; }
.cat:first-of-type { margin-top: 0; }
.cat-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 0;
}
.cat-head .name {
  font-family: var(--sans); font-weight: 500;
  font-size: 24px; letter-spacing: -0.02em;
  color: var(--ink);
}
.cat-head .meta { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.templates {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (max-width: 720px){ .templates { grid-template-columns: 1fr; } }
.template {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 18px; align-items: start;
  background: transparent;
  transition: background .2s ease, padding-left .2s ease;
  cursor: pointer; position: relative;
}
.template:nth-child(even) { border-right: 0; }
@media (max-width: 720px){ .template { border-right: 0 !important; } }
.template:hover {
  background: var(--surface);
}
.template:hover .tname { color: var(--accent); }
.template:hover .tno { color: var(--accent); }
.template .tno {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em; padding-top: 4px;
  transition: color .2s ease;
}
.template .tname {
  font-family: var(--sans); font-weight: 500;
  font-size: 18px; letter-spacing: -0.01em;
  margin: 0 0 6px; color: var(--ink);
  transition: color .15s ease;
}
.template .tdesc { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.template .ttime {
  font-family: var(--mono); font-size: 10px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding-top: 4px;
  white-space: nowrap;
}
.template .ttime::before {
  content: "▸"; color: var(--accent); margin-right: 4px;
}

/* ============== JOURNEY ============== */
.journey {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 1000px){ .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .journey { grid-template-columns: 1fr; } }
.stage {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 280px; position: relative;
  background: transparent;
  transition: background .2s ease;
}
.stage:hover { background: var(--surface-2); }
.stage:last-child { border-right: 0; }
@media (max-width: 1000px){
  .stage:nth-child(2n){ border-right: 0; }
  .stage { border-bottom: 1px solid var(--line); }
}
.stage .step {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.stage .step .num {
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600;
  letter-spacing: 0;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 2px 8px; border-radius: 999px;
}
.stage h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: 20px; letter-spacing: -0.015em;
  margin: 4px 0 0; color: var(--ink);
}
.stage p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.55; }
.stage .price {
  margin-top: auto;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  border-top: 1px dashed var(--line-2);
  padding-top: 12px;
  display: flex; justify-content: space-between; color: var(--muted);
}
.stage .price .amt { color: var(--accent); font-weight: 600; }

/* ============== PRICING ============== */
.pricing-grid {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
.price-row {
  display: grid; grid-template-columns: 90px 1.4fr 1.6fr 220px 130px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  transition: background .2s ease;
}
.price-row:hover:not(.head) { background: var(--surface-2); }
.price-row:last-child { border-bottom: 0; }
.price-row.head {
  background: var(--bg-2);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px;
  color: var(--muted);
}
@media (max-width: 900px){
  .price-row { grid-template-columns: 70px 1fr; row-gap: 6px; padding: 18px 20px; }
  .price-row > div { grid-column: 2; }
  .price-row .pkg-no { grid-column: 1; }
  .price-row.head { display: none; }
}
.price-row .pkg-no { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.price-row .pkg-name {
  font-family: var(--sans); font-weight: 500;
  font-size: 20px; letter-spacing: -0.015em; color: var(--ink);
}
.price-row .pkg-meta { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.price-row .pkg-price {
  font-family: var(--sans); font-weight: 500;
  font-size: 28px; letter-spacing: -0.02em; color: var(--ink);
}
.price-row .pkg-price em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.price-row .pkg-when {
  font-family: var(--mono); font-size: 10px; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.price-row.feature { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.price-row.feature .pkg-price { color: var(--accent); }

/* ============== ICP ============== */
.icp-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
@media (max-width: 900px){ .icp-grid { grid-template-columns: 1fr; } }
.icp-col {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}
.icp-col h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: 22px; letter-spacing: -0.015em;
  margin: 0 0 24px; color: var(--ink);
}
.icp-list { list-style: none; padding: 0; margin: 0; }
.icp-list li {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.icp-list li:last-child { border-bottom: 0; }
.icp-list .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); align-self: center;
}
.icp-list .v { color: var(--ink-2); line-height: 1.5; }
.icp-list .v strong { color: var(--ink); font-weight: 500; }

.disqual {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  margin-top: 16px;
}
.disqual h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--danger); margin: 0 0 18px; font-weight: 500;
}
.disqual ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px;
}
@media (max-width: 720px){ .disqual ul { grid-template-columns: 1fr; } }
.disqual ul li {
  font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--muted);
  position: relative; padding-left: 22px; line-height: 1.4;
}
.disqual ul li::before {
  content: "×"; position: absolute; left: 0; color: var(--danger); font-style: normal;
  font-family: var(--mono); font-weight: 600;
}

/* ============== STACK ============== */
.stack {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
}
@media (max-width: 800px){ .stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .stack { grid-template-columns: 1fr; } }
.stack-item {
  padding: 24px;
  background: var(--surface);
  transition: background .2s ease;
}
.stack-item:hover { background: var(--surface-2); }
.stack-item .layer { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.stack-item .choice {
  font-family: var(--sans); font-weight: 500; font-size: 18px;
  margin: 8px 0 6px; letter-spacing: -0.01em; color: var(--ink);
}
.stack-item .why { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ============== CTA ============== */
.cta-block {
  padding: 120px 0;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 50% at 50% 80%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 70%),
    var(--bg);
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  opacity: 0.5; pointer-events: none;
}
.cta-block h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98; letter-spacing: -0.04em;
  margin: 24px 0 28px;
  max-width: 18ch; text-wrap: balance;
}
.cta-block h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2)));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-block .sub {
  font-size: 18px; color: var(--ink-2);
  margin: 0 0 36px; max-width: 58ch;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-top: 28px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cta-note .sep { color: var(--dim); }

/* ============== FOOTER ============== */
footer { padding: 64px 0 36px; background: var(--bg); position: relative; z-index: 1; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
@media (max-width: 720px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.foot-grid h5 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px; font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid ul li { padding: 5px 0; font-size: 13px; color: var(--ink-2); }
.foot-grid ul li a:hover { color: var(--accent); }
.foot-lockup {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 18px; font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.foot-lockup .brand-mark { width: 26px; height: 26px; }
.foot-lockup .tld { color: var(--accent); }
.foot-tag { color: var(--ink-2); font-size: 13px; max-width: 32ch; line-height: 1.55; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-family: var(--mono); font-size: 10px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  flex-wrap: wrap; gap: 12px;
}

/* ============== IMPACT ============== */
.impact-intro {
  font-size: 16px; color: var(--ink-2); line-height: 1.55;
  max-width: 64ch; margin: -32px 0 40px;
}
.inline-link {
  color: var(--accent); border-bottom: 1px dashed currentColor;
  transition: opacity .15s ease;
}
.inline-link:hover { opacity: 0.75; }

.scenarios {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 1000px){ .scenarios { grid-template-columns: 1fr; } }

.scenario {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
  background: transparent;
  transition: background .2s ease;
}
.scenario:hover { background: var(--surface-2); }
.scenario:last-child { border-right: 0; }
@media (max-width: 1000px){
  .scenario { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .scenario:last-child { border-bottom: 0; }
}

.scenario-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.scenario-no {
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600;
  letter-spacing: 0;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 2px 10px; border-radius: 999px;
}

.scenario-co {
  font-family: var(--sans); font-weight: 500;
  font-size: 20px; letter-spacing: -0.015em;
  margin: 0; color: var(--ink); line-height: 1.2;
}
.scenario-size {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}

.scenario-template {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-2);
}
.scenario-tplname {
  font-family: var(--sans); font-size: 14px; color: var(--ink-2);
}
.tplbadge {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  white-space: nowrap;
}

.scenario-pain {
  font-family: var(--sans); font-size: 14px; color: var(--ink-2);
  margin: 0; line-height: 1.5;
}

.scenario-metrics {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  display: flex; flex-direction: column; gap: 10px;
}
.scenario-metrics .metric {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.m-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.m-value {
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600;
  letter-spacing: 0; white-space: nowrap;
}

/* ============== CONTACT ============== */
.contact-block { background: var(--bg-2); }
.contact-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 40px; align-items: start;
}
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-form {
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}
@media (max-width: 600px){ .contact-form { padding: 24px; } }

.field-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px){ .field-row { grid-template-columns: 1fr; } }

.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--sans);
}
.field-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.field-label .optional {
  color: var(--dim); text-transform: none; letter-spacing: 0; font-size: 11px; margin-left: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--dim); }
.contact-form select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.contact-form textarea { resize: vertical; min-height: 96px; }

.form-submit { align-self: flex-start; margin-top: 8px; }
.form-note { color: var(--muted); margin: 4px 0 0; }
.hidden-honeypot { position: absolute; left: -9999px; }

.contact-side {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 8px;
}
.side-block {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.side-block:last-child { border-bottom: 0; }
.side-link {
  font-family: var(--sans); font-weight: 500;
  font-size: 17px; color: var(--ink); letter-spacing: -0.01em;
  transition: color .15s ease;
  word-break: break-word;
}
.side-link:hover { color: var(--accent); }
.side-note { color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.response-row {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-2); font-size: 14px;
}
.response-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

/* ============== UTILS ============== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
