/* ── Design tokens ─────────────────────────────── */
:root {
  --bg: #0d0c0a;
  --bg-elev: #16140f;
  --bg-card: #1a1813;
  --fg: #f5f1ea;
  --fg-muted: #a39d92;
  --fg-dim: #6b6258;
  --line: #2a2620;
  --line-soft: #221f19;
  --accent: oklch(0.78 0.14 60);
  --accent-deep: oklch(0.62 0.16 50);
  --accent-soft: oklch(0.78 0.14 60 / 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --max: 1540px;
  --gutter: 32px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 50px rgba(0,0,0,0.4);
}

[data-theme="light"] {
  --bg: #faf7f2; --bg-elev: #f2ede4; --bg-card: #ffffff;
  --fg: #1a1813; --fg-muted: #6b6258; --fg-dim: #9a9082;
  --line: #e6dfd3; --line-soft: #efe9dd;
  --accent: oklch(0.62 0.16 50); --accent-deep: oklch(0.52 0.16 45);
  --accent-soft: oklch(0.62 0.16 50 / 0.10);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.7) inset, 0 20px 50px rgba(80,60,30,0.08);
}

[data-theme="violet"] {
  --bg: #0a0a14; --bg-elev: #11101e; --bg-card: #161427;
  --fg: #f0efff; --fg-muted: #9b98c2; --fg-dim: #5e5c80;
  --line: #221f3a; --line-soft: #1a182e;
  --accent: oklch(0.72 0.20 290); --accent-deep: oklch(0.58 0.22 290);
  --accent-soft: oklch(0.72 0.20 290 / 0.16);
}

/* ── Reset & base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  letter-spacing: -0.02em; margin: 0; text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Utility ──────────────────────────────────── */
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-muted);
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
  font-size: 14px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #1a1813; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg-muted); background: var(--bg-elev); }
.btn:hover { transform: translateY(-1px) scale(1.02); }
.btn:active { transform: translateY(1px) scale(0.98); }

/* ── Eyebrow ──────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg-elev);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}

/* ── Fade-up animation ────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10,10,20,0.8);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); max-width: var(--max); margin: 0 auto;
}
.logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo img {
  height: 40px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--fg-muted); transition: color 0.15s, transform 0.2s ease; }
.nav-links a:hover { color: var(--fg); transform: translateY(-1px); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── Hero ─────────────────────────────────────── */
.hero { padding: 80px 0 60px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
  opacity: 0.5; pointer-events: none;
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;

  gap: 56px;
  align-items: center;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(34px, 5vw, 50px); line-height: 1.2;
  letter-spacing: 0em; margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, oklch(0.82 0.18 310) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: bold; font-weight: 900;
}
.hero-sub { font-size: 19px; color: var(--fg-muted); margin: 0 0 32px; line-height: 1.55; }
.hero-trust {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 13px; color: var(--fg-muted); flex-wrap: wrap;
}
.hero-trust .check { color: var(--accent); }

/* ── Dashboard mock ───────────────────────────── */
.dash-frame {
  position: relative;  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dash-frame:hover { transform: translateY(-6px); box-shadow: 0 32px 80px rgba(0,0,0,0.22); }
.dash-chrome {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-elev);
}
.dash-chrome .dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-chrome .url {
  flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--fg-dim); background: var(--bg); padding: 4px 10px;
  border-radius: 6px; margin: 0 12px; border: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px;
}

.dash-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.35s ease;
}
.dash-side {
  border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--line-soft); padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.dash-side-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 8px;
  border-radius: 6px; font-size: 12px; color: var(--fg-muted);
}
.dash-side-item.active { background: var(--accent-soft); color: var(--fg); }
.dash-side-item .ico { width: 14px; height: 14px; border-radius: 3px; background: currentColor; opacity: 0.4; flex-shrink: 0; }
.dash-side-item.active .ico { opacity: 1; background: var(--accent); }
.dash-canvas {
  border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--line-soft); padding: 16px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.dash-prompt {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--fg);
  flex-shrink: 0;
}
.dash-prompt .caret {
  display: inline-block; width: 7px; height: 14px;
  background: var(--accent); animation: blink 1s steps(2) infinite; vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }
.dash-preview {
  flex: 1; background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px; display: flex; flex-direction: column;
  gap: 10px; overflow: hidden; min-height: 0;
}
.skel {
  background: var(--line); border-radius: 4px; height: 8px;
  opacity: 0.6; animation: skel-fade 0.4s ease-out forwards; transform-origin: left;
}
@keyframes skel-fade { from { opacity: 0; transform: scaleX(0.3); } to { opacity: 0.6; transform: scaleX(1); } }
.skel.tall { height: 60px; border-radius: 8px; opacity: 0.4; }
.skel.btn-skel { width: 80px; height: 22px; border-radius: 999px; background: var(--accent); opacity: 0.9; }
.skel.title { height: 18px; opacity: 0.85; background: var(--fg); }
.skel.h2 { height: 12px; opacity: 0.5; background: var(--fg); }
.dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dash-card-mini {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 6px; padding: 8px; height: 36px;
}

/* ── Proof bar ────────────────────────────────── */
.proof {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 36px 0; background: var(--bg-elev);
}
.proof-label {
  text-align: center; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-dim); margin-bottom: 24px;
}
.proof-row { display: flex; justify-content: center; align-items: center; gap: 38px; flex-wrap: wrap; }
.partner-logo {
  height: 40px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s;
  filter: brightness(0) invert(1);
}
.proof-row .partner-logo { transition: opacity 0.2s, transform 0.25s ease; }
.partner-logo:hover {
  opacity: 1;
}

.proof-row .partner-logo:hover { transform: translateY(-4px) scale(1.05); opacity: 1; }
.wordmark {
  font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; color: var(--fg-muted); opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.wordmark:hover { color: var(--fg); opacity: 1; }
.wordmark .lc { text-transform: lowercase; font-style: italic; font-weight: 600; }

/* ── Features ─────────────────────────────────── */
.features-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: end; margin-bottom: 48px;
}
@media (max-width: 860px) { .features-head { grid-template-columns: 1fr; } }
.section-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.section-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.55; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.2s, transform 0.2s; min-height: 280px;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.18); }
.feature-icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--accent-soft);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent);
}
.feature-card h3 { font-size: 19px; letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; flex: 1; }
.feature-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim);
}

/* ── Deep dive ────────────────────────────────── */
.deepdive {
  background: var(--bg-elev);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.deepdive-tabs {
  display: flex; gap: 8px; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; background: var(--bg);
  width: fit-content; margin: 0 auto 32px; flex-wrap: wrap;
}
.deepdive-tab {
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--fg-muted); cursor: pointer;
  transition: background 0.2s, color 0.2s; border: none;
  background: transparent; font-family: inherit;
}
.deepdive-tab.active { background: var(--accent); color: #1a1813; }
.deepdive-panel {
  display: none; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center;
}
.deepdive-panel.active { display: grid; }
@media (max-width: 960px) { .deepdive-panel.active { grid-template-columns: 1fr; } }
.deepdive-panel h3 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.deepdive-panel p { color: var(--fg-muted); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.deepdive-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;
}
.deepdive-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--fg); }
.deepdive-list .check {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-top: 2px; font-size: 11px;
}
.dd-visual {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-card); padding: 24px; min-height: 320px;
  overflow: hidden; box-shadow: var(--shadow-card);
}

/* ── Chart visual ─────────────────────────────── */
.chart-card { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.chart-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; }
.chart-title { font-size: 13px; color: var(--fg-muted); margin-bottom: 4px; }
.chart-value { font-family: 'Inter Tight', sans-serif; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.chart-delta {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
  border-radius: 999px; font-size: 11px; font-weight: 600;
  background: oklch(0.78 0.14 150 / 0.15); color: oklch(0.78 0.14 150);
  font-family: 'JetBrains Mono', monospace;
}
.chart-svg { width: 100%; height: 160px; display: block; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; color: var(--fg-muted); flex-wrap: wrap; }
.chart-legend .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* ── Template grid visual ─────────────────────── */
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tpl-cell {
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  padding: 12px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.2s, transform 0.2s; cursor: pointer;
}
.tpl-cell:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.tpl-thumb {
  flex: 1; border-radius: 6px; background: linear-gradient(135deg, var(--bg-elev), var(--bg-card));
  display: flex; flex-direction: column; gap: 4px; padding: 8px; min-height: 70px;
}
.tpl-thumb .tt-bar { height: 4px; background: var(--line); border-radius: 2px; }
.tpl-thumb .tt-bar.lg { height: 14px; background: var(--fg); opacity: 0.7; }
.tpl-thumb .tt-bar.acc { background: var(--accent); width: 50%; height: 6px; }
.tpl-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-muted); }
.tpl-meta .name { color: var(--fg); font-weight: 500; }

/* ── Steps visual ─────────────────────────────── */
.steps-vis { display: flex; flex-direction: column; gap: 12px; }
.step-row {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center;
  gap: 14px; padding: 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg);
  transition: border-color 0.3s, background 0.3s;
  transition: border-color 0.3s, background 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}
.step-row.active { border-color: var(--accent); background: var(--accent-soft); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-elev);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--fg-muted);
}
.step-row.active .step-num { background: var(--accent); color: #1a1813; border-color: var(--accent); }
.step-name { font-size: 14px; font-weight: 500; }
.step-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-dim); }

/* ── Stats ────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 32px 28px; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.stat:hover { transform: translateY(-3px); background: rgba(255,255,255,0.02); }
.stat:nth-child(4n) { border-right: none; }
@media (max-width: 860px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}
.stat-num {
  font-family: 'Inter Tight', sans-serif; font-size: clamp(40px, 5vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
}
.stat-num .unit { font-size: 0.55em; color: var(--fg-muted); margin-left: 4px; }
.stat-label { font-size: 13px; color: var(--fg-muted); }

/* ── FAQ ──────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item { transition: background 0.25s ease, border-color 0.25s ease; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 24px; font-weight: 500; cursor: pointer;
  font-family: 'Inter Tight', sans-serif; letter-spacing: -0.01em; color: var(--fg);
  background: none; border: none; width: 100%; text-align: left;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0; margin-left: 16px;
  transition: transform 0.3s, background 0.2s; color: var(--fg-muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #1a1813; border-color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  color: var(--fg-muted); font-size: 18px; line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ── Final CTA ────────────────────────────────── */
.final-cta {
  text-align: center; padding: 120px 32px; border: 1px solid var(--line);
  border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-soft) 0%, transparent 60%), var(--bg-card);
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 80%);
  opacity: 0.5; pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 { font-size: clamp(40px, 6vw, 60px); line-height: 1.05; margin-bottom: 20px; }
.final-cta .sub { font-size: 18px; color: var(--fg-muted); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────── */
.footer { border-top: 1px solid var(--line-soft); padding: 64px 0 32px; margin-top: 64px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 48px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: 12px; font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-dim); margin-bottom: 16px; font-weight: 500;
}
.footer-col a {
  display: block; padding: 6px 0; font-size: 14px;
  color: var(--fg-muted); transition: color 0.15s, transform 0.2s ease;
}
.footer-col a:hover { color: var(--fg); }
.footer-col a:hover { transform: translateX(2px); }
.footer-col a:hover { transform: translateX(2px); }
.footer-tag { font-size: 14px; color: var(--fg-muted); max-width: 280px; margin-top: 12px; line-height: 1.5; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--fg-dim);
  flex-wrap: wrap; gap: 8px;
}


/* ── Conversion Stats Section ─────────────────── */
.cs-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 4rem 0rem 4rem 0rem;
}
.cs-hero-title {
  font-size: clamp(36px, 5.5vw, 68px); line-height: 1.05;
  letter-spacing: -0.035em; text-align: center;
  max-width: 900px; margin: 0 auto 64px;
}
.cs-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 56px; align-items: center;
}
@media (max-width: 900px) { .cs-grid { grid-template-columns: 1fr; gap: 40px; display: block;} }

/* Left column */
.cs-left { display: flex; flex-direction: column; gap: 24px; }
.cs-left h3 { font-size: clamp(26px, 3.5vw, 42px); line-height: 1.1; letter-spacing: -0.025em; }
.cs-stat-row { display: flex; gap: 24px; }
.cs-stat-item {
  flex: 1; border-top: 0.5px solid var(--line); padding-top: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.cs-stat-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.cs-stat-num {
  font-family: 'Inter Tight', sans-serif; font-size: clamp(52px, 6vw, 80px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
}
.cs-stat-num sup {
  font-size: 0.42em; vertical-align: top; padding-top: 8px;
  color: var(--fg-muted); font-weight: 600; letter-spacing: -0.02em;
}
.cs-quote {
  font-size: 14px; color: var(--fg-muted); line-height: 1.65;
  border-left: 2px solid var(--accent); padding-left: 14px;
}
.cs-quote a { color: var(--accent); border-bottom: 1px dashed currentColor; }
.cs-footnote { font-size: 12px; color: var(--fg-dim); line-height: 1.5; margin-bottom: 40px;}

/* Right column */
.cs-right { position: relative; }
.cs-visual { position: relative; padding: 76px 52px; }
@media (max-width: 900px) { .cs-visual { padding: 0; } }

/* Central mockup */
.cs-mockup {
  position: relative; z-index: 10; background: #fff;
  border-radius: 12px; overflow: visible;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}
.cs-mockup-inner { border-radius: 12px; overflow: hidden; }
.cs-lp-chrome {
  background: #f0ede8; padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid #e0dbd3;
}
.cs-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cs-lp-url {
  flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #888;
  background: #fff; border: 1px solid #e0dbd3; border-radius: 5px;
  padding: 3px 8px; margin-left: 8px;
}
.cs-lp-body {
  background: #faf7f2; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.cs-lp-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; border-bottom: 1px solid #e8e2d9;
}
.cs-lp-logo-bar { width: 60px; height: 10px; background: #1a1813; border-radius: 3px; opacity: 0.85; }
.cs-lp-nav-btn { width: 52px; height: 22px; background: var(--accent); border-radius: 999px; opacity: 0.9; }
.cs-lp-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.cs-lp-hero-img {
  height: 100px; border-radius: 8px;
  background: linear-gradient(135deg, #e8e2d8 0%, #c8c0b4 100%);
}
.cs-lp-hero-text { display: flex; flex-direction: column; gap: 6px; }
.cs-lp-bar { border-radius: 3px; }
.cs-lp-cta-btn {
  margin-top: 4px; display: inline-flex; align-items: center;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600; font-family: 'Inter', sans-serif;
  padding: 6px 12px; border-radius: 999px; width: fit-content;
}
.cs-lp-features { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.cs-lp-feat {
  height: 40px; border-radius: 6px;
  background: linear-gradient(135deg, #eee, #e4e4e4);
  border: 1px solid #ddd;
}

/* xPage generated badge */
.cs-badge {
  position: absolute; bottom: 18%; right: -14px;
  background: var(--accent); border-radius: 8px; padding: 7px 10px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45); z-index: 20;
}
.cs-badge-mark {
  width: 40px; height: 20px; background: rgba(255,255,255,0.22);
  border-radius: 4px; display: grid; place-items: center;
  font-weight: 800; font-size: 12px; color: #fff;
  font-family: 'Inter Tight', sans-serif; flex-shrink: 0;
}
.cs-badge-text {
  font-size: 11px; font-weight: 600; color: #fff;
  white-space: nowrap; font-family: 'Inter', sans-serif;
}
@media (max-width: 900px) { .cs-badge { right: calc(12% + 4px); bottom: 16%; } }

/* Floating product image cards */
.cs-float {
  position: absolute; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5); z-index: 15;
}
.cs-float img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Individual float positions */
.cs-float-1 { width: 78px; height: 78px; top: 6px; left: 6px; animation: cfloat 4.0s ease-in-out infinite; }
.cs-float-2 { width: 64px; height: 64px; top: 4px; left: 27%; animation: cfloat 4.5s ease-in-out infinite 0.4s; }
.cs-float-3 { width: 88px; height: 88px; top: 4px; right: 13%; animation: cfloat 3.8s ease-in-out infinite 0.9s; }
.cs-float-4 { width: 70px; height: 70px; top: 10px; right: 4px; animation: cfloat 4.2s ease-in-out infinite 1.4s; }
.cs-float-5 { width: 76px; height: 76px; top: 40%; left: 4px; animation: cfloat 3.6s ease-in-out infinite 0.2s; }
.cs-float-6 { width: 70px; height: 70px; top: 36%; right: 4px; animation: cfloat 4.4s ease-in-out infinite 0.7s; }
.cs-float-7 { width: 82px; height: 82px; bottom: 6px; left: 4%; animation: cfloat 3.9s ease-in-out infinite 1.1s; }
.cs-float-8 { width: 62px; height: 62px; bottom: 4px; left: 37%; animation: cfloat 4.1s ease-in-out infinite 1.6s; }
.cs-float-9 { width: 86px; height: 86px; bottom: 6px; right: 5%; animation: cfloat 4.3s ease-in-out infinite 0.5s; }

@keyframes cfloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

.hero-img {  text-align: center ;max-width: 60%;  }

@media (max-width: 900px) {
  /* Keep cards visible but smaller and repositioned for mobile */
  .cs-float-1 { width: 70px; height: 70px; top: 4px; left: 2%; }
  .cs-float-2 { width: 60px; height: 60px; top: 2px; left: 32%; }
  .cs-float-3 { width: 74px; height: 74px; top: 4px; right: 8%; }
  .cs-float-4 { width: 60px; height: 60px; top: 92px; right: -6px; }
  .cs-float-5 { width: 66px; height: 66px; top: 38%; left: -8px; }
  .cs-float-6 { width: 62px; height: 62px; top: 34%; right: -8px; }
  .cs-float-7 { width: 70px; height: 70px; bottom: 4px; left: 2%; }
  .cs-float-8 { width: 56px; height: 56px; bottom: 2px; left: 34%; }
  .cs-float-9 { width: 72px; height: 72px; bottom: 4px; right: 3%; }

  /* Mockup narrower to leave room for side cards */
  .cs-mockup { max-width: 76%; margin: 0 auto; }

}
@media (max-width: 1200px) {
    .hero-img { max-width: 100%; }
}