/* MarketinQ Homepage — full system styles
   Direction A · Operator Console
   Dark navy SaaS, blue accent, Geist + Geist Mono. */

/* ---------- Tokens ---------- */
:root {
  --bg: #06070c;
  --bg-2: #0a0c14;
  --surface: #0e1119;
  --surface-2: #141826;
  --surface-3: #1a1f31;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --text: #e7e9ee;
  --text-dim: #a0a4b1;
  --text-mute: #6a6f7e;
  --text-faint: #44495a;

  --accent: #4f8cff;
  --accent-lo: #3a6fe0;
  --accent-glow: rgba(79,140,255,0.35);
  --accent-2: #88a8ff;
  --violet: #a78bfa;
  --good: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -20px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(79,140,255,0.22), 0 20px 80px -20px var(--accent-glow);
  --max: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv11";
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* Ambient texture (fixed) */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 600px at 50% -100px, rgba(79,140,255,0.10), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(167,139,250,0.045), transparent 60%),
    radial-gradient(700px 400px at 10% 60%, rgba(79,140,255,0.04), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 0%, transparent 75%);
}
main, header, footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */
.mono { font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; }
.eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.025em; margin: 0; color: var(--text); }
h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
h4 { font-size: 16px; line-height: 1.35; }
p  { margin: 0; color: var(--text-dim); }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--text-dim); max-width: 640px; }

.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #b9c1d4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accent-text { color: var(--accent); }
.muted { color: var(--text-mute); }
.dim { color: var(--text-dim); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-divider { border-top: 1px solid var(--border); }

.hgroup { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.hgroup.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; font-size: 14px; font-weight: 500;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; color: var(--text); white-space: nowrap;
  transition: all 0.18s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(180deg, #6c9fff 0%, #3a6fe0 100%);
  color: #061224; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 12px 30px -10px rgba(79,140,255,0.6); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); }
.btn-link { background: transparent; padding: 12px 0; color: var(--text); }
.btn-link:hover { color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(6,7,12,0.75);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-lo) 100%);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 6px 18px -4px var(--accent-glow);
}
.brand-mark::before {
  content: ""; position: absolute; inset: 5px; border-radius: 4px;
  background: rgba(6,8,15,0.85);
}
.brand-mark::after {
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 999px;
  border: 1.5px solid var(--accent); box-shadow: 6px 6px 0 -3px var(--accent);
}
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand-name small {
  font-size: 10px; color: var(--text-mute); margin-top: 4px;
  letter-spacing: 0.04em; font-family: "Geist Mono", monospace;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 14px;
  padding: 8px 14px; border-radius: 8px; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-headline { display: flex; flex-direction: column; gap: 22px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-fineprint {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  color: var(--text-mute); font-size: 12.5px;
}
.hero-fineprint .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.pulse {
  width: 7px; height: 7px; border-radius: 999px; background: var(--good);
  box-shadow: 0 0 0 0 rgba(74,222,128,0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero Mockup (Direction A) ---------- */
.mock {
  position: relative;
  padding: 12px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 30%),
    rgba(14,17,25,0.65);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 40px 80px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(79,140,255,0.08);
  backdrop-filter: blur(10px);
}
.mock::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 20px; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(79,140,255,0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.mock-chrome { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 12px; }
.mock-chrome .dots { display: flex; gap: 6px; }
.mock-chrome .dots i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,0.08); display: block; }
.mock-chrome .url {
  font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-mute);
  padding: 4px 12px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 999px;
}
.mock-chrome .badges { display: flex; gap: 8px; }
.mock-chrome .badge {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-mute); padding: 4px 8px;
  border: 1px solid var(--border); border-radius: 6px;
}
.mock-chrome .badge.accent { color: var(--accent); border-color: rgba(79,140,255,0.3); }

.mock-body { display: grid; grid-template-columns: 168px 1fr 232px; gap: 10px; min-height: 480px; }
.mock-side {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.side-label {
  font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--text-faint); text-transform: uppercase; padding: 10px 6px 4px;
}
.side-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; padding: 7px 7px; border-radius: 7px;
  color: var(--text-dim);
}
.side-item .ico { width: 13px; height: 13px; opacity: 0.6; flex-shrink: 0; }
.side-item.active {
  color: var(--text); background: rgba(79,140,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(79,140,255,0.2);
}
.side-item.active .ico { opacity: 1; color: var(--accent); }
.side-item .count {
  margin-left: auto; font-family: "Geist Mono", monospace; font-size: 10.5px;
  color: var(--accent); background: rgba(79,140,255,0.1);
  padding: 1px 6px; border-radius: 999px;
}

.mock-center { display: flex; flex-direction: column; gap: 10px; }
.mock-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px;
}
.mock-card h5 {
  margin: 0 0 4px; font-size: 12.5px; font-weight: 500;
  display: flex; align-items: center; gap: 9px;
}
.mock-card h5 .tag {
  font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.1em;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(79,140,255,0.12); color: var(--accent);
  text-transform: uppercase;
}

/* Briefing card in hero mock */
.brief-card {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(58,111,224,0.18), transparent 50%),
    rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px; display: grid; grid-template-columns: 72px 1fr auto; gap: 12px;
  align-items: center;
}
.brief-thumb {
  width: 72px; height: 52px; border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(79,140,255,0.4), rgba(136,168,255,0.3)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 3px, transparent 3px 8px);
  display: grid; place-items: center; position: relative;
}
.brief-thumb .play {
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
}
.brief-thumb .play::after {
  content: ""; width: 0; height: 0;
  border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  margin-left: 2px;
}
.brief-meta .t { font-size: 12.5px; font-weight: 500; }
.brief-meta .s { font-size: 10.5px; color: var(--text-mute); font-family: "Geist Mono", monospace; margin-top: 3px; }
.brief-wave { display: flex; align-items: center; gap: 2px; height: 20px; }
.brief-wave i { display: block; width: 2px; background: var(--accent); border-radius: 1px; opacity: 0.6; }

.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.chip {
  font-family: "Geist Mono", monospace; font-size: 10.5px;
  color: var(--text-dim); background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); padding: 2px 7px; border-radius: 5px;
}
.chip.green { color: var(--good); border-color: rgba(74,222,128,0.25); background: rgba(74,222,128,0.06); }
.chip.blue { color: var(--accent); border-color: rgba(79,140,255,0.25); background: rgba(79,140,255,0.06); }
.chip.violet { color: var(--violet); border-color: rgba(167,139,250,0.25); background: rgba(167,139,250,0.06); }

.plan-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.plan-row {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 9px;
  align-items: center; font-size: 12.5px;
  padding: 6px 9px; border-radius: 7px;
  background: rgba(255,255,255,0.015); border: 1px solid var(--border);
}
.plan-row .check { width: 14px; height: 14px; border-radius: 999px; border: 1.5px solid var(--good); position: relative; }
.plan-row .check::after { content: ""; position: absolute; left: 3px; top: 1.5px; width: 3.5px; height: 7px; border-right: 1.5px solid var(--good); border-bottom: 1.5px solid var(--good); transform: rotate(45deg); }
.plan-row.pending .check { border-color: var(--warn); }
.plan-row.pending .check::after { display: none; }
.plan-row.pending .check::before { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; background: var(--warn); border-radius: 999px; transform: translate(-50%,-50%); }
.plan-row .status {
  font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.08em;
  color: var(--text-mute); text-transform: uppercase;
}
.plan-row.pending .status { color: var(--warn); }
.plan-row.done .status { color: var(--good); }

.feed {
  background: rgba(255,255,255,0.015); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px;
  font-family: "Geist Mono", monospace; font-size: 10.5px;
  display: flex; flex-direction: column; gap: 5px;
}
.feed-row { display: grid; grid-template-columns: 32px 1fr; gap: 8px; color: var(--text-dim); line-height: 1.5; }
.feed-row .t { color: var(--text-faint); }
.feed-row .k { color: var(--accent); }
.feed-row .v { color: var(--text); }
.feed-row .ok { color: var(--good); }
.feed-row .wt { color: var(--warn); }

/* Approval queue in hero */
.approval-queue { display: flex; flex-direction: column; gap: 9px; }
.queue-head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.queue-head .title { font-size: 12.5px; font-weight: 500; }
.queue-head .ct {
  font-family: "Geist Mono", monospace; font-size: 10px;
  color: var(--accent); padding: 1px 7px; border-radius: 999px;
  background: rgba(79,140,255,0.1); border: 1px solid rgba(79,140,255,0.2);
}
.q-item {
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: 11px; padding: 11px;
  display: flex; flex-direction: column; gap: 7px;
}
.q-item .q-meta {
  display: flex; align-items: center; gap: 7px;
  font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.06em;
  color: var(--text-mute); text-transform: uppercase;
}
.q-item .q-meta .type { padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.04); }
.q-item .q-meta .type.email { color: var(--accent); background: rgba(79,140,255,0.1); }
.q-item .q-meta .type.social { color: var(--violet); background: rgba(167,139,250,0.1); }
.q-item .q-meta .type.sms { color: var(--good); background: rgba(74,222,128,0.1); }
.q-item .q-body { font-size: 12.5px; line-height: 1.4; }
.q-item .q-body .preview { color: var(--text-dim); font-size: 11.5px; line-height: 1.45; display: block; margin-top: 3px; }
.q-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.q-actions button {
  font-family: inherit; font-size: 10.5px; font-weight: 500;
  padding: 5px 9px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,0.02);
  color: var(--text-dim); transition: all 0.15s;
}
.q-actions button:hover { color: var(--text); border-color: var(--border-strong); }
.q-actions .approve {
  background: linear-gradient(180deg, rgba(74,222,128,0.2), rgba(74,222,128,0.08));
  color: #d6f5e1; border-color: rgba(74,222,128,0.3);
}
.q-actions .approve:hover { background: linear-gradient(180deg, rgba(74,222,128,0.3), rgba(74,222,128,0.14)); }

@media (max-width: 1100px) {
  .mock-body { grid-template-columns: 1fr 1fr; }
  .mock-side { display: none; }
}
@media (max-width: 720px) {
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .brief-card { grid-template-columns: 60px 1fr; }
  .brief-wave { display: none; }
}

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-strip .label {
  font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-mute);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.logo-strip .items { display: flex; gap: 32px; flex-wrap: wrap; }
.logo-strip .items span {
  font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px;
}
.logo-strip .items span::before {
  content: ""; width: 4px; height: 4px; border-radius: 999px;
  background: var(--text-faint);
}

/* ---------- Generic card ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* ---------- Grid utils ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Problem section: empty dashboard + pain list ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .problem-grid { grid-template-columns: 1fr; } }

.empty-dash {
  display: grid; grid-template-columns: 220px 1fr; gap: 12px;
  padding: 16px; border-radius: 16px;
  background: rgba(255,255,255,0.012);
  border: 1px solid var(--border);
  position: relative;
  min-height: 420px;
}
.empty-dash::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,0.018) 22px 23px);
  border-radius: 16px; pointer-events: none;
}
.empty-side { display: flex; flex-direction: column; gap: 7px; }
.empty-side .row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.018); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-mute);
}
.empty-side .row::before {
  content: ""; width: 11px; height: 11px; border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.empty-main { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-content: start; }
.empty-tile {
  background: rgba(255,255,255,0.012); border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 11px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px; min-height: 130px;
}
.empty-tile .label {
  font-size: 11.5px; color: var(--text-mute);
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Geist Mono", monospace; letter-spacing: 0.05em; text-transform: uppercase;
}
.empty-tile .label .v { color: var(--text-faint); }
.empty-tile .placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 1; color: var(--text-faint); gap: 6px;
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.empty-tile .placeholder svg { opacity: 0.4; }

.pain-list { display: flex; flex-direction: column; gap: 12px; }
.pain {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  padding: 18px; border-radius: 12px;
  background: rgba(255,255,255,0.015); border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.pain:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.025); }
.pain .n {
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(248,113,113,0.06); color: var(--bad);
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 500;
  border: 1px solid rgba(248,113,113,0.18);
}
.pain h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; color: var(--text); }
.pain p { font-size: 13px; color: var(--text-mute); }

/* ---------- Flow diagram ---------- */
.flow-wrap { padding: 32px 0 12px; }
.flow {
  display: flex; align-items: stretch; justify-content: space-between; gap: 0;
  position: relative;
}
.flow::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 38px;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent);
  z-index: 0;
}
.flow-step {
  flex: 1; min-width: 110px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 11px; padding: 0 8px; position: relative; z-index: 1;
}
.flow-step .node {
  width: 76px; height: 76px; border-radius: 18px;
  background: rgba(14,17,25,0.95); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text);
  position: relative;
  box-shadow: 0 0 0 4px var(--bg);
}
.flow-step.active .node {
  background: linear-gradient(180deg, rgba(79,140,255,0.22), rgba(79,140,255,0.06));
  border-color: rgba(79,140,255,0.4);
  color: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(79,140,255,0.18), 0 0 40px rgba(79,140,255,0.3);
}
.flow-step .lbl {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
  max-width: 100px; line-height: 1.3;
}
.flow-step .lbl small {
  display: block; color: var(--text-faint); font-size: 9.5px; margin-top: 4px;
}
.flow-step.active .lbl { color: var(--accent); }
@media (max-width: 720px) {
  .flow { flex-direction: column; gap: 12px; }
  .flow::before { display: none; }
  .flow-step { flex-direction: row; min-width: 0; }
  .flow-step .lbl { text-align: left; max-width: none; }
}

/* ---------- How it works steps ---------- */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  display: grid; grid-template-columns: 120px 1fr 360px; gap: 28px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--border); border-radius: 18px;
  align-items: stretch;
}
.step .n {
  display: flex; flex-direction: column;
  font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.12em; color: var(--accent);
}
.step .n strong {
  display: block; font-size: 56px; line-height: 1; font-weight: 400;
  color: var(--text); letter-spacing: -0.04em; margin-top: 8px;
  font-family: "Geist", sans-serif;
}
.step .body { display: flex; flex-direction: column; gap: 12px; }
.step .body h3 { font-size: 22px; }
.step .body p { font-size: 15px; max-width: 480px; line-height: 1.55; }
.step .body .meta { display: flex; gap: 6px; margin-top: auto; flex-wrap: wrap; padding-top: 8px; }
.step .body .meta .chip { font-size: 10.5px; }
.step .visual {
  background: rgba(0,0,0,0.3); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px;
  min-height: 200px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.step .visual .vh {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.12em;
  color: var(--text-mute); text-transform: uppercase;
  display: flex; justify-content: space-between; padding-bottom: 12px;
  border-bottom: 1px solid var(--border); margin-bottom: 12px;
}
.step .visual .vh .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 999px;
  background: var(--good); margin-right: 7px; vertical-align: middle;
}

@media (max-width: 1040px) {
  .step { grid-template-columns: 80px 1fr; }
  .step .visual { grid-column: 1 / -1; min-height: 160px; }
}
@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; padding: 22px; }
  .step .n strong { font-size: 42px; }
}

/* ---------- Operator vs Control split ---------- */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .split-cols { grid-template-columns: 1fr; } }
.split-cols .card { padding: 32px; }
.split-cols .head-row { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.split-cols .badge-lg {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em;
  padding: 4px 9px; border-radius: 6px; text-transform: uppercase;
  background: rgba(79,140,255,0.1); color: var(--accent); border: 1px solid rgba(79,140,255,0.2);
}
.split-cols .you .badge-lg { background: rgba(167,139,250,0.1); color: var(--violet); border-color: rgba(167,139,250,0.2); }
.split-cols .desc { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; }
.split-cols ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.split-cols li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text);
}
.split-cols li:first-child { border-top: 0; }
.split-cols li .ico { color: var(--accent); width: 16px; height: 16px; margin-top: 2px; }
.split-cols .you li .ico { color: var(--violet); }

/* ---------- Features grid ---------- */
.feat-card {
  padding: 22px; min-height: 220px;
  display: flex; flex-direction: column; gap: 14px; transition: all 0.2s;
}
.feat-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feat-card .lbl-row {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
}
.feat-card .ico-wrap {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(79,140,255,0.14), rgba(79,140,255,0.04));
  border: 1px solid rgba(79,140,255,0.2);
  display: grid; place-items: center; color: var(--accent);
}
.feat-card .num-tag {
  font-family: "Geist Mono", monospace; font-size: 11px;
  color: var(--text-faint); letter-spacing: 0.08em;
}
.feat-card h3 { font-size: 18px; }
.feat-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.feat-card .footnote {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border);
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--text-mute); display: flex; gap: 12px; flex-wrap: wrap;
}
.feat-card .footnote span { color: var(--text-dim); }

/* ---------- Approval deep-dive ---------- */
.approval-demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .approval-demo { grid-template-columns: 1fr; } }
.approval-panel {
  border-radius: 18px; border: 1px solid var(--border);
  background: rgba(14,17,25,0.7);
  padding: 18px; min-height: 480px;
}
.approval-panel .ph {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--border); margin-bottom: 14px;
}
.approval-panel .ph .t {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
}
.approval-panel .ph .t .b {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--good); box-shadow: 0 0 10px var(--good);
}
.approval-panel .filters { display: flex; gap: 6px; }
.approval-panel .filters button {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.06em;
  padding: 5px 9px; border-radius: 6px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  color: var(--text-mute); cursor: pointer; text-transform: uppercase;
  transition: all .15s;
}
.approval-panel .filters button.on { color: var(--accent); border-color: rgba(79,140,255,0.3); background: rgba(79,140,255,0.08); }

.qbig { display: flex; flex-direction: column; gap: 10px; }
.qbig-item {
  background: rgba(255,255,255,0.018); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  transition: opacity 0.4s ease, transform 0.4s ease, height 0.4s ease, margin 0.4s ease;
}
.qbig-item.gone { opacity: 0; transform: translateX(20px); pointer-events: none; }
.qbig-item .top { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.qbig-item .who { display: flex; align-items: center; gap: 10px; }
.qbig-item .ic-sq {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(79,140,255,0.1); color: var(--accent);
  display: grid; place-items: center;
}
.qbig-item .ic-sq.violet { background: rgba(167,139,250,0.1); color: var(--violet); }
.qbig-item .ic-sq.green { background: rgba(74,222,128,0.1); color: var(--good); }
.qbig-item .who .meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.qbig-item .who .meta .a { font-size: 13px; font-weight: 500; }
.qbig-item .who .meta .b {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-mute); text-transform: uppercase;
}
.qbig-item .top .when { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-mute); }
.qbig-item .preview {
  font-size: 13px; color: var(--text-dim); line-height: 1.5;
  padding: 10px 12px; background: rgba(0,0,0,0.25);
  border-radius: 8px; border-left: 2px solid var(--border-strong);
}
.qbig-item .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.qbig-item .actions button {
  font-family: inherit; font-size: 12px; font-weight: 500;
  padding: 7px 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,0.025);
  color: var(--text-dim); transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.qbig-item .actions button:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,0.05); }
.qbig-item .actions .approve {
  background: linear-gradient(180deg, rgba(74,222,128,0.22), rgba(74,222,128,0.08));
  color: #d6f5e1; border-color: rgba(74,222,128,0.35);
}
.qbig-item .actions .approve:hover { background: linear-gradient(180deg, rgba(74,222,128,0.34), rgba(74,222,128,0.14)); }
.qbig-item .actions .reject { color: #f1a3a3; }
.qbig-item .actions .reject:hover { border-color: rgba(248,113,113,0.3); }

.rules-panel { display: flex; flex-direction: column; gap: 14px; }
.rule-block {
  border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  background: rgba(255,255,255,0.018);
}
.rule-block h4 {
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.rule-block h4 .key {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.1em;
  color: var(--text-mute); text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.04);
}
.rule-list { display: flex; flex-direction: column; gap: 0; }
.rule-list .r {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-dim);
  padding: 7px 0; border-top: 1px dashed var(--border);
}
.rule-list .r:first-child { border-top: 0; }
.rule-list .r .v { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text); }
.rule-list .r .v.on { color: var(--good); }
.rule-list .r .v.warn { color: var(--warn); }

.autonomy { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.autonomy-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(74,222,128,0.5), rgba(251,191,36,0.55), rgba(248,113,113,0.55));
  position: relative;
}
.autonomy-thumb {
  position: absolute; top: -5px; left: 32%;
  width: 16px; height: 16px; border-radius: 999px;
  background: #fff; border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}
.autonomy-labels {
  display: flex; justify-content: space-between;
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-mute); text-transform: uppercase;
}

/* ---------- WIREFRAME placeholders ---------- */
.wireframe {
  position: relative;
  padding: 56px 0;
  border-top: 1px dashed rgba(255,255,255,0.08);
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,0.012) 12px 13px);
}
.wireframe::before {
  content: "WIREFRAME · v0.1 PLACEHOLDER"; position: absolute; top: 14px; right: 28px;
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.18em;
  color: var(--text-faint); text-transform: uppercase;
  padding: 3px 9px; border-radius: 5px; border: 1px dashed var(--border);
  background: rgba(255,255,255,0.02);
}
.wf-hgroup {
  display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 36px;
}
.wf-hgroup .wf-title {
  font-family: "Geist", sans-serif; font-size: clamp(24px, 3vw, 36px);
  font-weight: 500; letter-spacing: -0.025em;
  color: var(--text-mute);
}
.wf-hgroup .wf-title b { color: var(--text); font-weight: 500; }
.wf-hgroup .wf-sub { font-size: 14px; color: var(--text-faint); max-width: 600px; }

.wf-block {
  background: rgba(255,255,255,0.015);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 140px;
}
.wf-block .wf-lbl {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute);
  display: flex; justify-content: space-between;
}
.wf-block .wf-lbl .wf-pos { color: var(--text-faint); }
.wf-block .wf-title-s {
  font-size: 16px; font-weight: 500; color: var(--text-dim); margin: 4px 0;
}
.wf-block .wf-body {
  font-size: 13px; color: var(--text-faint); line-height: 1.5;
}
.wf-block .wf-items {
  display: flex; flex-direction: column; gap: 6px; margin-top: 8px;
}
.wf-block .wf-items div {
  display: grid; grid-template-columns: 12px 1fr; gap: 8px;
  font-size: 12.5px; color: var(--text-mute); align-items: center;
}
.wf-block .wf-items div::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: rgba(255,255,255,0.08);
}

.wf-row {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.wf-row.cols-2 { grid-template-columns: 1fr 1fr; }
.wf-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .wf-row, .wf-row.cols-2, .wf-row.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wf-row, .wf-row.cols-2, .wf-row.cols-4 { grid-template-columns: 1fr; }
}

.wf-cta {
  display: flex; gap: 10px; margin-top: 6px;
}
.wf-cta .btn-stub {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 12.5px;
  border: 1px dashed var(--border-strong);
  border-radius: 8px; color: var(--text-mute);
  font-family: "Geist Mono", monospace; letter-spacing: 0.04em; text-transform: uppercase;
}
.wf-cta .btn-stub.primary { background: rgba(79,140,255,0.08); border: 1px dashed rgba(79,140,255,0.4); color: var(--accent); }

/* ============================================================ */
/* POLISHED v2 sections (replacing wireframes)                  */
/* ============================================================ */

/* ---------- Agency section ---------- */
.agency-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px;
  align-items: center;
}
@media (max-width: 960px) { .agency-grid { grid-template-columns: 1fr; gap: 36px; } }
.agency-copy { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.agency-copy .lead { font-size: 17px; }
.agency-bullets {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px;
  margin-top: 18px;
}
.agency-bullets > div {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  font-size: 13.5px; color: var(--text-dim);
  padding: 11px 0; border-top: 1px solid var(--border);
  align-items: start;
}
.agency-bullets > div:first-child, .agency-bullets > div:nth-child(2) { border-top: 0; }
.agency-bullets .ck {
  width: 18px; height: 18px; border-radius: 999px;
  background: rgba(79,140,255,0.12); border: 1px solid rgba(79,140,255,0.25);
  display: grid; place-items: center; color: var(--accent);
  margin-top: 1px;
}
.agency-bullets .ck::after {
  content: ""; width: 5px; height: 8px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); margin-top: -3px;
}
.agency-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Agency mockup */
.agency-mock {
  border-radius: 18px; border: 1px solid var(--border);
  background: rgba(14,17,25,0.7);
  padding: 14px; min-height: 480px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.agency-mock::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 18px; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(79,140,255,0.3), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.am-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 6px 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px;
}
.am-ws-switch {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; border-radius: 9px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  font-size: 13px;
}
.am-ws-switch .logo {
  width: 22px; height: 22px; border-radius: 5px;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
}
.am-ws-switch .logo.violet { background: linear-gradient(135deg, #a78bfa, #6366f1); }
.am-ws-switch .logo.amber { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.am-ws-switch .logo.pink { background: linear-gradient(135deg, #f472b6, #c084fc); }
.am-ws-switch .logo.teal { background: linear-gradient(135deg, #2dd4bf, #0ea5e9); }
.am-ws-switch .logo.red { background: linear-gradient(135deg, #f87171, #fb923c); }
.am-ws-switch strong { font-weight: 500; }
.am-ws-switch small {
  display: block; margin-top: 2px;
  font-family: "Geist Mono", monospace; font-size: 10px;
  color: var(--text-mute); letter-spacing: 0.04em;
}
.am-ws-switch .chev { margin-left: 6px; color: var(--text-mute); }
.am-agency-tag {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.12em;
  padding: 4px 9px; border-radius: 6px; text-transform: uppercase;
  background: rgba(167,139,250,0.1); color: var(--violet);
  border: 1px solid rgba(167,139,250,0.2);
}
.am-section-label {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.12em;
  color: var(--text-mute); text-transform: uppercase;
  padding: 8px 6px 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.am-clients { display: flex; flex-direction: column; gap: 8px; }
.am-client {
  display: grid; grid-template-columns: 30px 1fr auto auto auto; gap: 12px;
  align-items: center;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.015); border: 1px solid var(--border);
  transition: border-color .15s, background .15s;
}
.am-client:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.025); }
.am-client .av {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 600;
  color: #061224;
}
.am-client .meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; min-width: 0; }
.am-client .meta strong { font-size: 13px; font-weight: 500; }
.am-client .meta small { font-size: 10.5px; color: var(--text-mute); font-family: "Geist Mono", monospace; letter-spacing: 0.04em; }
.am-client .stat {
  font-family: "Geist Mono", monospace; font-size: 10.5px;
  padding: 3px 8px; border-radius: 5px;
  background: rgba(255,255,255,0.04); color: var(--text-dim);
  letter-spacing: 0.05em;
}
.am-client .stat.live { color: var(--good); background: rgba(74,222,128,0.08); }
.am-client .stat.pending { color: var(--warn); background: rgba(251,191,36,0.08); }
.am-client .stat.setup { color: var(--accent); background: rgba(79,140,255,0.08); }
.am-client .pillct {
  font-family: "Geist Mono", monospace; font-size: 11px;
  color: var(--text-dim); padding: 2px 7px;
  background: rgba(255,255,255,0.03); border-radius: 5px;
}
.am-client .more {
  color: var(--text-faint); font-family: "Geist Mono", monospace; font-size: 14px;
  padding: 0 4px; cursor: default;
}

.am-snapshots {
  margin-top: 16px;
  padding: 12px; border-radius: 11px;
  background: rgba(79,140,255,0.04); border: 1px solid rgba(79,140,255,0.15);
}
.am-snapshots .snap-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 8px;
}
.am-snapshots .snap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.am-snapshot {
  padding: 9px 10px; border-radius: 7px;
  background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.1);
  font-size: 11.5px; color: var(--text-dim);
  display: flex; flex-direction: column; gap: 3px;
}
.am-snapshot small { font-family: "Geist Mono", monospace; font-size: 9px; color: var(--text-faint); letter-spacing: 0.06em; }

/* ---------- Use cases ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .uc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .uc-grid { grid-template-columns: 1fr; } }
.uc-card {
  position: relative; padding: 24px; min-height: 320px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.2s;
}
.uc-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.uc-card .uc-head {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.uc-card .uc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(79,140,255,0.12), rgba(79,140,255,0.04));
  border: 1px solid rgba(79,140,255,0.2);
  display: grid; place-items: center; color: var(--accent);
}
.uc-card .uc-num {
  font-family: "Geist Mono", monospace; font-size: 10.5px; color: var(--text-faint); letter-spacing: 0.1em;
}
.uc-card .uc-titlerow { display: flex; flex-direction: column; gap: 3px; }
.uc-card .uc-eyebrow {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-mute); text-transform: uppercase;
}
.uc-card h3 { font-size: 18px; }
.uc-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
  margin-top: auto;
}
.uc-card ul li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  font-size: 13px; color: var(--text-dim);
  padding: 9px 0; border-top: 1px dashed var(--border);
  align-items: center;
}
.uc-card ul li:first-child { border-top: 0; }
.uc-card ul li .dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--accent); margin-left: 6px;
}

/* ---------- Product preview gallery (bento) ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
  transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.tile .tile-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.12em;
  color: var(--text-mute); text-transform: uppercase;
}
.tile .tile-num { color: var(--text-faint); }
.tile .tile-title {
  font-size: 15px; color: var(--text); font-weight: 500;
  letter-spacing: -0.01em;
}
.tile .tile-sub { font-size: 12px; color: var(--text-mute); line-height: 1.45; }
.tile .tile-canvas {
  flex: 1; background: rgba(0,0,0,0.25); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 120px;
}

/* Bento spans */
.t-span-5 { grid-column: span 5; }
.t-span-4 { grid-column: span 4; }
.t-span-3 { grid-column: span 3; }
.t-span-6 { grid-column: span 6; }
.t-span-7 { grid-column: span 7; }
@media (max-width: 1020px) {
  .t-span-3, .t-span-4, .t-span-5, .t-span-6, .t-span-7 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .t-span-3, .t-span-4, .t-span-5, .t-span-6, .t-span-7 { grid-column: span 12; }
}

/* Mini-mockup primitives inside tiles */
.tm-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.tm-bar > i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--violet)); display: block; }
.tm-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 9px; border-radius: 6px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  font-size: 11.5px;
}
.tm-row .swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.tm-row .swatch.v { background: var(--violet); }
.tm-row .swatch.g { background: var(--good); }
.tm-row .swatch.a { background: var(--warn); }
.tm-row .swatch.r { background: var(--bad); }
.tm-row .pn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-row .pm { font-family: "Geist Mono", monospace; font-size: 10px; color: var(--text-mute); }
.tm-row .ck {
  width: 13px; height: 13px; border-radius: 999px;
  border: 1.5px solid var(--good); position: relative; flex-shrink: 0;
}
.tm-row .ck::after { content: ""; position: absolute; left: 2.5px; top: 1px; width: 3px; height: 6px; border-right: 1.5px solid var(--good); border-bottom: 1.5px solid var(--good); transform: rotate(45deg); }
.tm-row.wait .ck { border-color: var(--warn); }
.tm-row.wait .ck::after { display: none; }
.tm-row.wait .ck::before { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; background: var(--warn); border-radius: 999px; transform: translate(-50%,-50%); }

/* Calendar mini */
.tm-cal {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  flex: 1;
}
.tm-cal .dow {
  font-family: "Geist Mono", monospace; font-size: 8.5px; letter-spacing: 0.06em;
  color: var(--text-faint); text-align: center; text-transform: uppercase;
}
.tm-cal .cell {
  aspect-ratio: 1.1;
  border-radius: 4px; background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 3px;
  font-family: "Geist Mono", monospace; font-size: 8px; color: var(--text-faint);
  gap: 1px; min-height: 0;
}
.tm-cal .cell .d { color: var(--text-mute); }
.tm-cal .cell .pdot { width: 4px; height: 4px; border-radius: 999px; background: var(--accent); }
.tm-cal .cell .pdot.v { background: var(--violet); }
.tm-cal .cell .pdot.g { background: var(--good); }
.tm-cal .cell .pdot.r { background: var(--bad); }
.tm-cal .cell .pdots { display: flex; gap: 1.5px; }
.tm-cal .cell.has { background: rgba(79,140,255,0.06); border-color: rgba(79,140,255,0.18); }

/* Pipeline mini (kanban) */
.tm-pipe {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  flex: 1;
}
.tm-col {
  background: rgba(255,255,255,0.018); border: 1px solid var(--border); border-radius: 7px;
  padding: 7px; display: flex; flex-direction: column; gap: 5px;
  min-height: 0;
}
.tm-col h6 {
  font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.1em;
  color: var(--text-faint); text-transform: uppercase; margin: 0;
  display: flex; justify-content: space-between; align-items: center;
}
.tm-col h6 .ct { color: var(--text); font-weight: 500; }
.tm-pcard {
  padding: 6px 7px; border-radius: 5px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  font-size: 10px; line-height: 1.3;
  display: flex; flex-direction: column; gap: 3px;
}
.tm-pcard small { font-family: "Geist Mono", monospace; font-size: 8.5px; color: var(--text-mute); }

/* Workflow node mini */
.tm-wf {
  display: flex; flex-wrap: wrap; gap: 5px;
  flex: 1; align-content: flex-start;
  align-items: center;
}
.tm-node {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 9px; border-radius: 7px;
  font-size: 10.5px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  color: var(--text-dim);
}
.tm-node .d {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent);
}
.tm-node .d.v { background: var(--violet); }
.tm-node .d.g { background: var(--good); }
.tm-node .d.a { background: var(--warn); }
.tm-arr { color: var(--text-faint); font-family: "Geist Mono", monospace; font-size: 12px; }

/* Funnel mini */
.tm-funnel { display: flex; flex-direction: column; gap: 5px; flex: 1; align-items: stretch; }
.tm-funnel-step {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 6px; padding: 7px 10px;
  font-size: 10.5px; color: var(--text-dim);
  display: flex; justify-content: space-between; align-items: center;
}
.tm-funnel-step:nth-child(1) { width: 100%; }
.tm-funnel-step:nth-child(2) { width: 85%; }
.tm-funnel-step:nth-child(3) { width: 70%; }
.tm-funnel-step:nth-child(4) { width: 55%; background: rgba(79,140,255,0.08); border-color: rgba(79,140,255,0.25); color: var(--accent); }
.tm-funnel-step .v { font-family: "Geist Mono", monospace; font-size: 10px; color: var(--text); }

/* Chart mini */
.tm-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tm-stat {
  padding: 8px; border-radius: 7px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
}
.tm-stat .l { font-family: "Geist Mono", monospace; font-size: 9px; color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase; }
.tm-stat .v {
  font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--text);
}
.tm-stat .v .pos { color: var(--good); font-size: 10px; margin-left: 5px; font-family: "Geist Mono", monospace; }
.tm-stat .v .neg { color: var(--bad); font-size: 10px; margin-left: 5px; font-family: "Geist Mono", monospace; }

.tm-spark {
  height: 32px; width: 100%; display: block;
}

/* Agent log mini */
.tm-log {
  font-family: "Geist Mono", monospace; font-size: 10px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.tm-log .row { display: grid; grid-template-columns: 28px 1fr; gap: 6px; color: var(--text-dim); line-height: 1.4; }
.tm-log .row .t { color: var(--text-faint); }
.tm-log .row .k { color: var(--accent); }
.tm-log .row .v { color: var(--text); }
.tm-log .row .ok { color: var(--good); }
.tm-log .row .wt { color: var(--warn); }

/* BrandProfile mini */
.tm-bp { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; align-content: flex-start; }
.tm-bp-chip {
  font-family: "Geist Mono", monospace; font-size: 9.5px;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  color: var(--text-dim);
}
.tm-bp-chip.b { color: var(--accent); background: rgba(79,140,255,0.08); border-color: rgba(79,140,255,0.2); }
.tm-bp-chip.g { color: var(--good); background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.2); }
.tm-bp-chip.v { color: var(--violet); background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.2); }

/* Briefing intake mini */
.tm-intake { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; }
.tm-intake .thumb {
  width: 70px; height: 50px; border-radius: 6px; position: relative;
  background:
    linear-gradient(135deg, rgba(79,140,255,0.4), rgba(167,139,250,0.28)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 3px, transparent 3px 8px);
  display: grid; place-items: center;
}
.tm-intake .thumb .play {
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
}
.tm-intake .thumb .play::after { content: ""; width: 0; height: 0; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; margin-left: 2px; }
.tm-intake .meta b { font-size: 12px; font-weight: 500; display: block; }
.tm-intake .meta small { font-family: "Geist Mono", monospace; font-size: 9.5px; color: var(--text-mute); display: block; margin-top: 3px; letter-spacing: 0.04em; }
.tm-intake .meta .wv { display: flex; gap: 1.5px; height: 14px; align-items: end; margin-top: 5px; }
.tm-intake .meta .wv i { display: block; width: 2px; background: var(--accent); opacity: 0.6; border-radius: 1px; }

/* ---------- Trust section ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 920px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-tile {
  padding: 24px; border-radius: 14px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
  transition: all 0.2s;
}
.trust-tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.trust-tile .ic {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(79,140,255,0.08); color: var(--accent);
  border: 1px solid rgba(79,140,255,0.2);
  display: grid; place-items: center;
}
.trust-tile h4 { font-size: 15px; font-weight: 500; }
.trust-tile p { font-size: 13px; color: var(--text-mute); line-height: 1.5; }
.trust-tile .stamp {
  margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border);
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.1em;
  color: var(--text-mute); text-transform: uppercase;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border-radius: 18px; border: 1px solid var(--border);
  padding: 28px; background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  display: flex; flex-direction: column; gap: 16px; position: relative;
  transition: all .2s;
}
.price-card:hover { border-color: var(--border-strong); }
.price-card.featured {
  border-color: rgba(79,140,255,0.4);
  background: linear-gradient(180deg, rgba(79,140,255,0.06), rgba(255,255,255,0.005));
  box-shadow: var(--shadow-glow);
}
.price-card .tag {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--text-mute); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.price-card .tag .pop {
  background: rgba(79,140,255,0.12); color: var(--accent);
  border: 1px solid rgba(79,140,255,0.25);
  padding: 2px 8px; border-radius: 5px;
  letter-spacing: 0.1em;
}
.price-card h3 { font-size: 24px; }
.price-card .price-row {
  display: flex; align-items: baseline; gap: 8px; margin-top: 4px;
}
.price-card .ea {
  font-family: "Geist Mono", monospace; font-size: 12.5px;
  color: var(--accent);
  padding: 4px 10px; border-radius: 6px;
  background: rgba(79,140,255,0.08); border: 1px solid rgba(79,140,255,0.2);
}
.price-card .price-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.price-card ul li {
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  padding: 11px 0; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-dim);
  align-items: start;
}
.price-card ul li:first-child { border-top: 0; }
.price-card ul li .ck { color: var(--accent); margin-top: 3px; }
.price-card ul li .ck.violet { color: var(--violet); }
.price-card .price-cta { margin-top: auto; padding-top: 8px; }
.price-card .price-cta .btn { width: 100%; justify-content: center; }
.price-card.featured ul li .ck { color: var(--accent); }

.pricing-foot {
  margin-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 14px 20px;
  border: 1px dashed var(--border-strong); border-radius: 12px;
  background: rgba(255,255,255,0.015);
  font-family: "Geist Mono", monospace; font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--text-mute); text-transform: uppercase;
}
.pricing-foot b { color: var(--text); font-weight: 500; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 88px 40px;
  border-radius: 24px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(79,140,255,0.18), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta .eyebrow { justify-content: center; display: inline-flex; }
.final-cta h2 { max-width: 820px; margin: 16px auto 18px; font-size: clamp(34px, 4.4vw, 56px); }
.final-cta p { max-width: 580px; margin: 0 auto 32px; font-size: 17px; color: var(--text-dim); line-height: 1.55; }
.final-cta .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .small {
  margin-top: 36px;
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-faint); text-transform: uppercase;
}

/* ---------- Footer ---------- */
footer.site {
  padding: 80px 0 36px; border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-col h5 {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-mute); margin: 0 0 18px; text-transform: uppercase; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-brand p { margin-top: 18px; font-size: 13px; color: var(--text-mute); max-width: 320px; line-height: 1.5; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-faint); text-transform: uppercase;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- utility ---------- */
.row { display: flex; gap: 12px; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================ */
/* PAGE EXTRAS — subhero, forms, FAQ, legal doc, compare table  */
/* ============================================================ */

/* ---------- Sub-hero (page header banner) ---------- */
.subhero { padding: 80px 0 56px; position: relative; }
.subhero .crumbs {
  display: flex; gap: 10px; align-items: center;
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 24px;
}
.subhero .crumbs a { color: var(--text-mute); text-decoration: none; }
.subhero .crumbs a:hover { color: var(--text); }
.subhero .crumbs .sep { color: var(--text-faint); }
.subhero .crumbs .here { color: var(--accent); }

.subhero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04; letter-spacing: -0.035em;
  max-width: 880px;
}
.subhero .lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 720px; margin-top: 20px; }
.subhero .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.subhero .stats {
  display: flex; gap: 36px; margin-top: 44px;
  padding-top: 28px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.subhero .stat-item { display: flex; flex-direction: column; gap: 5px; }
.subhero .stat-item .v { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.subhero .stat-item .l {
  font-family: "Geist Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.12em; color: var(--text-mute); text-transform: uppercase;
}

/* ---------- Section primitives reused across pages ---------- */
.section-eyebrow {
  display: flex; align-items: center; gap: 18px; margin-bottom: 18px;
}
.section-eyebrow .ln { flex: 1; height: 1px; background: var(--border); }
.section-num {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.18em;
  color: var(--text-faint); text-transform: uppercase;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

.form-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.span-2 { grid-column: span 2; }
@media (max-width: 720px) { .field.span-2 { grid-column: span 1; } }
.field label {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--text-mute); text-transform: uppercase;
}
.field label .req { color: var(--accent); margin-left: 5px; }
.input, .textarea, .select {
  width: 100%;
  font-family: inherit; font-size: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  transition: border-color .15s, background .15s, box-shadow .15s;
  outline: none;
}
.input:hover, .textarea:hover, .select:hover { border-color: rgba(255,255,255,0.22); }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--accent); background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.18);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; font-family: inherit; }
.select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236a6f7e' stroke-width='1.5'><path d='m3 5 3 3 3-3'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px;
}
.form-foot { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.checkbox {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim);
  cursor: pointer; user-select: none;
}
.checkbox input { appearance: none; -webkit-appearance: none; margin: 0;
  width: 16px; height: 16px; border-radius: 4px;
  border: 1.5px solid var(--border-strong); background: rgba(255,255,255,0.03);
  display: grid; place-items: center; cursor: pointer; transition: all .15s;
}
.checkbox input:checked { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked::after {
  content: ""; width: 4px; height: 8px; border-right: 1.8px solid #061224; border-bottom: 1.8px solid #061224;
  transform: rotate(45deg); margin-top: -2px;
}

.form-side {
  display: flex; flex-direction: column; gap: 18px;
}
.form-side .panel {
  border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  background: rgba(255,255,255,0.018);
}
.form-side .panel h4 { font-size: 14px; font-weight: 500; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.form-side .panel p { font-size: 13px; color: var(--text-mute); line-height: 1.55; }
.form-side .panel ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 0; }
.form-side .panel ul li {
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  font-size: 13px; color: var(--text-dim);
  padding: 9px 0; border-top: 1px dashed var(--border);
}
.form-side .panel ul li:first-child { border-top: 0; }
.form-side .panel ul li .ck {
  color: var(--accent); margin-top: 3px;
}

/* compact auth form */
.auth-shell {
  max-width: 440px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 18px;
  padding: 36px; background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
}
.auth-shell h2 { font-size: 26px; margin-bottom: 6px; }
.auth-shell .sub { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }
.auth-shell .field + .field { margin-top: 14px; }
.auth-shell .btn-primary { width: 100%; justify-content: center; margin-top: 18px; }
.auth-shell .alt {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border);
  text-align: center; font-size: 13px; color: var(--text-mute);
}
.auth-shell .alt a { color: var(--accent); text-decoration: none; }
.auth-shell .alt a:hover { text-decoration: underline; }
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 18px 0;
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--text-faint); text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px; font-weight: 500;
  color: var(--text);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+"; font-family: "Geist Mono", monospace; font-size: 22px;
  color: var(--accent); transition: transform .2s;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--accent); }
.faq-a {
  padding: 0 0 24px;
  font-size: 14.5px; color: var(--text-dim); line-height: 1.6; max-width: 720px;
}
.faq-a p + p { margin-top: 12px; }
.faq-a code {
  font-family: "Geist Mono", monospace; font-size: 13px;
  padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,0.05);
  color: var(--accent);
}

/* ---------- Compare table ---------- */
.compare {
  border: 1px solid var(--border); border-radius: 18px;
  background: rgba(255,255,255,0.015);
  overflow: hidden;
}
.compare-head, .compare-row {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 0;
}
.compare-head {
  border-bottom: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.025);
}
.compare-head > div, .compare-row > div {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-dim);
  display: flex; align-items: center;
  border-left: 1px solid var(--border);
}
.compare-head > div:first-child, .compare-row > div:first-child { border-left: 0; color: var(--text); }
.compare-head .plan-name {
  font-family: "Geist Mono", monospace; font-size: 12px;
  letter-spacing: 0.1em; color: var(--text); text-transform: uppercase;
  flex-direction: column; align-items: flex-start; gap: 4px;
}
.compare-head .plan-name small {
  font-family: "Geist Mono", monospace; font-size: 9.5px; color: var(--text-mute); letter-spacing: 0.14em;
}
.compare-head .plan-name.feat { color: var(--accent); }
.compare-row { border-top: 1px solid var(--border); }
.compare-row.group {
  background: rgba(255,255,255,0.022);
}
.compare-row.group > div:first-child {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--text-mute); text-transform: uppercase;
}
.compare-row.group > div:not(:first-child) { background: rgba(255,255,255,0); }
.compare-row .yes {
  color: var(--good);
}
.compare-row .yes::before {
  content: "✓"; font-family: "Geist Mono", monospace; margin-right: 6px;
}
.compare-row .no { color: var(--text-faint); }
.compare-row .no::before { content: "–"; font-family: "Geist Mono", monospace; margin-right: 6px; }
.compare-row .v { font-family: "Geist Mono", monospace; font-size: 12.5px; color: var(--text); }
@media (max-width: 720px) {
  .compare { overflow-x: auto; }
  .compare-head, .compare-row { min-width: 620px; }
}

/* ---------- Legal document layout ---------- */
.legal-wrap {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 56px; align-items: start;
}
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; gap: 24px; } }
.legal-toc {
  position: sticky; top: 88px;
  padding: 20px; border: 1px solid var(--border);
  border-radius: 14px; background: rgba(255,255,255,0.015);
}
@media (max-width: 900px) { .legal-toc { position: static; } }
.legal-toc .ti {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--text-mute); text-transform: uppercase; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 4px; }
.legal-toc ol li {
  counter-increment: toc;
  font-size: 13px;
}
.legal-toc ol li a {
  display: flex; gap: 10px;
  padding: 6px 8px; border-radius: 6px;
  text-decoration: none; color: var(--text-dim);
  transition: all .15s;
}
.legal-toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: "Geist Mono", monospace; font-size: 11px; color: var(--text-faint); flex-shrink: 0;
}
.legal-toc ol li a:hover { background: rgba(255,255,255,0.04); color: var(--text); }

.legal-body { max-width: 720px; }
.legal-body .updated {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-mute); text-transform: uppercase;
  padding: 8px 12px; border: 1px dashed var(--border-strong); border-radius: 8px;
  display: inline-block; margin-bottom: 32px;
}
.legal-body section { margin-bottom: 48px; }
.legal-body h2 {
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: flex; align-items: baseline; gap: 14px;
}
.legal-body h2 .num {
  font-family: "Geist Mono", monospace; font-size: 13px; color: var(--accent); letter-spacing: 0.1em;
}
.legal-body h3 { font-size: 16px; font-weight: 500; margin-top: 22px; margin-bottom: 8px; }
.legal-body p, .legal-body li { font-size: 14.5px; line-height: 1.65; color: var(--text-dim); }
.legal-body p + p { margin-top: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.legal-body a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(79,140,255,0.4); }

/* Page architecture diagram */
.arch-diagram {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px; padding: 28px;
  border: 1px solid var(--border); border-radius: 18px;
  background: rgba(255,255,255,0.012);
  position: relative;
}
.arch-tier {
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.arch-tier h5 {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase; margin: 0 0 4px;
  display: flex; justify-content: space-between;
}
.arch-tier h5 .tag { color: var(--text-mute); }
.arch-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 7px;
  background: rgba(0,0,0,0.25); border: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-dim);
}
.arch-row .d { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex-shrink: 0; }
.arch-row .d.g { background: var(--good); }
.arch-row .d.v { background: var(--violet); }
.arch-row .d.a { background: var(--warn); }
@media (max-width: 820px) { .arch-diagram { grid-template-columns: 1fr; } }

/* ---------- Feature deep cards ---------- */
.feat-deep {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 36px; padding: 32px;
  border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
}
@media (max-width: 820px) { .feat-deep { grid-template-columns: 1fr; gap: 24px; padding: 24px; } }
.feat-deep .meta { display: flex; flex-direction: column; gap: 12px; }
.feat-deep .meta .num {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-faint); text-transform: uppercase;
}
.feat-deep .meta h3 { font-size: 24px; }
.feat-deep .meta p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.feat-deep .caps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.feat-deep .caps > div {
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  font-size: 13.5px; color: var(--text-dim);
  padding: 11px 0; border-top: 1px solid var(--border);
}
.feat-deep .caps > div:first-child, .feat-deep .caps > div:nth-child(2) { border-top: 0; }
.feat-deep .caps .ck {
  color: var(--accent); margin-top: 3px;
}

/* ---------- Numbered process timeline ---------- */
.process-list { display: flex; flex-direction: column; gap: 12px; }
.process-row {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 24px; align-items: start;
  border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,0.015);
}
.process-row .pn {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(79,140,255,0.1); color: var(--accent);
  border: 1px solid rgba(79,140,255,0.2);
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace; font-size: 14px;
}
.process-row .pc { display: flex; flex-direction: column; gap: 4px; }
.process-row .pc h4 { font-size: 15px; font-weight: 500; }
.process-row .pc p { font-size: 13.5px; color: var(--text-mute); }

/* Currency placeholder pricing badges */
.price-pill {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(79,140,255,0.08); border: 1px solid rgba(79,140,255,0.2);
  font-family: "Geist Mono", monospace;
  color: var(--accent); font-size: 12.5px; letter-spacing: 0.04em;
}

