*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08080f;
  --bg-card: #0e0e1a;
  --bg-card-hover: #131326;
  --fg: #e8e4d9;
  --fg-muted: #8a8578;
  --accent: #8b5cf6;
  --accent-dim: rgba(139, 92, 246, 0.12);
  --accent-border: rgba(139, 92, 246, 0.3);
  --cream: #f5f0e6;
  --border: rgba(255,255,255,0.06);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--cream);
}
.nav-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 5px 10px;
  border-radius: 4px;
}

/* SECTIONS */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-header {
  margin-bottom: 56px;
}
.section-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--cream);
  max-width: 600px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 6px 12px;
  border-radius: 4px;
}
.hero-headline {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--cream);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.frame-stack {
  display: flex;
  gap: 16px;
  align-items: end;
}
.frame-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  width: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease;
}
.frame-card:hover {
  transform: translateY(-8px);
}
.frame-card-1 { height: 140px; }
.frame-card-2 { height: 180px; }
.frame-card-3 { height: 220px; }
.frame-card-4 { height: 260px; border-color: var(--accent-border); background: var(--accent-dim); }
.card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.card-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0.4;
  width: 100%;
}
.bar-1 { width: 70%; opacity: 0.25; }
.bar-2 { width: 85%; opacity: 0.35; }
.bar-3 { width: 100%; opacity: 0.5; }
.bar-4 { width: 100%; opacity: 1; }

/* PIPELINE */
.pipeline {
  padding: 120px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.step {
  padding: 40px 32px;
  position: relative;
}
.step::after {
  content: '';
  position: absolute;
  right: 0;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--border);
}
.step:last-child::after { display: none; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.step-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* FEATURES */
.features {
  padding: 120px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--bg-card-hover);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-size: 16px;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.feature-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* DIFFERENCE */
.difference {
  padding: 120px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compare-table {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 48px;
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}
.compare-head {
  background: rgba(139,92,246,0.08);
  border-bottom: 1px solid var(--border);
}
.compare-head .compare-col {
  padding: 20px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.4;
}
.compare-head .compare-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--fg-muted);
  display: block;
  margin-top: 2px;
}
.compare-col-label {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--fg-muted);
}
.compare-row .compare-col {
  padding: 16px 24px;
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.compare-col-storyframe {
  background: rgba(139,92,246,0.05);
  color: var(--cream);
  font-weight: 500;
}
.compare-no, .compare-yes {
  font-size: 20px;
}
.compare-no { color: rgba(255,255,255,0.15); }
.compare-yes { color: var(--accent); }
.compare-cta {
  font-size: 16px;
  color: var(--fg-muted);
  text-align: center;
}

/* CLOSING */
.closing {
  padding: 140px 0;
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.closing-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--cream);
  margin-bottom: 24px;
}
.closing-meta {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* FOOTER */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 6px;
}
.footer-legal span {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* MOBILE */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-start; }
  .frame-card { width: 80px; }
  .frame-card-1 { height: 100px; }
  .frame-card-2 { height: 130px; }
  .frame-card-3 { height: 160px; }
  .frame-card-4 { height: 190px; }
  .pipeline-steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .compare-head, .compare-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .compare-head .compare-col, .compare-row .compare-col { padding: 14px 16px; font-size: 12px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .section-inner { padding: 0 20px; }
  .pipeline, .features, .difference, .closing { padding: 80px 0; }
  .section-header { margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .compare-head, .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-col-label { display: none; }
  .compare-row .compare-col:first-child { display: none; }
  .frame-stack { gap: 10px; }
  .frame-card { width: 68px; padding: 14px 10px; }
}