/*
 * Appraise for Dealers — marketing site styles. Plain CSS, no build step.
 * Dark, VIN-first brand matching the app (src/theme/tokens.ts dark palette + the logo gradient).
 * Font: Inter by Rasmus Andersson (SIL Open Font License 1.1), self-hosted latin subset.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-symbols.woff2') format('woff2');
  unicode-range: U+2190, U+2192, U+2197, U+2212, U+2248, U+2264-2265, U+2713;
}

:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #0a0d18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #0d111d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --fg: #f4f4f1;
  --fg-2: #d9dbe2;
  --muted: #a3a8b8;
  --subtle: #6f7588;
  --accent: #4c84ff;
  --accent-2: #2f5bff;
  --cyan: #2fd3ff;
  --navy: #16244a;
  --grad: linear-gradient(100deg, #2f5bff 0%, #3b7bff 55%, #2aa8f5 100%);
  --grad-text: linear-gradient(95deg, #4c84ff 0%, #3d9bff 45%, #2fd3ff 100%);
  --danger: #ff5a4e;
  --danger-soft: rgba(255, 90, 78, 0.14);
  --warn: #ff9a3d;
  --warn-soft: rgba(255, 154, 61, 0.14);
  --ok: #32d583;
  --ok-soft: rgba(50, 213, 131, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --gutter: 16px;
  --max: 1200px;
  --nav-h: 64px;
  --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, 0.75);
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --nav-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 50% -180px, rgba(47, 91, 255, 0.28), transparent 70%),
    radial-gradient(700px 500px at 100% 0, rgba(47, 211, 255, 0.07), transparent 70%);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a, li a, dd a, .prose a, .link { color: #8fb3ff; text-decoration: underline; text-decoration-color: rgba(143, 179, 255, 0.4); text-underline-offset: 3px; }
p a:hover, li a:hover, .prose a:hover, .link:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; color: var(--fg); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(76, 132, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.sr-only { 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: #fff; color: #05070d; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(72px, 9vw, 136px); position: relative; }
.section-tight { padding-block: clamp(56px, 6vw, 88px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-text); }
.center .eyebrow::before { display: none; }
.h2 { font-size: clamp(2rem, 3.6vw + 0.9rem, 3.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.h3 { font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; font-weight: 700; }
.lead { font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.3125rem); line-height: 1.55; color: var(--muted); }
.section-head .lead { margin-top: 18px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 32px -12px rgba(47, 91, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22); text-shadow: 0 1px 1px rgba(10, 20, 80, 0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 44px -12px rgba(61, 139, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: rgba(255, 255, 255, 0.06); color: var(--fg); border-color: var(--line-2); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); }
.btn-ghost { background: transparent; color: var(--fg-2); padding-inline: 14px; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .cta-row .btn { width: 100%; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--fg-2);
  font-size: 0.875rem; font-weight: 550; line-height: 1.3;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(47, 211, 255, 0.16); flex: none; }
a.pill:hover { border-color: rgba(255, 255, 255, 0.26); color: #fff; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background-color 0.25s ease, border-color 0.25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: rgba(5, 7, 13, 0.78); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.03em; color: #fff; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 20px -6px rgba(47, 91, 255, 0.6); }
.brand small { font-size: inherit; font-weight: 500; color: var(--muted); letter-spacing: -0.02em; }
@media (max-width: 479px) { .brand small { display: none; } }
.nav-desktop-label { display: none; }
@media (min-width: 1024px) { .nav-desktop-label { display: inline; } }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: 28px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--fg-2); font-size: 0.9375rem; font-weight: 550; transition: color 0.15s, background-color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-actions .btn-sm { min-height: 40px; }
.nav-desktop { display: none; }
.menu-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; position: relative; transition: transform 0.2s ease, background-color 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.2s ease; }
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: rotate(45deg); }
.nav.open .menu-btn span::after { transform: rotate(-45deg); }
.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); background: rgba(5, 7, 13, 0.97); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.nav.open .mobile-menu { display: block; }
.mobile-menu nav { display: grid; padding: 8px 0 4px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 1.125rem; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.mobile-menu nav a[aria-current='page'] { color: #fff; }
.mobile-menu nav a::after { content: '\2192'; color: var(--subtle); font-weight: 500; }
.mobile-menu .cta-col { display: grid; gap: 10px; padding: 20px 0 24px; }
@media (min-width: 1024px) {
  .nav-links, .nav-desktop { display: flex; }
  .menu-btn, .mobile-menu, .nav-mobile-only { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 104px); overflow: clip; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-bg::before { /* perspective grid floor, like the ads */
  content: ''; position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image: linear-gradient(rgba(76, 132, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 132, 255, 0.16) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 75%); mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 75%);
}
.hero-bg::after { /* light streaks */
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(160deg, transparent 0 30%, rgba(47, 211, 255, 0.09) 30.1%, transparent 30.6%),
    linear-gradient(160deg, transparent 0 62%, rgba(76, 132, 255, 0.1) 62.1%, transparent 62.5%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.625rem, 5.6vw + 1rem, 5.25rem); line-height: 1.0; letter-spacing: -0.045em; margin-top: 22px; }
.hero .lead { margin-top: 22px; max-width: 560px; }
.hero .cta-row { margin-top: 32px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 0.9375rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 32px; }
}

/* Hero visual: phones + floating cards */
.hero-visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; height: 560px; }
.hero-visual .device-main { position: absolute; left: 50%; top: 0; transform: translateX(-42%); --w: 248px; z-index: 2; }
.hero-visual .device-back { position: absolute; left: 50%; top: 56px; transform: translateX(-108%) rotate(-7deg) scale(0.86); transform-origin: 50% 50%; --w: 248px; z-index: 1; opacity: 0.55; filter: saturate(0.85); display: none; }
.hero-visual .float { position: absolute; z-index: 3; }
.hero-visual .vin-card { left: 0; bottom: 8px; width: min(300px, 82%); }
.hero-visual .flag-card { right: 0; top: 36px; width: min(236px, 64%); }
@media (min-width: 480px) {
  .hero-visual { height: 640px; }
  .hero-visual .device-main { --w: 280px; }
  .hero-visual .vin-card { bottom: 24px; }
}
@media (min-width: 1024px) {
  .hero-visual { height: 680px; max-width: none; }
  .hero-visual .device-main { --w: 300px; transform: translateX(-30%); }
  .hero-visual .device-back { display: block; --w: 270px; transform: translateX(-112%) rotate(-7deg); top: 72px; }
  .hero-visual .vin-card { left: -24px; bottom: 44px; width: 320px; }
  .hero-visual .flag-card { right: -8px; top: 64px; width: 250px; }
}
@media (min-width: 1280px) { .hero-visual .flag-card { right: -32px; } }

/* Device frame (screens are real app screenshots) */
.device {
  --w: 280px;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.155);
  background: linear-gradient(145deg, #2a3042, #0c0f18 40%, #151a28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.6), var(--shadow-lg), 0 0 120px -30px rgba(47, 91, 255, 0.55);
  position: relative;
}
.device-screen { border-radius: calc(var(--w) * 0.125); overflow: hidden; background: #f5f5f2; position: relative; isolation: isolate; }
.device-screen img { width: 100%; aspect-ratio: 720 / 1564; object-fit: cover; object-position: top; }
.device-status { height: calc(var(--w) * 0.11); display: flex; align-items: center; justify-content: space-between; padding: calc(var(--w) * 0.012) calc(var(--w) * 0.085) 0; color: #0b0b0c; font-size: calc(var(--w) * 0.045); font-weight: 650; letter-spacing: -0.01em; position: relative; }
.device-status::before { content: ''; position: absolute; left: 50%; top: calc(var(--w) * 0.03); width: calc(var(--w) * 0.3); height: calc(var(--w) * 0.075); transform: translateX(-50%); border-radius: 999px; background: #05070d; }
.device-status .icons { display: flex; align-items: center; gap: calc(var(--w) * 0.016); }
.device-status .icons i { display: block; background: #0b0b0c; border-radius: 2px; }
.device-status .sig { width: calc(var(--w) * 0.05); height: calc(var(--w) * 0.032); clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.device-status .bat { width: calc(var(--w) * 0.074); height: calc(var(--w) * 0.036); border-radius: calc(var(--w) * 0.01) !important; position: relative; }
.device-crop { overflow: hidden; }

/* Floating UI cards */
.glass { background: linear-gradient(180deg, rgba(22, 30, 54, 0.88), rgba(10, 14, 26, 0.92)); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.vin-card { border-radius: 22px; padding: 18px; color: #fff; background: linear-gradient(135deg, #4c84ff 0%, #2448c9 45%, #0a0a0b 100%); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 80px -20px rgba(76, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.vin-card .vc-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; }
.vin-card .vc-field { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 46px; border-radius: 12px; background: #151517; border: 1px solid #2b2b30; padding: 0 8px 0 12px; }
.vin-card .vc-vin { font-family: var(--mono); font-size: 0.875rem; letter-spacing: 0.04em; color: #f4f4f1; white-space: nowrap; overflow: hidden; width: 17.6ch; }
.vin-card .vc-vin span { display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; border-right: 2px solid transparent; }
.vin-card .vc-scan { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #1e1e21; color: #a3a6ad; flex: none; }
.vin-card .vc-scan svg { width: 17px; height: 17px; }
.vin-card .vc-count { margin-top: 8px; font-size: 0.75rem; opacity: 0.85; }
.vin-card .vc-btn { margin-top: 10px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #4c84ff; font-weight: 700; font-size: 0.9375rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.flag-card { padding: 14px 14px 14px 14px; }
.flag-card .fc-top { display: flex; align-items: center; gap: 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--danger); }
.flag-card .fc-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.flag-card .fc-title { margin-top: 8px; font-weight: 750; font-size: 1rem; letter-spacing: -0.015em; line-height: 1.25; }
.flag-card .fc-sub { margin-top: 4px; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .vin-card .vc-vin span { animation: vin-type 2.6s steps(17, end) 0.9s both, caret 0.8s step-end 0.9s 4; }
  .vin-card .vc-btn { animation: vc-pulse 2.4s ease 3.5s 1; }
  .hero-visual .float { animation: float-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-visual .flag-card { animation-delay: 0.35s; }
  .hero-visual .vin-card { animation-delay: 0.15s; }
}
@keyframes vin-type { from { width: 0; } to { width: 17.6ch; } }
@keyframes caret { 50% { border-color: #4c84ff; } }
@keyframes vc-pulse { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); } 40% { box-shadow: 0 0 0 6px rgba(76, 132, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2); } }
@keyframes float-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Sample appraisal strip: VIN → wholesale → comps → max buy */
.sample { margin-top: clamp(48px, 6vw, 80px); }
.sample-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 14px; font-size: 0.875rem; color: var(--muted); }
.sample-label strong { color: var(--fg-2); font-weight: 650; }
.sample-label .tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted); }
.sample-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; }
.sample-row li { position: relative; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.sample-row .k { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.sample-row .v { margin-top: 6px; font-size: clamp(1.125rem, 1vw + 0.9rem, 1.625rem); font-weight: 750; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sample-row .v.mono { font-size: clamp(0.8125rem, 0.5vw + 0.7rem, 1.0625rem); letter-spacing: 0.03em; font-weight: 600; padding-top: 6px; }
.sample-row .s { margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }
.sample-row li.hl { background: linear-gradient(135deg, rgba(76, 132, 255, 0.24), rgba(47, 211, 255, 0.06)); border-color: rgba(76, 132, 255, 0.5); }
.sample-row li.vin, .sample-row li.hl { grid-column: 1 / -1; }
@media (min-width: 900px) { .sample-row li.vin, .sample-row li.hl { grid-column: auto; } }
.sample-row li.hl .v { color: #fff; }
@media (min-width: 900px) {
  .sample-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 0; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
  .sample-row li { border: 0; border-radius: 0; background: transparent; padding: 22px 26px; }
  .sample-row li + li { border-left: 1px solid var(--line); }
  .sample-row li + li::before { content: '\2192'; position: absolute; left: -13px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--accent); z-index: 1; }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; }
.step { position: relative; display: grid; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); overflow: hidden; isolation: isolate; }
.step::before { content: ''; position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(closest-side, rgba(47, 91, 255, 0.3), transparent); z-index: -1; }
.step-body { padding: 28px 24px 8px; }
.step-num { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.step-num b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 0.875rem; letter-spacing: 0; }
.step h3 { margin-top: 18px; font-size: clamp(1.5rem, 1vw + 1.2rem, 1.875rem); letter-spacing: -0.03em; }
.step .step-lead { margin-top: 10px; color: var(--muted); }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.checks li { position: relative; padding-left: 28px; color: var(--fg-2); line-height: 1.5; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: rgba(76, 132, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fa6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.step-visual { position: relative; display: flex; justify-content: center; padding-top: 28px; height: 380px; overflow: hidden; }
.step-visual .device { --w: 260px; }
.step-visual .chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: 12px; font-size: 0.8125rem; font-weight: 650; line-height: 1.2; color: #fff; background: rgba(13, 17, 29, 0.92); border: 1px solid var(--line-2); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8); white-space: nowrap; }
.step-visual .chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.step-visual .chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; }
.chip.c1 { left: 12px; top: 96px; } .chip.c2 { right: 12px; top: 176px; } .chip.c3 { left: 18px; top: 256px; }
.dot-danger { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.dot-warn { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot-accent { background: var(--accent); box-shadow: 0 0 0 3px rgba(76, 132, 255, 0.2); }
@media (min-width: 700px) and (max-width: 1023px) {
  .step { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
  .step-body { padding: 36px 8px 36px 36px; align-self: center; }
  .step-visual { height: auto; min-height: 420px; padding-top: 36px; }
  .step-visual .device { position: absolute; top: 36px; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-rows: auto 1fr; }
  .step-body { padding: 32px 28px 8px; }
  .step-visual { height: 400px; }
}
.standalone-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 0.9375rem; }
.standalone-note b { color: var(--fg-2); font-weight: 650; }

/* ---------- Spotlight (fraud flag) ---------- */
.spot { display: grid; gap: 40px; align-items: center; }
.spot-copy .lead { margin-top: 18px; }
.spot-copy .checks { margin-top: 24px; }
.verdict { border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-solid); box-shadow: var(--shadow-lg); }
.verdict-banner { padding: 22px; background: linear-gradient(135deg, #e0382c, #b4231a); color: #fff; }
.verdict-banner .vb-top { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.95; }
.verdict-banner .vb-top svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.verdict-banner .vb-title { margin-top: 12px; font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2.125rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.verdict-banner .vb-sub { margin-top: 8px; font-size: 0.9375rem; opacity: 0.92; }
.verdict-rows { list-style: none; }
.verdict-rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.verdict-rows li:first-child { border-top: 0; }
.verdict-rows .vr-t { font-weight: 650; font-size: 0.9375rem; line-height: 1.3; }
.verdict-rows .vr-s { font-size: 0.8125rem; color: var(--muted); }
.verdict-rows .vr-v { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.9375rem; white-space: nowrap; }
.verdict-rows .sev { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.sev.high { color: var(--danger); background: var(--danger-soft); }
.sev.med { color: var(--warn); background: var(--warn-soft); }
.verdict-foot { padding: 12px 20px; font-size: 0.75rem; color: var(--subtle); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .spot { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Feature grid ---------- */
.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
.feature { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s, background-color 0.2s, transform 0.2s; }
.feature:hover { border-color: var(--line-2); background: var(--surface-2); }
.feature .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(76, 132, 255, 0.28), rgba(47, 211, 255, 0.1)); border: 1px solid rgba(76, 132, 255, 0.35); color: #9dbbff; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 18px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 0.96875rem; line-height: 1.55; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); gap: 16px; } .feature { padding: 30px 28px; } }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.platforms span { font-size: 0.8125rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--fg-2); }

/* ---------- Calgary ---------- */
.calgary { display: grid; gap: 40px; align-items: center; }
.calgary-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(120% 90% at 50% 0%, #16244a 0%, #0b1022 55%, #05070d 100%); min-height: 340px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.calgary-card .mtn { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; z-index: -1; }
.calgary-card .loc { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--fg-2); font-size: 0.9375rem; }
.calgary-card .loc svg { width: 18px; height: 18px; color: var(--cyan); }
.calgary-card .big { font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.calgary-card .coords { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.04em; }
.calgary-list { list-style: none; display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.calgary-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.calgary-list .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: #9dbbff; font-weight: 800; font-size: 0.8125rem; letter-spacing: -0.01em; }
.calgary-list .ci svg { width: 20px; height: 20px; }
.calgary-list b { display: block; font-weight: 650; color: var(--fg); }
.calgary-list span { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 1024px) { .calgary { grid-template-columns: 1fr 1fr; gap: 72px; } .calgary-card { min-height: 520px; padding: 36px; } }

/* ---------- Offer ---------- */
.offer { position: relative; border-radius: 32px; padding: 1px; background: linear-gradient(120deg, rgba(76, 132, 255, 0.9), rgba(47, 211, 255, 0.5) 40%, rgba(255, 255, 255, 0.08) 70%, rgba(76, 132, 255, 0.6)); box-shadow: 0 40px 120px -40px rgba(47, 91, 255, 0.6); }
.offer-inner { border-radius: 31px; padding: clamp(28px, 5vw, 64px); background: radial-gradient(90% 120% at 100% 0%, rgba(47, 91, 255, 0.35), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(47, 211, 255, 0.12), transparent 60%), #070a14; display: grid; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.offer h2 { font-size: clamp(2rem, 3.4vw + 1rem, 3.5rem); letter-spacing: -0.04em; }
.offer .lead { margin-top: 16px; color: var(--fg-2); }
.offer .fine { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }
.offer .cta-row { margin-top: 28px; }
.offer-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: #bcd2ff; padding: 7px 12px; border-radius: 999px; background: rgba(76, 132, 255, 0.16); border: 1px solid rgba(76, 132, 255, 0.4); margin-bottom: 18px; }
.reader { justify-self: center; position: relative; width: min(280px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.reader svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.reader-count { position: absolute; right: 0; top: 4%; padding: 10px 14px; border-radius: 16px; text-align: center; }
.reader-count b { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.reader-count span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .offer-inner { grid-template-columns: 1.4fr 0.6fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem); font-weight: 650; letter-spacing: -0.015em; min-height: 56px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9dbe2' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.25s ease, background-color 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: rgba(255, 255, 255, 0.06); }
.faq-list summary:hover { color: #fff; }
.faq-list .ans { padding: 0 44px 24px 0; color: var(--muted); }
.faq-list .ans p + p { margin-top: 10px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } .faq .section-head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: clip; }
.cta-band::before { content: ''; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(47, 91, 255, 0.35), transparent); z-index: -1; pointer-events: none; }
.cta-band h2 { font-size: clamp(2.25rem, 4.6vw + 1rem, 4.25rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 900px; margin-inline: auto; }
.cta-band .lead { margin: 20px auto 0; max-width: 600px; }
.cta-band .cta-row { justify-content: center; margin-top: 34px; }
.store-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 0.9375rem; font-weight: 550; }
.store-link svg { width: 18px; height: 18px; }
.store-link:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: linear-gradient(180deg, transparent, rgba(22, 36, 74, 0.18)); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; max-width: 320px; }
.footer h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 2px; }
.footer ul a { display: inline-flex; align-items: center; min-height: 36px; color: var(--fg-2); font-size: 0.9375rem; }
.footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--subtle); font-size: 0.875rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }

/* ---------- Sub-page hero ---------- */
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); text-align: center; }
.page-hero h1 { font-size: clamp(2.375rem, 4.8vw + 1rem, 4.5rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 920px; margin-inline: auto; }
.page-hero .lead { margin: 20px auto 0; max-width: 640px; }
.page-hero .cta-row { justify-content: center; margin-top: 30px; }
.page-hero.left { text-align: left; }
.page-hero.left h1, .page-hero.left .lead { margin-inline: 0; }
.page-hero .answer-line { margin: 16px auto 0; max-width: 680px; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }

/* ---------- Short plain-text answers near the top of a page (what search engines and AI answers quote) ---------- */
.answer-band { padding-block: clamp(8px, 2vw, 24px) 0; }
.answer { max-width: 780px; margin-inline: auto; text-align: center; }
.answer h2 { font-size: clamp(1.25rem, 0.8vw + 1rem, 1.625rem); letter-spacing: -0.025em; line-height: 1.25; color: #fff; }
.answer p { margin-top: 12px; color: var(--muted); line-height: 1.65; }
.answer strong { color: var(--fg-2); font-weight: 650; }

/* ---------- Guide video (no inline styles: the CSP allows only this stylesheet) ---------- */
.video-frame { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line-2); background: #000; }
.video-notes { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Feature detail rows (features page) ---------- */
.rows { display: grid; gap: clamp(72px, 9vw, 128px); }
.row { display: grid; gap: 40px; align-items: center; }
.row-visual { display: flex; justify-content: center; position: relative; }
.row-visual::before { content: ''; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(47, 91, 255, 0.35), transparent); z-index: -1; }
.row-visual .device { --w: 270px; }
.row h2 { font-size: clamp(1.875rem, 2.6vw + 1rem, 3rem); letter-spacing: -0.035em; }
.row .lead { margin-top: 16px; }
.row .checks { margin-top: 22px; }
.row .note { margin-top: 20px; font-size: 0.875rem; color: var(--subtle); }
@media (min-width: 900px) {
  .row { grid-template-columns: 1fr 1fr; gap: 72px; }
  .row.flip .row-visual { order: -1; }
  .row-visual .device { --w: 300px; }
}
.mini-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 24px; }
.mini { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.mini b { display: block; font-size: 1rem; font-weight: 650; }
.mini span { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 560px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
.panel { border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--surface-solid); box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 440px; }
.panel-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head b { font-weight: 700; letter-spacing: -0.015em; }
.panel-head span { font-size: 0.75rem; color: var(--subtle); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.panel-rows { list-style: none; }
.panel-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.panel-rows li:first-child { border-top: 0; }
.panel-rows .l { color: var(--fg-2); min-width: 0; }
.panel-rows .l small { display: block; color: var(--subtle); font-size: 0.8125rem; }
.panel-rows .r { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.panel-rows li.total { background: rgba(76, 132, 255, 0.12); }
.panel-rows li.total .l { color: #fff; font-weight: 700; }
.panel-rows li.total .r { color: #fff; font-size: 1.125rem; font-weight: 800; }
.panel-foot { padding: 12px 20px; font-size: 0.75rem; color: var(--subtle); border-top: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.plan.featured { border-color: rgba(76, 132, 255, 0.6); background: linear-gradient(180deg, rgba(47, 91, 255, 0.16), rgba(255, 255, 255, 0.02)); box-shadow: 0 30px 80px -30px rgba(47, 91, 255, 0.55); }
.plan-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; min-height: 3em; }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-size: 3.25rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-size: 0.9375rem; }
.plan-cap { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-weight: 650; font-size: 0.96875rem; }
.plan-cap small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }
.plan .checks { margin-top: 22px; margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan-tag { position: absolute; top: -12px; left: 26px; padding: 5px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.04em; background: var(--grad); color: #fff; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-notes { margin-top: 28px; display: grid; gap: 12px; grid-template-columns: 1fr; }
.price-notes div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--fg-2); font-size: 0.9375rem; }
.price-notes svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
@media (min-width: 760px) { .price-notes { grid-template-columns: repeat(3, 1fr); } }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare-wrap { border-radius: var(--radius); border: 1px solid var(--line); overflow-x: auto; background: var(--surface); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 600; color: var(--fg-2); }
.compare td { color: var(--fg-2); text-align: center; white-space: nowrap; }
.compare thead th:not(:first-child) { text-align: center; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }

/* ---------- Prose (legal, overview, support) ---------- */
.doc { display: grid; gap: 40px; padding-bottom: clamp(72px, 9vw, 128px); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px 20px; }
.toc h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--fg-2); font-size: 0.9375rem; line-height: 1.35; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--subtle); font-variant-numeric: tabular-nums; font-size: 0.8125rem; padding-top: 1px; }
.toc a:hover { color: #fff; }
.toc .btn { margin-top: 14px; }
@media (min-width: 1024px) {
  .doc { grid-template-columns: 280px minmax(0, 1fr); gap: 72px; }
  .toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; }
}
.prose { max-width: 760px; color: var(--fg-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); letter-spacing: -0.03em; margin-top: 56px; padding-top: 4px; color: #fff; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; margin-top: 32px; color: #fff; }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: #fff; font-weight: 650; }
.prose .meta { color: var(--subtle); font-size: 0.9375rem; }
.prose .callout { padding: 18px 20px; border-radius: 16px; background: rgba(76, 132, 255, 0.08); border: 1px solid rgba(76, 132, 255, 0.3); color: var(--fg-2); }
.prose .callout strong { color: #fff; }
.prose code { font-family: var(--mono); font-size: 0.875em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: #fff; font-weight: 650; }
.formula { font-family: var(--mono); font-size: 0.875rem; line-height: 1.7; padding: 16px 18px; border-radius: 14px; background: #0b0f1a; border: 1px solid var(--line-2); color: #cfe0ff; overflow-x: auto; white-space: pre; }

/* ---------- Support ---------- */
.help-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: clamp(48px, 6vw, 72px); }
.help-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.help-card h2 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; }
.help-card p { color: var(--muted); font-size: 0.9375rem; }
.help-card .btn { margin-top: 10px; align-self: flex-start; }
@media (min-width: 760px) { .help-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Booking ---------- */
.book-grid { display: grid; gap: 32px; padding-bottom: clamp(72px, 9vw, 128px); align-items: start; }
.book-side h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.book-side .checks { margin-top: 16px; }
.book-side .side-card { margin-top: 28px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.book-side .side-card p { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
.book-card { border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(22, 30, 54, 0.6), rgba(10, 13, 24, 0.9)); box-shadow: var(--shadow-lg); padding: 22px 18px; min-width: 0; }
.book-step + .book-step { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.book-step h2 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; }
.book-step h2 b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(76, 132, 255, 0.18); color: #9dbbff; font-size: 0.8125rem; }
.book-step .hint { margin-top: 4px; font-size: 0.875rem; color: var(--muted); }
.tz-note { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--muted); }
.tz-note svg { width: 14px; height: 14px; }
.days { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
.day { flex: none; width: 74px; padding: 10px 0 9px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); text-align: center; cursor: pointer; scroll-snap-align: start; transition: border-color 0.15s, background-color 0.15s, transform 0.15s; }
.day:hover { border-color: rgba(255, 255, 255, 0.3); }
.day .dw { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.day .dd { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.day .dm { display: block; font-size: 0.75rem; color: var(--muted); }
.day[aria-pressed='true'] { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 91, 255, 0.9); }
.day[aria-pressed='true'] .dw, .day[aria-pressed='true'] .dm { color: rgba(255, 255, 255, 0.85); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.time { min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-weight: 650; font-size: 0.9375rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.time:hover { border-color: rgba(255, 255, 255, 0.3); }
.time[aria-pressed='true'] { background: rgba(76, 132, 255, 0.2); border-color: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.local-hint { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); min-height: 1.3em; }
.skel { border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.skel-day { flex: none; width: 74px; height: 78px; }
.skel-time { height: 48px; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.form-grid { display: grid; gap: 14px; margin-top: 16px; }
.field label, .field .label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--fg-2); margin-bottom: 6px; }
.field label .opt { color: var(--subtle); font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 7, 13, 0.6); color: var(--fg); font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76, 132, 255, 0.25); }
.field input[aria-invalid='true'] { border-color: var(--danger); }
.field .err { margin-top: 6px; font-size: 0.8125rem; color: #ff8a80; display: none; }
.field input[aria-invalid='true'] ~ .err { display: block; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 14px; background: rgba(5, 7, 13, 0.6); border: 1px solid var(--line-2); }
.segmented label { position: relative; margin: 0; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 44px; padding: 4px 6px; border-radius: 10px; font-size: 0.875rem; font-weight: 650; color: var(--muted); text-align: center; line-height: 1.2; transition: background-color 0.15s, color 0.15s; }
.segmented input:checked + span { background: rgba(76, 132, 255, 0.22); color: #fff; box-shadow: inset 0 0 0 1px rgba(76, 132, 255, 0.6); }
.segmented input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 1px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.summary { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(76, 132, 255, 0.1); border: 1px solid rgba(76, 132, 255, 0.35); display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; }
.summary svg { width: 20px; height: 20px; color: #9dbbff; flex: none; }
.summary b { color: #fff; }
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); border: 1px solid rgba(255, 90, 78, 0.4); color: #ffb4ad; font-size: 0.9375rem; }
.book-submit { margin-top: 18px; }
.book-legal { margin-top: 12px; font-size: 0.8125rem; color: var(--subtle); text-align: center; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state { text-align: center; padding: 28px 8px; }
.state .state-ico { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: rgba(76, 132, 255, 0.16); border: 1px solid rgba(76, 132, 255, 0.4); color: #9dbbff; }
.state .state-ico svg { width: 30px; height: 30px; }
.state.ok .state-ico { background: var(--ok-soft); border-color: rgba(50, 213, 131, 0.45); color: var(--ok); }
.state h2 { margin-top: 18px; font-size: clamp(1.5rem, 1.5vw + 1.1rem, 2rem); letter-spacing: -0.03em; }
.state p { margin: 10px auto 0; max-width: 420px; color: var(--muted); }
.state .when { margin: 20px auto 0; max-width: 380px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); }
.state .when b { display: block; font-size: 1.125rem; letter-spacing: -0.015em; color: #fff; }
.state .when span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.9375rem; }
.state .cta-row { justify-content: center; margin-top: 22px; }
@media (min-width: 640px) { .book-card { padding: 30px 28px; } .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .book-grid { grid-template-columns: 0.75fr 1.25fr; gap: 56px; } .book-side { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - var(--nav-h) - 220px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf .code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.nf h1 { margin-top: 16px; font-size: clamp(1.75rem, 2vw + 1.2rem, 2.5rem); letter-spacing: -0.03em; }
.nf p { margin: 14px auto 0; max-width: 460px; color: var(--muted); }
.nf .cta-row { justify-content: center; margin-top: 28px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.d1 { transition-delay: 0.08s; } .js .reveal.d2 { transition-delay: 0.16s; } .js .reveal.d3 { transition-delay: 0.24s; }
}
@media print {
  .nav, .footer, .cta-band, .hero-bg { display: none !important; }
  body { background: #fff; color: #000; }
}
.doc > * { min-width: 0; }
#book-form .book-step { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
