:root {
  --bg: oklch(97.5% 0.012 85);
  --bg-tint: oklch(94% 0.02 85);
  --ink: oklch(20% 0.015 60);
  --ink-soft: oklch(42% 0.015 60);
  --line: oklch(86% 0.015 80);
  --accent: oklch(64% 0.19 40);
  --accent-dark: oklch(56% 0.19 40);
  --yellow: oklch(86% 0.15 92);
  --green: oklch(62% 0.15 150);
  --dark: oklch(19% 0.012 60);
  --dark-2: oklch(25% 0.012 60);
  --radius: 18px;
  --display: "Bricolage Grotesque", Helvetica, sans-serif;
  --body: "Archivo", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; margin-bottom: 48px; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
em { font-style: normal; color: var(--accent); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.muted { color: var(--ink-soft); }
.muted-light { color: oklch(78% 0.01 80); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 16px var(--body); cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #000; color: var(--bg); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 500 12px var(--mono); }
.tag--green { background: oklch(92% 0.06 150); color: oklch(38% 0.12 150); }
.tag--yellow { background: var(--yellow); color: var(--ink); }

.eyebrow { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 24px; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; }
.eyebrow--plain { border: 0; padding: 0; color: var(--accent-dark); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(62% 0.15 150 / .6); } 100% { box-shadow: 0 0 0 10px oklch(62% 0.15 150 / 0); } }

.lead { font-size: 20px; color: var(--ink-soft); max-width: 520px; margin-top: 28px; }
.lead--light { color: oklch(80% 0.01 80); margin: -24px 0 48px; }

/* Placeholder */
.placeholder {
  position: relative; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--bg-tint) 0 10px, oklch(91% 0.02 85) 10px 20px);
  border-radius: 12px; color: var(--ink-soft);
}
.placeholder span { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--bg); padding: 4px 8px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: oklch(97.5% 0.012 85 / .88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 24px var(--display); letter-spacing: -0.03em; }
.logo__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: inset -4px -4px 0 var(--accent-dark); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 32px; color: var(--ink-soft); font-size: 15px; }
.hero__proof strong { display: block; font: 800 32px var(--display); color: var(--ink); letter-spacing: -0.02em; }

.hero__visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hero__visual::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: var(--yellow); top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; }
.phone { position: relative; z-index: 1; width: 300px; background: var(--ink); border-radius: 42px; padding: 12px; box-shadow: 0 40px 80px -30px oklch(20% 0.02 60 / .5); transform: rotate(3deg); }
.phone__screen { background: var(--bg); border-radius: 32px; padding: 20px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.phone__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 500; }
.placeholder--phone { height: 130px; }
.phone__loc { background: var(--bg-tint); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.3; }
.phone__loc .small { font-size: 10px; line-height: 1.3; color: var(--accent-dark); }
.phone__item { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 2px; border-bottom: 1px dashed var(--line); }
.phone__item .mono { font-size: 13px; }
.phone__item.is-out { color: var(--ink-soft); text-decoration: line-through; }
.phone__item.is-out .mono { text-decoration: none; color: var(--accent-dark); }
.phone__btn { margin-top: 6px; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 13px; font: 600 14px var(--body); }

.float-card { position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 20px 40px -18px oklch(20% 0.02 60 / .35); border: 1px solid var(--line); animation: float 4s ease-in-out infinite; }
.float-card .mono { color: var(--accent-dark); font-size: 11px; }
.float-card--order { left: 0; bottom: 70px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Ticker */
.ticker { background: var(--accent); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.ticker__track { display: flex; gap: 32px; width: max-content; animation: scroll 30s linear infinite; font: 800 28px var(--display); letter-spacing: -0.01em; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; }
.section--dark { background: var(--dark); color: var(--bg); }
.section--dark h2 { color: var(--bg); }
.section--dark .eyebrow--plain { color: var(--yellow); }
.section--tint { background: var(--bg-tint); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); transition: transform .2s; }
.feature:hover { transform: translateY(-4px); }
.feature p { color: var(--ink-soft); }
.feature--accent { background: var(--ink); color: var(--bg); }
.feature--accent p { color: oklch(80% 0.01 80); }
.feature__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg) translateY(-2px); }

/* Demo */
.demo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.demo__panel { background: var(--dark-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; border: 1px solid oklch(32% 0.012 60); }
.demo__panel--light { background: var(--bg); color: var(--ink); border-color: transparent; }
.demo__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.demo__head > .mono { color: var(--yellow); }
.demo__panel--light .demo__head > .mono { color: var(--accent-dark); }
.demo__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

.admin-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: oklch(30% 0.012 60); cursor: pointer; user-select: none; transition: background .15s; }
.admin-item:hover { background: oklch(34% 0.012 60); }
.toggle { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--green); flex: none; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 21px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; }
.admin-item.is-off { color: oklch(65% 0.01 80); }
.admin-item.is-off .toggle { background: oklch(45% 0.01 60); }
.admin-item.is-off .toggle::after { left: 3px; }

.client-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; transition: opacity .25s; }
.client-item .price { font: 500 14px var(--mono); }
.client-item button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font: 600 18px var(--body); cursor: pointer; line-height: 1; color: var(--ink); }
.client-item button:hover { background: var(--ink); color: var(--bg); }
.client-item .qty { font: 500 12px var(--mono); color: var(--accent-dark); min-width: 22px; text-align: right; }
.client-item.is-out { opacity: .45; }
.client-item.is-out .name { text-decoration: line-through; }
.client-item.is-out button { visibility: hidden; }
.demo__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.demo__total strong { font-size: 22px; }
.demo__msg { min-height: 18px; color: oklch(42% 0.12 150); text-align: center; }

.map { position: relative; height: 240px; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(135deg, oklch(28% 0.012 60) 0 10px, oklch(31% 0.012 60) 10px 20px); }
.map__road { position: absolute; background: oklch(38% 0.012 60); }
.map__road--h { left: 0; right: 0; top: 55%; height: 14px; }
.map__road--v { top: 0; bottom: 0; left: 30%; width: 14px; }
.map__you { position: absolute; left: 70%; top: 22%; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 4px solid oklch(65% 0.13 250); }
.map__you span { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font: 500 11px var(--mono); color: var(--bg); }
.map__truck { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); transition: left 1.2s ease, top 1.2s ease; left: 10%; top: calc(55% - 4px); }
.map__pulse { position: absolute; inset: -3px; border-radius: 50%; animation: ring 1.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 oklch(64% 0.19 40 / .7); } 100% { box-shadow: 0 0 0 18px oklch(64% 0.19 40 / 0); } }
.map__label { position: absolute; right: 10px; bottom: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; background: var(--dark); color: oklch(70% 0.01 80); padding: 3px 7px; border-radius: 5px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 2px solid var(--ink); }
.step p { color: var(--ink-soft); }
.step__n { font: 800 72px var(--display); color: var(--accent); line-height: 1; letter-spacing: -0.04em; }

/* Quote */
.quote { background: var(--yellow); padding: 96px 0; }
.quote__inner { display: flex; gap: 40px; align-items: flex-start; max-width: 960px; }
.placeholder--avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; background: repeating-linear-gradient(135deg, oklch(80% 0.13 92) 0 8px, oklch(76% 0.13 92) 8px 16px); }
.placeholder--avatar span { background: var(--yellow); font-size: 10px; }
.quote blockquote { margin: 0; }
.quote p { font: 700 clamp(24px, 3vw, 36px)/1.2 var(--display); letter-spacing: -0.015em; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 16px; }

/* Pricing */
.pricing__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.switch { display: inline-flex; padding: 4px; border: 1.5px solid var(--ink); border-radius: 999px; }
.switch__btn { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.switch__btn.is-active { background: var(--ink); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.plan .checks { flex: 1; margin-bottom: 8px; }
.plan--featured { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan--featured .btn--accent { margin-top: auto; }
.plan__badge { position: absolute; top: -12px; left: 32px; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; }
.plan__price .mono { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; }
.plan__price small { color: var(--ink-soft); }
.plan--featured .plan__price small { color: oklch(75% 0.01 80); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1.5px solid var(--ink); padding: 22px 0; }
.faq__item:last-child { border-bottom: 1.5px solid var(--ink); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font: 700 21px var(--display); letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font: 400 26px var(--mono); line-height: 1; transition: transform .2s; color: var(--accent); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin-top: 12px; color: var(--ink-soft); max-width: 560px; }

/* CTA */
.cta { background: var(--accent); color: #fff; padding: 120px 0; }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 36px; }
.cta h2 { margin: 0; color: #fff; font-size: clamp(38px, 5.4vw, 72px); }
.cta__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 720px; }
.cta__form input { flex: 1 1 200px; min-width: 0; padding: 15px 22px; border-radius: 999px; border: 2px solid transparent; background: #fff; font: 500 16px var(--body); color: var(--ink); outline: none; }
.cta__form input:focus { border-color: var(--ink); }
.cta__form input.is-error { border-color: var(--yellow); box-shadow: 0 0 0 3px oklch(86% 0.15 92 / .5); }
.cta__msg { color: #fff; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; font-size: 15px; }

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

/* Responsive */
@media (max-width: 980px) {
  .hero__grid, .faq { grid-template-columns: 1fr; }
  .features, .demo, .plans, .steps { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 24px; }
  .float-card--order { left: 4%; }
}
@media (max-width: 960px) {
  .nav__links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; display: none; }
  .nav__links a { padding: 12px 0; font-size: 18px; }
  .nav.is-open .nav__links { display: flex; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .section { padding: 88px 0; }
  .hero { padding-top: 40px; }
  .hero__visual::before { width: 320px; height: 320px; }
  .quote__inner { flex-direction: column; }
  .footer__links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
