/* ---- Tokens ---- */
:root {
  --navy: #0f2740;
  --navy-2: #163454;
  --ink: #12212f;
  --slate: #4a5b6b;
  --mute: #6b7c8c;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-soft-2: #eef3f8;
  --brand: #1f6feb;
  --brand-2: #3b8bff;
  --green: #16a37a;
  --green-soft: #e6f6f0;
  --amber: #e08a2b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 40, 66, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 40, 66, 0.16);
  --wrap: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 6px 18px rgba(31, 111, 235, 0.28);
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); background: #1a62d1; box-shadow: 0 10px 24px rgba(31,111,235,.34); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { background: var(--bg-soft); box-shadow: inset 0 0 0 1.5px #cdd8e2; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; color: var(--navy); font-size: 18px; letter-spacing: -0.02em; }
.brand__mark { font-size: 20px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--slate); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--navy); }
.nav__links .btn { color: #fff; }

/* ---- Hero (two-column: features left, text right) ---- */
.hero {
  background:
    radial-gradient(1100px 500px at 75% -10%, rgba(59,139,255,.14), transparent 60%),
    radial-gradient(800px 400px at 0% 0%, rgba(22,163,122,.10), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 64px 0 48px;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, .88fr) 1.12fr; gap: 56px; align-items: start; }
.hero__features-title { font-size: 20px; font-weight: 800; color: var(--navy); margin: 0 0 18px; }
.hero__text { }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: #eaf1fe; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 55%, var(--green) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quotes { margin: 18px 0 22px; display: grid; gap: 12px; }
.quote { margin: 0; padding: 0 0 0 14px; border-left: 3px solid var(--brand); }
.quote:nth-child(2) { border-left-color: var(--green); }
.quote p { margin: 0 0 4px; font-size: 15px; font-style: italic; color: var(--ink); line-height: 1.5; }
.quote cite { font-style: normal; font-weight: 700; font-size: 13px; color: var(--mute); letter-spacing: .01em; }
.lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--slate); margin: 20px 0 24px; }
.hero__cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 26px; }
.hero__note {
  margin: 0; color: var(--navy); font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.4;
  background: linear-gradient(135deg, #eef4ff 0%, #eafaf3 100%);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px;
}
.hero__note strong { color: var(--brand); font-weight: 800; }

/* ---- Section heads ---- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-head p { color: var(--slate); font-size: 17px; }

/* ---- Demo / race ---- */
.demo { padding: 0 0 40px; background: var(--bg); }
.demo .container { border-top: 1px solid var(--line); padding-top: 40px; }
.demo .section-head { margin-bottom: 24px; }
.race { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: start; }
.race__col { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.race__col--new { border-color: #bfe6d7; box-shadow: 0 10px 30px rgba(22,163,122,.14); }
.race__label { display: flex; align-items: center; gap: .5em; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--old { background: var(--amber); }
.dot--new { background: var(--green); }
.video-wrap { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0c1a29; }
.race__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.race__cap { margin: 12px 4px 2px; color: var(--slate); font-size: 14px; }
.race__vs { align-self: center; font-weight: 800; color: var(--mute); font-size: 18px; letter-spacing: .05em; padding-top: 40px; }
.race__controls { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---- Stats ---- */
.stats { padding: 56px 0; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(90deg,#fff, #b9d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__lbl { color: #b6c6d6; font-size: 15px; margin-top: 4px; }

/* ---- Features ---- */
.features { padding: 88px 0; background: var(--bg-soft); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .15s ease, box-shadow .15s ease; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat__ico { font-size: 28px; width: 54px; height: 54px; display: grid; place-items: center; background: var(--bg-soft-2); border-radius: 14px; margin-bottom: 16px; }
.feat h3 { font-size: 19px; }
.feat p { color: var(--slate); font-size: 15px; margin: 0; }

/* ---- Auto tab cards ---- */
.auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.auto-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.auto-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.auto-card--comp { border-top-color: var(--green); }
.auto-card--rationale { border-top-color: var(--amber); }
.auto-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.auto-card__ico { font-size: 24px; width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--bg-soft-2); border-radius: 14px; }
.auto-card__kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.auto-card--comp .auto-card__kicker { color: var(--green); }
.auto-card--rationale .auto-card__kicker { color: var(--amber); }
.auto-card__head h3 { margin: 0; font-size: 22px; }
.auto-card__sub { color: var(--slate); font-size: 15px; margin: 0 0 16px; }
.auto-list { list-style: none; padding: 0; margin: 0; }
.auto-list li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); }
.auto-list li:last-child { border-bottom: none; }
.auto-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 800; }
.auto-card--comp .auto-list li::before { color: var(--green); }
.auto-list b { font-weight: 700; color: var(--brand); }
.auto-card--comp .auto-list b { color: var(--green); }
.auto-card--rationale .auto-list b { color: var(--amber); }
.auto-list .dim { color: var(--mute); }
.auto-list li.more { color: var(--mute); font-style: italic; }
.auto-list li.more::before { content: "+"; color: var(--mute); font-style: normal; }
.auto-foot { text-align: center; margin: 34px auto 0; color: var(--slate); font-size: 15px; font-weight: 500; }

/* ---- Compact stacked feature cards (hero left column) ---- */
.auto-grid--stack { grid-template-columns: 1fr; gap: 8px; max-width: 400px; }
.auto-grid--stack .auto-card { padding: 12px 16px; box-shadow: none; }
.auto-grid--stack .auto-card:hover { transform: none; box-shadow: var(--shadow); }
.auto-grid--stack .auto-card__head { margin-bottom: 6px; }
.auto-grid--stack .auto-card__ico { width: 38px; height: 38px; font-size: 18px; border-radius: 11px; }
.auto-grid--stack .auto-card__head h3 { font-size: 16px; }
.auto-grid--stack .auto-card__sub { margin: 0 0 6px; font-size: 13px; }
.auto-grid--stack .auto-list li { padding: 2px 0 2px 22px; font-size: 13px; }
.auto-grid--stack .auto-list li::before { top: 2px; }
.hero .auto-foot { text-align: left; margin: 22px 0 0; font-size: 14px; }

/* ---- Primary CTA band ---- */
.cta-band { padding: 60px 0 72px; background: #fff; }
.cta-band__inner { text-align: center; max-width: 760px; margin: 0 auto; background: linear-gradient(135deg, #eef4ff 0%, #eafaf3 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; box-shadow: var(--shadow); }
.cta-band__inner h2 { font-size: clamp(24px, 3vw, 32px); }
.cta-band__inner p { color: var(--slate); font-size: 17px; margin-bottom: 24px; }
.cta-band .hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- How ---- */
.how { padding: 0 0 72px; background: #fff; }
.how .container { border-top: 1px solid var(--line); padding-top: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 8px; }
.step__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px rgba(31,111,235,.3); }
.step h3 { font-size: 19px; }
.step p { color: var(--slate); font-size: 15px; max-width: 300px; margin-inline: auto; }

/* ---- Pricing ---- */
.pricing { padding: 88px 0; background: var(--bg-soft); }
.price-grid { display: grid; grid-template-columns: minmax(0, 420px); gap: 24px; justify-content: center; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card--feature { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-card__tag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 10px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.price__amt { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.price__per { color: var(--mute); font-size: 15px; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-list li { position: relative; padding: 8px 0 8px 28px; color: var(--slate); font-size: 15px; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: none; }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 800; }
.price-card__foot { margin: 14px 0 0; color: var(--mute); font-size: 13px; text-align: center; }

/* ---- Contact ---- */
.contact { padding: 88px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.contact__copy h2 { font-size: clamp(26px, 3.4vw, 36px); }
.contact__copy p { color: var(--slate); font-size: 17px; }
.contact__points { list-style: none; padding: 0; margin: 22px 0 0; }
.contact__points li { padding: 7px 0; color: var(--navy); font-weight: 500; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form__row { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); }
.form .opt { font-weight: 400; color: var(--mute); }
.form input, .form select, .form textarea {
  width: 100%; margin-top: 6px; padding: 11px 13px; font-size: 15px; font-family: var(--font);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,235,.14); }
.form textarea { resize: vertical; }
.form__note { margin: 14px 0 0; color: var(--mute); font-size: 13px; text-align: center; }
.form__hp { position: absolute; left: -9999px; }

/* ---- Footer ---- */
.footer { background: var(--navy); color: #b6c6d6; padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer .brand { color: #fff; font-size: 16px; }
.footer__made { font-size: 14px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav__links a:not(.btn) { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__text { order: -1; text-align: center; }
  .hero__cta { justify-content: center; }
  .hero__features-title { text-align: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .race { grid-template-columns: 1fr; }
  .race__vs { padding: 4px 0; justify-self: center; }
  .contact__inner { grid-template-columns: 1fr; gap: 30px; }
  .price-grid { grid-template-columns: minmax(0, 460px); }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .demo, .features, .how, .pricing, .contact { padding: 60px 0; }
  .container { padding: 0 18px; }
  .brand__name { font-size: 16px; }
  .nav__links { gap: 12px; }
  .nav__links .btn--sm { padding: 8px 12px; font-size: 13px; }
}
