/* LaneVal — design tokens */
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-soft: #3f4858;
  --muted: #6b7280;
  --line: #e6e8ef;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-ink: #312e81;
  --positive: #059669;
  --positive-bg: #ecfdf5;
  --risk: #b45309;
  --risk-bg: #fffbeb;
  --navy: #0b1220;
  --grad: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, 0.28);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: inline-block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 820px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.9rem;
}

.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; margin: 0 0 1.6rem; }
.lede-sub { font-size: 1.1rem; color: var(--muted); max-width: 40rem; margin: 0 auto; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #131c30; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: #d4d8e2; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-nav { display: none; }

/* Hero */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(700px 420px at 8% 8%, rgba(79, 70, 229, 0.12), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

.hero-visual { display: flex; justify-content: center; }

/* Quote card */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  width: 100%;
  max-width: 430px;
}
.qc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.qc-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.qc-lane strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.qc-tag { display: inline-block; margin-top: 6px; font-size: 0.78rem; font-weight: 600; color: var(--brand-ink); background: #eef2ff; padding: 2px 9px; border-radius: 999px; }
.qc-risk {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.qc-risk-high { color: var(--risk); background: var(--risk-bg); }
.qc-risk-low { color: var(--positive); background: var(--positive-bg); }
.qc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.qc-cell { background: #f8f9fc; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.qc-cell span { display: block; font-size: 0.76rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.qc-cell strong { font-family: var(--font-display); font-size: 1.15rem; }
.qc-cell-accent { background: var(--positive-bg); border-color: #b9ecd8; }
.qc-cell-accent strong { color: var(--positive); }
.qc-why { border-top: 1px solid var(--line); padding-top: 14px; }
.qc-why span { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.qc-why ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.qc-why li { display: flex; gap: 8px; }
.qc-why li::before { content: "•"; color: var(--risk); font-weight: 700; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 0.4rem; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: #eef2ff; color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Positioning */
.positioning { text-align: center; }
.positioning-lead { font-size: 1.05rem; color: var(--muted); }
.positioning-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0.4rem 0 1rem;
}
.positioning-quote strong { color: var(--brand); }
.positioning-sub { color: var(--muted); max-width: 34rem; margin: 0 auto; }

/* Steps */
.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-family: var(--font-display);
  margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Demo */
.demo { max-width: 560px; margin: 0 auto; }
.demo-controls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.demo-controls label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.demo-controls select {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.demo-note { font-size: 0.78rem; color: var(--muted); }

/* ICP */
.icp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
.icp-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.icp-list h3 { margin-bottom: 1rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.checklist li::before { content: "✓"; color: var(--positive); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); font-weight: 600; line-height: 1; transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); font-size: 0.97rem; }

/* CTA */
.cta-section { padding: 88px 0; }
.cta-card {
  background: var(--navy);
  color: #e8ecf4;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; }
.cta-card p { color: #b7c0d0; max-width: 30rem; margin: 0 auto 32px; }
.cta-card .eyebrow { color: #67e8f9; }

.access-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 0.8rem; font-weight: 600; color: #aab3c5; }
.field input, .field select {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  padding: 12px 14px; border-radius: 10px; border: 1px solid #2a3548; background: #fff;
}
.access-form .btn { grid-column: 1 / -1; background: var(--grad); color: #fff; border: 0; }
.access-form .btn:hover { box-shadow: 0 14px 30px -10px rgba(6, 182, 212, 0.5); }
.form-note { grid-column: 1 / -1; text-align: center; font-size: 0.85rem; margin: 4px 0 0; }
.form-note a { color: #67e8f9; }

/* Footer */
.site-footer { background: var(--navy); color: #b7c0d0; padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.92rem; max-width: 22rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #b7c0d0; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid #243042; padding-top: 20px; font-size: 0.85rem; color: #6b788c; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .icp-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px 20px 20px; border-top: 1px solid var(--line); background: var(--bg);
  }
  .mobile-nav a { padding: 10px 4px; color: var(--ink-soft); font-weight: 500; }
  .mobile-nav a.btn { margin-top: 8px; justify-content: center; }
  .access-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
