:root {
  --bg: #060b14;
  --panel: #0f1829;
  --ink: #edf3ff;
  --muted: #9ba8bf;
  --line: #22314e;
  --brand: #d9b865;
  --brand-strong: #cfa74a;
  --accent: #e8d191;
  --font-sans: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(900px 450px at 80% -10%, rgba(183, 146, 61, .18), transparent 60%),
    radial-gradient(700px 400px at 0% 20%, rgba(57, 92, 168, .18), transparent 55%),
    var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.quote p,
.step-title {
  font-family: var(--font-serif);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(6, 9, 15, .82);
  backdrop-filter: blur(12px);
  transition: background .2s ease, border-color .2s ease;
}

.nav.is-scrolled {
  background: rgba(6, 9, 15, .92);
  border-bottom-color: rgba(232, 209, 145, .16);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.brand img { width: 32px; height: 32px; display: block; }
.brand span { font-size: 1.05rem; letter-spacing: -0.01em; }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #c9d6ed;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}

.nav-links a:hover { color: #fff; }

.hero {
  padding: clamp(72px, 10vw, 110px) 0 clamp(44px, 6vw, 60px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.lead,
.section-lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-metrics {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, .02);
}

.hero-metrics strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-metrics span {
  color: var(--muted);
  font-size: .84rem;
}

.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}

.pipeline-visual {
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 0% 0%, rgba(72, 110, 196, .14), transparent 65%), rgba(8, 13, 22, .88);
  padding: 10px;
}

.pipeline-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.pipeline-shell {
  fill: rgba(18, 28, 46, .78);
  stroke: rgba(146, 175, 235, .24);
  stroke-width: 1;
}

.pipeline-track {
  fill: none;
  stroke: rgba(103, 127, 176, .35);
  stroke-width: 3;
}

.pipeline-flow {
  fill: none;
  stroke: url(#pipelineGlow);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 10 10;
  animation: flowPulse 5s linear infinite;
}

.pipeline-node { fill: #6a86c9; }
.pipeline-node-mid { fill: #d9b865; }
.pipeline-node-end { fill: #e8d191; }

.pipeline-leak {
  fill: none;
  stroke: #d9b865;
  stroke-opacity: .5;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
}

.pipeline-drip {
  fill: url(#leakDrop);
  animation: dripPulse 2.4s ease-in-out infinite;
}

.pipeline-caption {
  margin: 8px 0 0;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-card h3,
.card h3 {
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-card ul { margin: 0; padding-left: 18px; }
.hero-card li { margin: 0 0 6px; }
.hero-card li:last-child { margin-bottom: 0; }

.micro {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 14px;
}

.section {
  padding: clamp(48px, 7vw, 76px) 0;
}

.section h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-lead {
  margin-bottom: 24px;
}

.delivery-stepper {
  margin-top: 8px;
  display: grid;
  gap: 14px;
}

.delivery-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.delivery-rail::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 32px;
  border-top: 1px solid rgba(255,255,255,.16);
  z-index: 0;
}

.delivery-step {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  color: var(--ink);
  text-align: left;
  padding: 12px 14px 13px;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.delivery-step:hover {
  border-color: rgba(217, 184, 101, .5);
  transform: translateY(-1px);
}

.delivery-step.is-active {
  border-color: rgba(232, 209, 145, .64);
  background: linear-gradient(180deg, rgba(227, 194, 114, .16), rgba(255,255,255,.03));
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #f4e4ba;
  background: rgba(6, 11, 20, .9);
}

.delivery-step.is-active .step-index {
  border-color: rgba(232, 209, 145, .65);
  box-shadow: 0 0 0 3px rgba(232, 209, 145, .15);
}

.step-title {
  display: block;
  font-size: clamp(1.08rem, 1.55vw, 1.2rem);
  letter-spacing: -0.01em;
}

.step-meta {
  display: block;
  color: var(--muted);
  font-size: .84rem;
}

.delivery-panels {
  min-height: 250px;
}

.delivery-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 24px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.delivery-panel h3 {
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.delivery-panel p {
  margin: 0;
  color: var(--muted);
}

.delivery-points {
  margin: 14px 0 0;
  padding-left: 18px;
}

.delivery-points li {
  margin-bottom: 6px;
  color: #d8e5fb;
}

.delivery-points li:last-child {
  margin-bottom: 0;
}

.card p { color: var(--muted); margin: 0; }

.alt {
  border-block: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .015);
}

.split,
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(16px, 2.5vw, 26px);
  align-items: center;
}

.bullets {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.bullets li { margin-bottom: 8px; }
.bullets li:last-child { margin-bottom: 0; }

.proof-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(16px, 2.4vw, 22px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
}

.proof-card p {
  margin: 0;
  color: var(--muted);
}

.proof-segment {
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #cfdaf0;
  margin-bottom: 8px;
}

.proof-metric {
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #f6e2aa;
  font-weight: 700;
  margin-bottom: 8px;
}

.proof-footnote {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.quote p {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #dce9ff;
  line-height: 1.45;
}

.quote span { color: var(--muted); font-size: .9rem; }

.platform-teaser {
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.waitlist-form {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.waitlist-form input {
  flex: 1;
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 20, .8);
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.waitlist-form input::placeholder {
  color: #8f9db9;
}

.waitlist-form input:focus-visible {
  outline: 2px solid rgba(232, 209, 145, .42);
  outline-offset: 1px;
}

.waitlist-feedback {
  margin: 8px 0 0;
  font-size: .9rem;
  color: var(--muted);
}

.platform-mock {
  padding: 18px;
}

.mock-shell {
  border: 1px solid rgba(232, 209, 145, .24);
  border-radius: 14px;
  background: rgba(7, 11, 18, .85);
  overflow: hidden;
}

.mock-topbar {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid rgba(146, 175, 235, .2);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(218, 188, 109, .55);
}

.mock-layout {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 196px;
}

.mock-rail {
  border-right: 1px solid rgba(146, 175, 235, .18);
  background: linear-gradient(180deg, rgba(26, 38, 63, .62), rgba(13, 19, 31, .82));
}

.mock-content {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mock-stat,
.mock-chart,
.mock-table {
  border-radius: 10px;
  border: 1px solid rgba(146, 175, 235, .2);
  background: linear-gradient(105deg, rgba(66, 84, 124, .2), rgba(94, 117, 170, .05), rgba(66, 84, 124, .2));
  background-size: 220% 100%;
  animation: mockSweep 4s linear infinite;
}

.mock-stat { min-height: 44px; }
.mock-chart {
  grid-column: 1 / -1;
  min-height: 76px;
}
.mock-table {
  grid-column: 1 / -1;
  min-height: 56px;
}

.cta .cta-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 38px) clamp(16px, 3vw, 24px);
  border: 1px solid rgba(232, 209, 145, .22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 30, 50, .55), rgba(10, 15, 25, .35));
}

.cta-inner .section-kicker {
  margin-bottom: 10px;
}

.cta-inner p { color: var(--muted); margin: 0 auto; }

.btn {
  border: 0;
  border-radius: 11px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  color: #1a1406;
  background: linear-gradient(95deg, var(--brand), var(--brand-strong));
  box-shadow: 0 8px 24px rgba(199, 161, 80, .18);
  transition: transform .15s ease, filter .15s ease;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-sm {
  margin-left: auto;
  padding: 10px 13px;
  font-size: .9rem;
}

.btn-pill-nav {
  border-radius: 999px;
}

:is(a, button, .btn):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #c9d6ed;
  text-decoration: none;
  font-size: .9rem;
}

.footer-links a:hover {
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

@keyframes flowPulse {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes dripPulse {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@keyframes mockSweep {
  from { background-position: 0 0; }
  to { background-position: 220% 0; }
}

@media (max-width: 960px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    margin: 6px 0 0;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .brand img { width: 28px; height: 28px; }
  .brand span { font-size: .98rem; }
  .btn-sm { margin-left: auto; }

  .hero-grid,
  .split,
  .platform-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-rail {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }

  .delivery-step {
    min-height: 124px;
  }

  .delivery-rail::before {
    left: 24px;
    right: 24px;
  }
}

@media (max-width: 560px) {
  .brand span { font-size: .9rem; }
  h1 { max-width: none; }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form .btn {
    width: 100%;
    text-align: center;
  }

  .delivery-panel {
    min-height: 310px;
  }
}
