/* ============================================================
   ELENCO — Obsidian Tech (dark premium)
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("./fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* Obsidian base */
  --bg:            #07080a;
  --bg-1:          #0a0c10;
  --bg-2:          #0e1116;
  --surface:       #0d1014;
  --surface-2:     #11151b;
  --hairline:      rgba(255, 255, 255, 0.07);
  --hairline-2:    rgba(255, 255, 255, 0.04);
  --hairline-lit:  rgba(255, 255, 255, 0.14);

  /* Text */
  --text:          #eef1f5;
  --text-2:        #b3bcc7;
  --text-3:        #7b8593;
  --text-4:        #545d69;

  /* Accent — electric emerald (matches the app) */
  --acc:           #34e6a0;
  --acc-2:         #18c98a;
  --acc-dim:       rgba(52, 230, 160, 0.14);
  --acc-glow:      rgba(52, 230, 160, 0.30);
  --acc-ink:       #04150e;

  /* Secondary electric — cool cyan for the mesh only */
  --ice:           #54b7ff;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--acc-dim); color: var(--text); }

/* ---------- Global atmosphere ---------- */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 78% -8%, rgba(52, 230, 160, 0.10), transparent 60%),
    radial-gradient(820px 540px at 8% 6%, rgba(84, 183, 255, 0.07), transparent 58%),
    radial-gradient(1200px 800px at 50% 120%, rgba(52, 230, 160, 0.05), transparent 60%),
    var(--bg);
}
.grid-dots {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc-glow);
}
.eyebrow.muted { color: var(--text-3); }
.eyebrow.muted::before { background: var(--text-3); box-shadow: none; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 560;
  margin-top: 18px;
}
.section-head p {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 16.5px;
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 530;
  letter-spacing: -0.01em;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(180deg, #3df0aa, var(--acc-2));
  color: var(--acc-ink);
  box-shadow: 0 0 0 1px rgba(52,230,160,0.4), 0 10px 30px -10px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(52,230,160,0.6), 0 14px 40px -10px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.025);
  border-color: var(--hairline);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--hairline-lit); background: rgba(255,255,255,0.05); }
.btn .ic { width: 16px; height: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(var(--maxw), calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 9px 9px 9px 18px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: rgba(10, 12, 16, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 50px -22px rgba(0,0,0,0.8);
  transition: background 0.3s, border-color 0.3s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-name b { color: var(--acc); font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--text-3);
  padding: 7px 12px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 15px; font-size: 13.5px; }
.nav-mono {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.04em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 168px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 8px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.025);
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 26px;
}
.hero-badge .tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc);
  background: var(--acc-dim);
  border: 1px solid rgba(52,230,160,0.25);
  padding: 2px 7px;
  border-radius: 100px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 580;
}
.hero h1 .grad {
  background: linear-gradient(180deg, #fff 0%, #aef0d2 60%, var(--acc) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 48ch;
  line-height: 1.55;
}
.hero-sub b { color: var(--text); font-weight: 540; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 26px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 7px var(--acc-glow); }

/* Hero right — terminal / dispatch card */
.dispatch {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
}
.dispatch::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(52,230,160,0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.dispatch-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline-2);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}
.dispatch-bar .dots { display: flex; gap: 6px; margin-right: 6px; }
.dispatch-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.dispatch-bar .live { margin-left: auto; color: var(--acc); display: inline-flex; align-items: center; gap: 6px; }
.dispatch-bar .live::before { content:""; width:6px;height:6px;border-radius:50%;background:var(--acc);box-shadow:0 0 8px var(--acc-glow); animation: pulse 1.8s var(--ease) infinite;}
.dispatch-body { padding: 18px 18px 20px; }
.prompt-line {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--bg);
}
.prompt-line .pre { color: var(--acc); }
.prompt-line .cur { display:inline-block; width:8px; height:15px; background: var(--acc); margin-left:2px; vertical-align:-2px; animation: blink 1.1s steps(1) infinite; }
.flow {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.flow-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline-2);
  background: rgba(255,255,255,0.018);
  opacity: 0;
  animation: rowIn 0.6s var(--ease) forwards;
}
.flow-row:nth-child(1){ animation-delay: .15s; }
.flow-row:nth-child(2){ animation-delay: .45s; }
.flow-row:nth-child(3){ animation-delay: .75s; }
.flow-row:nth-child(4){ animation-delay: 1.05s; }
.flow-av {
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  color: var(--acc); background: var(--acc-dim);
  border: 1px solid rgba(52,230,160,0.22);
  flex: 0 0 auto;
}
.flow-row .who { font-size: 12.5px; color: var(--text); font-weight: 520; }
.flow-row .what { font-size: 11.5px; color: var(--text-3); }
.flow-row .tail { margin-left: auto; font-family: var(--mono); font-size: 10.5px; }
.flow-row .ok { color: var(--acc); }
.flow-row .run { color: var(--ice); }
.flow-col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

/* Logo strip */
.proof { padding: 38px 0 8px; }
.proof-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--hairline-2);
  padding-top: 30px;
}
.proof-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); }
.proof-chip {
  font-size: 13px; color: var(--text-3);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 100px; border: 1px solid var(--hairline-2);
}
.proof-chip svg { width: 15px; height: 15px; opacity: .8; }

/* ============================================================
   BENTO — How it works / value
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 16px;
}
.cell {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 26px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cell:hover { border-color: var(--hairline-lit); }
.cell .ch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--hairline); background: rgba(255,255,255,0.025);
  color: var(--acc); margin-bottom: 16px;
}
.cell .ch svg { width: 19px; height: 19px; }
.cell h3 { font-size: 17px; font-weight: 560; letter-spacing: -0.02em; }
.cell p { margin-top: 8px; color: var(--text-3); font-size: 14px; line-height: 1.55; }
.cell .num { font-family: var(--mono); font-size: 11px; color: var(--text-4); letter-spacing: .08em; }

.c-wide  { grid-column: span 4; }
.c-tall  { grid-column: span 2; }
.c-3     { grid-column: span 3; }
.c-2     { grid-column: span 2; }

/* steps cell */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.step { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--hairline-2); }
.step:first-child { border-top: 0; }
.step .sx { font-family: var(--mono); font-size: 12px; color: var(--acc); width: 26px; flex: 0 0 auto; padding-top: 2px; }
.step .st { font-size: 14.5px; font-weight: 530; }
.step .sd { font-size: 13px; color: var(--text-3); margin-top: 3px; }

/* metric cell */
.metric { display: flex; flex-direction: column; height: 100%; justify-content: space-between; }
.metric .big {
  font-family: var(--mono);
  font-size: 46px; font-weight: 600; letter-spacing: -0.03em;
  line-height: 1; color: var(--text);
  margin: 8px 0 4px;
}
.metric .big .u { color: var(--acc); }
.metric .lbl { color: var(--text-3); font-size: 13.5px; }

/* glow corner accent */
.cell.glow::after {
  content:""; position:absolute; width:200px;height:200px; right:-60px; top:-60px;
  background: radial-gradient(circle, var(--acc-glow), transparent 65%);
  opacity: .5; pointer-events:none;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.agent {
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 20px;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.agent:hover { border-color: var(--hairline-lit); transform: translateY(-3px); }
.agent-top { display: flex; align-items: center; gap: 13px; }
.av {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  font-weight: 600; font-size: 15px; letter-spacing: -0.02em;
  color: var(--text);
  border: 1px solid var(--hairline-lit);
  position: relative;
}
.av::after {
  content:""; position:absolute; right:-2px; bottom:-2px;
  width:11px;height:11px;border-radius:50%;
  background: var(--acc); border: 2px solid var(--surface);
  box-shadow: 0 0 8px var(--acc-glow);
}
.agent .nm { font-size: 15px; font-weight: 550; letter-spacing: -0.02em; }
.agent .rl { font-size: 12.5px; color: var(--acc); font-weight: 480; }
.agent .ms { margin-top: 14px; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.agent .skills { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.agent .sk {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em;
  color: var(--text-3); padding: 3px 8px; border-radius: 6px;
  border: 1px solid var(--hairline-2); background: rgba(255,255,255,0.02);
}
.agent .id {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px; color: var(--text-4);
}
/* avatar tints (subtle, palette-consistent) */
.t1{background:linear-gradient(160deg,#143026,#0d1014);}
.t2{background:linear-gradient(160deg,#10242e,#0d1014);}
.t3{background:linear-gradient(160deg,#1c2412,#0d1014);}
.t4{background:linear-gradient(160deg,#231a2c,#0d1014);}

/* ============================================================
   SHOWCASE (real screenshots)
   ============================================================ */
.showcase { display: flex; flex-direction: column; gap: 90px; }
.show-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.show-row.flip { grid-template-columns: 1.15fr 0.85fr; }
.show-row.flip .show-copy { order: 2; }
.show-copy h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; font-weight: 560; margin-top: 16px; line-height: 1.08; }
.show-copy p { margin-top: 14px; color: var(--text-3); font-size: 15.5px; line-height: 1.6; max-width: 46ch; }
.show-list { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.show-list li { list-style: none; display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--text-2); }
.show-list .ck { color: var(--acc); margin-top: 1px; flex: 0 0 auto; }

.frame {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--bg-1);
  padding: 10px;
  box-shadow: 0 50px 100px -45px rgba(0,0,0,0.95);
}
.frame::before {
  content:""; position:absolute; inset:-1px;
  border-radius: inherit; padding:1px;
  background: linear-gradient(160deg, rgba(52,230,160,0.35), transparent 35%, transparent 70%, rgba(84,183,255,0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.frame-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 4px 6px 10px;
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.frame-bar .u { margin-left: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--text-4); }
.frame img { border-radius: 12px; width: 100%; border: 1px solid var(--hairline-2); }
.frame-glow {
  position: absolute; z-index:-1; inset: 20px;
  background: radial-gradient(closest-side, var(--acc-glow), transparent);
  filter: blur(40px); opacity: .35;
}

/* ============================================================
   FEATURES strip
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feat {
  background: var(--surface);
  padding: 28px 26px;
  transition: background 0.3s;
}
.feat:hover { background: var(--surface-2); }
.feat .fi { color: var(--acc); margin-bottom: 14px; }
.feat .fi svg { width: 20px; height: 20px; }
.feat h4 { font-size: 15.5px; font-weight: 550; letter-spacing: -0.02em; }
.feat p { margin-top: 7px; font-size: 13.5px; color: var(--text-3); line-height: 1.55; }

/* ============================================================
   BETA / CTA
   ============================================================ */
.beta-shell {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(700px 360px at 50% -30%, rgba(52,230,160,0.16), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg-1));
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.beta-shell::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
}
.beta-shell > * { position: relative; }
.beta-shell h2 { font-size: clamp(30px, 4.5vw, 50px); letter-spacing: -0.035em; font-weight: 580; margin-top: 18px; line-height: 1.02; }
.beta-shell p { margin: 16px auto 0; color: var(--text-2); font-size: 16.5px; max-width: 52ch; }
.waitlist {
  margin: 30px auto 0;
  display: flex; gap: 10px;
  max-width: 460px;
}
.waitlist input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--hairline);
  color: var(--text);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist input::placeholder { color: var(--text-4); }
.waitlist input:focus { border-color: rgba(52,230,160,0.5); box-shadow: 0 0 0 3px var(--acc-dim); }
.beta-note { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--text-4); letter-spacing: 0.03em; }
.beta-pills { margin-top: 26px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.beta-pill {
  font-size: 12.5px; color: var(--text-2);
  display:inline-flex; align-items:center; gap:8px;
  padding: 7px 14px; border-radius:100px; border:1px solid var(--hairline);
  background: rgba(255,255,255,0.02);
}
.beta-pill .ck { color: var(--acc); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--hairline-2); }
details.qa {
  border-bottom: 1px solid var(--hairline-2);
  padding: 4px 0;
}
details.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 4px;
  font-size: 16px; font-weight: 510; letter-spacing: -0.015em;
  color: var(--text);
  transition: color 0.2s;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .pm {
  margin-left: auto; flex: 0 0 auto;
  width: 22px; height: 22px; position: relative;
  border: 1px solid var(--hairline); border-radius: 7px;
  transition: border-color 0.2s, background 0.2s;
}
details.qa summary .pm::before, details.qa summary .pm::after {
  content:""; position:absolute; background: var(--text-3); transition: transform 0.25s var(--ease), background 0.2s;
}
details.qa summary .pm::before { left: 5px; right: 5px; top: 50%; height: 1.5px; transform: translateY(-50%); }
details.qa summary .pm::after  { top: 5px; bottom: 5px; left: 50%; width: 1.5px; transform: translateX(-50%); }
details.qa[open] summary .pm { border-color: rgba(52,230,160,0.4); background: var(--acc-dim); }
details.qa[open] summary .pm::after { transform: translateX(-50%) scaleY(0); }
details.qa[open] summary .pm::before { background: var(--acc); }
details.qa[open] summary { color: var(--text); }
details.qa .ans {
  padding: 0 4px 22px 4px;
  color: var(--text-3); font-size: 14.5px; line-height: 1.65; max-width: 62ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline-2); margin-top: 110px; padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; color: var(--text-3); font-size: 13.5px; max-width: 34ch; line-height: 1.6; }
.foot-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 13.5px; color: var(--text-3); padding: 5px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--hairline-2);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-4);
}
.foot-bottom .mono { font-family: var(--mono); letter-spacing: 0.03em; }
.foot-status { display: inline-flex; align-items: center; gap: 8px; }
.foot-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc-glow); }

/* ============================================================
   Section rhythm
   ============================================================ */
.s-pad { padding: 110px 0; }
.s-pad-sm { padding: 72px 0; }
.divider-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-4); display:flex; align-items:center; gap:14px; margin-bottom: 0;
}
.divider-label::before, .divider-label::after { content:""; height:1px; flex:1; background: var(--hairline-2); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes rowIn { from { opacity:0; transform: translateY(8px);} to { opacity:1; transform:none;} }
@keyframes blink { 0%,49%{opacity:1;} 50%,100%{opacity:0;} }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .show-row.flip .show-copy { order: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .c-wide, .c-tall, .c-3, .c-2 { grid-column: span 3; }
  .bento { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .hero { padding: 130px 0 20px; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .feat-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .c-wide, .c-tall, .c-3, .c-2 { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .beta-shell { padding: 44px 22px; }
  .waitlist { flex-direction: column; }
  .s-pad { padding: 76px 0; }
}
