:root {
  --bg: oklch(98% 0.004 95);
  --bg-tint: oklch(96.5% 0.006 95);
  --ink: oklch(18% 0.02 264);
  --ink-soft: oklch(45% 0.02 264);
  --line: oklch(90% 0.01 264);
  --accent: oklch(56% 0.19 264);
  --accent-dark: oklch(48% 0.19 264);
  --teal: oklch(70% 0.14 190);
  --error: oklch(55% 0.18 25);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  cursor: default;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
::selection { background: oklch(56% 0.19 264 / 0.2); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(24px, 7vw, 32px); }
.container--narrow { max-width: 1000px; }
.center { text-align: center; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: oklch(98% 0.004 95 / 0.75);
  border-bottom: 1px solid oklch(90% 0.01 264 / 0.6);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.nav__brand:hover { color: var(--ink); }
.nav__logo { width: 26px; height: 26px; object-fit: contain; }
.nav__name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 760px) { .nav__links { display: none; } }

/* Buttons */
.btn { display: inline-block; border-radius: 14px; font-weight: 600; cursor: pointer; text-align: center; transition: transform .2s ease, opacity .2s ease; border: none; font-family: inherit; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -8px oklch(56% 0.19 264 / 0.45); padding: 16px 28px; font-size: 16px; }
.btn--primary:hover { transform: translateY(-2px); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; padding: 10px 20px; }
.btn--dark:hover { color: #fff; opacity: .9; }
.btn--sm { font-size: 14px; border-radius: 12px; }
.btn--lg { font-size: 16px; }
.btn--block { width: 100%; padding: 14px; border-radius: 12px; font-size: 15px; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 10vw, 96px) clamp(24px, 7vw, 32px) 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; overflow: visible; }
@media (max-width: 600px) { .hero { grid-template-columns: minmax(0, 1fr); overflow: hidden; } }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; z-index: 0; }
.hero__blob--teal { top: -120px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, oklch(70% 0.14 190 / 0.28), transparent 70%); }
.hero__blob--indigo { top: 200px; left: -140px; width: 320px; height: 320px; background: radial-gradient(circle, oklch(56% 0.19 264 / 0.16), transparent 70%); }
.hero__copy { position: relative; z-index: 1; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.eyebrow--teal { color: var(--teal); }
.eyebrow--pill {
  display: inline-flex; text-transform: none; letter-spacing: normal; font-weight: 600; font-size: 13px;
  padding: 8px 16px; border-radius: 100px; background: oklch(93% 0.03 264 / 0.6); border: 1px solid oklch(85% 0.05 264 / 0.5);
  color: oklch(45% 0.16 264); margin-bottom: 28px;
}
.hero__title { font-size: clamp(32px, 4vw, 40px); font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; margin: 0 0 24px; }
.text-gradient { background: linear-gradient(100deg, var(--accent), oklch(62% 0.16 210)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 520px; margin: 0 0 40px; }
.hero__visual { position: relative; z-index: 1; }

.mock-window { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px oklch(20% 0.02 264 / 0.28), 0 1px 0 var(--line); padding: 20px; animation: floatCard 6s ease-in-out infinite; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mock-window__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 0 4px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: oklch(75% 0.14 30); }
.dot--yellow { background: oklch(80% 0.13 90); }
.dot--green { background: oklch(75% 0.15 145); }
.mock-window__url { margin-left: 12px; font-size: 12px; color: oklch(55% 0.01 264); font-family: monospace; }
.mock-window__body { border-radius: 18px; overflow: hidden; background: var(--bg-tint); padding: 20px; }
.mock-store__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-store__name { font-weight: 700; font-size: 16px; }
.mock-store__cart { width: 34px; height: 34px; border-radius: 10px; background: oklch(56% 0.19 264 / 0.12); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.mock-store__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-product { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px oklch(20% 0.02 264 / 0.06); }
.mock-product p { font-size: 12px; font-weight: 600; margin: 8px 0 0; }
.mock-product span { font-size: 12px; color: var(--ink-soft); }
.mock-product__img { width: 100%; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: var(--bg-tint); }
.mock-product__img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mock-store__cart-bar { margin-top: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 2px oklch(20% 0.02 264 / 0.06); font-size: 13px; color: var(--ink-soft); }
.mock-store__checkout { font-weight: 700; color: var(--accent); }

/* Sections */
.section { padding-block: clamp(56px, 10vw, 100px); }
.section.container { padding-inline: clamp(24px, 7vw, 32px); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: var(--teal); }
.section__head { text-align: center; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; max-width: 640px; margin: 0 auto; }

.grid { display: grid; gap: 20px; margin-bottom: 40px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--4-sm { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); display: grid; gap: 16px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.callout { text-align: center; padding: 40px; border-radius: 24px; background: var(--ink); color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; transition: transform .25s ease, box-shadow .25s ease; cursor: default; }
.feature-card:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 20px 40px -20px oklch(20% 0.02 264 / 0.25); }
.feature-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.feature-card p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.feature-icon { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px; background: var(--accent); position: relative; }
.feature-icon--grid, .feature-icon--truck, .feature-icon--stack, .feature-icon--badge { background: var(--teal); }
.feature-icon::before, .feature-icon::after { content: ''; position: absolute; background: #fff; border-radius: 3px; }
.feature-icon--storefront::before { top: 12px; left: 12px; width: 24px; height: 14px; border-radius: 4px 4px 2px 2px; }
.feature-icon--storefront::after { bottom: 12px; left: 19px; width: 10px; height: 10px; border-radius: 2px 2px 0 0; background: rgba(0,0,0,.18); }
.feature-icon--grid::before { top: 14px; left: 14px; width: 8px; height: 8px; box-shadow: 12px 0 0 rgba(255,255,255,.7), 0 12px 0 rgba(255,255,255,.7), 12px 12px 0 #fff; }
.feature-icon--card::before { top: 14px; left: 8px; width: 32px; height: 15px; border-radius: 4px; }
.feature-icon--card::after { top: 20px; left: 8px; width: 32px; height: 3px; background: rgba(0,0,0,.22); border-radius: 0; }
.feature-icon--truck::before { top: 16px; left: 6px; width: 22px; height: 14px; border-radius: 2px; }
.feature-icon--truck::after { top: 18px; left: 28px; width: 10px; height: 11px; border-radius: 1px; background: rgba(255,255,255,.85); }
.feature-icon--list::before { top: 14px; left: 8px; width: 32px; height: 4px; box-shadow: 0 9px 0 rgba(255,255,255,.8), 0 18px 0 rgba(255,255,255,.6); }
.feature-icon--stack::before { top: 12px; left: 10px; width: 28px; height: 8px; box-shadow: 0 10px 0 rgba(255,255,255,.9), 0 20px 0 #fff; }
.feature-icon--user::before { top: 10px; left: 17px; width: 14px; height: 14px; border-radius: 50%; }
.feature-icon--user::after { bottom: 8px; left: 8px; width: 32px; height: 16px; border-radius: 16px 16px 0 0; }
.feature-icon--badge::before { top: 8px; left: 8px; width: 32px; height: 32px; transform: rotate(45deg) scale(0.62); border-radius: 4px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 16px; margin: 0; padding: 0; }
.step { text-align: center; padding: 0 12px; }
.step__num { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #fff; font-size: 22px; font-weight: 800; margin: 0 auto 20px; }
.step p { font-size: 16px; font-weight: 700; margin: 0; }

.benefit { background: oklch(24% 0.02 264); border-radius: 18px; padding: 24px; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; }
.benefit__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

.chip-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; font-size: 14px; font-weight: 600; transition: border-color .2s ease; }
.chip-card:hover { border-color: oklch(56% 0.19 264 / 0.4); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.chip { padding: 11px 18px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* Roadmap marquee */
.marquee { overflow: hidden; padding: 8px 0 24px; }
.marquee__track { display: flex; gap: 16px; width: max-content; padding: 0 clamp(24px, 7vw, 32px); will-change: transform; }
.roadmap-card { min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; flex-shrink: 0; transition: transform .2s ease; }
.roadmap-card:hover { transform: translateY(-3px); }
.roadmap-card span { font-size: 26px; margin-bottom: 14px; display: block; }
.roadmap-card p { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0; }

/* CTA / signup */
.cta { padding-bottom: clamp(56px, 10vw, 100px); }
.cta__box { background: var(--accent); border-radius: 32px; padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 40px); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta__box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, oklch(65% 0.17 220 / 0.5), transparent 55%); }
.cta__title { position: relative; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
.cta__subtitle { position: relative; font-size: 18px; color: oklch(95% 0.02 264); max-width: 520px; margin: 0 auto 36px; }

.lead-form { position: relative; background: #fff; border-radius: 20px; padding: 28px; max-width: 420px; margin: 0 auto; color: var(--ink); }
.lead-form { display: flex; flex-direction: column; gap: 8px; }
.lead-form input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid oklch(88% 0.01 264); font-size: 16px; font-family: inherit; color: var(--ink); }
.lead-form__error { font-size: 13px; color: var(--error); text-align: left; margin: 0; }
.lead-form .btn--primary { margin-top: 4px; }
.lead-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: oklch(18% 0.02 264 / 0.45); backdrop-filter: blur(8px); }
.lead-modal[hidden] { display: none; }
.lead-modal__panel { position: relative; width: min(100%, 420px); background: #fff; color: var(--ink); border-radius: 22px; padding: 42px 36px 38px; text-align: center; box-shadow: 0 30px 80px -30px oklch(15% 0.02 264 / 0.55); }
.lead-modal__panel h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.lead-modal__panel p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.lead-modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--bg-tint); color: var(--ink-soft); font-size: 24px; line-height: 1; cursor: pointer; }
.lead-modal__close:hover { color: var(--ink); background: oklch(92% 0.01 264); }

.footer { border-top: 1px solid var(--line); padding: 32px; text-align: center; font-size: 13px; color: oklch(55% 0.01 264); }

@media (max-width: 600px) {
  .hero__blob--teal { width: 260px; height: 260px; top: -60px; right: -60px; }
  .hero__blob--indigo { width: 200px; height: 200px; top: 140px; left: -100px; }
  .cta__title { font-size: 26px; line-height: 1.22; }
  .card, .chip-card, .feature-card { padding: 20px; }
  .grid { gap: 16px; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: .06s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .12s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .18s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .24s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .3s; }
.reveal-group .reveal:nth-child(7) { transition-delay: .36s; }
.reveal-group .reveal:nth-child(8) { transition-delay: .42s; }
