:root {
  --ink: #050506;
  --ink-2: #08080b;
  --ink-3: #0d0d12;
  --paper: #f4f2ec;
  --paper-2: #e9e6dd;

  /* text on dark */
  --fg: #f3f1ec;
  --fg-dim: rgba(243, 241, 236, 0.58);
  --fg-faint: rgba(243, 241, 236, 0.34);
  --line: rgba(243, 241, 236, 0.10);
  --line-2: rgba(243, 241, 236, 0.16);

  /* accent */
  --accent: #8b6cff;
  --accent-2: #b3a0ff;
  --gold: #f6b53a;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--ink); }
body {
  font-family: "Geist", system-ui, sans-serif;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

::selection { background: color-mix(in oklab, var(--accent) 40%, transparent); color: var(--fg); }

.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 400;
}
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; letter-spacing: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

a { color: inherit; text-decoration: none; }

/* ============ Grain + ambient field ============ */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor-follow glow, hero only */
.aura {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(48vw 48vw at var(--mx, 50%) var(--my, 38%),
      color-mix(in oklab, var(--accent) 26%, transparent) 0%,
      color-mix(in oklab, var(--accent) 9%, transparent) 30%,
      transparent 62%);
  transition: background 0.4s linear;
  filter: blur(8px);
}

/* ============ Top bar ============ */
header.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
header.bar.stuck {
  background: color-mix(in oklab, var(--ink) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo { height: 52px; width: auto; object-fit: contain; display: block; }
.brand .nm { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.brand .div { width: 1px; height: 22px; background: var(--line-2); margin: 0 12px; }
.brand .bos { font-family: "Geist Mono", monospace; font-size: 17px; letter-spacing: 0.2em; color: var(--fg); font-weight: 500; }

.bar-right { display: flex; align-items: center; gap: 22px; }
.bar-cd { display: flex; align-items: center; gap: 9px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--fg-dim); }
.bar-cd .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
.bar-link { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; padding: 9px 18px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); font-weight: 500; transition: filter 0.25s, opacity 0.25s; }
.bar-link:hover { filter: brightness(1.12); }
.bar-video-btn { display: flex; align-items: center; gap: 7px; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; color: var(--fg-dim); font-size: 12px; font-family: inherit; font-weight: 500; cursor: pointer; transition: border-color 0.2s, color 0.2s; white-space: nowrap; }
.bar-video-btn:hover { border-color: var(--fg-dim); color: var(--fg); }
.bar-video-btn .play-ic { display: flex; align-items: center; opacity: 0.7; }

/* ============ Reveal animation ============ */
.rise { opacity: 0; transform: translateY(32px) scale(0.98); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.07s; } .d2 { transition-delay: 0.15s; } .d3 { transition-delay: 0.23s; }
.d4 { transition-delay: 0.31s; } .d5 { transition-delay: 0.40s; } .d6 { transition-delay: 0.50s; }
.d7 { transition-delay: 0.60s; } .d8 { transition-delay: 0.70s; }
@media (prefers-reduced-motion: reduce) { .rise { transition: opacity 0.4s; transform: none; } }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 120px; }

.eyebrow { font-family: "Geist Mono", monospace; font-size: 12.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--fg-faint); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.6; }

.hero h1 {
  margin: 30px 0 0;
  font-weight: 300;
  font-size: clamp(44px, 8.2vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 .em { font-weight: 600; }
.hero h1 .date { color: var(--accent-2); font-weight: 500; white-space: nowrap; }
.hero h1 .serif { font-weight: 400; color: var(--fg); }

.hero .sub {
  margin: 38px 0 0; max-width: 62ch;
  font-size: clamp(17px, 1.55vw, 22px); line-height: 1.55; font-weight: 300;
  color: var(--fg-dim); letter-spacing: -0.005em; text-wrap: balance;
}
.hero .sub b { color: var(--fg); font-weight: 500; }

.hero-actions { margin-top: 48px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  border: none; cursor: pointer;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 60%, transparent), 0 18px 50px -18px var(--accent);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), filter 0.3s;
}
.cta-pill:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 70%, transparent), 0 24px 60px -16px var(--accent); }
.cta-pill .arr { transition: transform 0.35s var(--ease); }
.cta-pill:hover .arr { transform: translateX(4px); }

.ghost-cd { display: inline-flex; flex-direction: column; gap: 3px; }
.ghost-cd .lab { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-faint); }
.ghost-cd .val { font-family: "Geist Mono", monospace; font-size: 15px; letter-spacing: 0.08em; color: var(--fg); font-variant-numeric: tabular-nums; }
.ghost-cd .val b { color: var(--accent-2); font-weight: 500; }
.hero-stats { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-stats .stat-sep { width: 1px; height: 34px; flex: none; background: color-mix(in oklab, var(--fg) 16%, transparent); }
@media (max-width: 560px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stats .stat-sep { display: none; }
}

.scrollcue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--fg-faint); }
.scrollcue .mono { font-size: 10px; letter-spacing: 0.3em; }
.scrollcue .ln { width: 1px; height: 40px; background: linear-gradient(var(--fg-faint), transparent); overflow: hidden; position: relative; }
.scrollcue .ln::after { content: ""; position: absolute; top: -40px; left: 0; width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: drop 2.6s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(0); } 70%, 100% { transform: translateY(80px); } }

/* floating monogram glow behind hero */
.monogram {
  position: absolute; z-index: 1; right: -4%; top: 50%; transform: translateY(-50%);
  font-weight: 600; font-size: clamp(280px, 44vw, 720px); line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 34%, transparent), transparent 62%);
  -webkit-background-clip: text; background-clip: text;
  opacity: 0.5; pointer-events: none; user-select: none;
  filter: blur(1px);
}
@media (max-width: 860px) { .monogram { right: -20%; opacity: 0.35; } }

/* ============ HERO V2 — compact centered ============ */
.hero.hero-v2 { min-height: auto; }
.hero.hero-v2 .wrap { padding-top: calc(64px + 72px); padding-bottom: 52px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero.hero-v2 h1 { font-size: clamp(36px, 5.6vw, 80px); max-width: 20ch; margin: 22px 0 0; }
.hero-h1-line1 { display: inline-flex; align-items: baseline; gap: 0.28em; }
.hero-h1-line1 .rotor { display: inline-block; width: 5.8em; overflow: visible; text-align: left; vertical-align: baseline; }
.hero.hero-v2 .sub { margin: 24px 0 0; max-width: 46ch; font-size: clamp(15px, 1.3vw, 19px); text-align: center; }
.hero.hero-v2 .hero-actions { justify-content: center; margin-top: 32px; }
.hero.hero-v2 .hero-stat-line { margin-top: 20px; }
.hero.hero-v2 .scrollcue { display: none; }
.hero.hero-v2 .monogram { opacity: 0.18; }
.hero-stat-line { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; color: var(--fg-faint); font-family: "Geist Mono", monospace; letter-spacing: 0.04em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; animation: pulse 2.4s var(--ease) infinite; }

/* ============ USE CASE SHOWCASE ============ */
.usecase-showcase { padding: 0; position: relative; z-index: 2; }
.uc-tabs { display: flex; gap: 6px; justify-content: center; margin: 0 0 24px; flex-wrap: wrap; }
.uc-stage {
  position: relative;
  border-radius: 22px 22px 0 0;
  padding: 28px 28px 0;
  background: linear-gradient(170deg,
    color-mix(in oklab, var(--accent) 10%, var(--ink-2)) 0%,
    color-mix(in oklab, var(--accent) 3%, var(--ink-2)) 50%,
    var(--ink-2) 100%
  );
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-bottom: none;
  overflow: hidden;
}
.uc-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%,
    color-mix(in oklab, var(--accent) 30%, transparent) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.uc-tab {
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; color: var(--fg-dim); cursor: pointer;
  font-family: inherit; font-weight: 500; letter-spacing: -0.01em;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}
.uc-tab:hover { border-color: var(--accent); color: var(--fg); }
.uc-tab.is-active { background: transparent; border-color: var(--accent); color: #fff; }
.uc-frame {
  position: relative; z-index: 1;
  border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: none;
  overflow: hidden; background: var(--ink-2);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--fg) 6%, transparent),
              0 -8px 48px color-mix(in oklab, var(--accent) 10%, transparent);
}
.uc-chrome {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid var(--line); background: var(--ink-3);
}
.uc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex: none; }
.uc-dot.live { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2.4s var(--ease) infinite; }
.uc-url { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-faint); margin-left: 8px; letter-spacing: 0.04em; }
.uc-panel { display: none; }
.uc-panel.is-active { display: grid; grid-template-columns: 195px 1fr; min-height: 400px; }
.uc-sidebar {
  border-right: 1px solid var(--line); padding: 14px 10px;
  display: flex; flex-direction: column; gap: 2px;
  background: color-mix(in oklab, var(--fg) 1.5%, transparent);
}
.uc-nav-item { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 8px; font-size: 13px; color: var(--fg-faint); }
.uc-nav-item.is-active { background: color-mix(in oklab, var(--fg) 5%, transparent); color: var(--fg); }
.uc-sq { width: 13px; height: 13px; border-radius: 3px; border: 1px solid var(--line-2); flex: none; }
.uc-nav-item.is-active .uc-sq { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 6px color-mix(in oklab, var(--accent) 50%, transparent); }
.uc-main { padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.uc-mhead { display: flex; align-items: center; justify-content: space-between; }
.uc-title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.uc-badge { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }
.uc-badge.live { color: var(--accent-2); border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); background: color-mix(in oklab, var(--accent) 8%, transparent); }
.uc-badge.warn { color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); background: rgba(251,191,36,0.08); }
.uc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.uc-kpi { border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; background: var(--ink-3); }
.uc-kv { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.uc-kl { font-family: "Geist Mono", monospace; font-size: 9px; color: var(--fg-faint); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.uc-rows { display: flex; flex-direction: column; gap: 7px; }
.uc-row { display: grid; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-3); font-size: 12.5px; }
.uc-row-3 { grid-template-columns: 1.5fr 2fr auto; }
.uc-row-4 { grid-template-columns: 1.4fr auto 2fr auto; }
.uc-rn { color: var(--fg-dim); }
.uc-rtag { font-family: "Geist Mono", monospace; font-size: 9.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-dim); white-space: nowrap; }
.uc-rtag.ok { color: var(--accent-2); border-color: color-mix(in oklab, var(--accent) 35%, transparent); }
.uc-rbar { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.uc-rfill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.uc-rfill.s2 { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.uc-rfill.s3 { background: linear-gradient(90deg, #ef4444, #f87171); }
.uc-rfill.s4 { background: linear-gradient(90deg, #10b981, #34d399); }
.uc-rv { font-family: "Geist Mono", monospace; font-size: 10.5px; color: var(--fg-faint); text-align: right; white-space: nowrap; }
.uc-qchip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; color: var(--accent-2); padding: 8px 14px;
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
  border-radius: 999px; background: color-mix(in oklab, var(--accent) 7%, transparent);
  align-self: flex-start;
}
.uc-qd { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; animation: pulse 2.4s var(--ease) infinite; }
/* Q agent cards */
.uc-agent-feed { display: flex; flex-direction: column; gap: 10px; }
.uc-agent-card { border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; background: var(--ink-3); }
.uc-agent-from { font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.uc-agent-from .uc-qd { width: 5px; height: 5px; }
.uc-agent-msg { font-size: 13px; color: var(--fg-dim); line-height: 1.5; }
.uc-agent-msg b { color: var(--fg); font-weight: 500; }
.uc-agent-act { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-size: 12px; margin-top: 10px; font-weight: 500; border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent); padding: 4px 12px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 6%, transparent); }
@media (max-width: 860px) { .uc-panel.is-active { grid-template-columns: 1fr; } .uc-sidebar { display: none; } .uc-kpis { grid-template-columns: repeat(2, 1fr); } .uc-stage { padding: 20px 16px 0; border-radius: 16px 16px 0 0; } }
@media (max-width: 520px) { .uc-kpis { grid-template-columns: 1fr; } .uc-row-4 { grid-template-columns: 1fr auto; } .uc-row-4 .uc-rbar { display: none; } }

/* ============ Section scaffold ============ */
section.band { position: relative; z-index: 2; padding: clamp(56px, 8vh, 120px) 0; }
.seclabel { font-family: "Geist Mono", monospace; font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-faint); display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.seclabel .ix { color: var(--accent-2); }

/* ---- Reveal band: name BOS ---- */
.reveal { text-align: left; border-top: 1px solid var(--line); }
.reveal h2 {
  margin: 0; font-weight: 300; font-size: clamp(32px, 5vw, 76px);
  line-height: 1.04; letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance;
}
.reveal h2 b { font-weight: 600; }
.reveal h2 .acc { color: var(--accent-2); font-weight: 500; }
.reveal .triplet { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.reveal .triplet .cell { background: var(--ink); padding: 34px 32px; transition: background 0.5s; }
.reveal .triplet .k { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-2); }
.reveal .triplet .t { margin-top: 18px; font-size: clamp(20px, 2vw, 27px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; }
.reveal .triplet .d { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--fg-dim); }
@media (max-width: 760px) { .reveal .triplet { grid-template-columns: 1fr; } }

/* ---- Modules constellation ---- */
.system { border-top: 1px solid var(--line); }
.system .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.system h2 { margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1.02; max-width: 16ch; }
.system h2 b { font-weight: 600; }
.system .note { max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--fg-dim); }

.modgrid { margin-top: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1200px) { .modgrid { grid-template-columns: repeat(2, 1fr); } }
.mod {
  position: relative; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px 20px; min-height: 132px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: color-mix(in oklab, var(--ink-3) 60%, transparent);
  overflow: hidden; transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s;
  text-decoration: none; color: inherit; cursor: pointer;
}
.mod:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--c) 70%, var(--accent));
  outline-offset: 3px;
}
.mod::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(120% 80% at 50% -10%, color-mix(in oklab, var(--c) 26%, transparent), transparent 70%); transition: opacity 0.5s; }
.mod:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--c) 50%, var(--line)); }
.mod:hover::before { opacity: 1; }
.mod .dot { width: 11px; height: 11px; border-radius: 3px; background: var(--c); box-shadow: 0 0 16px color-mix(in oklab, var(--c) 80%, transparent); position: relative; }
.mod .nm { position: relative; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.mod .nm .v { display: block; margin-top: 5px; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.02em; color: var(--fg-faint); font-weight: 400; }
.mod.locked .nm, .mod.locked .dot { filter: saturate(0.4); }
.mod .soon { position: absolute; top: 16px; right: 16px; font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.18em; color: var(--fg-faint); }

/* ---- Group labels (Included / Build more) ---- */
.grouplab { margin: 64px 0 22px; display: flex; align-items: center; gap: 18px; }
.grouplab .tag { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-dim); white-space: nowrap; }
.grouplab .ln { flex: 1; height: 1px; background: var(--line); }
.grouplab-build .tag { color: var(--accent-2); }
.grouplab-build .tag::before { content: "✦"; margin-right: 10px; font-size: 10px; color: var(--accent); }
.grouplab-build .ln { background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 32%, var(--line)), var(--line) 60%); }

/* ---- Build more cards (visually distinct) ---- */
.buildgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .buildgrid { grid-template-columns: 1fr; } }
.buildcard {
  position: relative; overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--accent) 34%, var(--line));
  border-radius: 14px; padding: 26px 26px 24px;
  background:
    radial-gradient(130% 120% at 0% 0%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 58%),
    color-mix(in oklab, var(--ink-3) 60%, transparent);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  text-decoration: none; color: inherit; cursor: pointer; display: block;
}
.buildcard:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 60%, transparent); box-shadow: 0 24px 60px -28px var(--accent); }
.buildcard:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.buildcard .spark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  font-size: 22px; font-weight: 300; line-height: 1; color: #fff;
  background: var(--accent); box-shadow: 0 0 22px color-mix(in oklab, var(--accent) 70%, transparent);
}
.buildcard .bc-nm { margin-top: 18px; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.buildcard .bc-d { margin-top: 9px; font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); max-width: 38ch; }

/* ---- Pillars ---- */
.pillars { border-top: 1px solid var(--line); }
.pillars .pillars-head { margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch; }
.pillars .pillars-head b { font-weight: 600; }
.pillars .row { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars .p { padding: 0 36px; border-left: 1px solid var(--line); }
.pillars .p:first-child { padding-left: 0; border-left: none; }
.pillars .p .ix { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.22em; color: var(--fg-faint); }
.pillars .p .word { margin: 20px 0 18px; font-size: clamp(40px, 6vw, 92px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.pillars .p:nth-child(1) .word { color: var(--fg); }
.pillars .p:nth-child(2) .word { color: var(--accent-2); }
.pillars .p:nth-child(3) .word { color: var(--gold); }
.pillars .p .d { font-size: 15px; line-height: 1.6; color: var(--fg-dim); max-width: 32ch; }
@media (max-width: 760px) { .pillars .row { grid-template-columns: 1fr; gap: 40px; } .pillars .p { padding-left: 0; border-left: none; } }

/* ============ Signup ============ */
.signup { position: relative; border-top: 1px solid var(--line); padding: clamp(72px, 11vh, 140px) 0; overflow: hidden; }
.signup .glow { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 90vw; height: 70vh; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 20%, transparent), transparent 72%); filter: blur(10px); }
.signup .inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.signup h2 { margin: 0; font-weight: 300; font-size: clamp(34px, 5.4vw, 82px); line-height: 1.0; letter-spacing: -0.04em; text-wrap: balance; }
.signup h2 b { font-weight: 600; }
.signup .lead { margin: 28px auto 0; max-width: 46ch; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; font-weight: 300; color: var(--fg-dim); }

.form { margin: 46px auto 0; max-width: 520px; }
.field {
  display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 22px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: color-mix(in oklab, var(--ink-3) 70%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.field input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  color: var(--fg); font-family: "Geist", sans-serif; font-size: 16px; letter-spacing: -0.01em;
}
.field input::placeholder { color: var(--fg-faint); }
.field button {
  flex: none; border: none; cursor: pointer; white-space: nowrap;
  padding: 13px 24px; border-radius: 999px; background: var(--accent); color: #fff;
  font-family: "Geist", sans-serif; font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em;
  transition: filter 0.3s, transform 0.3s var(--ease);
}
.field button:hover { filter: brightness(1.07); transform: translateX(1px); }
.field button:disabled { opacity: 0.6; cursor: default; }

.fineprint { margin-top: 18px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--fg-faint); }
.fineprint .lim { color: var(--accent-2); }

.formerr { margin-top: 14px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--gold); }
.formerr[hidden] { display: none; }

/* success state */
.done { display: none; margin: 46px auto 0; max-width: 520px; padding: 26px 28px; border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line)); border-radius: 18px; background: color-mix(in oklab, var(--accent) 8%, transparent); text-align: left; align-items: flex-start; gap: 18px; }
.form.sent + .done { display: flex; animation: rise 0.7s var(--ease) both; }
.form.sent { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.done .check { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 24px color-mix(in oklab, var(--accent) 70%, transparent); }
.done .check svg { width: 18px; height: 18px; stroke: #fff; }
.done .dt { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.done .dd { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--fg-dim); }
.done .dd b { color: var(--fg); font-weight: 500; }

/* ============ Footer ============ */
footer.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 40px 0; }
footer.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.foot .l { display: flex; align-items: center; gap: 11px; }
footer.foot .l img { width: 22px; height: 22px; object-fit: contain; }
footer.foot .l span { font-size: 13px; color: var(--fg-dim); }
footer.foot .r { display: flex; gap: 28px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); }
footer.foot .r a:hover { color: var(--accent-2); }

@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  header.bar { padding: 16px 24px; }
  .bar-cd { display: none; }
  .hero-actions { gap: 18px; }
}

/* =========================================================
   v2 EXTENSIONS - launch site (modules, use cases, outcomes,
   comparison, data, pricing teaser, FAQ, sub-pages, etc.)
   ========================================================= */

/* ---- Expanded top nav (middle links + mobile menu) ---- */
.bar-mid { display: flex; align-items: center; gap: 26px; position: absolute; left: 50%; transform: translateX(-50%); }
.bar-mid a {
  font-size: 13.5px; font-weight: 400; letter-spacing: -0.005em;
  color: var(--fg-dim); transition: color 0.3s;
  padding: 6px 2px;
}
.bar-mid a:hover, .bar-mid a.is-current { color: var(--fg); }
.bar-mid a.is-current { position: relative; }
.bar-mid a.is-current::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 0;
  height: 1px; background: var(--accent-2);
}
@media (max-width: 980px) { .bar-mid { display: none; } }

.bar-burger {
  display: none; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--fg);
  cursor: pointer; align-items: center; justify-content: center;
}
.bar-burger span, .bar-burger span::before, .bar-burger span::after {
  content: ""; display: block; width: 16px; height: 1px; background: currentColor; position: relative;
}
.bar-burger span::before { position: absolute; top: -5px; left: 0; right: 0; }
.bar-burger span::after { position: absolute; top: 5px; left: 0; right: 0; }
@media (max-width: 980px) { .bar-burger { display: inline-flex; } }

/* Phone: drop the "What is BOS" video pill, tighten the bar so the burger
   stays in view alongside the CTA. */
@media (max-width: 600px) {
  .bar-video-btn { display: none; }
  .bar-right { gap: 10px; }
  .brand .logo { height: 40px; }
  /* On phone the BOS divider + text move into the burger menu. */
  .brand .div, .brand .bos { display: none; }
  .bar-link { padding: 8px 14px; font-size: 10px; letter-spacing: 0.15em; }

  /* Burger menu: style the Run with BOS row as an obvious CTA pill, not a text link. */
  .menu-sheet-run {
    margin-top: 24px;
    padding: 13px 24px;
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    border-top: 1px solid var(--accent);
    border-radius: 999px;
    font-family: "Geist Mono", monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    width: auto;
    align-self: flex-start;
    text-align: center;
  }

  /* Use case tabs: horizontal 2-up scroll snap. Active tab snaps to start so
     it shares the row with the one about to run next. */
  .uc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding: 0 16px;
    margin: 0 -16px 16px;
    gap: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .uc-tabs::-webkit-scrollbar { display: none; }
  .uc-tab {
    flex: 0 0 calc(50% - 12px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    scroll-snap-align: start;
    padding: 10px 14px;
    font-size: 12.5px;
  }

  /* Shrink the panel a bit so the visual sits in view alongside the tabs. */
  .uc-panel.is-active { min-height: 0; }
  .uc-main { padding: 16px 18px; gap: 10px; }
  .uc-kpi { padding: 10px 12px; }
  .uc-kv { font-size: 1.15rem; }
}

.menu-sheet {
  position: fixed; inset: 0; z-index: 60;
  background: color-mix(in oklab, var(--ink) 90%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  display: none; flex-direction: column; padding: 92px 32px 40px;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.menu-sheet.open { display: flex; opacity: 1; }
.menu-sheet a {
  font-size: 28px; font-weight: 300; letter-spacing: -0.02em;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.menu-sheet a:last-of-type { border-bottom: none; }
.menu-sheet a.menu-brand {
  font-family: "Geist Mono", monospace;
  font-size: 18px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--fg-dim);
  text-transform: uppercase;
  padding: 4px 0 22px;
  border-bottom: 1px solid var(--line);
}
.menu-sheet .close {
  position: absolute; top: 22px; right: 24px;
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--fg); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ---- Page sub-hero (for /pricing /modules /terms) ---- */
.subhero { position: relative; padding: 120px 0 56px; border-bottom: 1px solid var(--line); overflow: hidden; }
.subhero .aura-soft {
  position: absolute; inset: -20% -10% 30% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(50vw 50vw at 50% 0%,
    color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  filter: blur(8px);
}
.subhero .wrap { position: relative; z-index: 1; }
.subhero .eyebrow { display: inline-flex; }
.subhero h1 {
  margin: 28px 0 22px; font-weight: 300; font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.0; letter-spacing: -0.04em; max-width: 18ch; text-wrap: balance;
}
.subhero h1 b { font-weight: 600; }
.subhero h1 .acc { color: var(--accent-2); font-weight: 500; }
.subhero p.sub { max-width: 60ch; font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55; font-weight: 300; color: var(--fg-dim); margin: 0; }
.subhero p.sub b { color: var(--fg); font-weight: 500; }

/* ---- Trust strip (team pedigree) ---- */
.trust { padding: 50px 0 30px; border-top: 1px solid var(--line); }
.trust .row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.trust .lab {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--fg-faint); flex: 0 0 auto; max-width: 22ch;
}
.trust .lab b { color: var(--fg-dim); font-weight: 500; }
.trust .logos { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.trust .logos span {
  font-size: 17px; letter-spacing: -0.005em; color: var(--fg-dim);
  font-weight: 400; opacity: 0.85;
}
.trust .logos span.serif { font-style: italic; font-size: 22px; }
@media (max-width: 760px) { .trust .row { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* ---- Use cases section ---- */
.usecases { border-top: 1px solid var(--line); }
.usecases h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch;
}
.usecases h2 b { font-weight: 600; }
.usecases h2 .acc { color: var(--accent-2); font-weight: 500; }
.usecases .lead { margin: 22px 0 56px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--fg-dim); }
.usecases .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .usecases .grid { grid-template-columns: 1fr; } }
.uc {
  position: relative; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px 32px; background: color-mix(in oklab, var(--ink-3) 50%, transparent);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.uc:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); }
.uc .ix { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.22em; color: var(--accent-2); }
.uc h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.uc p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); }
.uc ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.uc ul li {
  font-size: 13.5px; color: var(--fg); padding-left: 18px; position: relative;
}
.uc ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 1px; background: var(--accent-2);
}

/* ---- Outcomes / proof stats ---- */
.outcomes { border-top: 1px solid var(--line); }
.outcomes h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch;
}
.outcomes h2 b { font-weight: 600; }
.outcomes .lead { margin: 22px 0 56px; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.outcomes .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
@media (max-width: 980px) { .outcomes .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .outcomes .grid { grid-template-columns: 1fr; } }
.outcomes .stat {
  background: var(--ink); padding: 32px 26px 30px;
  display: flex; flex-direction: column; gap: 10px;
}
.outcomes .stat .n {
  font-weight: 300; font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -0.04em; line-height: 1; color: var(--accent-2);
}
.outcomes .stat .lab { font-size: 14px; line-height: 1.45; color: var(--fg); font-weight: 400; }
.outcomes .stat .sub { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.18em; color: var(--fg-faint); text-transform: uppercase; }
.outcomes .caveat {
  margin-top: 24px; font-family: "Geist Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.12em; color: var(--fg-faint);
}

/* ---- Problem framing band ---- */
.problem { border-top: 1px solid var(--line); }
.problem h2 {
  margin: 0; font-weight: 300; font-size: clamp(34px, 5vw, 72px);
  letter-spacing: -0.04em; line-height: 1.04; max-width: 20ch; text-wrap: balance;
}
.problem h2 .acc { color: var(--accent-2); font-weight: 500; }
.problem .lead {
  margin: 28px 0 0; max-width: 56ch;
  font-size: clamp(16px, 1.55vw, 19px); line-height: 1.55; color: var(--fg-dim);
}
.problem .lead b { color: var(--fg); font-weight: 500; }

/* ---- Problem animation: orbital ecosystem ---- */
.problem-anim { padding: 0 0 clamp(40px, 6vh, 80px); position: relative; z-index: 2; }
.problem-anim .wrap { padding-top: clamp(8px, 2vh, 24px); }

/* Two-column: copy on the left, orbit on the right */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.problem-copy { min-width: 0; }
.problem-grid .frag-stage {
  margin-top: 0;
  height: clamp(440px, 42vw, 620px);
  --R1: clamp(90px, 12vw, 150px);
  --R2: clamp(160px, 22vw, 250px);
}
@media (max-width: 960px) {
  .problem-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vh, 40px);
  }
  .problem-grid .frag-stage {
    height: clamp(440px, 66vw, 620px);
    --R1: clamp(120px, 18vw, 180px);
    --R2: clamp(210px, 30vw, 290px);
  }
}

.frag-stage {
  --R1: clamp(120px, 18vw, 180px);
  --R2: clamp(210px, 30vw, 290px);
  --spin1: 28s;
  --spin2: 48s;
  position: relative;
  height: clamp(500px, 66vw, 680px);
  margin-top: 32px;
  overflow: hidden;
}

/* ---- Center hub ("BOS core") ---- */
.frag-core {
  position: absolute; top: 50%; left: 50%;
  width: clamp(120px, 18vw, 156px); height: clamp(120px, 18vw, 156px);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in oklab, var(--accent) 55%, transparent), transparent 65%),
    color-mix(in oklab, var(--ink-3) 88%, var(--accent));
  border: 1px solid color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow:
    0 0 60px color-mix(in oklab, var(--accent) 35%, transparent),
    inset 0 0 30px color-mix(in oklab, var(--accent) 18%, transparent);
  display: grid; place-items: center;
  transition: opacity 0.9s var(--ease) 0.5s, transform 1s var(--ease) 0.5s;
  z-index: 3;
}
.frag-stage.assembled .frag-core {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.frag-core-inner { text-align: center; position: relative; z-index: 2; }
.frag-core-label {
  font-family: "Geist Mono", monospace;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--fg);
}
.frag-core-sub {
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-top: 6px;
}
.frag-core-pulse {
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent);
  opacity: 0;
}
.frag-stage.assembled .frag-core-pulse {
  animation: corePulse 3.6s ease-out infinite;
}
.frag-stage.assembled .frag-core-pulse.d { animation-delay: 1.8s; }
@keyframes corePulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---- Three concentric rings ---- */
.frag-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed color-mix(in oklab, var(--accent) 28%, var(--line));
  opacity: 0;
  transition: opacity 1s var(--ease) 0.7s;
  pointer-events: none;
}
.frag-stage.assembled .frag-ring { opacity: 0.7; }
.frag-ring-1 { width: calc(var(--R1) * 2); height: calc(var(--R1) * 2); transform: translate(-50%, -50%); }
.frag-ring-2 { width: calc(var(--R2) * 2); height: calc(var(--R2) * 2); transform: translate(-50%, -50%); }

/* ---- Orbits (each rotates as a whole, at its own speed) ---- */
.frag-orbit {
  position: absolute; inset: 0;
  z-index: 1;
  will-change: transform;
}
.frag-stage.assembled .frag-orbit-1 { animation: orbitSpin var(--spin1) linear infinite; }
.frag-stage.assembled .frag-orbit-2 { animation: orbitSpin var(--spin2) linear infinite; }
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- Chips (just dot + name, no box) ---- */
.frag-chip {
  position: absolute; top: 50%; left: 50%;
  --sx: 0px; --sy: 0px; --srot: 0deg;
  --xmul: 0; --ymul: 0;
  --R: var(--R1);
  --i: 0;
  transform: translate(-50%, -50%) translate(var(--sx), var(--sy)) rotate(var(--srot));
  transition:
    transform 1.45s var(--ease),
    opacity 0.8s var(--ease),
    filter 0.8s var(--ease);
  transition-delay: calc(var(--i) * 50ms);
  filter: saturate(0.6) brightness(0.85);
  z-index: 2;
}
.frag-orbit-1 .frag-chip { --R: var(--R1); }
.frag-orbit-2 .frag-chip { --R: var(--R2); }

.frag-chip .fc-body {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
}
.frag-chip .fc-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--fg-faint);
  flex: none;
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.frag-chip .fc-name {
  font-size: 12.5px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}

/* Scatter flicker */
.frag-stage:not(.assembled) .frag-chip { animation: flick 3.4s ease-in-out infinite; }
.frag-chip:nth-child(2n) { animation-delay: 0.5s; }
.frag-chip:nth-child(3n) { animation-delay: 1.1s; }
.frag-chip:nth-child(4n) { animation-delay: 1.7s; }
@keyframes flick {
  0%, 100% { filter: saturate(0.6) brightness(0.82); }
  48%      { filter: saturate(0.6) brightness(0.7); }
  52%      { filter: saturate(0.6) brightness(0.96); }
}

/* Assembled — chip slides onto its ring */
.frag-stage.assembled .frag-chip {
  transform: translate(-50%, -50%)
             translate(calc(var(--R) * var(--xmul)), calc(var(--R) * var(--ymul)))
             rotate(0deg);
  filter: none;
}
.frag-stage.assembled .frag-chip .fc-dot {
  background: var(--dot, var(--accent));
  box-shadow: 0 0 14px color-mix(in oklab, var(--dot, var(--accent)) 70%, transparent),
              inset 0 1px 0 color-mix(in oklab, #fff 35%, transparent);
}

/* Counter-rotate the chip content so labels stay upright while the orbit spins */
.frag-stage.assembled .frag-orbit-1 .fc-body { animation: chipCounter var(--spin1) linear infinite; }
.frag-stage.assembled .frag-orbit-2 .fc-body { animation: chipCounter var(--spin2) linear infinite; }
@keyframes chipCounter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@media (max-width: 720px) {
  .frag-stage {
    --R1: clamp(90px, 22vw, 130px);
    --R2: clamp(160px, 38vw, 210px);
    height: clamp(420px, 86vw, 540px);
  }
  .frag-chip .fc-name { font-size: 11.5px; }
}
@media (max-width: 480px) {
  .frag-stage {
    --R1: clamp(80px, 24vw, 110px);
    --R2: clamp(140px, 42vw, 180px);
  }
  .frag-chip .fc-name { font-size: 10.5px; }
  .frag-chip .fc-dot { width: 10px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .frag-stage:not(.assembled) .frag-chip { animation: none; }
  .frag-chip { transition: none; }
  .frag-stage.assembled .frag-orbit-1,
  .frag-stage.assembled .frag-orbit-2,
  .frag-stage.assembled .fc-body,
  .frag-stage.assembled .frag-core-pulse { animation: none; }
}

/* ---- Comparison table ---- */
.compare { border-top: 1px solid var(--line); }
.compare h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 22ch;
}
.compare h2 b { font-weight: 600; }
.compare h2 .acc { color: var(--accent-2); font-weight: 500; }
.compare .lead { margin: 22px 0 56px; max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.cmp-table {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: color-mix(in oklab, var(--ink-3) 40%, transparent);
}
.cmp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row .c { padding: 18px 22px; font-size: 14.5px; line-height: 1.45; }
.cmp-row .c + .c { border-left: 1px solid var(--line); }
.cmp-row.head .c {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--fg-dim);
}
.cmp-row.head .c.bos { color: var(--accent-2); }
.cmp-row .c.feat { color: var(--fg); font-weight: 400; }
.cmp-row .c.yes { color: var(--accent-2); }
.cmp-row .c.no { color: var(--fg-faint); }
.cmp-row .c.partial { color: var(--gold); }
.cmp-row .c .mark {
  display: inline-block; width: 18px; text-align: center; margin-right: 8px;
  font-family: "Geist Mono", monospace; font-size: 13px;
}
@media (max-width: 760px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row .c + .c { border-left: none; border-top: 1px solid var(--line); }
  .cmp-row.head { display: none; }
  .cmp-row .c::before {
    content: attr(data-col); display: block;
    font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--fg-faint); margin-bottom: 6px;
  }
  .cmp-row .c.feat::before { display: none; }
}

/* ---- Data / Security pillars ---- */
.security { border-top: 1px solid var(--line); }
.security h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 20ch;
}
.security h2 b { font-weight: 600; }
.security .lead { margin: 22px 0 56px; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.security .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .security .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .security .grid { grid-template-columns: 1fr; } }
.sec-card {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px; background: color-mix(in oklab, var(--ink-3) 40%, transparent);
  display: flex; flex-direction: column; gap: 12px;
}
.sec-card .icon {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent-2); font-family: "Geist Mono", monospace; font-size: 14px;
}
.sec-card h3 { margin: 4px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.sec-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); }

/* ---- Pricing teaser (index) + pricing page ---- */
.pricing-band { border-top: 1px solid var(--line); }
.pricing-band h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch;
}
.pricing-band h2 b { font-weight: 600; }
.pricing-band .lead { margin: 22px 0 56px; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 32px 32px;
  background: color-mix(in oklab, var(--ink-3) 50%, transparent);
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.tier:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.tier.feat {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 55%),
    color-mix(in oklab, var(--ink-3) 60%, transparent);
}
.tier .badge {
  position: absolute; top: 18px; right: 22px;
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent-2);
}
.tier .nm { font-size: 14px; font-family: "Geist Mono", monospace; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); }
.tier .price { display: flex; align-items: baseline; gap: 8px; }
.tier .price .from { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }
.tier .price .num { font-weight: 300; font-size: clamp(40px, 4.6vw, 58px); letter-spacing: -0.04em; line-height: 1; color: var(--fg); }
.tier .price .per { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.16em; color: var(--fg-faint); text-transform: uppercase; }
.tier .desc { font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); }
.tier ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tier ul li { padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--fg); position: relative; }
.tier ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 5px;
  border-left: 1.5px solid var(--accent-2); border-bottom: 1.5px solid var(--accent-2);
  transform: rotate(-45deg);
}
.tier .act { margin-top: auto; padding-top: 14px; }
.tier .act a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--line-2);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.tier .act a:hover { border-color: var(--accent); color: var(--accent-2); }
.tier.feat .act a { background: var(--accent); color: #fff; border-color: transparent;
  box-shadow: 0 18px 50px -22px var(--accent); }
.tier.feat .act a:hover { filter: brightness(1.06); color: #fff; }

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid var(--line); }
.faq h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch;
}
.faq h2 b { font-weight: 600; }
.faq .lead { margin: 22px 0 48px; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.faq .list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line); padding: 24px 0;
  transition: padding 0.3s var(--ease);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 28px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 400;
  letter-spacing: -0.015em; color: var(--fg);
  padding: 4px 0;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: "Geist Mono", monospace;
  font-size: 22px; line-height: 1; color: var(--fg-dim);
  transition: transform 0.3s var(--ease), color 0.3s;
}
.faq details[open] summary { color: var(--accent-2); }
.faq details[open] summary::after { content: "-"; color: var(--accent-2); }
.faq summary:hover { color: var(--accent-2); }
.faq details .ans {
  margin-top: 16px; max-width: 70ch;
  font-size: 15px; line-height: 1.6; color: var(--fg-dim);
}
.faq details .ans b { color: var(--fg); font-weight: 500; }

/* ---- Section CTA strip ---- */
.cta-strip {
  border-top: 1px solid var(--line); padding: 52px 0;
  background:
    radial-gradient(60vw 50vw at 50% 100%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%),
    transparent;
}
.cta-strip .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-strip h3 {
  margin: 0; font-weight: 300; font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -0.03em; line-height: 1.1; max-width: 20ch;
}
.cta-strip h3 b { font-weight: 600; }

/* ---- Modules page (deep dive rows) ---- */
.modrow { border-top: 1px solid var(--line); padding: 64px 0; scroll-margin-top: 96px; }
.modrow.first { border-top: none; padding-top: 36px; }
.modrow:target { background: transparent; }
.modrow .modrow-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
@media (max-width: 980px) { .modrow .modrow-grid { grid-template-columns: 1fr; gap: 40px; } }
.modrow.flip .modrow-grid > .copy { order: 2; }
.modrow.flip .modrow-grid > .mock { order: 1; }
@media (max-width: 980px) { .modrow.flip .modrow-grid > .copy, .modrow.flip .modrow-grid > .mock { order: initial; } }
.modrow .vs-table { margin-top: clamp(40px, 5vh, 64px); }
.modrow .copy .ix { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.22em; color: var(--accent-2); text-transform: uppercase; }
.modrow .copy h2 {
  margin: 18px 0 18px; font-weight: 300; font-size: clamp(34px, 4.8vw, 64px);
  letter-spacing: -0.04em; line-height: 1.02;
}
.modrow .copy h2 b { font-weight: 600; }
.modrow .copy .v { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.16em; color: var(--fg-dim); margin-bottom: 22px; }
.modrow .copy p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--fg-dim); max-width: 46ch; }
.modrow .copy p b { color: var(--fg); font-weight: 500; }
.modrow .copy ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.modrow .copy ul li {
  position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: var(--fg);
}
.modrow .copy ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1px;
  background: var(--c, var(--accent-2));
}

/* ---- Modules page: per-module vs-table (Planning vs Asana, Sales vs Salesforce, Marketing vs HubSpot) ---- */
.mod-vs {
  padding: clamp(56px, 7vh, 96px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.mod-vs.first { border-top: none; padding-top: 36px; }
.mod-vs:target {
  background: radial-gradient(80% 50% at 50% 0%, color-mix(in oklab, var(--c) 10%, transparent), transparent 70%);
  animation: modTargetGlow 1.6s var(--ease) 1;
}
.vs-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-dim);
}
.vs-eyebrow .vs-dot {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--c);
  box-shadow: 0 0 14px color-mix(in oklab, var(--c) 70%, transparent);
}
.mod-vs h2 {
  margin: 18px 0 0; font-weight: 300;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.035em; line-height: 1.04; max-width: 24ch;
}
.mod-vs h2 b { font-weight: 600; }
.vs-lead {
  margin: 16px 0 36px; max-width: 64ch;
  font-size: 16px; line-height: 1.55; color: var(--fg-dim);
}

/* Comparison table */
.vs-table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: color-mix(in oklab, var(--ink-3) 28%, transparent);
}
.vs-row { display: contents; }
.vs-row > div {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 12px;
  min-width: 0;
}
.vs-row:last-of-type > div { border-bottom: none; }

/* Header row */
.vs-row.vs-head > div {
  padding: 24px 22px;
  align-items: flex-start;
  flex-direction: column; gap: 4px;
}
.vs-fn-head {
  font-family: "Geist Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-faint);
}
.vs-head .vs-label {
  font-family: "Geist Mono", monospace; font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-faint);
}
.vs-head .vs-b .vs-label { color: var(--c); }
.vs-head .vs-name {
  margin-top: 4px; font-size: 18px; font-weight: 500;
  letter-spacing: -0.015em; color: var(--fg);
}
.vs-head .vs-sub {
  margin-top: 2px; font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.04em; color: var(--fg-dim);
}

/* BOS column (Option B) accent */
.vs-row > .vs-b {
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--c) 14%, transparent) 0%, color-mix(in oklab, var(--c) 6%, transparent) 100%);
  border-left: 1px solid color-mix(in oklab, var(--c) 50%, var(--line));
}

/* Function (left) cell */
.vs-fn { flex-direction: column; gap: 4px; align-items: flex-start; }
.vs-fn b { font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: -0.005em; }
.vs-fn span {
  font-family: "Geist Mono", monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-faint);
}

/* Data cells (A and B) */
.vs-row:not(.vs-head) .vs-a > span:last-child,
.vs-row:not(.vs-head) .vs-b > span:last-child {
  font-size: 14px; color: var(--fg); line-height: 1.45; flex: 1;
}
.vs-row:not(.vs-head) .vs-a > span:last-child { color: var(--fg-dim); }

/* Check icons */
.vs-a .ck, .vs-b .ck {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 12px; flex: none; line-height: 1;
}
.vs-a .ck {
  border: 1px solid var(--fg-faint); color: var(--fg-dim);
  background: transparent;
}
.vs-b .ck {
  background: var(--c); color: #fff;
  box-shadow: 0 0 14px color-mix(in oklab, var(--c) 70%, transparent);
}

@media (max-width: 880px) {
  .vs-table { grid-template-columns: 1fr; border-radius: 14px; }
  .vs-row > div { border-bottom: 1px solid var(--line); }
  .vs-row.vs-head .vs-a, .vs-row.vs-head .vs-b { padding-top: 18px; }
  .vs-row > .vs-b {
    border-left: none;
    border-top: 1px solid color-mix(in oklab, var(--c) 50%, var(--line));
  }
}

/* ---- Modules page: featured module score layout (v2) ---- */
.modrow-v2 {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.modrow.flip .modrow-v2 .mv2-copy { order: 2; }
.modrow.flip .modrow-v2 .mv2-table { order: 1; }
@media (max-width: 900px) {
  .modrow-v2 { grid-template-columns: 1fr; }
  .modrow.flip .modrow-v2 .mv2-copy { order: 0; }
  .modrow.flip .modrow-v2 .mv2-table { order: 0; }
}
.mv2-copy {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 10px;
  position: sticky; top: 112px;
}
@media (max-width: 900px) { .mv2-copy { position: static; } }
.mv2-eye {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c);
}
.mv2-copy h2 {
  font-size: clamp(26px, 3.6vw, 50px); font-weight: 300;
  line-height: 1.1; letter-spacing: -0.03em;
}
.mv2-copy h2 b { font-weight: 700; }
.mv2-rival {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--fg-faint); letter-spacing: 0.05em;
}
.mv2-copy > p {
  color: var(--fg-dim); line-height: 1.65;
  max-width: 36ch; font-size: 15px;
}
.mv2-cta {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--c); font-size: 14px; font-weight: 500;
  margin-top: 6px; text-decoration: none;
  transition: gap 0.25s var(--ease);
}
.mv2-cta:hover { gap: 12px; }
/* score table */
.mv2-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mv2-thead {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.mv2-th-cap {
  padding: 16px 18px 12px; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint);
  display: flex; align-items: flex-end;
}
.mv2-th {
  padding: 14px 14px 12px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 5px;
}
.mv2-th.bos {
  background: linear-gradient(160deg, color-mix(in oklab, var(--c) 10%, transparent) 0%, transparent 80%);
  border-left-color: color-mix(in oklab, var(--c) 45%, var(--line));
}
.mv2-th-nm { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-dim); }
.mv2-th.bos .mv2-th-nm { color: var(--c); }
.mv2-score {
  font-family: var(--mono); font-size: 22px; font-weight: 700;
  letter-spacing: -0.04em; color: var(--fg-faint); line-height: 1;
}
.mv2-th.bos .mv2-score { color: var(--c); }
.mv2-bar { height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 3px; }
.mv2-bar-fill { height: 100%; border-radius: 999px; background: color-mix(in oklab, var(--fg) 25%, transparent); width: 0%; transition: width 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.mv2-th.bos .mv2-bar-fill { background: var(--c); }
/* rows */
.mv2-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; border-top: 1px solid var(--line); }
.mv2-feat { padding: 12px 18px; font-size: 12.5px; color: var(--fg-dim); display: flex; align-items: center; }
.mv2-cell {
  border-left: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.mv2-cell.bos {
  background: color-mix(in oklab, var(--c) 5%, transparent);
  border-left-color: color-mix(in oklab, var(--c) 30%, var(--line));
}
.mv2-ic {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  flex-shrink: 0; line-height: 1;
}
.mv2-ic.ok { background: color-mix(in oklab, var(--fg) 10%, transparent); color: var(--fg-dim); }
.mv2-ic.ok.bos-ic {
  background: var(--c); color: #fff;
  box-shadow: 0 0 8px color-mix(in oklab, var(--c) 40%, transparent);
}
.mv2-ic.x { border: 1.5px solid var(--line); color: var(--fg-faint); }
.mv2-note {
  grid-column: 1 / -1; padding: 11px 18px;
  font-size: 11px; color: var(--fg-faint);
  font-family: var(--mono); letter-spacing: 0.03em;
}

/* ---- Modules page: compact list of the other seven ---- */
.other-mods { border-top: 1px solid var(--line); padding: clamp(56px, 8vh, 96px) 0; }
.other-mods .seclabel { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.26em; color: var(--fg-dim); text-transform: uppercase; }
.other-mods .seclabel .ix { color: var(--accent-2); margin-right: 8px; }
.other-mods h2 {
  margin: 18px 0 0; font-weight: 300; font-size: clamp(30px, 4.2vw, 56px);
  letter-spacing: -0.035em; line-height: 1.04; max-width: 22ch;
}
.other-mods h2 .acc { color: var(--accent-2); font-weight: 500; }
.other-mods .lead { margin: 18px 0 40px; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.other-mods .lead b { color: var(--fg); font-weight: 500; }
.otherlist {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 1200px) { .otherlist { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .otherlist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .otherlist { grid-template-columns: 1fr; } }
.other-mod {
  position: relative; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 22px; min-height: 184px; scroll-margin-top: 96px;
  background: color-mix(in oklab, var(--ink-3) 60%, transparent);
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s var(--ease);
}
.other-mod::before {
  content: ""; position: absolute; inset: 0; opacity: 0; border-radius: inherit;
  background: radial-gradient(120% 80% at 50% -10%, color-mix(in oklab, var(--c) 22%, transparent), transparent 70%);
  transition: opacity 0.5s;
  pointer-events: none;
}
.other-mod:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--c) 45%, var(--line)); }
.other-mod:hover::before { opacity: 1; }
.other-mod:target {
  border-color: color-mix(in oklab, var(--c) 65%, var(--line));
  animation: modTargetGlow 1.6s var(--ease) 1;
}
.other-mod .om-top { display: flex; align-items: center; justify-content: space-between; }
.other-mod .dot {
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--c);
  box-shadow: 0 0 16px color-mix(in oklab, var(--c) 75%, transparent);
}
.other-mod .ix { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.22em; color: var(--fg-faint); }
.other-mod h3 { margin: 4px 0 0; font-weight: 500; font-size: 19px; letter-spacing: -0.015em; color: var(--fg); }
.other-mod .v { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.04em; color: var(--fg-dim); }
.other-mod p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-dim); }

/* ---- Modules page: Meet Q section ---- */
.q-band { border-top: 1px solid var(--line); padding: clamp(64px, 9vh, 110px) 0; position: relative; overflow: hidden; }
.q-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%);
  pointer-events: none;
}
.q-band .wrap { position: relative; }
.q-band .seclabel { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.26em; color: var(--fg-dim); text-transform: uppercase; }
.q-band .seclabel .ix { color: var(--accent); margin-right: 8px; }
.q-band h2 {
  margin: 18px 0 0; font-weight: 300; font-size: clamp(32px, 4.6vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch;
}
.q-band h2 .acc { color: var(--accent-2); font-weight: 500; }
.q-band .lead { margin: 22px 0 32px; max-width: 70ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.q-band .lead b { color: var(--fg); font-weight: 500; }
.q-examples-label {
  margin: 0 0 18px; font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-dim);
}
.q-examples-label .ix { color: var(--accent); margin-right: 8px; }
.q-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .q-examples { grid-template-columns: 1fr; } }
.q-ex {
  position: relative; border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--line));
  border-radius: 16px; padding: 26px 24px 24px;
  background:
    radial-gradient(140% 100% at 0% 0%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%),
    color-mix(in oklab, var(--ink-3) 60%, transparent);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.q-ex:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 50%, transparent); }
.q-ex .q-mod {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Geist Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim);
}
.q-ex .q-mod .x { color: var(--fg-faint); }
.q-ex .q-mod span[class^="d-"] {
  width: 9px; height: 9px; border-radius: 2px; display: inline-block;
}
.q-ex .q-mod .d-intel   { background: #7c3aed; box-shadow: 0 0 10px color-mix(in oklab, #7c3aed 70%, transparent); }
.q-ex .q-mod .d-sales   { background: #f59e0b; box-shadow: 0 0 10px color-mix(in oklab, #f59e0b 70%, transparent); }
.q-ex .q-mod .d-finance { background: #14b8a6; box-shadow: 0 0 10px color-mix(in oklab, #14b8a6 70%, transparent); }
.q-ex .q-mod .d-mkt     { background: #ef4444; box-shadow: 0 0 10px color-mix(in oklab, #ef4444 70%, transparent); }
.q-ex h4 {
  margin: 16px 0 10px; font-weight: 500; font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em; line-height: 1.25; color: var(--fg);
}
.q-ex p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); }
.q-foot {
  margin: 36px 0 0; font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim);
}
.q-foot b { color: var(--accent-2); font-weight: 500; }

/* ---- Browser-framed mock ---- */
.mock {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0c0c10, #07070a);
  box-shadow: 0 40px 120px -50px rgba(139, 108, 255, 0.35), 0 18px 60px -30px rgba(0, 0, 0, 0.6);
}
.mock .frame-top {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--ink-2) 80%, transparent);
}
.mock .frame-top .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(243, 241, 236, 0.18); }
.mock .frame-top .url {
  flex: 1; margin-left: 12px; padding: 5px 14px; border-radius: 999px;
  background: rgba(243, 241, 236, 0.06);
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.06em; color: var(--fg-faint);
  text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.mock .pane { padding: 22px; min-height: 280px; }

/* mockup subcomponents */
.m-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.m-head .ti { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; }
.m-head .pill {
  font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c, var(--accent-2));
  border: 1px solid color-mix(in oklab, var(--c, var(--accent)) 50%, var(--line));
  border-radius: 999px; padding: 4px 10px;
}
.m-bars { display: flex; flex-direction: column; gap: 9px; }
.m-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in oklab, var(--ink-3) 40%, transparent); }
.m-bar .d { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--accent)); flex: none; }
.m-bar .t { flex: 1; height: 8px; background: rgba(243, 241, 236, 0.08); border-radius: 2px; }
.m-bar .t.s2 { width: 70%; }
.m-bar .t.s3 { width: 55%; }
.m-bar .v {
  font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.08em;
  color: var(--fg-faint); flex: none; min-width: 36px; text-align: right;
}
.m-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 14px;
}
.m-grid .cell {
  border: 1px solid var(--line); border-radius: 8px; padding: 12px;
  background: color-mix(in oklab, var(--ink-3) 35%, transparent);
  display: flex; flex-direction: column; gap: 6px;
}
.m-grid .cell .k { font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.2em; color: var(--fg-faint); text-transform: uppercase; }
.m-grid .cell .n { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; color: var(--c, var(--fg)); }
.m-chart {
  margin-top: 16px; height: 90px; border-radius: 8px;
  border: 1px solid var(--line); background:
    linear-gradient(180deg, color-mix(in oklab, var(--c, var(--accent)) 12%, transparent), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0, transparent 24px, rgba(243, 241, 236, 0.04) 24px, rgba(243, 241, 236, 0.04) 25px);
  position: relative; overflow: hidden;
}
.m-chart::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 18%;
  height: 1px; background: var(--c, var(--accent));
  box-shadow: 0 0 16px color-mix(in oklab, var(--c, var(--accent)) 80%, transparent);
  transform: rotate(-6deg); transform-origin: 0 50%;
}
.m-chart::after {
  content: ""; position: absolute; left: 6%; bottom: 18%; width: 8px; height: 8px;
  border-radius: 50%; background: var(--c, var(--accent));
  box-shadow: 0 0 14px color-mix(in oklab, var(--c, var(--accent)) 80%, transparent);
}

/* ---- Footer expansion ---- */
footer.foot.big { padding: 80px 0 40px; }
footer.foot.big .wrap { flex-direction: column; align-items: stretch; gap: 56px; }
footer.foot.big .cols {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
@media (max-width: 760px) { footer.foot.big .cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
footer.foot.big .col h4 {
  margin: 0 0 18px; font-family: "Geist Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-faint); font-weight: 400;
}
footer.foot.big .col a, footer.foot.big .col p {
  display: block; font-size: 14px; color: var(--fg-dim); margin: 0 0 12px;
  transition: color 0.3s;
}
footer.foot.big .col a:hover { color: var(--fg); }
footer.foot.big .brand-col p { max-width: 32ch; line-height: 1.55; }
footer.foot.big .bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line);
}
footer.foot.big .bottom .left { display: flex; align-items: center; gap: 11px; }
footer.foot.big .bottom .left img { width: 22px; height: 22px; }
footer.foot.big .bottom .left span { font-size: 13px; color: var(--fg-dim); }
footer.foot.big .bottom .right { display: flex; gap: 20px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }
footer.foot.big .badges { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer.foot.big .badges span {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-faint);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
}

/* ============ Build Studio page ============ */
.bs-hero h1 .acc { color: var(--accent-2); }

.bs-studio-band { padding: 0 0 clamp(80px, 10vh, 120px); position: relative; z-index: 2; }
.bs-studio-band .wrap { max-width: 1240px; }

.studio {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink-3) 70%, transparent), color-mix(in oklab, var(--ink) 90%, transparent));
  box-shadow:
    0 50px 120px -50px rgba(0, 0, 0, 0.8),
    0 20px 60px -30px color-mix(in oklab, var(--accent) 30%, transparent);
}
.studio-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--ink-2) 60%, transparent);
}
.studio-top .sm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.studio-top .sm-dot.live { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.studio-top .sm-title {
  font-family: "Geist Mono", monospace; font-size: 12px;
  color: var(--fg-faint); letter-spacing: 0.04em; margin-left: 6px;
}

.studio-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.studio-left { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.studio-right { padding: 28px; background: color-mix(in oklab, var(--ink) 50%, transparent); display: flex; flex-direction: column; }
@media (max-width: 760px) {
  .studio-body { grid-template-columns: 1fr; }
  .studio-left { border-right: 0; border-bottom: 1px solid var(--line); }
}

.prompt-label {
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
}
.prompt-box {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  padding: 16px 18px;
  min-height: 100px;
  font-size: 15.5px; line-height: 1.5; color: var(--fg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.prompt-box:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent);
}
.examples { display: flex; flex-direction: column; gap: 9px; margin-top: 22px; }
.ex-label { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-faint); letter-spacing: 0.06em; }
.ex-chip {
  text-align: left;
  background: color-mix(in oklab, var(--fg) 3%, transparent);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: "Geist", sans-serif; font-size: 14px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  line-height: 1.4;
}
.ex-chip:hover {
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line));
  background: color-mix(in oklab, var(--fg) 6%, transparent);
  color: var(--fg);
}
.bs-build-btn { margin-top: 22px; align-self: flex-start; }

/* Output side */
.out-empty {
  flex: 1; margin-top: 16px;
  display: grid; place-items: center; text-align: center;
  color: var(--fg-faint);
  font-family: "Geist Mono", monospace; font-size: 12px;
  letter-spacing: 0.04em;
  border: 1px dashed var(--line);
  border-radius: 14px;
  min-height: 120px;
}
.build-log { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.log-line {
  display: flex; align-items: center; gap: 11px;
  font-family: "Geist Mono", monospace; font-size: 13px;
  color: var(--fg-faint);
  opacity: 0.4;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.log-line.on { opacity: 1; color: var(--fg-dim); }
.log-line .dotq {
  width: 18px; height: 18px; border-radius: 5px;
  background: color-mix(in oklab, var(--ink-3) 80%, transparent);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 10px; color: var(--fg-faint);
  flex: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.log-line.on .dotq {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.out-result { margin-top: 18px; display: none; }
.out-result.show { display: block; animation: rise 0.7s var(--ease) both; }
.result-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.result-tag {
  font-family: "Geist Mono", monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2);
  padding: 5px 10px;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  border-radius: 999px;
}
.result-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: color-mix(in oklab, var(--ink-2) 80%, transparent);
}
.rc-bar {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 500; font-size: 14.5px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
  color: var(--fg);
}
.rc-bar .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}
.rc-rows { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.rc-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 12px; align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  color: var(--fg-dim);
}
.rc-row .tag {
  font-family: "Geist Mono", monospace; font-size: 10px;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.rc-row .tag.warn {
  color: var(--accent-2);
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
}

/* Build Studio steps */
.bs-how { border-top: 1px solid var(--line); }
.bs-how h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 60px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 22ch;
}
.bs-how h2 b { font-weight: 600; }
.bs-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px;
}
.bs-step {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--ink-3) 40%, transparent);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.bs-step:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.bs-step .n {
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.22em; color: var(--accent-2);
}
.bs-step h4 { margin: 14px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.bs-step p { margin: 10px 0 0; font-size: 14px; color: var(--fg-dim); line-height: 1.55; }
.bs-step p b { color: var(--fg); font-weight: 500; }
@media (max-width: 820px) { .bs-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bs-steps { grid-template-columns: 1fr; } }

/* Beyond Build Studio (custom build) */
.bs-beyond { border-top: 1px solid var(--line); }
.bs-beyond h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 60px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 22ch;
}
.bs-beyond h2 b { font-weight: 600; }
.bs-beyond h2 .acc { color: var(--accent-2); font-weight: 500; }
.bs-beyond .lead { margin: 22px 0 0; max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.bs-beyond .lead b { color: var(--fg); font-weight: 500; }
.bs-beyond-cta { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bs-beyond-foot {
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim);
}

/* Build Studio gallery */
.bs-gallery { border-top: 1px solid var(--line); }
.bs-gallery h2 {
  margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 60px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 22ch;
}
.bs-gallery h2 b { font-weight: 600; }
.bs-gallery h2 .acc { color: var(--accent-2); font-weight: 500; }
.bs-gallery .lead { margin: 22px 0 56px; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.bs-gallery .lead b { color: var(--fg); font-weight: 500; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gal {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--ink-3) 40%, transparent);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.gal:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.gal .tagc {
  font-family: "Geist Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-2);
}
.gal h4 { margin: 14px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.gal p { margin: 10px 0 0; font-size: 14.5px; color: var(--fg-dim); line-height: 1.55; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr; } }

/* Build Studio final CTA */
.bs-cta h3 .acc { color: var(--accent-2); }

/* ---- Long-form prose page (terms) ---- */
.prose { padding: 80px 0 120px; }
.prose .wrap { max-width: 760px; }
.prose h2 { margin: 56px 0 18px; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.prose h3 { margin: 32px 0 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--accent-2); font-family: "Geist Mono", monospace; text-transform: uppercase; font-size: 12px; letter-spacing: 0.2em; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; color: var(--fg-dim); }
.prose p b { color: var(--fg); font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul li, .prose ol li { margin-bottom: 9px; }
.prose .meta {
  margin: 0 0 32px; font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint);
}
.prose a { color: var(--accent-2); border-bottom: 1px solid color-mix(in oklab, var(--accent-2) 40%, transparent); }
.prose a:hover { color: var(--accent); }

/* ---- Mobile tweaks ---- */
@media (max-width: 640px) {
  .subhero { padding: 100px 0 40px; }
  section.band { padding: 50px 0; }
  .modrow { padding: 40px 0; }
  .modrow.first { padding-top: 20px; }
  .cta-strip { padding: 40px 0; }
  .cta-strip .inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   v3 EXTENSIONS - launch-day state
   ========================================================= */

/* ---- Live dot in hero eyebrow ---- */
.eyebrow:has(.live-dot)::before { display: none; }
.eyebrow { gap: 10px; }
.live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
  flex: none;
}

/* ---- Hero h1 accent on "BOS" ---- */
.hero h1 .acc {
  color: var(--accent-2);
  font-weight: 500;
}
.hero h1 .serif {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78em;
  color: var(--fg-dim);
}

/* ---- Ghost CTA (secondary, sits next to .cta-pill) ---- */
.cta-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: transparent; color: var(--fg-dim);
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid var(--line-2); cursor: pointer;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.cta-ghost:hover { color: var(--fg); border-color: var(--accent-2); transform: translateY(-1px); background: color-mix(in oklab, var(--fg) 4%, transparent); }
.cta-ghost .arr { transition: transform 0.3s var(--ease); }
.cta-ghost:hover .arr { transform: translateY(2px); }

/* ---- Run [Module] rotor ---- */
.run-rotor {
  margin: 0 0 18px;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg-dim);
}
.run-rotor .rotor {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 500;
  position: relative;
  min-width: 7ch;
  vertical-align: baseline;
}
.run-rotor .rotor .rt-word {
  display: inline-block;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.run-rotor .rotor .rt-word.out {
  opacity: 0;
  transform: translateY(-10px);
}

/* Stack the system head differently so the rotor sits above the title */
.system .head { margin-top: 14px; }
.system .head h2 { margin-top: 4px; }

/* Hero pill badge */
.ea-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg);
  margin-bottom: 28px;
}
.ea-pill .d {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}

/* Hero H1 two-tone treatment: "Run with BOS." white + "Run [rotor]." muted + accent rotor */
.hero h1 .h1-run-muted {
  color: var(--fg-faint);
  font-weight: 300;
}
.hero h1 .rotor {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 500;
  min-width: 6ch;
  vertical-align: baseline;
}
.hero h1 .rotor .rt-word {
  display: inline-block;
  transition: opacity 0.38s var(--ease), transform 0.42s var(--ease), filter 0.38s var(--ease);
  will-change: opacity, transform;
}
.hero h1 .rotor .rt-word.r-out {
  opacity: 0;
  transform: translateY(-0.42em);
  filter: blur(3px);
}
.hero h1 .rotor .rt-word.r-in-below {
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(3px);
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .rotor .rt-word { transition: opacity 0.2s; filter: none; transform: none !important; }
  .hero h1 .rotor .rt-word.r-out, .hero h1 .rotor .rt-word.r-in-below { filter: none; transform: none !important; }
}

/* Subhead accent on final sentence */
.hero .sub .sub-accent {
  color: var(--accent-2);
}

/* Secondary CTA: text link with circular play icon (works as both <a> and <button>) */
.cta-play {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--fg-dim); font-family: "Geist", sans-serif; font-size: 15px;
  font-weight: 400; letter-spacing: -0.005em;
  transition: color 0.3s var(--ease);
  cursor: pointer;
  background: transparent; border: none; padding: 4px 2px;
}
.cta-play:hover { color: var(--fg); }
.cta-play .play-ic { display: inline-flex; align-items: center; justify-content: center; color: var(--fg-dim); transition: color 0.3s, transform 0.3s var(--ease); }
.cta-play:hover .play-ic { color: var(--accent-2); transform: scale(1.05); }

/* ---- Hero inline video preview ---- */
.hero-video {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 6px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  box-shadow:
    0 36px 90px -34px rgba(0, 0, 0, 0.78),
    0 0 0 1px color-mix(in oklab, var(--accent) 12%, transparent);
}
.hero-video-el {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.hero-video-trigger {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(120% 120% at 50% 60%, transparent 30%, color-mix(in oklab, var(--ink) 45%, transparent) 100%);
  border: none; cursor: pointer; color: #fff; font-family: inherit;
  transition: background 0.35s var(--ease);
}
.hero-video-trigger:hover { background: radial-gradient(120% 120% at 50% 60%, transparent 18%, color-mix(in oklab, var(--ink) 58%, transparent) 100%); }
.hero-video-play {
  width: 60px; height: 60px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding-left: 3px;
  color: #fff;
  background: color-mix(in oklab, var(--ink) 38%, transparent);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  backdrop-filter: blur(7px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.hero-video-trigger:hover .hero-video-play {
  transform: scale(1.09);
  background: color-mix(in oklab, var(--accent) 78%, transparent);
  border-color: transparent;
}
.hero-video-cap {
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}
/* Mobile: when playing in place, hand the surface over to native controls */
.hero-video.is-playing .hero-video-trigger { display: none; }
.hero-video.is-playing .hero-video-el { object-fit: contain; }
@media (max-width: 560px) {
  .hero-video { max-width: 100%; margin-bottom: 4px; }
  /* Tighten the gap between the fixed header and the hero video (~40% less) */
  .hero.hero-v2 .wrap { padding-top: calc(64px + 43px); }
}

/* ---- Video modal ---- */
.video-modal {
  position: fixed; inset: 0; z-index: 100;
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  backdrop-filter: blur(22px) saturate(120%);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(20px, 4vw, 48px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.video-modal.open { display: flex; opacity: 1; }
.video-frame {
  position: relative;
  width: 100%; max-width: 1120px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow:
    0 60px 200px -40px color-mix(in oklab, var(--accent) 50%, transparent),
    0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.video-frame video { width: 100%; height: 100%; display: block; background: #000; }
.video-close {
  position: absolute;
  top: clamp(18px, 3vw, 32px); right: clamp(18px, 3vw, 32px);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  color: var(--fg);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.video-close:hover {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border-color: var(--accent);
  color: var(--accent-2);
}

/* Small mono "first to run on it" line under the CTAs */
.hero-stat-line {
  margin-top: 38px;
  display: inline-flex; align-items: center; gap: 11px;
  font-family: "Geist Mono", monospace; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---- Optional textarea on signup form ---- */
.field-ta {
  margin-top: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: color-mix(in oklab, var(--ink-3) 70%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  text-align: left;
}
.field-ta:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.field-ta textarea {
  width: 100%; border: none; outline: none; background: transparent;
  resize: none;
  color: var(--fg); font-family: "Geist", sans-serif; font-size: 15px; line-height: 1.5;
  letter-spacing: -0.005em;
  padding: 0;
}
.field-ta textarea::placeholder { color: var(--fg-faint); }


/* ============ MEET Q (home page section) ============ */
.meet-q { position: relative; }
.meet-q .mq-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.meet-q .mq-copy h2 { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -0.025em; line-height: 1.04; margin: 8px 0 0; }
.meet-q .mq-copy .lead { font-size: clamp(15px, 1.2vw, 18px); color: var(--fg-dim); margin: 20px 0 0; max-width: 50ch; line-height: 1.55; }
.mq-caps { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.mq-caps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--fg-dim); padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: color-mix(in oklab, var(--fg) 2%, transparent); }
.mq-c-ic { width: 26px; height: 26px; border-radius: 7px; background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 14px; }
.mq-actions { margin-top: 32px; }
.mq-card-stack { position: relative; height: 380px; }
.mq-card { position: absolute; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.5); width: 78%; transition: transform 0.6s var(--ease); }
.mq-card-from { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mq-card-body { font-size: 13.5px; color: var(--fg-dim); line-height: 1.55; }
.mq-card-body b { color: var(--fg); font-weight: 500; }
.mq-card-1 { top: 0; left: 0; transform: rotate(-2.5deg); z-index: 3; }
.mq-card-2 { top: 110px; left: 18%; transform: rotate(1deg); z-index: 2; }
.mq-card-3 { top: 220px; left: 4%; transform: rotate(-1.2deg); z-index: 1; }
.mq-card-stack:hover .mq-card-1 { transform: rotate(-3.5deg) translateY(-4px); }
.mq-card-stack:hover .mq-card-2 { transform: rotate(1.5deg) translateY(-4px); }
.mq-card-stack:hover .mq-card-3 { transform: rotate(-1.5deg) translateY(-4px); }
@media (max-width: 900px) {
  .meet-q .mq-grid { grid-template-columns: 1fr; gap: 48px; }
  .mq-card-stack { height: 360px; max-width: 420px; margin: 0 auto; }
}

/* ============ Q STUDIO PAGE ============ */
.subhero.qs-hero h1 { font-size: clamp(40px, 5vw, 78px); letter-spacing: -0.03em; line-height: 1.02; }

.qs-demo-band { padding: clamp(40px, 6vh, 72px) 0 clamp(56px, 8vh, 110px); position: relative; z-index: 2; }
.qs-frame {
  border-radius: 18px; border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line));
  overflow: hidden; background: var(--ink-2);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--fg) 6%, transparent),
              0 80px 160px -40px oklch(0 0 0 / 0.7),
              0 -8px 60px color-mix(in oklab, var(--accent) 12%, transparent);
}
.qs-chrome { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--ink-3); }
.qs-cd { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex: none; }
.qs-cd.live { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2.4s var(--ease) infinite; }
.qs-curl { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-faint); margin-left: 8px; letter-spacing: 0.04em; }
.qs-dots { display: flex; gap: 6px; margin-left: auto; }
.qs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); border: none; cursor: pointer; padding: 0; transition: background 0.25s, transform 0.25s; }
.qs-dot.is-active { background: var(--accent); transform: scale(1.3); box-shadow: 0 0 8px color-mix(in oklab, var(--accent) 60%, transparent); }
.qs-dot:hover:not(.is-active) { background: var(--fg-faint); }

.qs-panel { display: none; }
.qs-panel.is-active { display: grid; grid-template-columns: 1fr 280px; min-height: 520px; animation: qs-fade-in 0.5s var(--ease); }
@keyframes qs-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.qs-doc-pane { padding: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: color-mix(in oklab, var(--fg) 1%, var(--ink-2)); }
.qs-doc-tab { padding: 11px 18px; font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-faint); letter-spacing: 0.04em; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; background: var(--ink-3); }
.qd-ic { width: 12px; height: 12px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 25%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); flex: none; }

/* Document */
.qs-doc-page { padding: 32px 38px; flex: 1; overflow: auto; }
.qd-h1 { font-family: "Instrument Serif", serif; font-size: 28px; color: var(--fg); margin-bottom: 6px; letter-spacing: -0.01em; }
.qd-meta { font-family: "Geist Mono", monospace; font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.qd-h2 { font-size: 13px; font-weight: 600; color: var(--fg); margin: 18px 0 8px; letter-spacing: -0.005em; }
.qd-p { font-size: 13px; color: var(--fg-dim); line-height: 1.6; }
.qd-p b { color: var(--fg); font-weight: 500; }
.qd-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: var(--fg-dim); border-bottom: 1px solid var(--line); }
.qd-row.total { font-weight: 600; color: var(--fg); border-top: 1px solid var(--line); border-bottom: none; margin-top: 8px; padding-top: 12px; }
.qd-num { font-family: "Geist Mono", monospace; font-variant-numeric: tabular-nums; }

/* Email */
.qs-email { padding: 28px 36px; flex: 1; overflow: auto; }
.qe-meta { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.qe-row { display: flex; gap: 10px; font-size: 12.5px; padding: 4px 0; }
.qe-l { font-family: "Geist Mono", monospace; color: var(--fg-faint); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; width: 70px; padding-top: 2px; flex: none; }
.qe-row span:last-child { color: var(--fg-dim); }
.qe-body { font-size: 13px; color: var(--fg-dim); line-height: 1.65; }
.qe-body p { margin: 0 0 12px; }
.qe-body b { color: var(--fg); font-weight: 500; }

/* Workflow */
.qs-flow { padding: 32px 30px; flex: 1; overflow: auto; }
.qf-title { font-size: 13px; color: var(--fg-faint); margin-bottom: 24px; font-family: "Geist Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.qf-chain { display: flex; flex-direction: column; gap: 12px; }
.qf-node { border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; background: var(--ink-3); }
.qf-node.start { border-color: color-mix(in oklab, var(--accent) 35%, transparent); background: color-mix(in oklab, var(--accent) 6%, var(--ink-3)); }
.qf-node.approval { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.05); }
.qf-node.end { border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.05); }
.qf-n-tag { font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.qf-node.approval .qf-n-tag { color: #fbbf24; }
.qf-node.end .qf-n-tag { color: #34d399; }
.qf-n-nm { font-size: 13.5px; color: var(--fg); font-weight: 500; }
.qf-n-nm b { color: var(--accent-2); font-weight: 600; }
.qf-n-meta { font-size: 11px; color: var(--fg-faint); margin-top: 4px; }
.qf-arrow { font-size: 18px; color: var(--fg-faint); text-align: center; padding: 0 0 0 24px; opacity: 0.5; }

/* Side panel */
.qs-side { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; background: color-mix(in oklab, var(--fg) 1.5%, transparent); }
.qs-side-head { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.qs-qd { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; animation: pulse 2.4s var(--ease) infinite; }
.qs-act { display: flex; flex-direction: column; gap: 10px; }
.qs-act-line { font-size: 12px; color: var(--fg-dim); line-height: 1.5; padding-left: 14px; position: relative; }
.qs-act-line::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 50%, transparent); }
.qs-act-line b { color: var(--fg); font-weight: 500; }
.qs-side-foot { margin-top: auto; font-family: "Geist Mono", monospace; font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; padding-top: 12px; border-top: 1px dashed var(--line); }

.qs-frame-caption { text-align: center; margin-top: 18px; font-size: 12px; color: var(--fg-faint); display: inline-flex; align-items: center; gap: 9px; width: 100%; justify-content: center; }
.qs-fc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2.4s var(--ease) infinite; }

@media (max-width: 900px) {
  .qs-panel.is-active { grid-template-columns: 1fr; min-height: auto; }
  .qs-side { border-top: 1px solid var(--line); }
  .qs-doc-page { padding: 22px 22px; }
  .qs-email { padding: 22px; }
  .qs-flow { padding: 22px; }
}

/* Q Capabilities grid */
.qs-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.qs-cap-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; background: var(--ink-2); transition: border-color 0.25s, transform 0.25s; }
.qs-cap-card:hover { border-color: color-mix(in oklab, var(--accent) 30%, transparent); transform: translateY(-2px); }
.qs-cap-ic { width: 38px; height: 38px; border-radius: 9px; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
.qs-cap-card h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; color: var(--fg); }
.qs-cap-card p { font-size: 13.5px; color: var(--fg-dim); line-height: 1.55; margin: 0; }
@media (max-width: 860px) { .qs-cap-grid { grid-template-columns: 1fr; } }

/* Who is Q */
.qs-who { background: linear-gradient(180deg, var(--ink-2) 0%, color-mix(in oklab, var(--accent) 4%, var(--ink-2)) 100%); }
.qs-who-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.qs-who-copy h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.025em; line-height: 1.05; margin: 8px 0 0; }
.qs-who-copy .lead { font-size: 16px; color: var(--fg-dim); margin: 20px 0 0; line-height: 1.6; max-width: 50ch; }
.qs-who-copy .lead b { color: var(--fg); }

.qs-who-mesh { position: relative; height: 440px; }
.qs-mesh-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent) 80%, #fff), var(--accent));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 60px color-mix(in oklab, var(--accent) 40%, transparent), 0 0 0 1px color-mix(in oklab, var(--accent-2) 50%, transparent);
  z-index: 2;
}
.qs-mesh-q { font-family: "Instrument Serif", serif; font-size: 56px; color: #fff; line-height: 1; }
.qs-mesh-label { font-family: "Geist Mono", monospace; font-size: 9px; color: rgba(255,255,255,0.85); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
.qs-mesh-node {
  position: absolute; padding: 9px 16px; border-radius: 999px;
  background: var(--ink-3); border: 1px solid var(--line);
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-dim); z-index: 1;
}
.qs-mesh-node.n1 { top: 10%; left: 12%; }
.qs-mesh-node.n2 { top: 8%; right: 18%; }
.qs-mesh-node.n3 { top: 44%; left: 5%; }
.qs-mesh-node.n4 { top: 44%; right: 5%; }
.qs-mesh-node.n5 { bottom: 10%; left: 18%; }
.qs-mesh-node.n6 { bottom: 8%; right: 12%; }

@media (max-width: 900px) {
  .qs-who-grid { grid-template-columns: 1fr; gap: 48px; }
  .qs-who-mesh { height: 380px; max-width: 420px; margin: 0 auto; }
}

/* Custom builds + training (modules page) */
.custom-builds { background: color-mix(in oklab, var(--fg) 1.5%, var(--ink-2)); }
.custom-builds h2 { letter-spacing: -0.025em; }
.cb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.cb-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 26px; background: var(--ink-2); transition: border-color 0.25s, transform 0.25s; }
.cb-card:hover { border-color: color-mix(in oklab, var(--accent) 30%, transparent); transform: translateY(-2px); }
.cb-ic { width: 38px; height: 38px; border-radius: 9px; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
.cb-card h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; color: var(--fg); }
.cb-card p { font-size: 13.5px; color: var(--fg-dim); line-height: 1.55; margin: 0; }
.cb-cta { margin-top: 36px; display: flex; justify-content: center; }
@media (max-width: 860px) { .cb-grid { grid-template-columns: 1fr; } }

/* -------- Module scroll progress bar -------- */
.mod-progress { position: sticky; top: 96px; z-index: 20; background: color-mix(in oklab, var(--ink) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 12px 40px; }
.mp-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.mp-track { flex: 1; height: 2px; background: var(--line); border-radius: 2px; position: relative; }
.mp-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 2px; transition: width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.mp-notch { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 1px; height: 8px; background: var(--line-2); border-radius: 1px; }
.mp-label { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); white-space: nowrap; min-width: 14ch; text-align: right; transition: color 0.3s; }
@media (max-width: 680px) { .mod-progress { padding: 10px 20px; } .mp-label { display: none; } }

/* -------- Deployment options -------- */
.deploy-band { padding: 100px 0 80px; }
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.deploy-card { border: 1px solid var(--line); border-radius: 18px; padding: 32px 32px 36px; background: var(--ink-2); display: flex; flex-direction: column; gap: 14px; transition: border-color 0.3s, transform 0.3s; }
.deploy-card:hover { border-color: color-mix(in oklab, var(--accent) 28%, transparent); transform: translateY(-3px); }
.deploy-ic { width: 52px; height: 52px; border-radius: 12px; background: color-mix(in oklab, var(--accent) 12%, transparent); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; }
.deploy-badge { display: inline-flex; align-items: center; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-2); background: color-mix(in oklab, var(--accent) 14%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent); border-radius: 999px; padding: 3px 10px; width: fit-content; }
.deploy-badge--managed { color: var(--gold); background: color-mix(in oklab, var(--gold) 12%, transparent); border-color: color-mix(in oklab, var(--gold) 28%, transparent); }
.deploy-card h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -0.025em; margin: 0; line-height: 1.2; }
.deploy-card > p { font-size: 15px; color: var(--fg-dim); line-height: 1.65; margin: 0; }
.deploy-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.deploy-list li { font-size: 13.5px; color: var(--fg-dim); padding-left: 18px; position: relative; line-height: 1.5; }
.deploy-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.6; }
@media (max-width: 760px) { .deploy-grid { grid-template-columns: 1fr; } .deploy-band { padding: 64px 0 56px; } }

/* -------- Access CTA pair (signup section) -------- */
.access-cta-pair { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 40px; }
.cta-ghost-link { font-size: 15px; color: var(--fg-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color 0.2s; }
.cta-ghost-link:hover { color: var(--fg); }

/* -------- Access modal -------- */
.am-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5,5,6,0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease); }
.am-overlay.open { opacity: 1; pointer-events: all; }
.am-card { position: relative; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 22px; width: 100%; max-width: 520px; max-height: 90dvh; overflow-y: auto; padding: 40px 40px 36px; transform: translateY(16px) scale(0.98); transition: transform 0.3s var(--ease); }
.am-overlay.open .am-card { transform: none; }
.am-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--line); border: none; color: var(--fg-dim); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.am-close:hover { background: var(--line-2); color: var(--fg); }
.am-eyebrow { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 10px; }
.am-h { font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 10px; }
.am-sub { font-size: 14px; color: var(--fg-dim); line-height: 1.6; margin: 0 0 28px; }
.am-sub a { color: var(--accent-2); text-underline-offset: 2px; }
.am-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.am-field label { font-size: 12px; font-weight: 500; color: var(--fg-dim); letter-spacing: 0.02em; }
.am-req { color: var(--accent-2); }
.am-opt { font-weight: 400; color: var(--fg-faint); }
.am-field input, .am-field textarea { background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 14px; font-size: 15px; font-family: inherit; color: var(--fg); outline: none; transition: border-color 0.2s; resize: vertical; }
.am-field input::placeholder, .am-field textarea::placeholder { color: var(--fg-faint); }
.am-field input:focus, .am-field textarea:focus { border-color: color-mix(in oklab, var(--accent) 60%, transparent); }
.am-err { font-size: 13px; color: #f87171; margin: -6px 0 12px; }
.am-submit { width: 100%; justify-content: center; margin-top: 4px; font-size: 15px; padding: 14px 28px; }
.am-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; color: var(--fg-faint); font-size: 13px; }
.am-or::before, .am-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.am-calendly { display: flex; align-items: center; gap: 9px; justify-content: center; padding: 13px 20px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; color: var(--fg-dim); transition: border-color 0.25s, color 0.25s, background 0.25s; text-decoration: none; }
.am-calendly:hover { border-color: var(--line-2); background: var(--line); color: var(--fg); }
.am-check-wrap { width: 56px; height: 56px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 16%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); display: flex; align-items: center; justify-content: center; color: var(--accent-2); margin: 0 auto 22px; }
.am-sent { text-align: center; padding: 20px 0; }
@media (max-width: 560px) { .am-card { padding: 32px 24px 28px; border-radius: 18px; } }

/* -------- Pricing page deployment comparison -------- */
.dcmp-band { padding: 80px 0 100px; border-top: 1px solid var(--line); }
.dcmp-band h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch; }
.dcmp-band h2 b { font-weight: 600; }
.dcmp-band .lead { margin: 22px 0 0; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.dcmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.dcmp-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px 32px 36px; background: var(--ink-2); display: flex; flex-direction: column; gap: 18px; }
.dcmp-managed { border-color: color-mix(in oklab, var(--gold) 24%, transparent); background: color-mix(in oklab, var(--gold) 3%, var(--ink-2)); }
.dcmp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dcmp-price-tag { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); }
.dcmp-price-contact { color: color-mix(in oklab, var(--gold) 90%, var(--fg)); }
.dcmp-card h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.15; margin: 0; }
.dcmp-card h3 b { font-weight: 600; }
.dcmp-card > p { font-size: 14.5px; color: var(--fg-dim); line-height: 1.65; margin: 0; }
.dcmp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.dcmp-list li { font-size: 13.5px; color: var(--fg-dim); padding-left: 20px; position: relative; line-height: 1.5; }
.dcmp-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.55; }
.dcmp-list--managed li::before { background: var(--gold); opacity: 0.7; }
.dcmp-foot { margin-top: auto; padding-top: 4px; }
.dcmp-pill { font-size: 14px; padding: 12px 22px; }
.dcmp-ghost { font-size: 14.5px; }
@media (max-width: 760px) { .dcmp-grid { grid-template-columns: 1fr; } .dcmp-band { padding: 56px 0 64px; } .dcmp-card { padding: 26px 22px 28px; } }

/* -------- Deploy reach link -------- */
.deploy-reach { display: inline-block; margin-top: 16px; font-size: 13.5px; color: var(--fg-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--gold) 40%, transparent); transition: color 0.2s; }
.deploy-reach:hover { color: var(--gold); }

/* -------- Custom builds 2-card variant -------- */
.cb-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .cb-grid-2 { grid-template-columns: 1fr; } }

/* -------- Mobile menu run CTA button -------- */
.menu-sheet-run { background: none; border: none; border-top: 1px solid var(--line); cursor: pointer; font-family: inherit; font-size: 28px; font-weight: 300; letter-spacing: -0.02em; padding: 18px 0; color: var(--accent-2); text-align: left; width: 100%; }

/* -------- Pricing tier footnote -------- */
.tier-footnote { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--fg-faint); margin-top: 28px; line-height: 1.6; max-width: 72ch; }

/* ---- Pricing toggle ---- */
.price-toggle { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.ptog-wrap { display: flex; background: var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.ptog-btn { background: none; border: none; cursor: pointer; padding: 7px 20px; border-radius: 999px; font-size: 14px; font-family: inherit; color: var(--fg-dim); font-weight: 500; transition: background 0.2s, color 0.2s; }
.ptog-btn.ptog-active { background: var(--ink); color: #fff; }
.ptog-save { font-size: 13px; color: var(--fg-faint); font-weight: 400; }

/* ---- 4-column tier grid ---- */
.tiers.tiers-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .tiers.tiers-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiers.tiers-4 { grid-template-columns: 1fr; } }

/* ---- Founding pill ---- */
.founding-pill { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: color-mix(in oklab, var(--accent) 14%, transparent); padding: 2px 7px; border-radius: 999px; vertical-align: middle; margin-left: 5px; }

/* ---- Price billing period ---- */
.price-bill { font-size: 12px; color: var(--fg-faint); margin-top: 2px; margin-bottom: 10px; min-height: 1.4em; }

/* ---- Tier replace callout ---- */
.tier-replace { font-size: 12px; color: var(--fg-dim); background: color-mix(in oklab, var(--accent) 8%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 18%, transparent); border-radius: 6px; padding: 7px 11px; margin: 8px 0 12px; line-height: 1.45; }

/* ---- Tier module tag ---- */
.tier-mod-tag { display: inline-block; font-size: 11px; font-family: "Geist Mono", monospace; letter-spacing: 0.1em; color: var(--fg-faint); background: var(--line); padding: 2px 8px; border-radius: 999px; margin-bottom: 12px; margin-top: 2px; }

/* ---- Tier action button (mirrors .tier .act a) ---- */
.tier .act .tier-act-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; font-family: inherit;
  border: 1px solid var(--line-2); background: none; cursor: pointer;
  color: var(--fg); transition: border-color 0.3s, background 0.3s, color 0.3s;
  width: 100%; justify-content: center;
}
.tier .act .tier-act-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.tier.feat .act .tier-act-btn { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 18px 50px -22px var(--accent); }
.tier.feat .act .tier-act-btn:hover { filter: brightness(1.06); color: #fff; }

/* ========================================================
   Q STUDIO PAGE — REBUILD (Meet Q + Ask Q interactive)
   ======================================================== */

/* ---- Q identity mark ---- */
.q-mark {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 25%, var(--accent-2), var(--accent));
  box-shadow: 0 4px 18px -4px color-mix(in oklab, var(--accent) 45%, transparent),
              inset 0 1px 0 rgba(255,255,255,0.32);
  font-family: "Geist Mono", monospace; font-weight: 600;
  color: #fff; font-size: 22px; letter-spacing: -0.04em;
}
.q-mark > span { display: block; line-height: 1; }
.q-mark.sm { width: 30px; height: 30px; font-size: 14px; }
.q-mark.lg { width: 64px; height: 64px; font-size: 30px; box-shadow: 0 10px 40px -6px color-mix(in oklab, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255,255,255,0.32); }

/* ---- 1. Hero ---- */
.qstu-hero { padding-bottom: clamp(48px, 7vw, 96px); }
.qstu-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .qstu-hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.qstu-hero-copy h1 { margin-top: 22px; }
.qstu-meet { display: inline-flex; align-items: center; gap: 12px; }
.qstu-hero-cta { margin-top: 30px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* hero workspace mockup */
.qstu-shot {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 80%, #1a1a24), var(--ink));
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.qstu-shot-body { padding: 22px 22px 24px; }
.qstu-shot-greeting { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.qstu-shot-hi { font-size: 15px; font-weight: 500; color: var(--fg); }
.qstu-shot-sub { font-size: 12px; color: var(--fg-faint); margin-top: 2px; font-family: "Geist Mono", monospace; letter-spacing: 0.02em; }
.qstu-shot-list { display: flex; flex-direction: column; gap: 8px; }
.qstu-shot-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 8px; background: color-mix(in oklab, var(--ink) 50%, transparent); border: 1px solid color-mix(in oklab, var(--line) 50%, transparent); }
.qstu-shot-tag { font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; flex: none; margin-top: 1px; }
.qstu-shot-tag.ok { background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent-2); }
.qstu-shot-tag.warn { background: color-mix(in oklab, #f6b53a 16%, transparent); color: #f6b53a; }
.qstu-shot-tag.attn { background: color-mix(in oklab, #ff8a65 16%, transparent); color: #ff8a65; }
.qstu-shot-msg { font-size: 13px; color: var(--fg-dim); line-height: 1.5; }
.qstu-shot-msg b { color: var(--fg); font-weight: 500; }

/* ---- 2. Pillars ---- */
.qstu-pillars-intro { max-width: 760px; margin: 0 0 44px; }
.qstu-pillars-intro h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.05; }
.qstu-pillars-intro h2 b { font-weight: 600; }
.qstu-pillars-intro .lead { margin: 22px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.qstu-pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .qstu-pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .qstu-pillars-grid { grid-template-columns: 1fr; } }
.qstu-pillar { padding: 28px 24px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in oklab, var(--ink) 80%, transparent); transition: border-color 0.3s, transform 0.3s; }
.qstu-pillar:hover { border-color: color-mix(in oklab, var(--accent) 32%, var(--line)); transform: translateY(-3px); }
.qstu-pillar-ic { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent-2); margin-bottom: 18px; background: color-mix(in oklab, var(--accent) 6%, transparent); }
.qstu-pillar h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 8px; color: var(--fg); }
.qstu-pillar p { font-size: 14px; line-height: 1.55; color: var(--fg-dim); margin: 0; }

/* ---- 3. Where Q lives ---- */
.qstu-where { background: color-mix(in oklab, var(--ink) 88%, var(--accent) 4%); }
.qstu-where-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 980px) { .qstu-where-grid { grid-template-columns: 1fr; gap: 40px; } }
.qstu-where-copy h2 { margin-top: 18px; font-weight: 300; font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.035em; line-height: 1.05; }
.qstu-where-copy h2 b { font-weight: 600; }
.qstu-where-copy .lead { max-width: 48ch; }
.qstu-where-cta { margin-top: 12px; }

.qstu-shot-alt .qstu-shot-body { padding: 20px; }
.qstu-studio-mock-head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.qstu-studio-mock-hi { font-size: 15px; font-weight: 500; color: var(--fg); }
.qstu-studio-mock-sub { font-size: 12px; color: var(--fg-faint); margin-top: 2px; }
.qstu-studio-mock-input { border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line)); border-radius: 10px; padding: 14px 16px; font-size: 14px; color: var(--fg); margin-bottom: 18px; background: color-mix(in oklab, var(--ink) 60%, transparent); display: flex; align-items: center; gap: 8px; }
.qstu-studio-mock-caret { display: inline-block; width: 2px; height: 14px; background: var(--accent-2); animation: qstuCaret 1s infinite; }
@keyframes qstuCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.qstu-studio-mock-divider { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 8px; }
.qstu-studio-mock-list { display: flex; flex-direction: column; gap: 6px; }
.qstu-studio-mock-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: color-mix(in oklab, var(--ink) 50%, transparent); border: 1px solid color-mix(in oklab, var(--line) 50%, transparent); font-size: 13px; }
.qsm-tag { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; flex: none; }
.qsm-tag.done { background: color-mix(in oklab, var(--accent) 22%, transparent); color: var(--accent-2); }
.qsm-tag.run { background: color-mix(in oklab, #f6b53a 22%, transparent); color: #f6b53a; }
.qsm-msg { flex: 1; color: var(--fg-dim); }
.qsm-msg b { color: var(--fg); font-weight: 500; }
.qsm-when { font-family: "Geist Mono", monospace; font-size: 10px; color: var(--fg-faint); }

/* ---- 4. Ask Q (interactive) ---- */
.qstu-ask-intro { max-width: 760px; margin: 0 0 40px; }
.qstu-ask-intro h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.05; }
.qstu-ask-intro h2 b { font-weight: 600; }
.qstu-ask-intro .lead { margin: 22px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }

.qstu-studio {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 82%, #1a1a24), var(--ink));
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.75);
}
.qstu-studio-body { display: grid; grid-template-columns: 0.95fr 1.05fr; min-height: 460px; }
@media (max-width: 880px) { .qstu-studio-body { grid-template-columns: 1fr; min-height: auto; } }
.qstu-studio-left { padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.qstu-studio-right { padding: 28px; background: color-mix(in oklab, var(--ink) 65%, transparent); display: flex; flex-direction: column; }
@media (max-width: 880px) { .qstu-studio-left { border-right: 0; border-bottom: 1px solid var(--line); } }

.qstu-ask-label,
.qstu-right-label { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }

.qstu-ask-box { margin-top: 13px; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 12px; background: color-mix(in oklab, var(--ink) 60%, transparent); padding: 15px; }
.qstu-ask-text { font-size: 15px; line-height: 1.5; color: var(--fg); flex: 1; min-height: 46px; outline: none; padding-top: 4px; }
.qstu-ask-text:focus { outline: none; }

.qstu-examples { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; flex: 1; }
.qstu-ex-label { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em; color: var(--fg-faint); margin-bottom: 2px; }
.qstu-ex-chip { text-align: left; background: color-mix(in oklab, var(--ink) 50%, transparent); border: 1px solid color-mix(in oklab, var(--line) 70%, transparent); color: var(--fg-dim); border-radius: 10px; padding: 11px 14px; font-size: 13.5px; cursor: pointer; transition: border-color 0.25s, background 0.25s, color 0.25s; line-height: 1.4; font-family: inherit; }
.qstu-ex-chip:hover { border-color: color-mix(in oklab, var(--accent) 32%, var(--line-2)); background: color-mix(in oklab, var(--accent) 6%, var(--ink)); color: var(--fg); }
.qstu-ask-btn { margin-top: 18px; align-self: flex-start; }

.qstu-out-empty { flex: 1; min-height: 200px; display: grid; place-items: center; text-align: center; color: var(--fg-faint); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.08em; border: 1px dashed var(--line); border-radius: 12px; margin-top: 13px; }
.qstu-work-log { display: none; flex-direction: column; gap: 12px; margin-top: 16px; }
.qstu-work-log.on { display: flex; }
.qstu-log-line { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--fg-dim); opacity: 0.35; transition: opacity 0.3s, color 0.3s; }
.qstu-log-line.on { opacity: 1; color: var(--fg); }
.qstu-log-line .ld { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 9px; color: var(--fg-faint); font-family: "Geist Mono", monospace; flex: none; font-weight: 600; }
.qstu-log-line.on .ld { background: var(--accent); border-color: var(--accent); color: #fff; }

.qstu-out-result { display: none; margin-top: 16px; }
.qstu-out-result.on { display: block; animation: qstuPop 0.4s ease-out; }
@keyframes qstuPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.qstu-result-tag { display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); border-radius: 999px; padding: 5px 11px; margin-bottom: 14px; }

/* result viz boxes */
.qstu-viz { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: color-mix(in oklab, var(--ink) 70%, transparent); }
.qstu-viz-head { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
.qstu-viz-head .vic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent-2); flex: none; }
.qstu-viz-meta { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--fg-dim); }
.qstu-viz-meta b { color: var(--fg-faint); font-weight: 500; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.06em; min-width: 56px; text-transform: uppercase; }
.qstu-viz-body { padding: 14px; font-size: 13px; color: var(--fg-dim); line-height: 1.55; display: flex; flex-direction: column; gap: 8px; }
.qstu-viz-actions { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.qstu-viz-btn { background: var(--accent); color: #fff; font-weight: 500; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; }
.qstu-viz-link { color: var(--fg-faint); font-size: 12px; }
.qstu-viz-doc { padding: 18px 20px; }
.qstu-viz-doc-h { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--fg); }
.qstu-viz-doc-sub { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); margin: 14px 0 8px; }
.qstu-dline { height: 8px; border-radius: 999px; background: color-mix(in oklab, var(--fg) 8%, transparent); margin: 6px 0; }
.qstu-dline.w95 { width: 95%; }
.qstu-dline.w88 { width: 88%; }
.qstu-dline.w70 { width: 70%; }
.qstu-dline.w60 { width: 60%; }
.qstu-dline.w45 { width: 45%; }
.qstu-viz-doc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.qstu-viz-doc-stat { border: 1px solid var(--line); border-radius: 8px; padding: 9px; }
.qstu-viz-doc-stat .v { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.qstu-viz-doc-stat .l { font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint); margin-top: 3px; }
.qstu-viz-flow { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.qstu-flow-step { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in oklab, var(--ink) 60%, transparent); font-size: 13px; font-weight: 500; color: var(--fg-dim); }
.qstu-flow-step .fnum { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-faint); flex: none; }
.qstu-flow-step.trigger .fnum { background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent-2); border-color: color-mix(in oklab, var(--accent) 35%, transparent); }
.qstu-flow-step.done { border-color: var(--accent); color: var(--fg); }
.qstu-flow-step.done .fnum { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.qstu-flow-step .ftag { margin-left: auto; font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint); }
.qstu-flow-arrow { color: var(--fg-faint); text-align: center; font-size: 13px; line-height: 1; padding: 1px 0; }

/* ---- 5. Hands ---- */
.qstu-hands { background: color-mix(in oklab, var(--ink) 88%, var(--accent) 4%); }
.qstu-hands-intro { max-width: 760px; margin: 0 0 44px; }
.qstu-hands-intro h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.05; }
.qstu-hands-intro h2 b { font-weight: 600; }
.qstu-hands-intro .lead { margin: 22px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.qstu-hands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .qstu-hands-grid { grid-template-columns: 1fr; } }
.qstu-hand { padding: 28px 24px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in oklab, var(--ink) 80%, transparent); transition: border-color 0.3s, transform 0.3s; }
.qstu-hand:hover { border-color: color-mix(in oklab, var(--accent) 32%, var(--line)); transform: translateY(-3px); }
.qstu-hand-ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent-2); margin-bottom: 16px; }
.qstu-hand h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 8px; color: var(--fg); }
.qstu-hand p { font-size: 14px; line-height: 1.55; color: var(--fg-dim); margin: 0; }

/* ---- 7. Final CTA ---- */
.qstu-final-cta { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.qstu-final-cta .aura-soft { opacity: 0.6; }
.qstu-final-inner { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.qstu-final-mark { margin-bottom: 24px; display: flex; justify-content: center; }
.qstu-final-cta h3 { max-width: 20ch; margin: 0 auto; font-weight: 300; font-size: clamp(32px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1.05; }
.qstu-final-sub { max-width: 44ch; margin: 22px auto 0; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.qstu-final-cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }


/* ---- Custom tier strip (under main 3-tier row) ---- */
.tier-custom-strip {
  margin-top: 18px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.tier-custom-strip:hover { border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.tcs-main { flex: 1; min-width: 280px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tcs-nm { font-size: 13px; font-family: 'Geist Mono', monospace; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); flex: none; }
.tcs-desc { font-size: 14.5px; color: var(--fg-dim); line-height: 1.55; margin: 0; flex: 1; min-width: 240px; }
.tcs-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; font-family: inherit;
  border: 1px solid var(--line-2); color: var(--fg);
  background: transparent; cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
}
.tcs-cta:hover { border-color: var(--accent); color: var(--accent-2); background: color-mix(in oklab, var(--accent) 6%, transparent); }


/* ---- Custom modules card variant (non-clickable, with internal CTA) ---- */
.buildcard-static { cursor: default; }
.buildcard-static:hover { transform: none; border-color: var(--line); box-shadow: none; }
.buildcard-static .bc-cta { margin-top: 18px; }
.buildcard-static .bc-cta .cta-pill { font-size: 13.5px; padding: 10px 18px; }

/* ============================================================
   INDIVIDUAL MODULE PAGES — Run X
   ============================================================ */

/* ---- Nav dropdown for "What's inside" ---- */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown-trigger .caret { font-size: 9px; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger .caret,
.nav-dropdown:focus-within .nav-dropdown-trigger .caret { transform: translateY(2px); opacity: 1; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -14px;
  min-width: 240px; padding: 8px;
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-item { display: flex; align-items: center; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: var(--fg-dim); transition: background 0.2s, color 0.2s; }
.nav-dd-item:hover { background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--fg); }
.nav-dd-item-overview { color: var(--accent-2); font-weight: 500; }
.nav-dd-divider { height: 1px; background: var(--line); margin: 6px 8px; }

/* ---- Module page hero ---- */
.m-hero { position: relative; padding: clamp(120px, 14vw, 180px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.m-hero .aura-soft { position: absolute; top: -10%; right: -10%; width: 60vw; height: 600px; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, color-mix(in oklab, var(--c, var(--accent)) 32%, transparent), transparent 65%); filter: blur(30px); opacity: 0.6; }
.m-hero .wrap { position: relative; z-index: 2; }
.m-hero-pill { display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.m-hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--accent)); box-shadow: 0 0 10px var(--c, var(--accent)); }
.m-hero h1 { margin: 22px 0 0; font-weight: 200; font-size: clamp(48px, 8vw, 92px); letter-spacing: -0.05em; line-height: 0.98; }
.m-hero h1 .run { color: var(--fg-faint); font-weight: 300; }
.m-hero h1 .nm { color: var(--c, var(--fg)); font-weight: 500; }
.m-hero-tagline { margin: 26px 0 0; font-family: "Instrument Serif", serif; font-style: italic; font-size: clamp(20px, 2.4vw, 30px); color: var(--fg); letter-spacing: -0.01em; max-width: 32ch; }
.m-hero-lede { margin: 22px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.m-hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---- Surface mockup window ---- */
.m-surface { margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 78%, #1a1a24), var(--ink)); box-shadow: 0 50px 120px -50px rgba(0,0,0,0.8); }
.m-surface-top { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--ink) 60%, transparent); }
.m-surface-top .sd { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.m-surface-top .sd.live { background: var(--c, var(--accent)); box-shadow: 0 0 8px var(--c, var(--accent)); }
.m-surface-top .nm { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-faint); margin-left: 8px; letter-spacing: 0.04em; }
.m-surface-body { display: grid; grid-template-columns: 200px 1fr; min-height: 360px; }
@media (max-width: 760px) { .m-surface-body { grid-template-columns: 1fr; } .m-surface-side { display: none; } }
.m-surface-side { border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; background: color-mix(in oklab, var(--ink) 70%, transparent); }
.m-surface-side a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--fg-dim); transition: background 0.2s, color 0.2s; }
.m-surface-side a:hover { background: color-mix(in oklab, var(--fg) 6%, transparent); color: var(--fg); }
.m-surface-side a .sq { width: 8px; height: 8px; border-radius: 2px; background: var(--line-2); }
.m-surface-side a.active { color: var(--fg); background: color-mix(in oklab, var(--c, var(--accent)) 12%, transparent); }
.m-surface-side a.active .sq { background: var(--c, var(--accent)); }
.m-surface-main { padding: 22px 26px; }
.m-surface-main-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.m-surface-main-head .title { font-weight: 500; letter-spacing: -0.02em; font-size: 16px; color: var(--fg); }
.m-surface-main-head .qstat { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.m-kpi { padding: 14px 14px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in oklab, var(--ink) 60%, transparent); }
.m-kpi .v { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); }
.m-kpi .l { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); margin-top: 4px; }
.m-rows { display: flex; flex-direction: column; gap: 6px; }
.m-row { display: grid; grid-template-columns: 1fr auto 80px; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid color-mix(in oklab, var(--line) 70%, transparent); border-radius: 9px; background: color-mix(in oklab, var(--ink) 50%, transparent); font-size: 13px; color: var(--fg-dim); }
.m-row .nm { color: var(--fg); }
.m-row-tag { font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: color-mix(in oklab, var(--c, var(--accent)) 14%, transparent); color: var(--c, var(--accent-2)); }
.m-row-tag.warn { background: color-mix(in oklab, #f6b53a 14%, transparent); color: #f6b53a; }
.m-row-bar { height: 4px; background: color-mix(in oklab, var(--fg) 8%, transparent); border-radius: 999px; overflow: hidden; }
.m-row-bar i { display: block; height: 100%; background: var(--c, var(--accent)); border-radius: inherit; }

/* ---- "Why it's different" ---- */
.m-why { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.m-why-intro { max-width: 700px; }
.m-why-intro h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.05; }
.m-why-intro h2 b { font-weight: 600; }
.m-why-intro .lead { margin: 22px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.m-knows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
@media (max-width: 880px) { .m-knows { grid-template-columns: 1fr; } }
.m-know { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in oklab, var(--ink) 80%, transparent); }
.m-know-from { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c, var(--accent-2)); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.m-know-from .arr { opacity: 0.6; }
.m-know p { font-size: 14.5px; line-height: 1.55; color: var(--fg-dim); margin: 0; }

/* ---- Capabilities ---- */
.m-caps { padding: clamp(56px, 8vw, 96px) 0; background: color-mix(in oklab, var(--ink) 88%, var(--c, var(--accent)) 4%); border-top: 1px solid var(--line); }
.m-caps-intro { max-width: 680px; }
.m-caps-intro h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.05; }
.m-caps-intro h2 b { font-weight: 600; }
.m-caps-list { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--line); }
.m-cap-row { display: grid; grid-template-columns: 70px 1.2fr 2fr; gap: 30px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .m-cap-row { grid-template-columns: 1fr; gap: 8px; } }
.m-cap-num { font-family: "Geist Mono", monospace; font-size: 13px; letter-spacing: 0.12em; color: var(--c, var(--accent-2)); padding-top: 4px; }
.m-cap-row h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; color: var(--fg); }
.m-cap-row p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-dim); max-width: 52ch; }

/* ---- Closer "one system" ---- */
.m-uni { padding: clamp(56px, 8vw, 100px) 0; text-align: center; }
.m-uni-line { font-family: "Instrument Serif", serif; font-style: italic; font-size: clamp(24px, 3.2vw, 42px); letter-spacing: -0.02em; line-height: 1.25; max-width: 28ch; margin: 0 auto; color: var(--fg); }
.m-uni-line em { font-style: italic; color: var(--accent-2); }
.m-mod-nav { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.m-mod-nav a { padding: 18px 26px; border: 1px solid var(--line); border-radius: 14px; min-width: 200px; text-align: left; transition: border-color 0.3s, background 0.3s; }
.m-mod-nav a:hover { border-color: color-mix(in oklab, var(--c, var(--accent)) 40%, var(--line)); background: color-mix(in oklab, var(--ink) 70%, transparent); }
.m-mod-nav a.next { text-align: right; }
.m-mod-nav .dir { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 4px; }
.m-mod-nav .name { font-size: 15px; font-weight: 500; color: var(--fg); }

/* ---- Final CTA ---- */
.m-final { position: relative; padding: clamp(64px, 10vw, 140px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.m-final-glow { position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%); width: min(800px, 90vw); height: 500px; background: radial-gradient(ellipse at center, color-mix(in oklab, var(--c, var(--accent)) 30%, transparent), transparent 60%); filter: blur(30px); z-index: 0; }
.m-final .wrap { position: relative; z-index: 1; }
.m-final h2 { font-weight: 300; font-size: clamp(32px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1.05; max-width: 18ch; margin: 0 auto; color: var(--fg); }
.m-final h2 b { font-weight: 600; }
.m-final .sub { margin: 22px auto 0; max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.m-final-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }


/* ---- Q Studio mockup placeholder (section 3) ---- */
.qstu-placeholder { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 80%, #1a1a24), var(--ink)); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7); }
.qstu-placeholder-body { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 24px; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 14px, transparent 14px 28px); }
.qstu-placeholder-tag { display: flex; flex-direction: column; gap: 6px; align-items: center; color: var(--fg-faint); font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.04em; padding: 14px 22px; border: 1px dashed var(--line); border-radius: 12px; background: color-mix(in oklab, var(--ink) 80%, transparent); }
.qstu-placeholder-tag b { color: var(--fg-dim); font-weight: 500; font-family: 'Geist', sans-serif; font-size: 14px; letter-spacing: -0.01em; }

/* ---- Q Studio workspace mock (Meet Q page) ---- */
.qstu-workspace { display: grid; grid-template-columns: 200px 1fr 200px; min-height: 360px; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0 14px, transparent 14px 28px); }
@media (max-width: 720px) { .qstu-workspace { grid-template-columns: 1fr; min-height: 0; } .qsw-rail, .qsw-preview { display: none; } }
.qsw-rail { border-right: 1px solid var(--line); padding: 16px 14px; display: flex; flex-direction: column; gap: 14px; background: color-mix(in oklab, var(--ink) 70%, transparent); }
.qsw-rail-head { display: flex; flex-direction: column; gap: 4px; }
.qsw-rail-title { font-size: 13px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.qsw-rail-meta { display: flex; align-items: center; gap: 6px; font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.06em; color: var(--fg-faint); text-transform: uppercase; }
.qsw-dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.qsw-rail-tabs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in oklab, var(--ink) 60%, transparent); }
.qsw-tab { flex: 1; text-align: center; padding: 5px 0; font-size: 11px; color: var(--fg-faint); border-radius: 5px; }
.qsw-tab.is-active { background: color-mix(in oklab, var(--fg) 8%, transparent); color: var(--fg); }
.qsw-rail-list { display: flex; flex-direction: column; gap: 2px; }
.qsw-rail-row { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 7px; font-size: 12px; color: var(--fg-dim); }
.qsw-rail-row .sq { width: 7px; height: 7px; border-radius: 2px; background: var(--line-2); flex: none; }
.qsw-rail-row .qsw-c { margin-left: auto; font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--fg-faint); }
.qsw-rail-row.is-active { background: color-mix(in oklab, var(--accent) 12%, transparent); color: var(--fg); }
.qsw-rail-row.is-active .sq { background: var(--accent); }
.qsw-center { padding: 28px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; border-right: 1px solid var(--line); }
.qsw-q-orb { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 500; box-shadow: 0 0 24px color-mix(in oklab, var(--accent) 60%, transparent); margin-bottom: 6px; }
.qsw-q-h { font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.qsw-q-sub { font-size: 12px; color: var(--fg-faint); max-width: 32ch; line-height: 1.5; }
.qsw-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; max-width: 320px; }
.qsw-chip { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; color: var(--fg-dim); background: color-mix(in oklab, var(--ink) 60%, transparent); }
.qsw-preview { padding: 24px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; color: var(--fg-faint); background: color-mix(in oklab, var(--ink) 70%, transparent); }
.qsw-eye { color: var(--fg-faint); margin-bottom: 4px; }
.qsw-preview-h { font-size: 12.5px; color: var(--fg-dim); font-weight: 500; }
.qsw-preview-sub { font-size: 11px; line-height: 1.5; max-width: 22ch; }


/* ---- Mega-menu variant for 'What's inside' dropdown ---- */
.nav-dropdown-mega { min-width: 520px; padding: 22px 22px 14px; left: -22px; }
@media (max-width: 760px) { .nav-dropdown-mega { min-width: auto; width: calc(100vw - 32px); } }
.nav-dd-label { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-faint); margin: 0 0 16px 4px; }
.nav-dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
@media (max-width: 560px) { .nav-dd-grid { grid-template-columns: 1fr; } }
.nav-dd-card { display: block; padding: 11px 12px; border-radius: 9px; transition: background 0.18s; }
.nav-dd-card:hover { background: color-mix(in oklab, var(--accent) 14%, transparent); }
.nav-dd-card-nm { font-size: 14px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; line-height: 1.2; }
.nav-dd-card-sub { font-size: 12px; color: var(--fg-faint); margin-top: 3px; line-height: 1.35; }
.nav-dd-card:hover .nav-dd-card-sub { color: var(--fg-dim); }
.nav-dd-overview { display: flex; align-items: center; justify-content: space-between; margin: 12px -8px 0; padding: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--accent-2); font-weight: 500; transition: color 0.2s; }
.nav-dd-overview:hover { color: var(--fg); }


/* ---- Meet Q on home page (uses qstu-pillar styles) ---- */
.meet-q .mq-pillars { margin-top: 44px; }
.meet-q .mq-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.meet-q > .wrap > h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1.02; max-width: 22ch; }
.meet-q > .wrap > h2 b { font-weight: 600; }
.meet-q > .wrap > .lead { margin: 22px 0 0; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }


/* ---- Use-case tab progress fill (auto-cycle indicator) ---- */
.uc-tab { position: relative; overflow: hidden; }
.uc-label { position: relative; z-index: 1; }
.uc-progress { position: absolute; top: 0; left: 0; bottom: 0; width: 0; background: var(--accent); pointer-events: none; border-radius: inherit; z-index: 0; }
.uc-tab.is-active .uc-progress { animation: ucProgress 5s linear forwards; }
@keyframes ucProgress { from { width: 0; } to { width: 100%; } }
