/* ═══════════════════════════════════════════════════════════════════════
   Voxera OS · Apple-inspired light theme
═══════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens ─────────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;
  --bg-card:   #ffffff;
  --bg-dark:   #1c1c1e;       /* Apple dark gray – used for terminal/code */
  --bg-dark-2: #2c2c2e;

  --text:      #1d1d1f;       /* Apple near-black */
  --text-sec:  #6e6e73;       /* Apple secondary */
  --text-ter:  #86868b;       /* Apple tertiary */
  --text-inv:  #f5f5f7;       /* text on dark surfaces */

  --line:      rgba(0,0,0,0.09);
  --line-soft: rgba(0,0,0,0.055);
  --line-dark: rgba(255,255,255,0.10);  /* borders on dark surfaces */

  --accent:    #5e5ce6;       /* Voxera indigo */
  --accent-h:  #4845d4;       /* hover */
  --accent-2:  #34c759;       /* success / active green */
  --accent-3:  #007aff;       /* Apple blue – links */

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.06);
  --shadow:    0 4px 18px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 54px rgba(0,0,0,0.12), 0 4px 14px rgba(0,0,0,0.06);

  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --ease:      cubic-bezier(.25,.46,.45,.94);
  --ease-out:  cubic-bezier(0,0,.2,1);
}

/* ─── Reset & base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.56;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
code, pre {
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Subtle hero-area glow at top of every page */
body::before {
  content: '';
  position: fixed;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(94,92,230,.06) 0%,
    rgba(94,92,230,.02) 45%,
    transparent 72%);
  pointer-events: none;
  z-index: -1;
}

/* ─── Canvas (ambient) ───────────────────────────────────────────────── */
#bg-canvas {
  position: fixed; inset: 0;
  z-index: -2; pointer-events: none;
}

/* ─── Layout ─────────────────────────────────────────────────────────── */
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }

/* ─── Glass ─────────────────────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════════════════════════════════
   Navigation
═══════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  margin: .7rem auto 0;
  width: min(1160px, calc(100% - 1.5rem));
  border-radius: 16px;
  transition: box-shadow .3s var(--ease);
}
.nav-wrap {
  display: flex; align-items: center; gap: 1rem;
  justify-content: space-between;
  padding: .72rem 1.1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--text);
  font-weight: 800; letter-spacing: -.025em; font-size: 1rem;
  flex-shrink: 0;
}
.brand em { font-style: normal; color: var(--accent); }
.brand-orb {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #a5b4fc 25%, var(--accent) 65%, #3730a3 100%);
  box-shadow: 0 0 12px rgba(94,92,230,.5);
  transition: box-shadow .3s var(--ease);
}
.brand:hover .brand-orb { box-shadow: 0 0 18px rgba(94,92,230,.7); }

.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a {
  color: var(--text-sec); text-decoration: none;
  padding: .5rem .8rem; border-radius: 10px;
  font-weight: 500; font-size: .88rem;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(0,0,0,.05); }
.site-nav a.active { color: var(--text); font-weight: 600; background: rgba(0,0,0,.05); }

.btn-nav-cta {
  display: inline-flex; align-items: center;
  border-radius: 10px; padding: .48rem 1rem;
  font-size: .84rem; font-weight: 600;
  text-decoration: none;
  background: var(--accent); color: #fff;
  border: none;
  transition: background .22s var(--ease), transform .18s var(--ease), box-shadow .22s var(--ease);
  box-shadow: 0 2px 10px rgba(94,92,230,.28);
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(94,92,230,.4);
}

.nav-toggle {
  display: none; background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: .38rem .62rem; cursor: pointer; font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   Buttons
═══════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  border-radius: 14px; padding: .78rem 1.3rem;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer; letter-spacing: -.01em; white-space: nowrap;
}
.btn:hover  { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0px); }

.btn-lg { padding: .9rem 1.65rem; font-size: 1rem; border-radius: 16px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(94,92,230,.28);
}
.btn-primary:hover {
  background: var(--accent-h);
  box-shadow: 0 8px 26px rgba(94,92,230,.38);
}
.btn-primary:disabled {
  opacity: .7; cursor: not-allowed; transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost:hover { background: rgba(94,92,230,.06); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-outline:hover { background: var(--bg-alt); }

.inline-link {
  color: var(--accent); text-decoration: none; font-weight: 600;
}
.inline-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   Typography utilities
═══════════════════════════════════════════════════════════════════════ */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .55rem;
}
.lede { color: var(--text-sec); font-size: 1.05rem; max-width: 68ch; line-height: 1.65; }

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 0%, #8b5cf6 55%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════════
   Scroll-reveal animation system
═══════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.delay-1  { transition-delay: .10s; }
.reveal.delay-2  { transition-delay: .20s; }
.reveal.delay-3  { transition-delay: .30s; }
.reveal.delay-4  { transition-delay: .42s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger for grid children */
.stagger-children > *:nth-child(1) { transition-delay: .05s; }
.stagger-children > *:nth-child(2) { transition-delay: .12s; }
.stagger-children > *:nth-child(3) { transition-delay: .19s; }
.stagger-children > *:nth-child(4) { transition-delay: .26s; }
.stagger-children > *:nth-child(5) { transition-delay: .33s; }
.stagger-children > *:nth-child(6) { transition-delay: .40s; }

/* ═══════════════════════════════════════════════════════════════════════
   Pulse dot (invite badge)
═══════════════════════════════════════════════════════════════════════ */
.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-2);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
.pulse-dot-lg { width: 9px; height: 9px; }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(52,199,89,.55); }
  65%  { box-shadow: 0 0 0 8px rgba(52,199,89,0); }
  100% { box-shadow: 0 0 0 0   rgba(52,199,89,0); }
}

/* ═══════════════════════════════════════════════════════════════════════
   HOME v2 — Hero
═══════════════════════════════════════════════════════════════════════ */
.v2-hero {
  text-align: center;
  padding: 6rem 1rem 3rem;
  display: flex; flex-direction: column; align-items: center;
}

.v2-invite-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(94,92,230,.07);
  border: 1px solid rgba(94,92,230,.22);
  border-radius: 999px; padding: .38rem 1rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 2.2rem;
}

.v2-headline {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900; letter-spacing: -.042em; line-height: 1.01;
  margin-bottom: 1.4rem; max-width: 17ch;
}

.v2-lede {
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  color: var(--text-sec); max-width: 54ch;
  line-height: 1.68; margin-bottom: 2.2rem;
}
.br-lg { display: inline; }

.v2-cta-row {
  display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 2rem;
}

.v2-name-row {
  display: flex; gap: .45rem; flex-wrap: wrap; justify-content: center;
}
.v2-pill {
  border: 1px solid var(--line); background: var(--bg-alt);
  padding: .32rem .75rem; border-radius: 999px;
  font-size: .78rem; color: var(--text-sec);
}
.v2-pill.muted { color: var(--text-ter); }
.v2-pill code { color: var(--accent); font-size: .78rem; }

/* ─── Terminal preview ───────────────────────────────────────────────── */
.v2-terminal-section { padding: 2.5rem 0 0; }
.v2-terminal {
  max-width: 760px; margin-inline: auto;
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.v2-terminal-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .8rem 1.1rem;
  background: var(--bg-dark-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dot-r { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex-shrink: 0; }
.dot-y { width: 11px; height: 11px; border-radius: 50%; background: #febc2e; flex-shrink: 0; }
.dot-g { width: 11px; height: 11px; border-radius: 50%; background: #28c840; flex-shrink: 0; }
.v2-terminal-title {
  margin-left: .5rem; font-size: .8rem; color: rgba(255,255,255,.35);
  font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}
.v2-terminal-body {
  margin: 0; padding: 1.5rem 1.6rem 1.8rem;
  font-size: .84rem; color: #e0e6f0; line-height: 1.8;
  overflow-x: auto;
}
.tc-dim   { color: rgba(255,255,255,.25); }
.tc-green { color: #30d158; }
.tc-blue  { color: #64aaec; }

/* ─── Section shared ─────────────────────────────────────────────────── */
.v2-section { padding: 6rem 0 0; }

.v2-section-intro {
  text-align: center; max-width: 660px; margin: 0 auto 3.5rem;
}
.v2-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.v2-section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
  margin-bottom: .75rem;
}
.v2-section-title-sm {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  margin-bottom: .75rem;
}
.v2-section-sub {
  color: var(--text-sec); font-size: 1rem; line-height: 1.68;
}

/* ─── Six pillars ───────────────────────────────────────────────────── */
.v2-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.v2-pillar {
  background: var(--bg-card);
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .22s var(--ease), box-shadow .22s var(--ease);
}
.v2-pillar:nth-child(3n) { border-right: none; }
.v2-pillar:nth-last-child(-n+3) { border-bottom: none; }
.v2-pillar:hover { background: var(--bg-alt); }

.v2-pillar h3 {
  font-size: .98rem; font-weight: 700; letter-spacing: -.012em;
  margin: .9rem 0 .45rem; color: var(--text);
}
.v2-pillar p { margin: 0; color: var(--text-sec); font-size: .88rem; line-height: 1.62; }

.v2-pillar-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.icon-lock  { background: rgba(94,92,230,.1);  }
.icon-log   { background: rgba(52,199,89,.1);  }
.icon-box   { background: rgba(255,159,10,.1); }
.icon-brain { background: rgba(255,55,95,.09); }
.icon-queue { background: rgba(10,132,255,.1); }
.icon-ops   { background: rgba(100,210,255,.1);}

.icon-lock::after  { content: "🔒"; }
.icon-log::after   { content: "📋"; }
.icon-box::after   { content: "📦"; }
.icon-brain::after { content: "🧠"; }
.icon-queue::after { content: "⚙️"; }
.icon-ops::after   { content: "🛡️"; }

/* ─── Architecture split ────────────────────────────────────────────── */
.v2-arch {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.v2-layers { display: grid; margin-top: 2rem; }
.v2-layer {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.25rem 0; border-top: 1px solid var(--line);
}
.v2-layer:last-child { border-bottom: 1px solid var(--line); }
.v2-layer-num {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  color: var(--text-ter); padding-top: .12rem; flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
}
.v2-layer strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.v2-layer p { margin: 0; color: var(--text-sec); font-size: .87rem; line-height: 1.58; }

.v2-stack {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-xs);
}
.v2-stack-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-ter); margin-bottom: 1rem;
}
.v2-stack-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .62rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .87rem;
}
.v2-stack-row:last-child { border-bottom: none; padding-bottom: 0; }
.v2-stack-row span { color: var(--text-sec); }
.v2-stack-row strong { color: var(--text); font-weight: 600; }

/* ─── Waitlist ──────────────────────────────────────────────────────── */
.v2-waitlist {
  background: linear-gradient(140deg, rgba(94,92,230,.055) 0%, rgba(139,92,246,.035) 100%);
  border: 1px solid rgba(94,92,230,.18);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 12px 40px rgba(94,92,230,.08);
}
.v2-waitlist-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(94,92,230,.16);
  border-radius: 999px; padding: .36rem .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--text-ter); text-transform: uppercase; margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.v2-waitlist-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800; letter-spacing: -.034em; line-height: 1.1;
  margin-bottom: .85rem;
}
.v2-waitlist-sub {
  color: var(--text-sec); font-size: 1rem; line-height: 1.68;
  max-width: 42ch; margin-bottom: 2rem;
}
.v2-waitlist-form {
  display: flex; gap: .55rem; flex-wrap: wrap; justify-content: center;
  width: 100%; max-width: 480px;
}
.v2-waitlist-form input {
  flex: 1 1 220px; min-width: 0;
  background: rgba(255,255,255,.9); border: 1.5px solid var(--line);
  border-radius: 14px; padding: .78rem 1.1rem;
  color: var(--text); font-size: .95rem; font-family: inherit;
  outline: none;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
  box-shadow: var(--shadow-xs);
}
.v2-waitlist-form input::placeholder { color: var(--text-ter); }
.v2-waitlist-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94,92,230,.14);
}
.v2-waitlist-fine {
  font-size: .78rem; color: var(--text-ter); margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   Inner pages — shared
═══════════════════════════════════════════════════════════════════════ */
.page-main { padding-top: 1.5rem; }
.page-hero  { padding: 3rem 0 1.5rem; }
.page-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  margin: .3rem 0 .65rem;
}
.page-hero.center {
  text-align: center; display: flex; flex-direction: column; align-items: center;
}

.section { padding: 2.5rem 0 0; }

.section-head { margin-bottom: 1.5rem; }
.section-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700; letter-spacing: -.02em; margin: .2rem 0 .3rem;
}

/* ─── Card system ────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid.two   { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  border-radius: var(--radius); padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .28s var(--ease), transform .25s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .4rem; }
.card h3 { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .4rem; }
.card p  { color: var(--text-sec); font-size: .9rem; line-height: 1.6; margin: 0; }

.glow-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.glow-card:hover::before { opacity: 1; }

.feature-list { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--text-sec); }
.feature-list li  { margin: .55rem 0; line-height: 1.55; font-size: .9rem; }
.feature-list.compact li { margin: .42rem 0; }
.feature-list code { color: var(--accent); font-size: .85em; }

.highlight-card ol { margin: .4rem 0 .7rem; padding-left: 1.15rem; color: var(--text-sec); }
.highlight-card li { margin: .45rem 0; font-size: .9rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }

/* CTA band */
.cta-band {
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.cta-row, .cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }

/* ─── Code blocks ────────────────────────────────────────────────────── */
.code-block {
  position: relative; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background: var(--bg-dark);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.code-block pre {
  margin: 0; padding: 1.3rem 1.4rem; overflow-x: auto;
  font-size: .85rem; color: #dde5ff; line-height: 1.75;
}
.code-block.nested { background: #111113; border: 1px solid rgba(255,255,255,.06); }
.copy-btn {
  position: absolute; top: .7rem; right: .7rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: rgba(255,255,255,.07); color: #dde5ff;
  padding: .38rem .65rem; font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}
.copy-btn:hover { background: rgba(255,255,255,.13); }
.copy-btn.copied { border-color: rgba(52,199,89,.45); color: #86efac; }

/* ─── Timeline (roadmap) ─────────────────────────────────────────────── */
.timeline { display: grid; gap: 1px; }
.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.75rem;
  margin-bottom: .9rem;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.timeline-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.timeline-item h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; margin: .55rem 0 .4rem; }
.timeline-item p  { color: var(--text-sec); font-size: .9rem; line-height: 1.6; margin: 0; }
.time-badge {
  display: inline-flex; border-radius: 999px;
  padding: .32rem .8rem; border: 1px solid var(--line);
  background: var(--bg-alt); font-size: .76rem; font-weight: 700;
  color: var(--text-sec); letter-spacing: .02em;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  margin-top: 7rem;
  padding: 2rem 0 2.5rem;
}
.site-footer .container {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.site-footer strong { color: var(--text); font-size: .9rem; font-weight: 700; }
.site-footer p { margin: .15rem 0 0; color: var(--text-ter); font-size: .83rem; }
.footer-links { display: flex; gap: .85rem; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-sec); text-decoration: none; font-size: .83rem;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--text); }

/* ─── 404 ────────────────────────────────────────────────────────────── */
.page-hero.center h1 { font-size: clamp(2.5rem, 5vw, 4rem); }

/* ═══════════════════════════════════════════════════════════════════════
   Accordions — <details> / <summary>
═══════════════════════════════════════════════════════════════════════ */

/* Inline "show more" toggle (hero demo, quickstart full commands) */
.show-details {
  margin-top: 1rem;
}
.show-details summary {
  cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent); font-size: .85rem; font-weight: 600;
  list-style: none; user-select: none;
  padding: .5rem .95rem;
  border: 1px solid rgba(94,92,230,.25);
  border-radius: 10px;
  background: rgba(94,92,230,.05);
  transition: background .2s var(--ease);
}
.show-details summary::-webkit-details-marker { display: none; }
.show-details summary::before {
  content: "▸"; font-size: .8rem;
  transition: transform .2s var(--ease);
}
.show-details[open] summary::before { transform: rotate(90deg); }
.show-details summary:hover { background: rgba(94,92,230,.1); }
.show-details-body { margin-top: .75rem; }

/* Engineering details accordion (compact, inside pillar cards) */
details.eng-details {
  margin-top: .85rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
details.eng-details summary {
  display: flex; align-items: center; gap: .4rem;
  padding: .65rem 1rem; cursor: pointer; list-style: none;
  font-size: .8rem; font-weight: 600; color: var(--text-ter);
  background: var(--bg-alt); user-select: none;
  transition: color .2s var(--ease), background .2s var(--ease);
}
details.eng-details summary::-webkit-details-marker { display: none; }
details.eng-details summary::before {
  content: "›"; font-size: 1rem; color: var(--text-ter);
  transition: transform .2s var(--ease);
}
details.eng-details[open] summary::before { transform: rotate(90deg); }
details.eng-details[open] summary { color: var(--text-sec); }
details.eng-details summary:hover { color: var(--text-sec); background: rgba(0,0,0,.05); }
.eng-body {
  padding: 1rem 1.1rem; border-top: 1px solid var(--line);
  background: var(--bg-card);
  font-size: .84rem; color: var(--text-sec); line-height: 1.62;
}
.eng-body code { color: var(--accent); font-size: .82em; }
.eng-body ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.eng-body li { margin: .4rem 0; }
.eng-body .code-block { margin-top: .75rem; }

/* Operator proof block */
.proof-block {
  margin-top: .9rem; padding: .6rem .95rem;
  border-left: 2px solid var(--accent);
  background: rgba(94,92,230,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .83rem; color: var(--text-sec); font-style: italic;
}
.proof-block code { color: var(--accent); font-style: normal; font-size: .82em; }

/* ═══════════════════════════════════════════════════════════════════════
   Home — What it does / 3 cards
═══════════════════════════════════════════════════════════════════════ */
.does-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem;
}
.does-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  transition: box-shadow .28s var(--ease), transform .25s var(--ease);
}
.does-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.does-icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto .9rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.does-icon.blue   { background: rgba(10,132,255,.1); }
.does-icon.green  { background: rgba(52,199,89,.1); }
.does-icon.purple { background: rgba(139,92,246,.1); }
.does-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.does-card p  { color: var(--text-sec); font-size: .88rem; line-height: 1.62; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   Home — Why operators trust it / 5 trust cards
═══════════════════════════════════════════════════════════════════════ */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem;
}
.trust-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  transition: box-shadow .28s var(--ease), transform .25s var(--ease);
  position: relative; overflow: hidden;
}
.trust-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  opacity: 0; transition: opacity .3s var(--ease);
}
.trust-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.trust-card:hover::before { opacity: 1; }
.trust-card h3 { font-size: .92rem; font-weight: 700; margin-bottom: .35rem; }
.trust-card p  { color: var(--text-sec); font-size: .85rem; line-height: 1.58; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   Home — Where this is going / 3 cards
═══════════════════════════════════════════════════════════════════════ */
.where-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem;
  margin-top: 1.5rem;
}
.wt-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.4rem;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.wt-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.wt-badge {
  display: inline-block; border-radius: 999px; padding: .28rem .72rem;
  border: 1px solid; font-size: .73rem; font-weight: 700;
  letter-spacing: .02em; margin-bottom: .75rem;
}
.wt-badge.now   { border-color: rgba(52,199,89,.4);  background: rgba(52,199,89,.07);  color: #1a7f45; }
.wt-badge.next  { border-color: rgba(94,92,230,.35); background: rgba(94,92,230,.06);  color: var(--accent); }
.wt-badge.later { border-color: var(--line);         background: var(--bg-alt);        color: var(--text-ter); }
.wt-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .55rem; }
.wt-card ul { margin: 0; padding-left: 1.1rem; color: var(--text-sec); }
.wt-card li { font-size: .86rem; margin: .35rem 0; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════════════
   Features — Pillar blocks (stacked full-width)
═══════════════════════════════════════════════════════════════════════ */
.pillar-block {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem;
  box-shadow: var(--shadow-xs); transition: box-shadow .25s var(--ease);
}
.pillar-block:hover { box-shadow: var(--shadow); }
.pillar-eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .42rem;
}
.pillar-block h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: .7rem; }
.pillar-benefits { margin: 0; padding-left: 0; list-style: none; }
.pillar-benefits li {
  padding: .4rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--text-sec);
  display: flex; gap: .5rem; align-items: flex-start; line-height: 1.52;
}
.pillar-benefits li:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-benefits li::before {
  content: "✓"; color: var(--accent-2); font-weight: 700;
  flex-shrink: 0; font-size: .85rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   Features — Ships today vs planned
═══════════════════════════════════════════════════════════════════════ */
.ships-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.ships-card { border-radius: var(--radius); padding: 1.4rem; border: 1px solid; }
.ships-card.today   { background: rgba(52,199,89,.04); border-color: rgba(52,199,89,.22); }
.ships-card.planned { background: rgba(94,92,230,.04); border-color: rgba(94,92,230,.18); }
.ships-card h3 {
  font-size: .8rem; font-weight: 700; margin-bottom: .65rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.ships-card.today   h3 { color: #1a7f45; }
.ships-card.planned h3 { color: var(--accent); }
.ships-list { margin: 0; padding-left: 0; list-style: none; }
.ships-list li {
  font-size: .86rem; color: var(--text-sec); padding: .3rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; gap: .42rem; align-items: flex-start; line-height: 1.5;
}
.ships-list li:last-child { border-bottom: none; }
.ships-list li::before { flex-shrink: 0; font-size: .6rem; margin-top: .38em; }
.ships-list.today-list   li::before { content: "●"; color: var(--accent-2); }
.ships-list.planned-list li::before { content: "○"; color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════════
   Quick Start — Steps
═══════════════════════════════════════════════════════════════════════ */
.qs-steps { display: grid; gap: 1rem; }
.qs-step {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0; margin-top: .05rem;
}
.qs-step-body h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.qs-step-body p  { color: var(--text-sec); font-size: .88rem; line-height: 1.58; margin: 0; }
.qs-step-body .code-block { margin-top: .7rem; }

/* Demo featured block */
.demo-featured {
  max-width: 640px; margin-inline: auto;
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--bg-dark); border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.demo-featured .v2-terminal-body { padding: 1.2rem 1.4rem; }

/* ═══════════════════════════════════════════════════════════════════════
   Operator Guide — Doc tiles
═══════════════════════════════════════════════════════════════════════ */
.doc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.doc-tile {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
  text-decoration: none; color: var(--text); box-shadow: var(--shadow-xs);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.doc-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.doc-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  opacity: 0; transition: opacity .3s var(--ease);
}
.doc-tile:hover::before { opacity: 1; }
.doc-tile-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .42rem;
}
.doc-tile h3 { font-size: .98rem; font-weight: 700; margin-bottom: .38rem; }
.doc-tile p  { color: var(--text-sec); font-size: .86rem; line-height: 1.58; flex-grow: 1; margin: 0; }
.doc-tile-arrow { margin-top: .9rem; color: var(--accent); font-size: .82rem; font-weight: 600; }

/* Ops contract summary table */
.contract-table { width: 100%; border-collapse: collapse; font-size: .87rem; margin-top: .75rem; }
.contract-table th {
  text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-ter);
  border-bottom: 1px solid var(--line); padding: .5rem .75rem;
}
.contract-table td {
  padding: .65rem .75rem; border-bottom: 1px solid var(--line-soft);
  vertical-align: top; color: var(--text-sec); line-height: 1.5;
}
.contract-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.contract-table td code { color: var(--accent); font-size: .82em; }
.contract-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════════════
   Roadmap — Product cards
═══════════════════════════════════════════════════════════════════════ */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.roadmap-card {
  border-radius: var(--radius-lg); padding: 1.8rem 1.6rem;
  border: 1px solid var(--line); background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.roadmap-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rm-badge {
  display: inline-flex; border-radius: 999px; padding: .28rem .72rem;
  font-size: .73rem; font-weight: 700; border: 1px solid; letter-spacing: .02em; margin-bottom: .75rem;
}
.rm-badge.solid { border-color: rgba(52,199,89,.35); background: rgba(52,199,89,.08);  color: #1a7f45; }
.rm-badge.next  { border-color: rgba(94,92,230,.35); background: rgba(94,92,230,.07);  color: var(--accent); }
.rm-badge.later { border-color: var(--line);         background: var(--bg-alt);        color: var(--text-ter); }
.roadmap-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: .7rem; }
.roadmap-card ul { margin: 0; padding-left: 1.1rem; color: var(--text-sec); }
.roadmap-card li { font-size: .86rem; margin: .35rem 0; line-height: 1.52; }

/* ═══════════════════════════════════════════════════════════════════════
   Vera page
═══════════════════════════════════════════════════════════════════════ */
.vera-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(139,92,246,.07); border: 1px solid rgba(139,92,246,.25);
  border-radius: 999px; padding: .36rem .95rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  color: #7c3aed; text-transform: uppercase; margin-bottom: 1.8rem;
}
.vera-grounded-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.vera-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }

/* ═══════════════════════════════════════════════════════════════════════
   Use Cases page
═══════════════════════════════════════════════════════════════════════ */
.usecase-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-xs);
  transition: box-shadow .28s var(--ease), transform .25s var(--ease);
}
.usecase-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.uc-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .42rem;
}
.usecase-card h2 { font-size: 1.08rem; font-weight: 700; margin-bottom: .85rem; }
.uc-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.uc-step {
  padding: .85rem .95rem; border-radius: var(--radius);
  font-size: .84rem; color: var(--text-sec); line-height: 1.52;
}
.uc-step strong {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: .3rem;
}
.uc-step.problem  { background: rgba(255,59,48,.05);  border: 1px solid rgba(255,59,48,.14); }
.uc-step.problem  strong { color: #c0392b; }
.uc-step.approach { background: rgba(94,92,230,.05);  border: 1px solid rgba(94,92,230,.16); }
.uc-step.approach strong { color: var(--accent); }
.uc-step.outcome  { background: rgba(52,199,89,.05);  border: 1px solid rgba(52,199,89,.18); }
.uc-step.outcome  strong { color: #1a7f45; }

/* ═══════════════════════════════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1020px) {
  .v2-arch      { grid-template-columns: 1fr; gap: 2.5rem; }
  .v2-pillars   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v2-pillar:nth-child(3n)         { border-right: 1px solid var(--line); }
  .v2-pillar:nth-child(2n)         { border-right: none; }
  .v2-pillar:nth-last-child(-n+3)  { border-bottom: 1px solid var(--line); }
  .v2-pillar:nth-last-child(-n+2)  { border-bottom: none; }
  .split        { grid-template-columns: 1fr; }
  .cta-band     { grid-template-columns: 1fr; }
  .stats-grid   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.three   { grid-template-columns: 1fr; }
  .grid.two     { grid-template-columns: 1fr; }
  /* new components */
  .does-grid          { grid-template-columns: 1fr; }
  .trust-grid         { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .where-grid         { grid-template-columns: 1fr; }
  .roadmap-grid       { grid-template-columns: 1fr; }
  .vera-grounded-grid { grid-template-columns: 1fr; }
  .vera-capability-grid { grid-template-columns: 1fr; }
  .doc-tiles          { grid-template-columns: 1fr; }
  .uc-flow            { grid-template-columns: 1fr; }
  .ships-grid         { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle   { display: inline-flex; }
  .btn-nav-cta  { display: none; }
  .site-nav {
    position: absolute; top: calc(100% + .4rem);
    right: .5rem; left: .5rem;
    display: none; flex-direction: column; align-items: stretch; gap: .1rem;
    background: rgba(255,255,255,.95); border: 1px solid var(--line);
    border-radius: 14px; padding: .4rem;
    backdrop-filter: blur(20px); box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .78rem .9rem; }
  .site-header { position: sticky; }
  .v2-hero { padding: 3.5rem 0 2rem; }
  .v2-headline { letter-spacing: -.032em; }
  .v2-lede { font-size: .95rem; }
  .br-lg { display: none; }
  .v2-pillars { grid-template-columns: 1fr; }
  .v2-pillar:nth-child(n) { border-right: none; border-bottom: 1px solid var(--line); }
  .v2-pillar:last-child   { border-bottom: none; }
  .v2-waitlist { padding: 2.5rem 1.4rem; }
  .v2-section { padding: 4rem 0 0; }
  .v2-waitlist-form { flex-direction: column; }
  .v2-waitlist-form input { flex: none; width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 1.5rem 1.2rem; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
  /* new components */
  .trust-grid { grid-template-columns: 1fr; }
  .footer-links { gap: .6rem; }
  .contract-table { font-size: .82rem; }
  .contract-table td:first-child { white-space: normal; }
}
