/* ZaitMate — cinematic dark. One accent: lime. Clash Display + General Sans. */
:root {
  --bg: #0a0a0a;
  --bg-1: #0f0f0f;
  --bg-2: #141414;
  --bg-3: #1b1b1b;
  --line: rgba(245, 245, 240, 0.08);
  --line-2: rgba(245, 245, 240, 0.14);
  --text: #f5f5f0;
  --text-2: #a5a59e;
  --text-3: #6c6c67;
  --text-4: #3d3d3a;
  --lime: #c6ff3d;
  --lime-ink: #0a0a0a;
  --lime-glow: rgba(198, 255, 61, 0.35);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --radius: 18px;
  --display: "Clash Display", "General Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
html { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* Film grain over everything */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(1) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; } 25% { background-position: -40px 25px; }
  50% { background-position: 30px -35px; } 75% { background-position: -20px -15px; } 100% { background-position: 0 0; }
}

.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--lime-ink); padding: 10px 14px; font-weight: 600; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
main, footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px 0; transition: padding .4s var(--ease); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  height: 56px; padding: 0 8px 0 16px;
  border: 1px solid transparent; border-radius: 999px;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled .bar {
  background: rgba(15, 15, 15, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: var(--lime); color: var(--lime-ink);
  font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1;
  box-shadow: 0 0 24px -4px var(--lime-glow);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.link { text-decoration: none; font-size: 14.5px; color: var(--text-2); font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a.link:hover { color: var(--text); background: rgba(245,245,240,0.05); }
@media (max-width: 760px) { .nav a.link { display: none; } .site-header .bar { padding-left: 12px; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink);
  font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  text-decoration: none; border: 0;
  box-shadow: 0 0 0 1px rgba(198,255,61,0.5), 0 8px 40px -8px var(--lime-glow), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(198,255,61,0.7), 0 12px 56px -6px rgba(198,255,61,0.55), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; box-shadow: 0 0 0 1px rgba(198,255,61,0.5), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-ghost {
  background: rgba(245,245,240,0.04); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgba(245,245,240,0.08); box-shadow: inset 0 0 0 1px rgba(245,245,240,0.22); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.005em; line-height: 0.95; }
.h-xl { font-size: clamp(54px, 12.5vw, 172px); letter-spacing: -0.018em; word-spacing: 0.04em; line-height: 0.92; font-weight: 600; }
.h-lg { font-size: clamp(38px, 6.6vw, 90px); letter-spacing: -0.008em; word-spacing: 0.08em; line-height: 1.02; }
.h-md { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.02; }
.accent { color: var(--lime); }
.muted { color: var(--text-3); }
.dim { color: var(--text-2); }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--text-2); max-width: 46ch; line-height: 1.55; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  margin: 0 0 28px; letter-spacing: 0;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px 2px var(--lime-glow); }
.eyebrow .num { color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- Light: beams + glows ---------- */
.beam {
  position: absolute; width: 1px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(198,255,61,0.55) 50%, transparent);
  opacity: .5;
}
.beam::after {
  content: ""; position: absolute; left: -1px; width: 3px; height: 120px; top: -120px;
  background: linear-gradient(to bottom, transparent, var(--lime), transparent);
  filter: blur(1px); box-shadow: 0 0 16px 2px var(--lime-glow);
  animation: travel 7s var(--ease) infinite;
}
.beam.b2::after { animation-delay: 2.4s; animation-duration: 9s; }
.beam.b3::after { animation-delay: 4.6s; animation-duration: 8s; }
@keyframes travel { 0% { top: -120px; opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(60px); background: radial-gradient(closest-side, rgba(198,255,61,0.22), transparent); }

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(110px, 15vw, 190px) 0; }
section[id] { scroll-margin-top: 80px; }
.sec-head { max-width: 1040px; }
.sec-head .lede { margin-top: 28px; }
.rule { height: 1px; background: linear-gradient(to right, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(150px, 20vw, 230px); padding-bottom: clamp(80px, 10vw, 120px); overflow: hidden; }
.hero .beams { position: absolute; inset: 0; pointer-events: none; }
.hero .beam.b1 { left: max(2%, calc(50% - 760px)); top: 0; height: 62%; }
.hero .beam.b2 { left: 31%; top: 0; height: 28%; opacity: .22; }
.hero .beam.b3 { right: max(3%, calc(50% - 740px)); top: 0; height: 80%; }
@media (max-width: 760px) { .hero .beam.b2 { display: none; } .hero .beam.b1 { left: 6px; height: 40%; } .hero .beam.b3 { right: 6px; height: 55%; } }
.console-wrap .horizon {
  position: absolute; left: 50%; top: -110px; width: 200%; max-width: 2600px; aspect-ratio: 1 / 1;
  transform: translateX(-50%); border-radius: 50%;
  border-top: 1px solid rgba(198,255,61,0.6);
  box-shadow: 0 -1px 70px -12px var(--lime-glow);
  background: radial-gradient(ellipse 30% 6% at 50% 0%, rgba(198,255,61,0.10), transparent), var(--bg);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 22%, #000 42%, #000 58%, transparent 78%), linear-gradient(to bottom, #000 0, #000 340px, transparent 700px);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 22%, #000 42%, #000 58%, transparent 78%), linear-gradient(to bottom, #000 0, #000 340px, transparent 700px);
          mask-composite: intersect;
}
@media (max-width: 1024px) { .console-wrap .horizon { top: -80px; } }
@media (max-width: 760px) { .console-wrap .horizon { width: 320%; top: -60px; } }
.hero .wrap { z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin: 0; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  background: rgba(245,245,240,0.03); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.pill b { font-weight: 600; color: var(--lime-ink); background: var(--lime); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.hero h1 { margin-top: 32px; }
@media (max-width: 560px) {
  .pill { padding: 0; border: 0; background: none; backdrop-filter: none; font-size: 13.5px; align-items: flex-start; line-height: 1.45; }
  .pill::before { margin-top: 7px; flex: none; }
  .hero h1 { margin-top: 24px; }
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero .tagline { margin: clamp(28px, 3.5vw, 44px) 0 clamp(32px, 4vw, 44px); font-size: clamp(18px, 1.8vw, 22px); color: var(--text-2); max-width: 44ch; line-height: 1.5; }
.hero .tagline em { font-style: normal; color: var(--text); font-weight: 500; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 480px) { .hero-cta .btn { width: 100%; } }

/* Hero console: the system, drawn in code */
.console-wrap { position: relative; margin-top: clamp(112px, 12vw, 150px); }
.console-wrap .glow { width: 70%; height: 60%; left: 15%; top: -18%; }
.console { z-index: 1; }
.console {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(to bottom, rgba(22,22,22,0.9), rgba(12,12,12,0.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 40px 120px -20px rgba(0,0,0,0.9), inset 0 1px 0 rgba(245,245,240,0.08);
}
.console::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(to right, transparent, var(--lime), transparent); opacity: .7; }
.console-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.console-top .dots { display: flex; gap: 6px; }
.console-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); }
.console-top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.console-top .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.console-body { display: grid; grid-template-columns: 1.15fr 1fr; }
.feed { padding: 10px 0; border-right: 1px solid var(--line); }
.feed-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 14px 22px; opacity: .25; transform: translateY(6px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.feed-row.on { opacity: 1; transform: none; }
.feed-row .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--bg-2); }
.feed-row .ic svg { width: 14px; height: 14px; stroke: var(--text-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feed-row.on.hl .ic { border-color: rgba(198,255,61,0.5); box-shadow: 0 0 16px -4px var(--lime-glow); }
.feed-row.on.hl .ic svg { stroke: var(--lime); }
.feed-row strong { display: block; font-weight: 500; font-size: 15px; color: var(--text); line-height: 1.3; }
.feed-row span.s { display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.4; }
.feed-row .t { font-size: 12.5px; color: var(--text-3); }
.thread { padding: 22px; display: flex; flex-direction: column; gap: 10px; justify-content: center; background: radial-gradient(ellipse at 100% 0%, rgba(198,255,61,0.05), transparent 60%); }
.thread .who { font-size: 12.5px; color: var(--text-3); margin-bottom: 4px; }
.bubble { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.bubble.on { opacity: 1; transform: none; }
.bubble.in { background: var(--bg-3); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: rgba(198,255,61,0.1); border: 1px solid rgba(198,255,61,0.28); color: var(--text); border-bottom-right-radius: 4px; }
.bubble.out small { display: block; color: var(--lime); font-size: 11.5px; font-weight: 500; margin-bottom: 4px; }
@media (max-width: 820px) {
  .console-body { grid-template-columns: 1fr; }
  .feed { border-right: 0; border-bottom: 1px solid var(--line); }
  .feed-row { padding: 12px 16px; gap: 12px; }
  .thread { padding: 18px 16px; }
}

/* ---------- Lime divider ---------- */
.divider { position: relative; height: 1px; max-width: var(--max); margin: 0 auto; }
.divider::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent, rgba(198,255,61,0.7) 50%, transparent); }
.divider::after { content: ""; position: absolute; left: 50%; top: -30px; width: 60%; height: 60px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(198,255,61,0.16), transparent); pointer-events: none; }
.divider i { position: absolute; top: -1px; left: 0; width: 120px; height: 3px; border-radius: 3px; background: linear-gradient(to right, transparent, var(--lime), transparent); box-shadow: 0 0 14px 2px var(--lime-glow); animation: slide 6s var(--ease) infinite; opacity: 0; }
@keyframes slide { 0% { left: 10%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(90% - 120px); opacity: 0; } }

/* ---------- Problem ---------- */
.problem .glow { width: 600px; height: 400px; right: -200px; top: 10%; opacity: .6; }
.h-lg .muted { color: #7f7f79; }
.problem-list { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-list li { position: relative; padding: 32px 30px 30px; border-radius: var(--radius); background: var(--bg-1); border: 1px solid var(--line); overflow: hidden; }
.problem-list li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--lime), transparent); opacity: 0; transition: opacity .6s; }
.problem-list li:hover::after { opacity: .8; }
.problem-list .tag { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.problem-list strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -0.003em; margin-bottom: 10px; }
.problem-list .d { color: var(--text-2); font-size: 16px; }
@media (max-width: 760px) { .problem-list { grid-template-columns: 1fr; } .problem-list li { padding: 26px 22px; } .problem-list .tag { margin-bottom: 28px; } }

/* ---------- Steps ---------- */
.how .glow { width: 700px; height: 360px; left: 50%; transform: translateX(-50%); bottom: 0; opacity: .5; }
.steps { position: relative; margin-top: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps .track { position: absolute; left: 0; right: 0; top: 40px; height: 1px; background: var(--line-2); }
.steps .track i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--lime); box-shadow: 0 0 12px var(--lime); transition: width 1.8s var(--ease) .2s; }
.steps.in .track i { width: 100%; }
.step { position: relative; padding-top: 72px; }
.step .node { position: absolute; top: 33px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .6s, box-shadow .6s; }
.step .node::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--text-4); transition: background .6s; }
.steps.in .step .node { border-color: rgba(198,255,61,0.6); box-shadow: 0 0 16px var(--lime-glow); }
.steps.in .step .node::after { background: var(--lime); }
.steps.in .step:nth-child(3) .node { transition-delay: .5s; } .steps.in .step:nth-child(4) .node { transition-delay: 1.1s; }
.steps.in .step:nth-child(3) .node::after { transition-delay: .5s; } .steps.in .step:nth-child(4) .node::after { transition-delay: 1.1s; }
.step .n { font-size: 13px; color: var(--text-3); display: block; margin-bottom: 14px; }
.step h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.003em; margin-bottom: 14px; font-weight: 500; }
.step p { margin: 0; color: var(--text-2); max-width: 34ch; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 48px; padding-left: 40px; }
  .steps .track { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .steps .track i { width: 1px; height: 0; transition: height 1.8s var(--ease) .2s; }
  .steps.in .track i { width: 1px; height: 100%; }
  .step { padding-top: 0; }
  .step .node { left: -40px; top: 2px; }
}

/* ---------- Cards ---------- */
.cards { margin-top: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; border-radius: var(--radius); padding: 30px; min-height: 300px;
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: var(--bg-1); border: 1px solid var(--line);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(198,255,61,0.09), transparent 45%); }
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card .k { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-3); margin-bottom: auto; padding-bottom: 56px; }
.card .k svg { width: 22px; height: 22px; stroke: var(--text-2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.card:hover .k svg { stroke: var(--lime); }
.card h3 { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.08; letter-spacing: -0.003em; margin-bottom: 12px; font-weight: 500; }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } .card { min-height: 250px; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; gap: 12px; } .card { min-height: 0; padding: 26px 22px; } .card .k { padding-bottom: 36px; } }

/* ---------- Why ---------- */
.why .glow { width: 520px; height: 520px; left: -220px; top: 30%; opacity: .45; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 8vw, 104px); }
.why-item { padding: 34px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(to bottom, var(--bg-1), var(--bg)); position: relative; overflow: hidden; }
.why-item::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(198,255,61,0.7), transparent); }
.why-item h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.003em; line-height: 1.02; margin-bottom: 16px; font-weight: 500; }
.why-item p { color: var(--text-2); margin: 0; }
.vs { position: relative; margin-top: 16px; display: grid; grid-template-columns: 1fr 72px 1fr; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); overflow: hidden; isolation: isolate; }
.vs-head, .vs-row { display: contents; }
.vs-us-bg { position: absolute; top: 0; bottom: 0; right: 0; width: calc((100% - 72px) / 2); z-index: -1; background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(198,255,61,0.10), transparent), linear-gradient(to bottom, rgba(198,255,61,0.04), rgba(198,255,61,0.015)); border-left: 1px solid rgba(198,255,61,0.35); box-shadow: inset 0 1px 0 rgba(198,255,61,0.6); }
.vs .them, .vs .us { display: flex; gap: 14px; align-items: center; padding: 18px 32px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.35; }
.vs .vs-arrow, .vs .vs-mid { border-top: 1px solid var(--line); display: grid; place-items: center; }
.vs-head > div { border-top: 0 !important; padding-top: 30px; padding-bottom: 26px; }
.vs-head .them, .vs-head .us { flex-direction: column; align-items: flex-start; gap: 8px; }
.vs-tag { font-size: 13px; color: var(--text-3); font-weight: 500; }
.vs-head .us .vs-tag { color: var(--lime); }
.vs-head h4 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; display: flex; align-items: center; gap: 10px; }
.vs-head .them h4 { color: var(--text-3); }
.vs-head .us h4 { color: var(--text); }
.vs-head .brand-mark { width: 28px; height: 28px; font-size: 17px; }
.vs-mid span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--bg-2); font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--text-2); }
.vs .them { color: #85857f; }
.vs .us { color: var(--text); font-weight: 500; }
.vs-arrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(to right, var(--text-4), rgba(198,255,61,0.8)); }
.vs i { flex: none; position: relative; width: 18px; height: 18px; }
.vs i.x::before, .vs i.x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: #5a5a56; border-radius: 2px; }
.vs i.x::before { transform: translate(-50%, -50%) rotate(45deg); } .vs i.x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.vs i.ok::before { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 6px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); filter: drop-shadow(0 0 4px var(--lime-glow)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .vs { grid-template-columns: 1fr 1fr; }
  .vs .vs-arrow, .vs .vs-mid { display: none; }
  .vs-us-bg { width: 50%; }
  .vs .them, .vs .us { padding: 14px 14px; font-size: 14.5px; gap: 8px; align-items: flex-start; }
  .vs i { width: 14px; height: 14px; margin-top: 2px; }
  .vs i.x::before, .vs i.x::after { width: 11px; }
  .vs i.ok::before { left: 2px; top: 2px; width: 10px; height: 5px; }
  .vs-head > div { padding-top: 22px; padding-bottom: 18px; }
  .vs-head h4 { font-size: 19px; }
  .vs-head .brand-mark { width: 22px; height: 22px; font-size: 13px; }
}
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } .why-item { padding: 26px 22px; } .why-item::before { left: 22px; right: 22px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 120px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--display); font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; letter-spacing: -0.003em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lime); }
.faq .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: border-color .3s, transform .4s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--text); transform: translate(-50%, -50%); }
.faq .pm::before { width: 10px; height: 1.5px; } .faq .pm::after { width: 1.5px; height: 10px; transition: transform .4s var(--ease); }
.faq details[open] .pm { border-color: rgba(198,255,61,0.6); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details[open] .pm::before { background: var(--lime); }
.faq .a { padding: 0 48px 28px 0; color: var(--text-2); }
.faq .a p { margin: 0; }
.faq .a a { color: var(--text); text-decoration-color: var(--lime); text-underline-offset: 3px; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; } .faq .a { padding-right: 0; } }

/* ---------- Final CTA ---------- */
.cta { overflow: hidden; text-align: center; padding-top: clamp(140px, 18vw, 220px); padding-bottom: clamp(110px, 13vw, 170px); }
.cta .ring {
  position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(198,255,61,0.18); pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.cta .ring.r2 { width: min(760px, 110vw); border-color: rgba(198,255,61,0.12); }
.cta .glow { width: 640px; height: 320px; left: 50%; top: 50%; transform: translate(-50%, -30%); opacity: .7; }
.cta .wrap { z-index: 2; }
.cta .eyebrow { justify-content: center; }
.cta h2 { margin: 0 auto; max-width: 12ch; }
.cta .lede { margin: 32px auto 44px; }
.cta .mail { margin-top: 28px; color: var(--text-3); font-size: 15px; }
.cta .mail a { color: var(--text); text-decoration-color: var(--lime); text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 14.5px; color: var(--text-3); overflow: hidden; }
.site-footer .brand { color: var(--text); }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.foot-top p { margin: 16px 0 0; max-width: 34ch; }
.foot-top p a { color: var(--text-2); text-decoration: none; }
.foot-top p a:hover { color: var(--lime); }
.foot-word {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.05em; line-height: .78;
  font-size: clamp(64px, 19vw, 260px); margin: 64px 0 40px; user-select: none; white-space: nowrap;
  color: transparent; background: linear-gradient(to bottom, rgba(245,245,240,0.10), rgba(245,245,240,0.01));
  -webkit-background-clip: text; background-clip: text;
}
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-1); transition: border-color .3s, background .3s; }
.socials a:hover { border-color: rgba(198,255,61,0.5); }
.socials svg { width: 17px; height: 17px; fill: var(--text-2); transition: fill .3s; }
.socials a:hover svg { fill: var(--lime); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
.hero .line > span { transform: translateY(110%); animation: rise 1.3s var(--ease) forwards; }
.hero .line:nth-child(2) > span { animation-delay: .12s; } .hero .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .fade { opacity: 0; transform: translateY(12px); animation: fadein 1.2s var(--ease) .5s forwards; }
.hero .fade.late { animation-delay: .75s; } .hero .fade.later { animation-delay: 1s; }
@keyframes fadein { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .grain, .beam::after, .divider i, .console-top .live::before { animation: none; }
  .reveal, .hero .fade { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
  .hero .line > span { animation: none; transform: none; }
  .feed-row, .bubble { opacity: 1; transform: none; transition: none; }
  .steps .track i { transition: none; }
}

/* ---------- Legal pages ---------- */
.legal { padding: clamp(140px, 16vw, 190px) 0 clamp(80px, 12vw, 160px); overflow: hidden; }
.legal .glow { width: 700px; height: 300px; left: 50%; top: 40px; transform: translateX(-50%); opacity: .5; }
.legal-head { position: relative; border-bottom: 1px solid var(--line); padding-bottom: 44px; margin-bottom: 64px; }
.legal-head .h-lg { font-size: clamp(48px, 9vw, 112px); }
.legal-head p { color: var(--text-3); margin: 24px 0 0; font-size: 15px; }
.legal-body { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 110px; font-size: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-3); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); border-left-color: var(--lime); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.003em; line-height: 1.1; margin: 72px 0 18px; scroll-margin-top: 110px; font-weight: 500; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .num { color: var(--text-3); margin-right: 10px; }
.prose h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; margin: 36px 0 10px; font-weight: 500; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--lime); }
.prose a { color: var(--text); text-decoration-color: rgba(198,255,61,0.6); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.callout { position: relative; border: 1px solid var(--line-2); background: var(--bg-1); border-radius: 14px; padding: 22px 24px; margin: 28px 0; overflow: hidden; }
.callout::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; background: var(--lime); border-radius: 2px; box-shadow: 0 0 12px var(--lime-glow); }
.callout p:first-child { margin-top: 0; } .callout p:last-child { margin-bottom: 0; }
@media (max-width: 880px) { .legal-body { grid-template-columns: 1fr; } .toc { display: none; } .legal-head { margin-bottom: 44px; } }

/* 404 */
.notfound { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.notfound .lede { margin: 28px 0 40px; }

@media (max-width: 640px) { .hide-sm { display: none; } }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px 1px var(--lime-glow); }
@media (max-width: 420px) { .hero .h-xl { font-size: min(14vw, 56px); letter-spacing: -0.03em; word-spacing: 0; } }
