/* SmartLinks product site. Tokens from smart-link-frontend (smartlinks-design skill). */
:root {
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-deep: #0037b0;
  --ink: #191c1e;
  --label: #434655;
  --muted: #6b7280;
  --faint: #9ca3af;
  --page: #f6f6f8;
  --card: #fff;
  --fill: #f2f4f6;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --tint: #eff6ff;
  --lav: #f4f2fc;
  --ok: #10b981;
  --radius: 0.625rem;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html.lock {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
}
.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}
.hl {
  color: var(--brand);
}

/* Buttons */
.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover .i {
  transform: translateX(2px);
}
.btn .i {
  transition: transform 0.2s var(--ease);
}
.btn-sm {
  --h: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
}
.btn-lg {
  --h: 52px;
  padding: 0 24px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(29, 78, 216, 0.55);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -12px rgba(29, 78, 216, 0.6);
}
.btn-outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--line-2);
  background: var(--fill);
}
.btn-quiet {
  color: var(--label);
}
.btn-quiet:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
.btn-white {
  background: #fff;
  color: var(--brand-deep);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.4);
}
.btn-ghost-w {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost-w:hover {
  background: rgba(255, 255, 255, 0.1);
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.icon-btn:hover {
  background: var(--fill);
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: -1;
  background: rgba(246, 246, 248, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s;
}
.nav.is-scrolled::before,
html.lock .nav::before {
  opacity: 1;
}
.nav-row {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.logo img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.logo small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: -4px;
}
.nav-links {
  display: flex;
  gap: 2px;
}
.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--label);
  font-weight: 550;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
.nav-links a[aria-current="true"] {
  color: var(--brand);
  background: var(--tint);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-btn span:first-child {
  top: 16px;
}
.menu-btn span:last-child {
  top: 24px;
}
.menu-btn[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}
.menu {
  display: none;
}
@media (max-width: 959px) {
  .nav nav,
  .nav-login {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    inset: var(--nav-h) 0 auto;
    padding: 16px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .menu[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .menu > a:not(.btn) {
    padding: 12px 4px;
    font-size: 18px;
    font-weight: 650;
    border-bottom: 1px solid var(--line);
  }
  .menu .btn {
    margin-top: 12px;
  }
}
@media (max-width: 400px) {
  .nav-actions .btn-primary {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 50% at 80% 20%, rgba(37, 99, 235, 0.14), transparent 70%),
    radial-gradient(35% 40% at 10% 10%, rgba(124, 92, 255, 0.1), transparent 70%),
    radial-gradient(40% 40% at 60% 100%, rgba(16, 185, 129, 0.08), transparent 70%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#e6e8ee 1px, transparent 1px), linear-gradient(90deg, #e6e8ee 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.06s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.12s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.18s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.24s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 13px;
  font-weight: 650;
  color: var(--label);
}
.pill .i {
  color: #7c5cff;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 850;
}
.lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: #4b5563;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}
.trust strong {
  color: var(--ink);
}
.avatars {
  display: flex;
}
.avatars i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--page);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  background: linear-gradient(135deg, #2563eb, #818cf8);
}
.avatars i:first-child {
  margin-left: 0;
}
.avatars i:nth-child(2) {
  background: linear-gradient(135deg, #10b981, #6ee7b7);
}
.avatars i:nth-child(3) {
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
}
.avatars i:nth-child(4) {
  background: linear-gradient(135deg, #0ea5e9, #7dd3fc);
}

/* Live ops dashboard */
.ops-wrap {
  position: relative;
  perspective: 1400px;
  animation: rise 1s 0.15s var(--ease) both;
}
.ops {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -40px rgba(15, 23, 42, 0.35), 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.ops-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.ops-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 14px;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: blinkdot 1.4s infinite;
}
@keyframes blinkdot {
  50% {
    opacity: 0.3;
  }
}
.ops-clock {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.ops-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.ops-kpis div {
  padding: 12px 16px;
}
.ops-kpis div + div {
  border-left: 1px solid var(--line);
}
.ops-kpis span {
  display: block;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.ops-kpis b {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ops-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.ops-map {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border-right: 1px solid var(--line);
}
.ops-water {
  fill: #dbeafe;
  opacity: 0.7;
}
.ops-street {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-linecap: round;
}
.ops-route {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
}
.ops-route.r1 {
  stroke: #2563eb;
}
.ops-route.r2 {
  stroke: #10b981;
}
.ops-route.r3 {
  stroke: #7c5cff;
}
.ops-stop {
  fill: #fff;
  stroke: #94a3b8;
  stroke-width: 3;
}
.ops-depot {
  fill: var(--ink);
}
.ops-rider .halo {
  opacity: 0.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 1.8s ease-out infinite;
}
.ops-rider .dot {
  stroke: #fff;
  stroke-width: 3;
}
.h1,
.d1 {
  fill: #2563eb;
}
.h2,
.d2 {
  fill: #10b981;
}
.h3,
.d3 {
  fill: #7c5cff;
}
@keyframes halo {
  from {
    transform: scale(0.6);
    opacity: 0.35;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}
.ops-feed {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
  overflow: hidden;
}
.ops-feed li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  animation: feed-in 0.45s var(--ease);
}
@keyframes feed-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.ops-feed .oid {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
}
.ops-feed .area {
  grid-column: 1;
  color: var(--muted);
  font-size: 11.5px;
}
.ops-feed .st {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.35);
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.float-card .i {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--brand);
}
.float-card b {
  display: block;
  font-size: 13.5px;
}
.float-card span {
  color: var(--muted);
  font-size: 12px;
}
.fc-1 {
  left: -28px;
  bottom: 18%;
}
.fc-2 {
  right: -18px;
  top: -22px;
  animation-delay: -3s;
}
.fc-2 .i {
  background: #ecfdf5;
  color: #047857;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

/* Status pills (match statusConfig.ts) */
.st {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.st-pending {
  background: #fff7ed;
  color: #c2410c;
}
.st-assigned {
  background: #eff6ff;
  color: #1d4ed8;
}
.st-picked {
  background: #f5f3ff;
  color: #6d28d9;
}
.st-out {
  background: #fdf2f8;
  color: #be185d;
}
.st-delivered,
.st-ok {
  background: #ecfdf5;
  color: #047857;
}
.st-paused {
  background: #fef3c7;
  color: #b45309;
}

@media (max-width: 1080px) {
  .fc-1 {
    left: 8px;
  }
  .fc-2 {
    right: 8px;
  }
}
@media (max-width: 959px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .ops {
    transform: none;
  }
}
@media (max-width: 620px) {
  .ops-body {
    grid-template-columns: 1fr;
  }
  .ops-map {
    height: auto;
    min-height: 0;
    aspect-ratio: 520 / 340;
    border-right: 0;
  }
  .ops-feed {
    display: none;
  }
  .float-card {
    display: none;
  }
}

/* Workflows strip */
.workflows {
  padding: 8px 0 24px;
}
.wf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.wf {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.wf-ic,
.f-ic,
.c-ic,
.role-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--tint);
  color: var(--brand);
}
a.wf {
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
a.wf:hover {
  border-color: #bfdbfe;
  box-shadow: 0 14px 30px -22px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}
.wf b {
  display: block;
  font-size: 15px;
}
.wf p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
@media (max-width: 959px) {
  .wf-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .wf-grid {
    grid-template-columns: 1fr;
  }
}

/* Stats */
.stats {
  padding: 24px 0 8px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.stats-grid > div {
  background: #fff;
  padding: 22px 18px;
  text-align: center;
}
.stats-grid b {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.stats-grid span:not([data-count]) {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
@media (max-width: 760px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

/* Sections */
.section {
  padding: clamp(72px, 10vw, 120px) 0;
}
.section--soft {
  background: #fff;
  border-block: 1px solid var(--line);
}
.head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.head--left {
  margin: 0;
  text-align: left;
}
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 850;
}
.head > p:not(.kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}
.head--left .btn {
  margin-top: 24px;
}

@media (scripting: enabled) {
  [data-reveal],
  [data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  [data-reveal].is-in,
  [data-stagger] > .is-in {
    opacity: 1;
    transform: none;
  }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
  box-shadow: 0 20px 40px -24px rgba(37, 99, 235, 0.35);
}
.feature--wide {
  grid-column: span 1;
}
.features .feature--wide:first-child {
  grid-column: span 2;
}
.feature--ai {
  background: linear-gradient(160deg, #f5f3ff, #fff 60%);
  border-color: #ddd6fe;
}
.feature--ai .f-ic {
  background: #ede9fe;
  color: #6d28d9;
}
.badge-ai {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #6d28d9;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
}
.badge-ai .i {
  width: 12px;
  height: 12px;
}
.feature h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
}
.feature p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 959px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .features .feature--wide:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: s;
}
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) var(--fill, 0%), var(--line) var(--fill, 0%));
  transition: --fill 1s;
}
.steps li {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.n {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 850;
  font-size: 20px;
  color: var(--brand);
  box-shadow: 0 10px 24px -14px rgba(37, 99, 235, 0.5);
}
.steps li.is-in .n {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transition: background-color 0.4s 0.3s, color 0.4s 0.3s;
}
.steps h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 750;
}
.steps p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps::before {
    top: 0;
    bottom: 0;
    left: 26px;
    right: auto;
    width: 2px;
    height: auto;
    background: var(--line);
  }
  .steps li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0 18px;
    text-align: left;
    padding: 0;
  }
  .steps h3 {
    margin-top: 2px;
  }
  .steps p {
    grid-column: 2;
  }
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split--flip > :first-child {
  order: 2;
}
.body {
  margin-top: 18px;
  color: #4b5563;
  font-size: 18px;
  max-width: 520px;
}
.checks {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.checks b {
  display: block;
  font-size: 16px;
}
.checks p {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 959px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--flip > :first-child {
    order: 0;
  }
}

/* Phone mock */
.phone-wrap {
  display: grid;
  place-items: center;
  position: relative;
}
.phone-wrap::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 65%);
  z-index: -1;
}
.phone {
  position: relative;
  width: min(320px, 100%);
  border-radius: 40px;
  padding: 12px;
  background: #0f172a;
  box-shadow: 0 50px 90px -40px rgba(15, 23, 42, 0.55);
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 90px;
  height: 22px;
  margin-left: -45px;
  border-radius: 12px;
  background: #0f172a;
  z-index: 2;
}
.phone-map {
  width: 100%;
  height: auto;
  border-radius: 30px 30px 0 0;
}
.phone-sheet {
  margin-top: -24px;
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 22px 22px 30px 30px;
  background: #fff;
}
.eta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eta-k {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.eta {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.rider-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border-radius: 14px;
  background: var(--fill);
  font-size: 13px;
}
.rider-card b {
  display: block;
  font-size: 14px;
}
.rider-card span {
  color: var(--muted);
}
.r-av {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff !important;
  font-weight: 750;
  font-size: 12px;
}
.r-rate {
  margin-left: auto;
  font-weight: 700;
  color: #b45309 !important;
}
.timeline {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.timeline li {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-left: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--faint);
}
.timeline li span {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: #fff;
}
.timeline li.done,
.timeline li.now {
  color: var(--ink);
}
.timeline li.done::before {
  background: var(--ok);
  border-color: var(--ok);
}
.timeline li.now::before {
  background: #ec4899;
  border-color: #ec4899;
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.18);
}

/* Subscriptions mock */
.subs {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(15, 23, 42, 0.3);
  overflow: hidden;
}
.subs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.subs-cron {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand);
  background: var(--tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.subs ul {
  padding: 8px;
  display: grid;
  gap: 6px;
}
.subs li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background-color 0.2s;
}
.subs li:hover {
  background: var(--fill);
}
.subs li div {
  flex: 1;
  min-width: 0;
}
.subs li b {
  display: block;
  font-size: 14.5px;
}
.subs li span:not(.st):not(.s-av) {
  color: var(--muted);
  font-size: 13px;
}
.s-av {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}
.a1 {
  background: #2563eb;
}
.a2 {
  background: #10b981;
}
.a3 {
  background: #f59e0b;
}
.a4 {
  background: #7c5cff;
}
.subs-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
  font-size: 13.5px;
  color: var(--muted);
}
.subs-foot span {
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Roles */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.role {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.role:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -28px rgba(37, 99, 235, 0.35);
}
.role:nth-child(2) .role-ic {
  background: #ecfdf5;
  color: #047857;
}
.role:nth-child(3) .role-ic {
  background: #fdf2f8;
  color: #be185d;
}
.role h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 800;
}
.role p {
  margin-top: 8px;
  color: var(--muted);
}
@media (max-width: 859px) {
  .roles {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.platform {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(120deg, #0037b0, #2563eb);
  box-shadow: 0 30px 60px -30px rgba(0, 55, 176, 0.6);
}
.plat-k {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.plat-price {
  margin-top: 4px;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 850;
  letter-spacing: -0.03em;
}
.plat-price span {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.8;
}
.plat-d {
  opacity: 0.85;
  max-width: 460px;
}
.plus-label {
  margin: 28px 0 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.tier--best {
  border: 2px solid var(--brand);
  box-shadow: 0 30px 60px -30px rgba(37, 99, 235, 0.45);
}
.best {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tier-name {
  font-weight: 700;
  font-size: 15px;
}
.tier-name span {
  color: var(--muted);
  font-weight: 500;
}
.tier-price {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.tier-price--sm {
  font-size: 30px;
}
.tier dl {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.tier dl div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.tier dt {
  color: var(--muted);
}
.tier dd {
  font-weight: 700;
}
.tier-list {
  margin: 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  flex: 1;
  font-size: 14px;
}
.tier-list li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tier-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat,
    var(--brand);
}
@media (max-width: 1023px) {
  .tiers {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] {
  border-color: #c7d2fe;
  box-shadow: 0 16px 32px -24px rgba(37, 99, 235, 0.4);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .i {
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary .i {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
}
@media (max-width: 859px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta {
  padding: 0 0 clamp(72px, 10vw, 112px);
}
.cta-box {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(50% 80% at 85% 10%, rgba(124, 92, 255, 0.45), transparent 60%),
    radial-gradient(50% 80% at 10% 100%, rgba(16, 185, 129, 0.3), transparent 60%),
    linear-gradient(135deg, #0037b0, #2563eb);
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
  pointer-events: none;
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  font-size: clamp(32px, 4.8vw, 54px);
}
.cta-box > p {
  margin: 16px auto 0;
  max-width: 520px;
  font-size: 18px;
  opacity: 0.88;
}
.cta-box .cta-row {
  justify-content: center;
}
.cta-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}
.cta-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 calc(24px + env(safe-area-inset-bottom));
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.foot-grid > div p {
  margin-top: 12px;
  color: var(--muted);
}
.foot-grid > div a:not(.logo) {
  color: var(--brand);
  font-weight: 600;
}
.foot nav p {
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.foot nav ul {
  display: grid;
  gap: 8px;
}
.foot nav a {
  color: var(--label);
  font-size: 15px;
}
.foot nav a:hover {
  color: var(--brand);
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--muted);
  font-size: 14px;
}
.foot-base a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
@media (max-width: 859px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > div {
    grid-column: 1 / -1;
  }
}

/* Dialog */
.modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(15, 23, 42, 0.5);
  overflow: hidden;
}
.modal[open] {
  display: flex;
  flex-direction: column;
  animation: rise 0.35s var(--ease);
}
.modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px 12px 22px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.modal iframe {
  width: 100%;
  height: min(620px, calc(100dvh - 140px));
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
