/* RideWorth website styles — standalone, not shared with southsea-labs. */

:root {
  --bg: #07090d;
  --bg-2: #0b0f16;
  --surface: #10151f;
  --surface-2: #151c29;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef7;
  --muted: #9aa7ba;
  --faint: #6b7789;
  --blue: #2e9bff;
  --blue-2: #7cc6ff;
  --blue-glow: rgba(46, 155, 255, 0.35);
  --accept: #2fd27a;
  --marginal: #f5b83d;
  --skip: #ff5d5d;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --gutter: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: #001428; font-weight: 700;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-2); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand strong { color: var(--blue-2); font-weight: 750; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 550;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav .nav-cta { color: var(--text); border: 1px solid var(--border-strong); margin-left: 6px; }
.site-nav .nav-cta:hover { border-color: var(--blue); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .2s; position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 68px;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px; font-size: 1.05rem; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  /* Without JS, links wrap under the brand instead of hiding behind a dead toggle. */
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .25s, background-color .2s, border-color .2s, color .2s;
}
.btn-primary {
  background: linear-gradient(180deg, #47a9ff, var(--blue));
  color: #00142a;
  box-shadow: 0 8px 28px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { color: #00142a; transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(46, 155, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { color: #fff; border-color: var(--blue); background: rgba(46, 155, 255, 0.08); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Download button before a Play Store URL is configured: an <a> without href, not focusable or clickable. */
a.btn[data-config]:not([href]) {
  cursor: default; transform: none;
  background: var(--surface-2); color: var(--muted);
  border-color: var(--border-strong); box-shadow: none;
}
.badge-soon {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: rgba(46, 155, 255, 0.14); color: var(--blue-2);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(46, 155, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-logo svg { width: 56px; height: 56px; filter: drop-shadow(0 6px 24px rgba(46, 155, 255, 0.35)); }
.hero-logo span { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.hero-logo strong { color: var(--blue-2); }
.hero h1 .accent {
  background: linear-gradient(90deg, #8fd0ff, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-note { margin-top: 20px; font-size: 0.875rem; color: var(--faint); }

/* ---------- Phone mock-up ---------- */
.mock-wrap { position: relative; display: flex; justify-content: center; }
.mock-wrap::before {
  content: ""; position: absolute; width: 80%; height: 70%; top: 15%;
  background: radial-gradient(closest-side, rgba(46, 155, 255, 0.28), transparent);
  filter: blur(30px);
}
.phone {
  position: relative; width: min(340px, 100%);
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2a313d, #0d1117 40%, #1a2029);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone-screen {
  border-radius: 34px; overflow: hidden; background: #080b11;
  padding: 14px 14px 18px; min-height: 560px;
}
.phone-status { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: var(--muted); padding: 2px 10px 12px; font-weight: 600; }
.phone-notch { width: 84px; height: 22px; border-radius: 999px; background: #000; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; }
.app-bar .brand { font-size: 1rem; }
.app-bar .brand-mark { width: 24px; height: 24px; }
.demo-chip {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--marginal); border: 1px solid rgba(245, 184, 61, 0.4); padding: 3px 8px; border-radius: 999px;
}
.offer {
  border-radius: 18px; padding: 14px 14px 12px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.offer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tone); }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.offer-platform { font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.verdict {
  --tone: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent);
  padding: 4px 10px; border-radius: 999px;
}
.verdict::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.tone-accept { --tone: var(--accept); }
.tone-marginal { --tone: var(--marginal); }
.tone-skip { --tone: var(--skip); }
.offer-fare { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.offer-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.75rem; color: var(--muted); margin-top: 6px; font-family: var(--mono); }
.offer-route { font-size: 0.78rem; color: var(--faint); margin-top: 8px; }
.offer.is-featured { border-color: rgba(47, 210, 122, 0.35); box-shadow: 0 0 0 1px rgba(47, 210, 122, 0.08), 0 18px 40px -24px rgba(47, 210, 122, 0.5); }
.phone-caption { text-align: center; font-size: 0.68rem; color: var(--faint); margin: 12px 0 0; }

.mock-float {
  position: absolute; display: none;
  background: rgba(16, 21, 31, 0.92); border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 12px 14px; font-size: 0.8rem; box-shadow: 0 20px 40px -20px #000;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* Floats sit beside the 340px phone, never over it; only shown where the column gap can hold them. */
@media (min-width: 1280px) { .mock-float { display: block; } }
.mock-float.one { right: calc(50% + 160px); top: 14%; }
.mock-float.two { left: calc(50% + 160px); bottom: 16%; }
.mock-float b { display: block; font-size: 0.95rem; }
.mock-float { white-space: nowrap; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px;
  font-weight: 800; color: var(--blue-2); font-family: var(--mono);
  background: rgba(46, 155, 255, 0.1); border: 1px solid rgba(46, 155, 255, 0.3);
}
.step p { color: var(--muted); margin: 0; }
.callout {
  margin-top: 28px; padding: 18px 22px; border-radius: var(--radius-sm);
  border: 1px solid rgba(46, 155, 255, 0.25); background: rgba(46, 155, 255, 0.06);
  display: flex; gap: 14px; align-items: flex-start;
}
.callout svg { width: 22px; height: 22px; flex: none; color: var(--blue-2); margin-top: 3px; }
.callout p { margin: 0; color: var(--text); }

/* ---------- Features ---------- */
.features { display: grid; gap: 20px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; flex-direction: column; gap: 6px; transition: border-color .25s, transform .25s; }
.feature:hover { border-color: rgba(46, 155, 255, 0.35); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(46, 155, 255, 0.18), rgba(46, 155, 255, 0.05));
  border: 1px solid rgba(46, 155, 255, 0.25); color: var(--blue-2);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; }
.verdict-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* History mini-dashboard inside the features section */
.history { margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 0.82rem; }
.history-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--border); }
.history-row:first-child { border-top: 0; }
.history-row span:first-child { color: var(--muted); font-family: var(--mono); font-size: 0.78rem; }
.history-row .verdict { font-size: 0.62rem; padding: 3px 8px; }
.demo-label { display: block; margin-top: 10px; font-size: 0.75rem; color: var(--faint); }

/* ---------- Audience ---------- */
.audience { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .audience { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 3px; }
.platforms { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.platform-pill {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); font-weight: 700;
}

/* ---------- Trust ---------- */
.trust-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { display: flex; gap: 16px; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--marginal); margin-top: 2px; }
.trust-item p { color: var(--muted); margin: 0; }
.trust-item h3 { margin-bottom: 0.35em; }

/* ---------- Download ---------- */
.download {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
  background: radial-gradient(120% 120% at 50% 0%, rgba(46, 155, 255, 0.22), transparent 60%), var(--surface);
  border: 1px solid rgba(46, 155, 255, 0.25);
}
.download .brand-mark { width: 64px; height: 64px; margin: 0 auto 20px; filter: drop-shadow(0 8px 30px rgba(46, 155, 255, 0.45)); }
.download .lead { margin-inline: auto; }
.download .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (min-width: 720px) { .footer-links { justify-content: flex-end; } }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--faint); }
.footer-legal p { margin: 0 0 6px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(48px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--border); background: radial-gradient(80% 140% at 80% 0%, rgba(46, 155, 255, 0.12), transparent 60%); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 2.2em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #cdd6e3; }
.prose li { margin-bottom: 0.4em; }
.layout-doc { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 72px); }
@media (min-width: 980px) { .layout-doc { grid-template-columns: 240px 1fr; } }
.toc { font-size: 0.92rem; }
@media (min-width: 980px) { .toc { position: sticky; top: 96px; align-self: start; } }
.toc p { font-weight: 700; color: var(--text); margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { color: var(--muted); text-decoration: none; display: block; padding: 5px 0; }
.toc a:hover { color: var(--text); }

.notice {
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 0 0 28px;
  border: 1px solid rgba(245, 184, 61, 0.45); background: rgba(245, 184, 61, 0.08);
}
.notice strong { color: var(--marginal); }
.notice p:last-child { margin-bottom: 0; }
.placeholder {
  display: inline; padding: 1px 6px; border-radius: 6px;
  background: rgba(245, 184, 61, 0.12); border: 1px dashed rgba(245, 184, 61, 0.55);
  color: #ffd98a; font-family: var(--mono); font-size: 0.85em;
}
.draft-badge {
  display: inline-block; vertical-align: middle; margin-left: 10px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; padding: 4px 10px; border-radius: 8px;
  background: var(--marginal); color: #261a00;
}

/* Official RideWorth wordmark: the artwork has an opaque white background, so it sits on a matching light plate. */
.logo-plate { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin: 0 0 24px; box-shadow: 0 10px 30px -18px rgba(46, 155, 255, 0.6); }
.logo-plate img { width: 240px; max-width: 100%; height: auto; }

/* Key facts list (account deletion, privacy summary) */
.facts { display: grid; gap: 4px 20px; grid-template-columns: max-content 1fr; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 479px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 10px; } }
.prose ol.steps-list { padding-left: 1.4em; }
.prose ol.steps-list li { margin-bottom: 0.6em; padding-left: 0.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text); font-weight: 650; background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.faq details[open] { border-color: rgba(46, 155, 255, 0.3); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

.contact-card { margin-top: 12px; }
.contact-email { font-size: 1.2rem; font-weight: 700; word-break: break-all; }

/* 404 */
.not-found { min-height: calc(100vh - 69px); display: grid; place-items: center; text-align: center; padding: 64px 0; position: relative; overflow: hidden; }
.not-found .code {
  font-size: clamp(5rem, 22vw, 11rem); font-weight: 850; line-height: 1; letter-spacing: -0.06em; margin: 0 0 8px;
  background: linear-gradient(180deg, #ffffff, rgba(46, 155, 255, 0.4)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.not-found .lead { margin-inline: auto; }
.not-found .cta-row { justify-content: center; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 1px rgba(47, 210, 122, 0.08), 0 18px 40px -24px rgba(47, 210, 122, 0.5); } 50% { box-shadow: 0 0 0 1px rgba(47, 210, 122, 0.2), 0 18px 48px -20px rgba(47, 210, 122, 0.7); } }
.phone { animation: float 7s ease-in-out infinite; }
.offer.is-featured { animation: pulse-glow 3.5s ease-in-out infinite; }

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