/* OrcStrator site. Tokens copied from the app's light theme (client/src/styles.css,
   [data-theme="light"]) and motion.css, so the site and the app look like one product. */
:root {
  --bg-primary: #eeedf6;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f0f8;
  --bg-hover: #ebeaf5;
  --bg-active: #e2e0f0;
  --text-primary: #17171f;
  --text-secondary: #5c5c70;
  --text-muted: #636278;
  --accent: #6d5cf6;
  --accent-hover: #5b4be0;
  --accent-muted: rgba(109, 92, 246, 0.10);
  --accent-text: #4c3bd0;
  --accent-fill: #6d5cf6;
  --info-fill: #4f46e5;
  --success: #1fb871;
  --warning: #e8973a;
  --warning-muted: rgba(232, 151, 58, 0.10);
  --warning-text: #9a4708;
  --danger: #d64545;
  --danger-muted: rgba(214, 69, 69, 0.08);
  --danger-text: #9b1c1c;
  --border: rgba(120, 110, 200, 0.16);
  --border-hover: rgba(120, 110, 200, 0.30);
  --border-accent: rgba(109, 92, 246, 0.35);
  --shadow-sm: 0 1px 2px rgba(24, 22, 52, 0.05);
  --shadow-md: 0 1px 2px rgba(24, 22, 52, 0.05), 0 10px 30px -14px rgba(74, 60, 150, 0.28);
  --shadow-lg: 0 1px 2px rgba(24, 22, 52, 0.06), 0 18px 50px -18px rgba(74, 60, 150, 0.40);
  --shadow-glow: 0 0 24px rgba(109, 92, 246, 0.18);
  --aurora-1: rgba(124, 92, 255, 0.18);
  --aurora-2: rgba(79, 70, 229, 0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --sp-2: 4px;
  --sp-3: 6px;
  --sp-4: 8px;
  --sp-6: 12px;
  --sp-8: 16px;
  --sp-10: 20px;
  --sp-12: 24px;
  --sp-16: 32px;
  --sp-20: 40px;
  --sp-28: 56px;
  --sp-40: 80px;
  --sp-48: 96px;

  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-md: 13px;
  --fs-lg: 15px;
  --fs-xl: 16px;
  --fs-2xl: 18px;
  --fs-4xl: 24px;
  --fs-display: clamp(34px, 5.2vw, 58px);
  --fs-h2: clamp(26px, 3.4vw, 38px);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --ease-fluid: cubic-bezier(0.2, 0, 0, 1);
  --dur-1: 180ms;
  --dur-2: 260ms;
  --dur-3: 380ms;

  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% -10%, var(--aurora-1), transparent 70%),
    radial-gradient(800px 500px at -10% 30%, var(--aurora-2), transparent 70%);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-12); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-lg);
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: var(--sp-6) var(--sp-12);
  border: 1px solid transparent;
  transition: transform var(--dur-1) var(--ease-fluid), box-shadow var(--dur-2) var(--ease-fluid), background-color var(--dur-2) var(--ease-fluid);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-fill), var(--info-fill));
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.btn-ghost { color: var(--accent-text); background: var(--bg-secondary); border-color: var(--border-accent); }
.btn-ghost:hover { background: var(--accent-muted); }
.btn-sm { font-size: var(--fs-md); padding: var(--sp-3) var(--sp-8); }
.btn-lg { font-size: var(--fs-xl); padding: var(--sp-8) var(--sp-16); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.win { width: 16px; height: 16px; fill: currentColor; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 237, 246, 0.78);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--text-primary);
  text-decoration: none;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-fill), var(--info-fill));
  box-shadow: var(--shadow-glow);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.nav-links { display: flex; align-items: center; gap: var(--sp-16); }
.nav-links a:not(.btn) { color: var(--text-secondary); text-decoration: none; font-size: var(--fs-lg); font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--text-primary); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-40);
  align-items: center;
  padding-top: var(--sp-40);
  padding-bottom: var(--sp-48);
}
.eyebrow {
  display: inline-block;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-8);
  margin-bottom: var(--sp-12);
}
h1 { font-size: var(--fs-display); font-weight: 700; }
.lede { font-size: var(--fs-2xl); color: var(--text-secondary); margin-top: var(--sp-12); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-20); }
.fine { font-size: var(--fs-md); color: var(--text-muted); margin-top: var(--sp-8); }
.center { text-align: center; }

/* Board mockup */
.board {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.board-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-active); }
.board-title { margin-left: var(--sp-6); font-size: var(--fs-md); font-weight: 600; color: var(--text-secondary); }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); padding: var(--sp-8); }
.col { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }
.col-h { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); padding: 0 var(--sp-2) var(--sp-2); }
.card {
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.card-run { border-color: var(--border-accent); }
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: var(--sp-3);
  vertical-align: 1px;
  animation: pulse 1.8s var(--ease-fluid) infinite;
}
@keyframes pulse { 50% { opacity: 0.3; transform: scale(0.8); } }
.card-wait { border-color: var(--warning); background: var(--warning-muted); }
.pill {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--warning-text);
}
.card-done { color: var(--text-muted); }
.col-done .card-done::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  margin-right: var(--sp-3);
  vertical-align: 1px;
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-12);
}
.trust-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-12);
  box-shadow: var(--shadow-sm);
}
.trust-item h3 { font-size: var(--fs-4xl); margin-bottom: var(--sp-6); }
.trust-item p { color: var(--text-secondary); }

/* Sections */
.section { padding-top: var(--sp-48); }
.section h2, .final h2 { font-size: var(--fs-h2); text-align: center; }
.section-lede { text-align: center; color: var(--text-secondary); font-size: var(--fs-2xl); max-width: 640px; margin: var(--sp-8) auto 0; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-28);
}
.feature {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-12);
  transition: transform var(--dur-2) var(--ease-fluid), box-shadow var(--dur-2) var(--ease-fluid);
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.feature p { font-size: var(--fs-lg); color: var(--text-secondary); }
.feature-crew { border-color: var(--border-accent); }
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-muted);
  border-radius: var(--radius-pill);
  padding: 1px var(--sp-4);
  margin-bottom: var(--sp-6);
}

/* Problem */
.problem { text-align: center; max-width: 820px; }
.problem-quote { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; line-height: 1.4; }
.problem-answer { margin-top: var(--sp-12); font-size: var(--fs-2xl); color: var(--accent-text); font-weight: 600; }

/* Ladder of use cases */
.ladder { list-style: none; padding: 0; margin: var(--sp-28) auto 0; max-width: 860px; display: flex; flex-direction: column; gap: var(--sp-8); }
.rung {
  display: flex;
  gap: var(--sp-12);
  align-items: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-16);
  box-shadow: var(--shadow-sm);
}
.rung:nth-child(2) { margin-left: var(--sp-16); }
.rung:nth-child(3) { margin-left: var(--sp-28); }
.rung:nth-child(4) { margin-left: var(--sp-40); border-color: var(--border-accent); box-shadow: var(--shadow-md), var(--shadow-glow); }
.rung-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-muted);
}
.rung h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.rung p { color: var(--text-secondary); font-size: var(--fs-lg); }
.tag-inline { margin: 0 0 0 var(--sp-4); vertical-align: 3px; }

/* Local */
.local { padding-top: var(--sp-48); }
.local-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-28);
  align-items: center;
  border-radius: var(--radius-xl);
  padding: var(--sp-28) var(--sp-28);
  color: #fff;
  background: linear-gradient(135deg, var(--accent-fill), var(--info-fill));
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.local-card h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-8); }
.local-card p { font-size: var(--fs-xl); opacity: 0.94; }
.local-card p + p { margin-top: var(--sp-8); }
.local-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-6); }
.local-list li {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-12);
}
.local-list strong { font-family: var(--font-display); font-size: var(--fs-xl); }
.local-list span { font-size: var(--fs-lg); opacity: 0.9; }

/* Jargon */
.jargon { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); margin-top: var(--sp-28); }
.term {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-12);
}
.term-word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-6);
  text-decoration: line-through;
  text-decoration-color: rgba(109, 92, 246, 0.55);
  text-decoration-thickness: 2px;
  margin-bottom: var(--sp-8);
}

/* Without / with comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); margin-top: var(--sp-28); }
.compare-col {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-16);
}
.compare-col h3 { font-size: var(--fs-4xl); margin-bottom: var(--sp-12); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-8); }
.compare-col li { position: relative; padding-left: var(--sp-16); font-size: var(--fs-xl); }
.compare-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.compare-without li { color: var(--text-secondary); }
.compare-without li::before { content: '\00d7'; color: var(--text-muted); }
.compare-with { border-color: var(--border-accent); box-shadow: var(--shadow-md), var(--shadow-glow); }
.compare-with li::before { content: '\2713'; color: var(--accent); }
.term h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.term p:last-child { color: var(--text-secondary); font-size: var(--fs-lg); }

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-28);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-12);
  box-shadow: var(--shadow-sm);
}
.plan-top { border-color: var(--border-accent); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.plan-skeleton { background: linear-gradient(90deg, var(--bg-secondary), var(--bg-tertiary), var(--bg-secondary)); opacity: 0.7; }
.plan-name { font-size: var(--fs-4xl); }
.plan-price { margin-top: var(--sp-6); display: flex; align-items: baseline; gap: var(--sp-3); }
.plan-price .amount { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.plan-price .per { color: var(--text-muted); font-size: var(--fs-lg); }
.plan-list { list-style: none; padding: 0; margin: var(--sp-12) 0 var(--sp-16); display: flex; flex-direction: column; gap: var(--sp-4); flex: 1; }
.plan-list li { padding-left: var(--sp-12); position: relative; font-size: var(--fs-lg); }
.plan-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.plan-list li.base { color: var(--text-muted); }
.plan-list li.base::before { background: var(--bg-active); }
.soon {
  display: block;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-muted);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-pill);
  padding: var(--sp-6);
}
.soon-note { text-align: center; font-size: var(--fs-md); color: var(--text-muted); margin-top: var(--sp-6); }
.plan-error { grid-column: 1 / -1; align-items: center; justify-content: center; gap: var(--sp-8); min-height: 200px; }

.plan-cta { margin-top: var(--sp-8); }
.plan-feats { list-style: none; padding: 0; margin: var(--sp-10) 0 0; padding-top: var(--sp-8); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--sp-4); }
.pf { position: relative; padding-left: var(--sp-12); font-size: var(--fs-md); line-height: 1.35; }
.pf::before { content: '\2713'; position: absolute; left: 0; top: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--accent); }
.pf-b { font-weight: 600; }
.pf-real { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.pf-limit { font-weight: 700; }
.pf-soon .pf-b { color: var(--text-secondary); }
.pf-soon .pf-real { color: var(--warning-text); font-weight: 600; }

/* Install */
.steps { list-style: none; padding: 0; margin: var(--sp-28) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-12); }
.step {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-12);
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-fill), var(--info-fill));
  margin-bottom: var(--sp-8);
}
.step h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.step p { color: var(--text-secondary); font-size: var(--fs-lg); }

.warn {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-20);
  align-items: center;
  margin-top: var(--sp-12);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-20);
}
.warn h3 { font-size: var(--fs-4xl); margin-bottom: var(--sp-6); }
.warn p { color: var(--text-secondary); }
.smartscreen {
  background: #1f5fa8;
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--sp-12);
  font-family: 'Segoe UI', var(--font-sans);
  box-shadow: var(--shadow-md);
}
.ss-title { font-size: var(--fs-4xl); font-weight: 300; margin-bottom: var(--sp-6); }
.ss-body { font-size: var(--fs-md); opacity: 0.92; }
.ss-link { font-size: var(--fs-md); text-decoration: underline; margin-top: var(--sp-6); display: inline-flex; align-items: center; gap: var(--sp-3); }
.ss-buttons { display: flex; justify-content: flex-end; gap: var(--sp-4); margin-top: var(--sp-16); }
.ss-btn { font-size: var(--fs-md); border: 1px solid rgba(255, 255, 255, 0.7); padding: var(--sp-2) var(--sp-8); display: inline-flex; align-items: center; gap: var(--sp-3); }
.ss-arrow {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--warning);
  color: var(--text-primary);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* FAQ */
.faq { max-width: 780px; }
.faq h2 { margin-bottom: var(--sp-20); }
.faq details {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-12);
  margin-bottom: var(--sp-6);
}
.faq summary { cursor: pointer; font-weight: 600; font-size: var(--fs-xl); }
.faq details p { color: var(--text-secondary); margin-top: var(--sp-6); }

/* Final */
.final { text-align: center; padding-top: var(--sp-48); padding-bottom: var(--sp-48); display: flex; flex-direction: column; align-items: center; gap: var(--sp-12); }

.foot { border-top: 1px solid var(--border); padding: var(--sp-16) 0; }
.foot-inner { display: flex; justify-content: space-between; gap: var(--sp-8); flex-wrap: wrap; font-size: var(--fs-md); color: var(--text-muted); }

/* Gentle entrance for the hero and board. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .board { animation: rise var(--dur-3) var(--ease-fluid) both; }
  .board { animation-delay: 80ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: var(--sp-28); padding-top: var(--sp-28); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans, .steps, .trust { grid-template-columns: 1fr; }
  .warn, .local-card, .compare { grid-template-columns: 1fr; }
  .jargon { grid-template-columns: repeat(2, 1fr); }
  .rung:nth-child(n) { margin-left: 0; }
  .plan { min-height: 0; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 var(--sp-8); }
  .nav-links a:not(.btn) { display: none; }
  .features, .jargon { grid-template-columns: 1fr; }
  .local-card { padding: var(--sp-16) var(--sp-12); }
  .rung { padding: var(--sp-12); }
  .cols { grid-template-columns: repeat(2, 1fr); }
  .cta-row .btn { width: 100%; }
  .section { padding-top: var(--sp-40); }
  .lede, .section-lede { font-size: var(--fs-xl); }
}

/* Plans: founding price, teaser plan, notes */
.plan-founding { font-size: var(--fs-sm); color: var(--accent-text); font-weight: 600; margin-top: var(--sp-2); }
.plan-teaser { background: var(--bg-tertiary); border-style: dashed; box-shadow: none; }
.plan-teaser .pf-b { color: var(--text-secondary); }
.plan-notes { max-width: 860px; margin: var(--sp-16) auto 0; display: flex; flex-direction: column; gap: var(--sp-6); font-size: var(--fs-md); color: var(--text-muted); text-align: center; }

@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan .btn, .plan .soon { font-size: var(--fs-lg); padding: var(--sp-6) var(--sp-8); white-space: nowrap; }
.plan { padding: var(--sp-12) var(--sp-10); }

/* Nask OS banner under the plans */
.nask-os {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-16);
  align-items: center;
  margin-top: var(--sp-12);
  padding: var(--sp-16) var(--sp-20);
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-xl);
}
.nask-os-head h3 { font-size: var(--fs-4xl); margin-top: var(--sp-4); }
.nask-os-price { color: var(--text-muted); margin-top: var(--sp-2); }
.nask-os-price b { font-family: var(--font-display); font-size: 28px; color: var(--text-primary); }
.nask-os-copy { display: flex; align-items: center; gap: var(--sp-16); }
.nask-os-copy p { color: var(--text-secondary); font-size: var(--fs-lg); }
.nask-os-cta { flex: none; white-space: nowrap; padding: var(--sp-6) var(--sp-12); }
@media (max-width: 980px) { .nask-os, .nask-os-copy { grid-template-columns: 1fr; display: grid; } }

/* Screenshots beside the features they show, and the full-size viewer. */
:root { --scrim: rgba(23, 23, 31, 0.72); }
.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-2) var(--ease-fluid), box-shadow var(--dur-2) var(--ease-fluid);
}
.shot-open img { display: block; width: 100%; height: auto; transition: transform var(--dur-3) var(--ease-fluid); }
.shot-open:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.shot-open:hover img { transform: scale(1.015); }
.shot-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Inside the app: alternating rows of copy and picture */
.tour { display: flex; flex-direction: column; gap: var(--sp-40); margin-top: var(--sp-40); }
.tour-row { display: grid; grid-template-columns: 1fr 1.7fr; gap: var(--sp-28); align-items: center; }
.tour-row:nth-child(even) .tour-copy { order: 2; }
.tour-copy h3 { font-size: var(--fs-4xl); margin-bottom: var(--sp-6); }
.tour-copy p { font-size: var(--fs-xl); color: var(--text-secondary); }
.tour-copy .tour-real { margin-top: var(--sp-6); font-size: var(--fs-md); color: var(--text-muted); }

/* Thumbnails on top of the jargon and top-plan cards: a fixed crop from the top left */
.term-shot { aspect-ratio: 16 / 10; margin-bottom: var(--sp-10); box-shadow: var(--shadow-sm); }
.term-shot img { height: 100%; object-fit: cover; object-position: top left; }
.term-shot-contain { aspect-ratio: auto; }
.term-shot-contain img { height: auto; }
.term-shot-bottom img { object-position: center bottom; }

/* Full speed: the dashboard video near the bottom */
.full-speed {
  margin-top: var(--sp-28);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.full-speed video { display: block; width: 100%; height: auto; }
#full-speed { padding-bottom: var(--sp-28); }

.shot-viewer {
  max-width: min(1440px, 94vw);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.shot-viewer::backdrop { background: var(--scrim); }
.shot-viewer img { display: block; max-width: 100%; max-height: calc(94vh - 56px); margin: 0 auto; }
.shot-viewer-cap { padding: var(--sp-6) var(--sp-12); font-size: var(--fs-md); color: var(--text-secondary); text-align: center; }
.shot-close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.shot-close:hover { background: var(--bg-hover); }
@media (prefers-reduced-motion: no-preference) {
  .shot-viewer[open] { transition: opacity var(--dur-3) var(--ease-fluid), transform var(--dur-3) var(--ease-fluid); }
  .shot-viewer[open]::backdrop { transition: opacity var(--dur-3) var(--ease-fluid); }
  @starting-style {
    .shot-viewer[open] { opacity: 0; transform: scale(0.97); }
    .shot-viewer[open]::backdrop { opacity: 0; }
  }
}
@media (max-width: 980px) {
  .tour { gap: var(--sp-28); }
  .tour-row { grid-template-columns: 1fr; gap: var(--sp-10); }
  .tour-row:nth-child(even) .tour-copy { order: 0; }
}

/* Native: the token story */
.native-p { font-size: var(--fs-xl); color: var(--text-secondary); }
.compare-with .native-p { color: var(--text-primary); }

/* Hover preview: the whole picture behind a cropped card thumbnail */
.shot-peek {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.97);
}
.shot-peek img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shot-peek.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .shot-peek { transition: opacity var(--dur-2) var(--ease-fluid), transform var(--dur-2) var(--ease-fluid); }
}
.term-shot-right img { object-position: right top; }

/* The dashboard leads the tour: copy above, the picture full width */
.tour-row.tour-wide { grid-template-columns: 1fr; gap: var(--sp-12); }
.tour-wide .tour-copy { max-width: 720px; }
/* The full-speed video breaks out of the page column so its text stays readable */
.full-speed { position: relative; left: 50%; translate: -50% 0; width: min(1600px, calc(100vw - 2 * var(--sp-12))); }
.eyebrow strong { font-weight: 700; color: var(--text-primary); }

/* Native: the comparison table */
.vs { margin-top: var(--sp-28); }
.vs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-lg);
}
.vs-table th, .vs-table td { padding: var(--sp-10) var(--sp-12); text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table thead th { font-family: var(--font-display); font-size: var(--fs-xl); background: var(--bg-tertiary); }
.vs-table tbody th { width: 22%; font-weight: 600; color: var(--text-primary); }
.vs-table td { color: var(--text-secondary); width: 39%; }
.vs-table .vs-us { color: var(--text-primary); background: var(--accent-muted); }
.vs-table thead .vs-us { color: var(--accent-text); }
.vs-note { margin-top: var(--sp-6); font-size: var(--fs-md); color: var(--text-muted); }

/* Native: the red flag about keys */
.red-flag {
  margin-top: var(--sp-16);
  padding: var(--sp-16) var(--sp-20);
  border: 2px solid var(--danger);
  border-radius: var(--radius-xl);
  background: var(--danger-muted);
}
.red-flag-label { font-weight: 700; font-size: var(--fs-md); text-transform: uppercase; letter-spacing: 0.06em; color: var(--danger-text); }
.red-flag h3 { font-size: var(--fs-4xl); margin: var(--sp-4) 0 var(--sp-6); }
.red-flag p:last-child { font-size: var(--fs-xl); color: var(--text-primary); }

/* Native: why idle chats cost nothing */
.lifecycle { margin-top: var(--sp-16); max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.lifecycle h3 { font-size: var(--fs-4xl); margin-bottom: var(--sp-8); }
.lifecycle p { font-size: var(--fs-xl); color: var(--text-secondary); }
.lifecycle p + p { margin-top: var(--sp-6); }

/* Founder: origin story beside the case study */
.founder { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-28); align-items: start; margin-top: var(--sp-28); }
.founder-story p { font-size: var(--fs-xl); color: var(--text-secondary); }
.founder-story p + p { margin-top: var(--sp-8); }
.case {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--sp-16);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.case-label { font-size: var(--fs-md); font-weight: 600; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.06em; }
.case h3 { font-size: var(--fs-4xl); margin: var(--sp-4) 0 var(--sp-8); }
.case ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-6); }
.case li { position: relative; padding-left: var(--sp-16); font-size: var(--fs-xl); }
.case li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.case-foot { margin-top: var(--sp-10); font-size: var(--fs-md); color: var(--text-muted); }

/* Safety: terms of service and privacy */
.safe { max-width: 820px; margin: var(--sp-20) auto 0; }
.safe p { font-size: var(--fs-xl); color: var(--text-secondary); }
.safe p + p { margin-top: var(--sp-8); }
.safe .safe-line { font-family: var(--font-display); font-size: var(--fs-4xl); font-weight: 700; color: var(--text-primary); text-align: center; margin-top: var(--sp-16); }

@media (max-width: 980px) {
  .founder { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .vs-table thead { display: none; }
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: auto; }
  .vs-table tbody th { padding-bottom: var(--sp-2); border-bottom: 0; background: var(--bg-tertiary); }
  .vs-table td::before { display: block; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
  .vs-table td:nth-of-type(1)::before { content: 'Typical multi-agent tools'; }
  .vs-table td.vs-us::before { content: 'OrcStrator'; color: var(--accent-text); }
}
@media (max-width: 720px) { .vs-table tbody th, .vs-table td { width: auto; } }
.hl { font-weight: 700; color: var(--text-primary); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Founder: second row and the wife case study */
.founder-two { margin-top: var(--sp-20); grid-template-columns: 1fr 1.4fr; }
.founder-story h3 { font-size: var(--fs-4xl); margin-bottom: var(--sp-8); }
.case-intro { font-size: var(--fs-lg); color: var(--text-secondary); margin-bottom: var(--sp-8); }

/* Community */
.community { text-align: center; max-width: 860px; margin: 0 auto; padding: var(--sp-28) var(--sp-20); border: 1px solid var(--border-accent); border-radius: var(--radius-xl); background: var(--bg-secondary); box-shadow: var(--shadow-md), var(--shadow-glow); }
.community-lede { font-size: var(--fs-2xl); color: var(--text-secondary); margin: var(--sp-8) auto 0; max-width: 680px; }
.community-list { list-style: none; padding: 0; margin: var(--sp-16) auto var(--sp-20); max-width: 600px; text-align: left; display: flex; flex-direction: column; gap: var(--sp-6); }
.community-list li { position: relative; padding-left: var(--sp-16); font-size: var(--fs-xl); color: var(--text-secondary); }
.community-list li strong { color: var(--text-primary); }
.community-list li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 980px) { .founder-two { grid-template-columns: 1fr; } }
