/* ============================================================
   Reset · typography · primitives
   Type, weights, tracking, radii and button treatments all
   follow the CrashPricer mockups so the page and the app read as
   one product.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

::selection { background: var(--green-bright); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: 10px 16px; border-radius: var(--r-md);
  background: var(--ink); color: #fff; font-size: var(--t-caption); font-weight: 700;
  transform: translateY(-160%);
  transition: transform .3s var(--e-out);
}
.skip:focus { transform: none; }

/* ── headings ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 { line-height: 1.18; letter-spacing: -0.022em; }

/* the mockups' section eyebrow, verbatim */
.kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.kicker--light { color: var(--green-bright); }

/* the mockups' in-card micro label */
.lbl {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
}

.sech { font-size: var(--t-h2); margin-top: 16px; }
.sech em { color: var(--green-deep); }
.sech--light { color: #fff; }
.sech--light em { color: var(--green-bright); }

.lede {
  font-size: var(--t-lede);
  line-height: 1.6;
  color: var(--text-2);
}

/* ── layout primitives ────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--narrow); }

.sec { position: relative; padding-block: var(--sec-y); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #fff; }

.sechead { max-width: min(100%, 960px); margin-bottom: clamp(48px, 6vw, 88px); }

/* ── buttons ──────────────────────────────────────────────────
   The app fills actions at 18px radius with white type; the page
   keeps that and only adds the hover depth a website needs.      */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 18px;
  background: var(--bg);
  color: var(--fg);
  font-size: var(--t-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  will-change: transform;
  transition: transform .35s var(--e-out), box-shadow .35s var(--e-out),
              background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:active { transform: scale(.975) !important; }

.btn--sm { padding: 11px 18px; font-size: var(--t-caption); border-radius: 14px; }
.btn--lg { padding: 19px 34px; font-size: var(--t-lede); border-radius: 20px; }

.btn--ink { --bg: var(--ink); box-shadow: 0 14px 30px -14px rgba(13,26,43,.6); }
.btn--ink:hover { --bg: var(--ink-soft); box-shadow: 0 18px 40px -14px rgba(13,26,43,.7); }

.btn--green { --bg: var(--green-bright); box-shadow: 0 12px 24px -10px rgba(34,197,94,.55); }
.btn--green:hover { --bg: #2BD268; box-shadow: var(--sh-glow); }

.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { --bg: var(--paper); border-color: var(--ink); box-shadow: var(--sh-xs); }

.btn--glass {
  --bg: rgba(255,255,255,.07); --fg: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { --bg: rgba(255,255,255,.14); }

.btn .arrow { width: 16px; height: 16px; flex: none; transition: transform .4s var(--e-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn__play {
  display: grid; place-items: center;
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: var(--ink); color: #fff;
}
.btn__play svg { width: 12px; height: 12px; }

/* ── store badges ─────────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.6);
  transition: transform .35s var(--e-out), border-color .25s, background-color .25s;
}
.store:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--paper); }
.store__ico { width: 21px; height: 21px; flex: none; }
.store span { display: flex; flex-direction: column; font-size: var(--t-body-sm); font-weight: 800; line-height: 1.15; }
.store small { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-4); }

.stores--light .store { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; }
.stores--light .store:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.stores--light .store small { color: rgba(255,255,255,.55); }

/* ── shared small parts ───────────────────────────────────── */
.ping {
  position: relative;
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: var(--green-bright);
}
.ping::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--green-bright);
  animation: ping 1.9s var(--e-out) infinite;
}
@keyframes ping {
  0%   { transform: scale(.5); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--e-out), transform .9s var(--e-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

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