/* ===========================
   Coldstart — Design System v5
   Space Grotesk (headings/display) + Inter (body)
   =========================== */

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #101828;
  --bg-tertiary: #1a2540;
  --bg-panel: #0d1424;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;

  --text-white: #f8fafc;
  --text-dark: #0f172a;
  --text-ink-dark: #0a0e1a;
  --text-muted-light: #94a3b8;
  --text-muted-dark: #64748b;
  --text-body-dark: #475569;
  --text-body-light: #cbd5e1;

  --accent: #0ea5e9;
  --accent-2: #22d3ee;
  --accent-light: #38bdf8;
  --accent-dark: #0284c7;
  --accent-deep: #0369a1;
  --accent-tint: #e0f2fe;
  --accent-glow: rgba(14, 165, 233, 0.15);

  --accent-gradient: linear-gradient(135deg, #0ea5e9, #22d3ee);
  --accent-gradient-hover: linear-gradient(135deg, #38bdf8, #0ea5e9);

  --line: #1e293b;
  --line-light: #e2e8f0;
  --line-strong: #3b4d6b;
  --border-dark: rgba(148, 163, 184, 0.1);
  --border-light: rgba(15, 23, 42, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(14, 165, 233, 0.06);
  --shadow-lg: 0 12px 40px rgba(14, 165, 233, 0.08);
  --shadow-accent: 0 4px 20px rgba(14, 165, 233, 0.18);
  --shadow-panel: 0 28px 70px -14px rgba(0, 0, 0, 0.6);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-primary);
  overflow-x: hidden;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.625rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.125rem);
  line-height: 1.12;
  letter-spacing: -0.024em;
}
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }

.text-lg { font-size: 1.175rem; line-height: 1.7; }
.text-center { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--accent);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}
.section-dark {
  background: linear-gradient(180deg, #0a0e1a 0%, #0f172a 100%);
  color: var(--text-white);
}
.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}
.section-light .label { color: var(--accent-dark); }
.section-dark .label { color: var(--accent-2); }

/* Shared section header */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sec-head h2 { max-width: 900px; }
.sec-sub {
  max-width: 780px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body-dark);
}
.section-dark .sec-sub,
.sec-sub-light {
  color: var(--text-muted-light);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; border-radius: 9px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-ink-dark);
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.2);
  border: none;
}
.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 4px 24px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(14, 165, 233, 0.06);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(14, 165, 233, 0.04);
}

/* ===========================
   Navigation
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: padding var(--transition), background var(--transition);
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.97);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo-icon { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted-light);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text-white); }
.nav-links-cta { display: none; }
.nav-login {
  opacity: 0.62;
  transition: opacity var(--transition);
}
.nav-login:hover { opacity: 1; }
.nav-cta {
  color: var(--text-ink-dark) !important;
  padding: 11px 24px;
  font-size: 0.9375rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--text-white);
  padding: clamp(132px, 15vw, 196px) 0 clamp(80px, 11vw, 150px);
}
.hero-glow,
.hero-glow-secondary {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  top: -160px;
  left: 24%;
  width: 900px;
  height: 760px;
  background: radial-gradient(ellipse closest-side, rgba(14, 165, 233, 0.13) 0%, rgba(59, 130, 246, 0.05) 38%, transparent 68%);
}
.hero-glow-secondary {
  top: 380px;
  left: -140px;
  width: 640px;
  height: 520px;
  background: radial-gradient(ellipse closest-side, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
/* 13.5em tracks the design's 1000px measure at its 74px display size. */
.hero-content h1 { max-width: 13.5em; }
.hero-sub {
  max-width: 760px;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-muted-light);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-note {
  font-size: 0.90625rem;
  color: var(--text-muted-dark);
}

/* ===========================
   Proof Strip
   =========================== */
.proof {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  color: var(--text-white);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.proof-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
}
.proof-label {
  font-size: 0.84375rem;
  line-height: 1.45;
  color: var(--text-muted-light);
  max-width: 260px;
}

/* ===========================
   Problem
   =========================== */
.problem-inner {
  display: flex;
  flex-direction: column;
  gap: 66px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.problem-card + .problem-card {
  border-left: 1px solid var(--line-light);
  padding-left: 44px;
}
.problem-card svg {
  width: 26px;
  height: 26px;
  color: var(--accent-dark);
}
.problem-card h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-ink-dark);
}
.problem-card p {
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--text-body-dark);
}

/* ===========================
   What We Build
   =========================== */
.build-inner {
  display: grid;
  grid-template-columns: 520fr 600fr;
  gap: 80px;
  align-items: center;
}
.build-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.build-copy h2 { font-size: clamp(1.875rem, 3.4vw, 2.875rem); }
.build-copy > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted-light);
}
.capabilities {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.capability {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96875rem;
  line-height: 1.5;
  color: var(--text-body-light);
}
.capability svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-2);
}

/* OS mockup */
.os-mockup {
  background: #080c16;
  border: 1px solid #22304a;
  border-radius: 14px;
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.os-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--bg-panel);
  border-bottom: 1px solid #1c2942;
}
.os-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.os-dot-1 { background: #f87171; }
.os-dot-2 { background: #fbbf24; }
.os-dot-3 { background: #34d399; }
.os-url {
  margin-left: auto;
  font-size: 0.71875rem;
  color: var(--text-muted-dark);
}
.os-body {
  display: flex;
  min-height: 373px;
}
.os-sidebar {
  width: 158px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 12px;
  background: #0b1120;
  border-right: 1px solid #1c2942;
}
.os-brand {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 11px;
}
.os-navitem {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 0.78125rem;
  color: var(--text-muted-light);
}
.os-navitem svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-muted-dark);
}
.os-navitem-active {
  background: rgba(14, 165, 233, 0.15);
  color: var(--text-white);
  font-weight: 600;
}
.os-navitem-active svg { color: var(--accent-2); }
.os-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}
.os-greeting {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-white);
}
.os-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.os-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 13px;
  background: #0f1a2e;
  border: 1px solid #1e2b45;
  border-radius: 8px;
}
.os-kpi-value {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}
.os-kpi-label {
  font-size: 0.6875rem;
  color: var(--text-muted-light);
}
.os-agent {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
  background: #0f1a2e;
  border: 1px solid #22304a;
  border-radius: 10px;
}
.os-agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-2);
}
.os-agent-head svg { width: 14px; height: 14px; }
.os-agent-q {
  padding: 10px 12px;
  background: #16243c;
  border-radius: 8px;
  font-size: 0.78125rem;
  line-height: 1.5;
  color: #e2e8f0;
}
.os-agent-a {
  font-size: 0.78125rem;
  line-height: 1.55;
  color: var(--text-body-light);
}
.os-trace {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #22304a;
}
.os-trace-label {
  font-family: var(--font-display);
  font-size: 0.59375rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted-dark);
}
.os-trace-step {
  display: flex;
  gap: 7px;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #8ba0bd;
}
.os-trace-step span { color: var(--text-body-dark); flex-shrink: 0; }

/* ===========================
   How It Works
   =========================== */
.steps-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.step {
  display: grid;
  grid-template-columns: 46px 1fr 230px;
  gap: 34px;
  padding: 30px 0;
  border-top: 1px solid var(--line-light);
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent-dark);
}
.step-copy {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.step-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.step-title-row h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.8125rem);
  letter-spacing: -0.017em;
  color: var(--text-ink-dark);
}
.step-duration {
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--accent-tint);
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}
.step-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body-dark);
}
.step-price {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}
.step-price-value {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-ink-dark);
}
.step-price-label {
  font-size: 0.78125rem;
  color: var(--text-muted-dark);
}

/* ===========================
   Ownership
   =========================== */
.ownership {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--text-white);
}
.ownership-glow {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 820px;
  height: 700px;
  background: radial-gradient(ellipse closest-side, rgba(14, 165, 233, 0.12) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.ownership .container { position: relative; z-index: 1; }
.ownership-inner {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.ownership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ownership-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 32px;
}
.ownership-card + .ownership-card {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.ownership-card svg {
  width: 22px;
  height: 22px;
  color: var(--accent-2);
}
.ownership-card h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ownership-card p {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--text-muted-light);
}

/* ===========================
   Pricing
   =========================== */
.pricing-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 32px;
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: 14px;
}
.price-card-featured {
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  color: var(--text-white);
}
.price-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-tier {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.price-card-featured .price-tier { color: var(--accent-2); }
.price-amount {
  display: flex;
  align-items: flex-end;
  gap: 17px;
  flex-wrap: wrap;
}
.price-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.033em;
  line-height: 1;
  color: var(--text-ink-dark);
}
.price-card-featured .price-big { color: var(--text-white); }
.price-suffix {
  font-size: 0.9375rem;
  color: var(--text-muted-dark);
  padding-bottom: 2px;
}
.price-card-featured .price-suffix { color: var(--text-muted-light); }
.price-note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted-dark);
}
.price-card-featured .price-note { color: var(--text-muted-light); }
.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}
.price-card-featured .price-features { border-top-color: var(--line); }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.90625rem;
  line-height: 1.5;
  color: #334155;
}
.price-card-featured .price-features li { color: var(--text-body-light); }
.price-features svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-dark);
}
.price-card-featured .price-features svg { color: var(--accent-2); }

/* ===========================
   Results
   =========================== */
.results {
  background: linear-gradient(135deg, #0a0e1a 0%, #0c1929 50%, #0a0e1a 100%);
  color: var(--text-white);
}
.results-inner {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: rgba(13, 20, 36, 0.7);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.result-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.result-tag {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted-dark);
}
.result-stat {
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(14, 165, 233, 0.12);
  font-family: var(--font-display);
  font-size: 0.71875rem;
  font-weight: 600;
  color: var(--accent-2);
  white-space: nowrap;
}
.result-card h3 {
  font-size: 1.375rem;
  line-height: 1.28;
  letter-spacing: -0.018em;
}
.result-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted-light);
}
.pull-quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 34px;
  border-left: 3px solid var(--accent);
}
.pull-quote blockquote {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 1.8125rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.017em;
  color: #e2e8f0;
}
.pull-quote-attr {
  max-width: 820px;
  font-size: 0.96875rem;
  line-height: 1.7;
  color: var(--text-muted-light);
}

/* ===========================
   FAQ
   =========================== */
.faq-inner {
  display: flex;
  flex-direction: column;
  gap: 54px;
}
.faq-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 64px;
}
.faq-item {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.faq-item h3 {
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text-ink-dark);
}
.faq-item p {
  font-size: 0.96875rem;
  line-height: 1.7;
  color: var(--text-body-dark);
}
.section-dark .faq-item h3 { color: var(--text-white); }
.section-dark .faq-item p { color: var(--text-body-light); }

/* ===========================
   Final CTA
   =========================== */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--text-white);
}
.final-cta-glow {
  position: absolute;
  top: -190px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 660px;
  background: radial-gradient(ellipse closest-side, rgba(14, 165, 233, 0.15) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.final-cta-inner h2 {
  max-width: 900px;
  font-size: clamp(2.125rem, 4.2vw, 3.375rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.final-cta-sub {
  max-width: 680px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted-light);
}
.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.final-cta-note {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
}

/* Intake agent block */
.intake-block {
  width: 100%;
  max-width: 560px;
  margin-top: 30px;
  padding: 26px;
  background: rgba(13, 20, 36, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}
.intake-block-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.intake-block-head h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.0625rem;
}
.intake-block-head h3 svg {
  width: 17px;
  height: 17px;
  color: var(--accent-2);
}
.intake-block-head p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted-light);
}

/* ===========================
   Chat Widget
   =========================== */
.chat-widget {
  display: flex;
  flex-direction: column;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 22, 0.6);
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.15) transparent;
}
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.15);
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  max-width: 88%;
  animation: chatFadeIn 0.25s ease;
}
.chat-msg-user { justify-content: flex-end; align-self: flex-end; }
.chat-msg-assistant { justify-content: flex-start; align-self: flex-start; }
.chat-msg-system { justify-content: center; align-self: center; max-width: 100%; }

.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg-user .chat-msg-bubble {
  background: var(--accent-gradient);
  color: var(--text-ink-dark);
  border-bottom-right-radius: 3px;
}
.chat-msg-assistant .chat-msg-bubble {
  background: #16243c;
  color: var(--text-white);
  border: 1px solid #22304a;
  border-bottom-left-radius: 3px;
}
.chat-msg-assistant .chat-msg-bubble strong {
  color: var(--accent-2);
  font-weight: 600;
}
.chat-msg-system .chat-msg-bubble {
  background: transparent;
  color: var(--text-muted-light);
  font-size: 0.8125rem;
  text-align: center;
}

/* Typing indicator */
.chat-typing {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px 16px 8px;
}
.chat-typing.active { display: flex; }
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted-light);
  opacity: 0.4;
  animation: chatBounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 0.9; }
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Input form */
.chat-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: rgba(15, 26, 46, 0.6);
}
.chat-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #22304a;
  border-radius: var(--radius-sm);
  background: rgba(22, 36, 60, 0.7);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.chat-input::placeholder {
  color: var(--text-muted-light);
  opacity: 0.5;
}
.chat-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.chat-input:disabled { opacity: 0.5; }

.chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: var(--text-ink-dark);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}
.chat-send:hover:not(:disabled) {
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.3);
  transform: translateY(-1px);
}
.chat-send:disabled { opacity: 0.4; cursor: default; }

/* Completion state */
.chat-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.chat-complete p {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  line-height: 1.5;
}

/* Floating bubble */
.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--text-ink-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
  transition: all var(--transition);
}
.chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.45);
}
.chat-bubble-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* ===========================
   Sticky CTA Bar
   =========================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-bar.visible {
  transform: translateY(0);
}
.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-bar-text {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-white);
}
.sticky-bar-actions {
  display: flex;
  gap: 12px;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: #080b14;
  border-top: 1px solid var(--line);
  padding: 52px 0 34px;
  color: var(--text-muted-light);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.footer-brand .nav-logo { font-size: 1.25rem; }
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted-light);
}
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-white); }
.footer-crm-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid #2b3a54;
  border-radius: 7px;
  color: var(--text-body-light) !important;
  font-weight: 500;
}
.footer-crm-login svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted-light);
}
.footer-crm-login:hover {
  border-color: var(--accent);
  color: var(--text-white) !important;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}
.footer-bottom a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.proof-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.proof-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.proof-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.problem-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.problem-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.ownership-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.ownership-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.ownership-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.pricing-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.results-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.results-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.steps .reveal:nth-child(2) { transition-delay: 0.12s; }
.steps .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ===========================
   Mobile Navigation Overlay
   =========================== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 32px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 1.0625rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-white);
  }
  .nav-login { opacity: 1; }
  .nav-links .nav-links-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 14px 24px;
    background: var(--accent-gradient);
    color: var(--text-ink-dark) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border-bottom: none;
  }
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1080px) {
  .build-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .build-copy { max-width: 640px; }
  .ownership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }
  .ownership-card:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .ownership-card:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 32px;
  }
  .pricing-grid { gap: 20px; }
}

@media (max-width: 900px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .problem-card + .problem-card {
    border-left: none;
    padding-left: 0;
    padding-top: 36px;
    border-top: 1px solid var(--line-light);
  }
  .step {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }
  .step-price {
    grid-column: 2;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .results-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .faq-columns {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .hero-ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .final-cta-buttons { width: 100%; flex-direction: column; align-items: stretch; }
  .final-cta-buttons .btn { width: 100%; }
  .section { padding: clamp(56px, 8vw, 80px) 0; }
  .container { padding: 0 20px; }
  .proof-grid { grid-template-columns: 1fr; gap: 22px; }
  .os-body { flex-direction: column; min-height: 0; }
  .os-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #1c2942;
  }
  .os-brand { margin-bottom: 0; white-space: nowrap; }
  .os-navitem { white-space: nowrap; }
  .os-main { padding: 14px; gap: 12px; }
  .os-kpi { padding: 10px; }
  .os-kpi-value { font-size: 0.9375rem; }
  .os-kpi-label { font-size: 0.625rem; }
  .pull-quote { padding-left: 22px; }
  .price-card { padding: 28px 24px; }
  .result-card { padding: 24px; }
  .intake-block { padding: 20px; }
  .footer-links { gap: 14px 24px; }
  .sticky-bar-text { display: none; }
  .sticky-bar-inner { justify-content: center; }
  .sticky-bar-actions { width: 100%; }
  .sticky-bar-actions .btn { flex: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================
   Coldstart DevOps — orange sub-brand
   =========================== */

/* Orange accent overrides, scoped to the DevOps page.
   Almost every component reads var(--accent*), so re-pointing these
   flips the whole page to orange without touching component rules. */
.devops-page {
  --accent: #f97316;
  --accent-2: #fb923c;
  --accent-light: #fdba74;
  --accent-dark: #ea580c;
  --accent-deep: #c2410c;
  --accent-tint: #ffedd5;
  --accent-glow: rgba(249, 115, 22, 0.15);
  --accent-gradient: linear-gradient(135deg, #f97316, #fb923c);
  --accent-gradient-hover: linear-gradient(135deg, #fb923c, #f97316);
}
.devops-page .btn-primary { color: #0a0e1a; box-shadow: 0 2px 12px rgba(249, 115, 22, 0.25); }
.devops-page .btn-primary:hover { box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4); }
.devops-page .btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(249, 115, 22, 0.08); }
.devops-page .btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); background: rgba(249, 115, 22, 0.05); }
.devops-page .price-card-featured:focus-within,
.devops-page .chat-input:focus { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14); }
.devops-page .gradient-text {
  background: linear-gradient(135deg, #fdba74, #f97316, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* Ambient glows → orange */
.devops-page .hero-glow { background: radial-gradient(ellipse closest-side, rgba(249, 115, 22, 0.14) 0%, rgba(234, 88, 12, 0.05) 38%, transparent 68%); }
.devops-page .hero-glow-secondary { background: radial-gradient(ellipse closest-side, rgba(251, 146, 60, 0.09) 0%, transparent 60%); }
.devops-page .ownership-glow { background: radial-gradient(ellipse closest-side, rgba(249, 115, 22, 0.13) 0%, transparent 66%); }
.devops-page .final-cta-glow { background: radial-gradient(ellipse closest-side, rgba(249, 115, 22, 0.16) 0%, transparent 66%); }

/* The word "devops" — orange wherever it appears */
.devops-word {
  background: linear-gradient(135deg, #fb923c, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Gear icon + optional slow spin on hover */
.devops-gear { color: #f97316; flex-shrink: 0; }
@keyframes devops-spin { to { transform: rotate(360deg); } }
.devops-gear-spin { transform-origin: 50% 50%; transition: transform var(--transition); }
a:hover > .devops-gear-spin,
.devops-hero-badge:hover .devops-gear-spin { animation: devops-spin 4.5s linear infinite; }

/* Orange nav link that points at /devops/ from any page */
.nav-devops { display: inline-flex; align-items: center; gap: 6px; color: #fb923c !important; font-weight: 600 !important; }
.nav-devops:hover { color: #fdba74 !important; }

/* Hero badge (devops page) */
.devops-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.32);
  background: rgba(249, 115, 22, 0.09);
  color: #fdba74;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

/* Terminal-style illustration on the devops page */
.devops-terminal {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #080c16;
  border: 1px solid #22304a;
  box-shadow: var(--shadow-panel);
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
}
.devops-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #0b1120; border-bottom: 1px solid #1c2942; }
.devops-term-bar .os-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.devops-term-title { margin-left: 10px; font-size: 0.8125rem; color: #8ba0bd; }
.devops-term-body { padding: 18px 20px; font-size: 0.84rem; line-height: 1.85; color: #cbd5e1; }
.devops-term-body .l { display: block; white-space: pre-wrap; }
.devops-term-body .t { color: #64748b; }
.devops-term-body .tag-alert { color: #fca5a5; }
.devops-term-body .tag-act { color: #fdba74; font-weight: 600; }
.devops-term-body .tag-ok { color: #6ee7b7; }
.devops-term-body .cmd { color: #e2e8f0; }
.devops-term-cursor { display: inline-block; width: 8px; height: 15px; background: #f97316; vertical-align: -2px; animation: devops-blink 1.1s step-end infinite; }
@keyframes devops-blink { 50% { opacity: 0; } }

/* ---- Homepage teaser ---- */
.devops-teaser-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 44px;
  padding: 46px 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #15100a 0%, #1b1206 100%);
  border: 1px solid rgba(249, 115, 22, 0.22);
}
.devops-teaser-glow {
  position: absolute;
  top: -45%;
  right: -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(ellipse closest-side, rgba(249, 115, 22, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.devops-teaser-copy { position: relative; max-width: 640px; }
.devops-teaser-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fb923c;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.devops-teaser-copy h2 { color: var(--text-white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.devops-teaser-copy p { color: var(--text-body-light); margin-bottom: 24px; font-size: 1.0625rem; }
.devops-teaser .btn {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #0a0e1a;
  box-shadow: 0 2px 14px rgba(249, 115, 22, 0.28);
  border: none;
}
.devops-teaser .btn:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
  box-shadow: 0 6px 26px rgba(249, 115, 22, 0.42);
  transform: translateY(-1px);
}
.devops-teaser-icon { position: relative; color: #f97316; opacity: 0.92; }
@media (max-width: 820px) {
  .devops-teaser-card { grid-template-columns: 1fr; padding: 34px 26px; gap: 26px; }
  .devops-teaser-icon { display: none; }
}

/* ---- Marketing video player ---- */
.devops-video {
  position: relative;
  max-width: 960px;
  margin: 48px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #080c16;
  border: 1px solid rgba(249, 115, 22, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(249, 115, 22, 0.06);
}
.devops-video::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(249, 115, 22, 0.08);
}
.devops-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080c16;
}
@media (max-width: 640px) {
  .devops-video { margin-top: 32px; }
}

/* ===========================
   MCP scoping worksheet page
   =========================== */
.worksheet-preview {
  display: block;
  justify-self: center;
  max-width: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-panel), 0 0 0 1px rgba(14, 165, 233, 0.25);
  transform: rotate(1.5deg);
  transition: transform var(--transition);
}
.worksheet-preview:hover { transform: rotate(0deg) translateY(-4px); }
.worksheet-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.worksheet-page .hero .build-inner { grid-template-columns: 1.35fr 0.85fr; gap: 64px; }
.worksheet-page .hero-content h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); max-width: none; }
.worksheet-page #inside { border-top: 1px solid var(--line-light); }
@media (max-width: 1080px) {
  .worksheet-page .hero .build-inner { grid-template-columns: 1fr; gap: 48px; }
  .worksheet-preview { max-width: 360px; transform: none; }
}
