/*
 * AutonomCRM marketing site. A cool, bright showroom: slate ink on near-white, the app's
 * electric-blue accent (six accents switchable live, mirroring apps/web/src/lib/accent.ts),
 * General Sans throughout, plates in JetBrains Mono.
 */

:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #EEF1F5;
  --border: #E2E6EC;
  --border-strong: #CBD2DC;
  --fg: #0F172A;
  --muted: #475569;
  /* The one inverted block per section. */
  --inv-bg: #0F172A;
  --inv-fg: #F7F8FA;

  --garage: #07090C;
  --garage-2: #0F141B;
  --garage-fg: #EEF1F5;
  --garage-muted: #9AA5B4;

  --primary: #1E5EFF;
  --primary-hover: #1B56EB;
  --primary-fg: #FFFFFF;
  --primary-ink: #1B4ECC;
  /* Accent as seen on the dark garage surfaces. */
  --glow: #4D8CFF;
  /* How far the hero car's blue lighting is rotated to follow the accent. */
  --car-filter: none;

  --success: #15803D;
  --warning: #B45309;
  --violet: #7C3AED;
  --info: #0369A1;

  --font-display: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

[data-accent="ocean"]    { --primary:#0369A1; --primary-hover:#026094; --primary-ink:#065683; --glow:#38BDF8; --car-filter: hue-rotate(-18deg) saturate(1.1); }
[data-accent="royal"]    { --primary:#6D28D9; --primary-hover:#6424C8; --primary-ink:#5924AF; --glow:#A78BFA; --car-filter: hue-rotate(40deg); }
[data-accent="forest"]   { --primary:#15803D; --primary-hover:#127537; --primary-ink:#146835; --glow:#4ADE80; --car-filter: hue-rotate(-85deg) saturate(.9); }
[data-accent="ember"]    { --primary:#C2410C; --primary-hover:#B33B0A; --primary-ink:#9B370F; --glow:#FB923C; --car-filter: hue-rotate(170deg) saturate(1.2); }
[data-accent="graphite"] { --primary:#1F2937; --primary-hover:#323B49; --primary-ink:#1C2430; --glow:#CBD5E1; --car-filter: saturate(.08) brightness(1.1); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--surface); color: var(--fg); border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Type ---------- */
.h2 {
  font: 700 clamp(30px, 4.6vw, 52px)/1.04 var(--font-display);
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.h3 { font: 650 20px/1.25 var(--font-display); letter-spacing: -0.01em; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: 19px; max-width: 34em; margin-top: 14px; text-wrap: pretty; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 12px;
  font: 600 15px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .16s var(--ease-out);
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-outline { border-color: var(--border-strong); background: transparent; }
.btn-glass { color: var(--garage-fg); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--primary-hover); }
  .btn-ink:hover { background: color-mix(in srgb, var(--fg) 85%, var(--bg)); }
  .btn-outline:hover { border-color: var(--fg); }
  .btn-glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
}

/* ---------- Nav: a floating glass pill ---------- */
.nav {
  position: fixed; z-index: 50;
  top: calc(12px + env(safe-area-inset-top)); left: 0; right: 0;
  padding-inline: var(--gutter);
  color: var(--fg);
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(var(--max), 100%); margin-inline: auto; height: 60px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 10px 0 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.07);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  transition: box-shadow .3s, background-color .3s;
}
.nav.is-scrolled .nav-inner { background: rgba(255,255,255,.88); box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 12px 32px -16px rgba(15,23,42,.25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand-name { font: 600 18px/1 var(--font-display); letter-spacing: -0.02em; }
.brand-name span { color: var(--primary-ink); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background-color .2s; }
.link-quiet { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
@media (hover: hover) {
  .nav-links a:hover { color: var(--fg); background: rgba(15,23,42,.05); }
  .link-quiet:hover { color: var(--fg); }
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; place-items: center; }
.mobile-menu {
  pointer-events: auto;
  width: min(var(--max), 100%); margin: 8px auto 0; padding: 8px 18px;
  display: grid; border-radius: 18px;
  background: rgba(255,255,255,.96); border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 20px 40px -20px rgba(15,23,42,.3);
}
.mobile-menu a { padding: 14px 0; color: var(--fg); text-decoration: none; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (max-width: 860px) {
  .nav-links, .link-quiet { display: none; }
  .menu-btn { display: grid; }
  .nav-actions { gap: 4px; }
  .nav-inner { height: 56px; padding: 0 6px 0 10px; }
  .brand-name { font-size: 17px; }
}
@media (max-width: 380px) { .brand-name { display: none; } }

/* ---------- Journey: one pinned studio, driven by scroll ---------- */
/*
 * Without JS the section is a normal flow: hero copy, then the four chapters as text.
 * main.js adds .is-scrolly to <html>; then the section becomes tall, the studio pins,
 * and every [data-el] gets its transform and opacity from the scroll position.
 */
.journey { position: relative; background: #F7F8FA; color: #0F172A; }
.j-sticky {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(124px + env(safe-area-inset-top)) 0 64px;
  /* An infinity cove: white wall curving into a slightly warmer floor. */
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 46%, #ECEFF3 78%, #E1E6EC 100%);
}
.is-scrolly .journey { height: 640vh; height: 640svh; }
.is-scrolly .j-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; }

.studio { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* The overhead softbox. Before the lights come up the studio sits in a dim grey. */
.softbox { position: absolute; left: 50%; top: -38%; width: 120%; height: 80%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, #FFFFFF 0%, rgba(255,255,255,.7) 40%, transparent 72%); }
.dim { position: absolute; inset: 0; background: #C5CBD3; opacity: 0; }
.is-scrolly .dim { opacity: 1; transition: opacity 1.1s cubic-bezier(.3, 0, .2, 1) .1s; }
.is-scrolly .is-lit .dim { opacity: 0; }

/* Hero copy */
.j-hero { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 4; }
.is-scrolly .j-hero { position: absolute; left: 0; right: 0; top: calc(15svh + 40px); }
.hero-kicker { color: #475569; font-weight: 500; font-size: 15px; margin-bottom: 16px; }
.hero-title {
  margin: 0; max-width: 21ch;
  font: 700 clamp(36px, 5.2vw, 74px)/1.02 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-sub { margin-top: 20px; max-width: 34em; color: #475569; font-size: clamp(16px, 1.5vw, 19px); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }
.hero-note { margin-top: 14px; font-size: 14px; color: #475569; }
.journey .hero-ctas .btn-primary { background: var(--primary); color: #FFFFFF; }
.journey .btn-outline { color: #0F172A; border-color: #CBD2DC; background: rgba(255,255,255,.6); }
@media (hover: hover) {
  .journey .hero-ctas .btn-primary:hover { background: var(--primary-hover); }
  .journey .btn-outline:hover { border-color: #0F172A; }
}

/* Load-in: one short entrance for the copy and the car, then scroll takes over. */
.is-scrolly .j-hero > * { opacity: 0; transform: translateY(12px); }
.is-scrolly .is-lit .j-hero > * { animation: rise .8s var(--ease-out) forwards; }
.is-scrolly .is-lit .j-hero > :nth-child(1) { animation-delay: .5s }
.is-scrolly .is-lit .j-hero > :nth-child(2) { animation-delay: .58s }
.is-scrolly .is-lit .j-hero > :nth-child(3) { animation-delay: .7s }
.is-scrolly .is-lit .j-hero > :nth-child(4) { animation-delay: .8s }
.is-scrolly .is-lit .j-hero > :nth-child(5) { animation-delay: .9s }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Visual layer. Every [data-el] sits on the viewport centre; main.js offsets it. */
.j-visuals { position: relative; margin-top: 40px; transition: opacity .16s ease; }
.is-scrolly .j-visuals { position: absolute; inset: 0; margin: 0; z-index: 2; }
.is-scrolly .j-visuals [data-el] { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }
.is-scrolly .j-ui { opacity: 0; }
html:not(.is-scrolly) .j-ui, html:not(.is-scrolly) .pin, html:not(.is-scrolly) .j-rail, html:not(.is-scrolly) .j-hint { display: none; }

.j-car { width: min(820px, 60vw); }
html:not(.is-scrolly) .j-car { margin: 0 auto; width: min(900px, 92vw); }
.car-inner { position: relative; }
.is-scrolly .car-inner { opacity: 0; transform: translate3d(9%, 0, 0); }
.is-scrolly .is-lit .car-inner { animation: roll-in 1.5s cubic-bezier(.16, 1, .3, 1) .35s forwards; }
@keyframes roll-in { 60% { opacity: 1 } to { opacity: 1; transform: none; } }
.car { position: relative; aspect-ratio: 1600 / 390; filter: var(--car-filter); transition: filter .5s; }
.car > img { width: 100%; height: 100%; object-fit: contain; }
.car-fx {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask: url("assets/hero-car.webp") center / contain no-repeat;
          mask: url("assets/hero-car.webp") center / contain no-repeat;
  mix-blend-mode: screen;
}
/* The softbox, reflected along the roof line and the shoulder. */
.car-softfx > div { position: absolute; inset: 2% -5% 52%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 35%, rgba(255,255,255,0) 80%); opacity: .4; }
/* The light pass. main.js moves it with scroll in the last chapter. */
.car-sweep > div {
  position: absolute; top: -10%; bottom: -10%; left: 0; width: 30%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 70%, transparent 100%);
  transform: translate3d(-120%, 0, 0) skewX(-18deg);
}
.car-reflection { position: absolute; left: 0; right: 0; top: 100%; margin-top: -1.5%; transform: scaleY(-1); opacity: .45; filter: var(--car-filter); -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.35), transparent 40%); mask-image: linear-gradient(0deg, rgba(0,0,0,.35), transparent 40%); }
.car-reflection img { width: 100%; height: 100%; object-fit: contain; filter: blur(1.5px) saturate(.6); }
/* Contact shadow: dark right under the body, fading out to the sides. */
.floor-shadow { position: absolute; left: 6%; right: 4%; bottom: -1.5%; height: 9%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(15,23,42,.55), rgba(15,23,42,.18) 55%, transparent 75%); filter: blur(8px); }

/* Damage pins on the panels. */
.pin { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; opacity: 0; transform: scale(.6); }
.pin::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: color-mix(in srgb, #F59E0B 35%, transparent); }
.pin b { position: relative; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #F59E0B; color: #0F172A; font: 700 12px var(--font-sans); box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0,0,0,.3); }
.pin { transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
.pin.is-on { opacity: 1; transform: none; }
.pin-red::before { background: rgba(220,38,38,.35); }
.pin-red b { background: #DC2626; color: #fff; }

/* Floating app panels, all on the light showroom surface. */
.j-ui {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border-radius: 22px; padding: 20px;
  box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 24px 60px -24px rgba(15,23,42,.32);
}
.ui-shop { font-size: 12px; color: #475569; margin-bottom: 2px; }
.mock-title { font: 650 20px/1.2 var(--font-display); }
.mock-sub { color: #475569; font-size: 14px; margin: 2px 0 16px; }
.j-booking { width: 380px; }
.days, .slots { display: grid; gap: 8px; }
.days { grid-template-columns: repeat(5, 1fr); margin-bottom: 12px; }
.slots { grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }
.days span, .slots span { border: 1px solid #E2E6EC; border-radius: 12px; padding: 9px 4px; text-align: center; font-size: 13px; color: #475569; background: #fff; transition: background-color .25s, border-color .25s, color .25s; }
.days b { display: block; font: 650 19px var(--font-display); color: #0F172A; }
.slots span { font-weight: 600; color: #0F172A; }
.days .off, .slots .off { opacity: .4; text-decoration: line-through; }
.days .on.is-picked, .slots .on.is-picked { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary-ink); }
.days .on.is-picked b { color: var(--primary-ink); }
[data-booked] { position: relative; overflow: hidden; }
[data-booked] > span { transition: transform .3s var(--ease-out), opacity .3s; }
[data-booked] > span + span { position: absolute; inset: 0; display: grid; place-items: center; transform: translateY(100%); opacity: 0; }
[data-booked].is-done { background: var(--success) !important; }
[data-booked].is-done > span:first-child { transform: translateY(-100%); opacity: 0; }
[data-booked].is-done > span + span { transform: none; opacity: 1; }

.j-inspect { width: 340px; padding: 14px; }
.dmg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dmg-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #EEF1F5; font-size: 14px; opacity: .25; transition: opacity .3s; }
.dmg-list li.is-on { opacity: 1; }
.dmg-list em { margin-left: auto; font-style: normal; color: #475569; font-size: 13px; white-space: nowrap; }
.dmg-key { width: 20px; height: 20px; border-radius: 50%; background: #F59E0B; flex: none; display: grid; place-items: center; font: 700 11px var(--font-sans); }
.dmg-key-2 { background: #DC2626; color: #fff; }
.signed { display: flex; gap: 8px; align-items: center; color: #15803D; font-weight: 600; font-size: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #E2E6EC; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease-out); }
.signed.is-on { opacity: 1; transform: none; }

.j-board { width: 620px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.col { background: #EEF1F5; border-radius: 16px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 250px; }
.col { transition: background-color .3s; }
.col.is-here { background: color-mix(in srgb, var(--primary) 9%, #EEF1F5); }
.col > p { font-size: 13px; font-weight: 600; color: #475569; padding: 2px 4px; }
.jb { background: #fff; border: 1px solid #E2E6EC; border-radius: 12px; padding: 10px; font-size: 13px; font-weight: 600; display: grid; gap: 8px; }
.jb-ghost { opacity: .7; }
/* The live card travels between columns; main.js sets its x. */
.jb-live { position: absolute; left: 24px; top: 128px; width: calc((620px - 28px - 20px) / 3 - 20px); border-left: 3px solid var(--primary); box-shadow: 0 14px 30px -12px rgba(15,23,42,.35); will-change: transform; }
.jb-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.jb-thumb { width: 36px; height: 26px; border-radius: 7px; background: url("assets/hero-car.webp") 18% 50% / 300% auto no-repeat, #E9ECF1; filter: var(--car-filter); }
.jb-name { font-size: 13px; }
.jb-foot { display: flex; justify-content: space-between; font-size: 12px; color: #475569; font-weight: 500; }
.tbar { display: block; height: 5px; border-radius: 9px; background: #EEF1F5; overflow: hidden; }
.tbar b { display: block; height: 100%; width: 0; background: var(--primary); border-radius: inherit; }
.status { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; transition: background-color .3s, color .3s; }
.status[data-status="todo"]     { background: rgba(91,100,112,.12); color: #47505B; }
.status[data-status="progress"] { background: rgba(124,58,237,.10); color: #5B21B6; }
.status[data-status="qc"]       { background: rgba(3,105,161,.10); color: #065683; }
.status[data-status="done"]     { background: rgba(21,128,61,.12); color: #146835; }
.timer { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; color: #0F172A; }
.timer i { width: 6px; height: 6px; border-radius: 50%; background: #DC2626; }
.plate {
  display: inline-block; width: max-content;
  font: 700 11px/1 var(--font-mono); letter-spacing: .06em;
  padding: 4px 6px; border-radius: 5px;
  background: #F4F6F9; color: #0F172A; border: 1px solid #CBD2DC;
}

.j-phone { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.phone { width: 270px; background: #fff; border-radius: 36px; padding: 22px 18px; box-shadow: 0 0 0 8px #0F172A, 0 40px 70px -30px rgba(15,23,42,.55); }
.ph-shop { font-size: 12px; color: #475569; }
.ph-title { font: 650 20px/1.2 var(--font-display); margin: 4px 0 14px; }
.ph-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.ph-photos span { aspect-ratio: 1; border-radius: 10px; background: url("assets/hero-car.webp") 30% 50% / 420% auto no-repeat, #E9ECF1; filter: var(--car-filter); }
.ph-photos span:nth-child(2) { background-position: 70% 50%; }
.ph-photos span:nth-child(3) { background-position: 96% 50%; }
.ph-row { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-top: 1px solid #E2E6EC; }
.ph-row b { color: #15803D; font-weight: 600; }
.phone .btn { margin-top: 10px; }

/* Chapter copy: a left column on desktop, a bottom sheet on phones. */
.j-chapters { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 56px auto 0; display: grid; gap: 40px; position: relative; z-index: 3; }
.is-scrolly .j-chapters { position: absolute; left: max(var(--gutter), calc((100% - var(--max)) / 2)); top: 50%; width: min(400px, 32vw); margin: 0; transform: translateY(-50%); display: block; height: 320px; pointer-events: none; }
.is-scrolly .j-ch { position: absolute; inset: 0 0 auto; opacity: 0; }
.is-scrolly .j-ch.is-active { pointer-events: auto; }
.j-step { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--primary-ink); margin-bottom: 14px; }
.j-step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 13px; }
.j-title { margin: 0 0 14px; font: 700 clamp(28px, 3.2vw, 44px)/1.06 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.j-ch > p:last-child { color: #475569; font-size: 17px; text-wrap: pretty; }

/* Chapter rail: where you are in the story, and a way to jump. */
.j-rail { position: absolute; right: max(var(--gutter), calc((100% - var(--max)) / 2)); bottom: 32px; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid rgba(15,23,42,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); z-index: 5; opacity: 0; transition: opacity .3s; overflow: hidden; }
.j-rail.is-on { opacity: 1; }
.j-rail button { position: relative; z-index: 1; white-space: nowrap; border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; min-height: 36px; transition: color .2s; }
.j-rail button.is-active { color: #0F172A; }
.j-rail-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: color-mix(in srgb, var(--primary) 12%, transparent); }
@media (hover: hover) { .j-rail button:hover { color: #0F172A; } }

.j-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #475569; z-index: 5; }
.j-hint span { width: 22px; height: 34px; border-radius: 12px; border: 2px solid #CBD2DC; position: relative; }
.j-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #475569; animation: hint 1.8s var(--ease-out) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(10px); opacity: 0 } 100% { opacity: 0 } }

@media (max-width: 860px) {
  .j-car { width: 112vw; }
  .is-scrolly .j-hero { top: calc(84px + env(safe-area-inset-top)); }
  .hero-kicker { font-size: 13px; margin-bottom: 12px; }
  .hero-sub { font-size: 16px; margin-top: 14px; }
  .hero-ctas { margin-top: 20px; }
  .hero-ctas .btn-lg { min-height: 48px; }
  .is-scrolly .j-chapters { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 39svh; transform: none; padding: 0 var(--gutter); }
  .is-scrolly .j-ch { inset: 22px var(--gutter) auto; }
  .is-scrolly .j-chapters::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(236,239,243,0), #ECEFF3 22%); opacity: 0; transition: opacity .3s; }
  .is-scrolly .in-story .j-chapters::before { opacity: 1; }
  .j-title { font-size: clamp(24px, 7vw, 30px); margin-bottom: 8px; }
  .j-step { margin-bottom: 10px; }
  .j-ch > p:last-child { font-size: 15px; }
  .j-rail { left: 50%; right: auto; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); }
  /* Phones: the board becomes three status tabs over one full-width job card. */
  .j-board { width: min(340px, 90vw); grid-template-rows: auto auto; }
  .col { min-height: 0; padding: 8px; }
  .col > p { font-size: 11px; text-align: center; padding: 0; }
  .col .jb-ghost { display: none; }
  .jb-live { position: relative; left: auto; top: auto; width: auto; grid-column: 1 / -1; }
  .j-rail button { padding: 6px 10px; font-size: 12px; min-height: 32px; }
  .j-rail button span { display: none; }
  .j-rail button::before { content: attr(data-n); }
  .j-rail button.is-active span { display: inline; }
  .j-rail button.is-active::before { content: none; }
}

/* ---------- Doors ---------- */
.doors { padding: clamp(64px, 9vw, 112px) 0; }
.doors-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-top: 32px; }
.door { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.door p { color: var(--muted); }
.door-book { background: var(--inv-bg); color: var(--inv-fg); border-color: transparent; }
.door-book p { color: color-mix(in srgb, var(--inv-fg) 70%, var(--inv-bg)); }
.slug-form { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.slug-label { font-size: 14px; font-weight: 600; }
.slug-field { display: flex; align-items: center; min-height: 52px; border-radius: 12px; background: color-mix(in srgb, var(--inv-fg) 8%, var(--inv-bg)); border: 1px solid color-mix(in srgb, var(--inv-fg) 28%, var(--inv-bg)); padding-left: 14px; overflow: hidden; }
.slug-field:focus-within { border-color: var(--glow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--glow) 30%, transparent); }
.slug-icon { flex: none; color: color-mix(in srgb, var(--inv-fg) 60%, var(--inv-bg)); }
.slug-hint { font-size: 13px; line-height: 1.45; color: color-mix(in srgb, var(--inv-fg) 55%, var(--inv-bg)) !important; }
.slug-field input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: inherit; font: 500 16px var(--font-sans); padding: 0 12px 0 10px; outline: none; }
.slug-field input::placeholder { color: color-mix(in srgb, var(--inv-fg) 40%, var(--inv-bg)); }
.door-book .btn-primary { background: var(--glow); color: #07090C; }
.slug-error { color: #FCA5A5; font-size: 14px; }
.sms { margin-top: auto; padding-top: 22px; }
.sms-from { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.sms-bubble { background: var(--surface-2); border-radius: 18px 18px 18px 6px; padding: 12px 14px; font-size: 14px; color: var(--fg) !important; }
.sms-bubble u { color: var(--primary-ink); text-decoration-thickness: 1px; }
.door-actions { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
@media (max-width: 960px) { .doors-grid { grid-template-columns: 1fr; } .door-book { order: -1; } }

/* ---------- Features ---------- */
.features { padding: clamp(64px, 9vw, 112px) 0; background: var(--surface-2); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; overflow: hidden; }
.tile p { color: var(--muted); }
.tile-cal { grid-column: span 4; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; gap: 22px; }
.tile-theme { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.tile-loc, .tile-roles { grid-column: span 3; }
.tile-reports { grid-column: span 2; grid-row: span 2; }
.tile-msg, .tile-kiosk { grid-column: span 4; }
.tile-msg { grid-column: span 2; background: var(--inv-bg); color: var(--inv-fg); border-color: transparent; }
.tile-msg p { color: color-mix(in srgb, var(--inv-fg) 70%, var(--inv-bg)); }
.tile-kiosk { grid-column: span 2; }

.cal { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 8px; --row: 52px; }
.cal-hours { display: grid; grid-auto-rows: var(--row); padding-top: 28px; font-size: 12px; color: var(--muted); }
.cal-lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lane { position: relative; min-height: calc(var(--row) * 6 + 28px); background: repeating-linear-gradient(180deg, transparent 0 calc(var(--row) - 1px), var(--border) calc(var(--row) - 1px) var(--row)); background-position: 0 28px; background-size: 100% calc(100% - 28px); background-repeat: no-repeat; }
.lane > p { font-size: 13px; font-weight: 600; height: 28px; }
.blk { position: absolute; left: 0; right: 0; top: calc(28px + var(--t) * var(--row)); height: calc(var(--h) * var(--row) - 4px); border-radius: 10px; padding: 8px 10px; display: grid; align-content: start; gap: 6px; font-size: 13px; border-left: 3px solid; overflow: hidden; }
.blk b { font-weight: 600; }
.blk .plate { font-style: normal; }
.blk-c { background: color-mix(in srgb, var(--primary) 12%, var(--surface)); border-color: var(--primary); color: var(--primary-ink); }
.blk-p { background: color-mix(in srgb, var(--violet) 12%, var(--surface)); border-color: var(--violet); }
.blk-r { background: var(--surface); border: 1px dashed var(--border-strong); border-left: 3px dashed var(--border-strong); color: var(--muted); }
.blk-d { background: color-mix(in srgb, var(--success) 12%, var(--surface)); border-color: var(--success); }
.now { position: absolute; left: 30px; right: 0; top: calc(28px + var(--t) * var(--row)); height: 2px; background: #DC2626; z-index: 2; }
.now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #DC2626; }
.now span { position: absolute; left: -36px; top: -9px; font-size: 11px; font-weight: 700; color: #DC2626; background: var(--surface); padding: 0 3px; }

.theme-preview { display: grid; gap: 12px; align-content: center; justify-items: start; padding: 18px; border-radius: 16px; background: var(--surface-2); }
.tp-row { display: flex; align-items: center; gap: 10px; }
.tp-chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary-ink); }
.tp-toggle { width: 38px; height: 22px; border-radius: 99px; background: var(--primary); position: relative; flex: none; }
.tp-toggle i { position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.tp-text { font-size: 13px; color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: end; }
.swatches button {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 600;
  transition: border-color .2s, box-shadow .2s;
}
.swatches button::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--sw); flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.swatches [aria-checked="true"] { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }

.loc-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.loc-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-weight: 600; font-size: 14px; }
.loc-list i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.loc-list .i-off { background: var(--border-strong); }
.loc-list span { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 13px; }

.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.roles span { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; font-weight: 600; }
.roles span:first-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 170px; margin-top: 22px; }
.bars div { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; }
.bars span { position: relative; align-self: end; height: var(--b); border-radius: 8px 8px 3px 3px; background: color-mix(in srgb, var(--primary) 22%, var(--surface)); }
.bars span::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: calc(var(--l) / var(--b) * 100%); max-height: 100%; background: var(--primary); border-radius: 6px 6px 2px 2px; }
.bars small { font-size: 12px; color: var(--muted); text-align: center; }
.bars-key { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 12px; }
.bars-key span { width: 10px; height: 10px; border-radius: 3px; }
.k-billed { background: color-mix(in srgb, var(--primary) 22%, var(--surface)); margin-right: 0; }
.k-labor { background: var(--primary); margin-left: 10px; }

.pin { display: flex; gap: 12px; margin-top: 18px; }
.pin i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border-strong); }
.pin .f { background: var(--fg); border-color: var(--fg); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-cal, .tile-theme, .tile-loc, .tile-roles, .tile-reports, .tile-msg, .tile-kiosk { grid-column: span 2; grid-row: auto; }
  .tile-msg, .tile-kiosk { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-msg, .tile-kiosk { grid-column: span 1; }
  .cal { --row: 44px; }
  .cal-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .blk { padding: 6px; font-size: 12px; }
}

/* ---------- Pricing ---------- */
.pricing { padding: clamp(64px, 9vw, 112px) 0; }
.pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 12%, var(--surface)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23596474' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.price-card { background: linear-gradient(180deg, #0F172A, #0B1220); color: var(--garage-fg); border-radius: 28px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; isolation: isolate; }
.price-card::before { content: ""; position: absolute; inset: auto -20% -50% -20%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 70%); z-index: -1; }
.price-line { display: flex; align-items: baseline; gap: 6px; }
.price { font: 800 clamp(64px, 9vw, 96px)/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.per { color: var(--garage-muted); font-size: 18px; }
.price-break { color: var(--garage-muted); margin: 6px 0 26px; min-height: 1.55em; }
.loc-label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.loc-label output { font-variant-numeric: tabular-nums; }
.price-card input[type="range"] { width: 100%; height: 44px; margin: 0 0 18px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --fill: 0%; }
.price-card input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--glow) var(--fill), rgba(255,255,255,.14) var(--fill)); }
.price-card input[type="range"]::-moz-range-track { height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--glow) var(--fill), rgba(255,255,255,.14) var(--fill)); }
.price-card input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.price-card input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.price-small { color: var(--garage-muted); font-size: 14px; margin-bottom: 18px; }
.price-small.center { text-align: center; margin: 12px 0 0; }
.price-card .btn-primary { background: var(--glow); color: #07090C; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--border); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 18px/1.35 var(--font-display); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease-out); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 22px 0; max-width: 40em; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Built-for strip: the services shops actually sell ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; gap: 48px; width: max-content; animation: strip 38s linear infinite; }
.strip-track span { display: inline-flex; align-items: center; gap: 48px; font: 500 clamp(18px, 2vw, 24px)/1 var(--font-display); letter-spacing: -0.02em; color: var(--muted); white-space: nowrap; }
.strip-track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); transform: rotate(45deg); opacity: .7; }
@keyframes strip { to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) { .strip:hover .strip-track { animation-play-state: paused; } }

/* ---------- Swap: what the shop stops doing by hand ---------- */
.swap { padding: clamp(72px, 10vw, 128px) 0; }
.swap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.swap-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 4vw, 48px); align-items: center; padding: clamp(18px, 2.6vw, 28px) 0; border-bottom: 1px solid var(--border); }
.swap-old { position: relative; justify-self: start; color: var(--muted); font-size: clamp(17px, 1.8vw, 22px); }
.swap-old::after { content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 2px; background: #DC2626; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out) .15s; }
.swap-row.is-in .swap-old::after { transform: scaleX(1); }
.swap-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.swap-new { display: flex; gap: 12px; align-items: center; font: 600 clamp(18px, 2vw, 24px)/1.25 var(--font-display); letter-spacing: -0.02em; }
.swap-new svg { flex: none; color: var(--success); }
@media (max-width: 640px) {
  .swap-row { grid-template-columns: 1fr; gap: 8px; }
  .swap-arrow { display: none; }
}

/* ---------- Closing card + footer ---------- */
.closing { padding: 0 0 clamp(56px, 8vw, 96px); }
.closing-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: clamp(56px, 9vw, 120px) clamp(24px, 5vw, 64px);
  background: linear-gradient(180deg, #0F172A, #0B1220);
  color: #F1F5F9; text-align: center; display: grid; justify-items: center;
}
.closing-card::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 110%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--glow) 40%, transparent), transparent 70%); }
.closing-car { position: absolute; z-index: -1; left: 50%; bottom: -6%; width: min(900px, 120%); transform: translateX(-50%); opacity: .22; filter: var(--car-filter); }
.closing-title { margin: 0; font: 600 clamp(36px, 6vw, 72px)/1.02 var(--font-display); letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
.closing-card p { color: #CBD5E1; margin-top: 18px; font-size: 18px; max-width: 32em; text-wrap: balance; }
.closing .hero-ctas { justify-content: center; }
.footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-decoration: none; font-size: 14px; }
@media (hover: hover) { .footer a:hover { color: var(--fg); } }
.fine { margin-left: auto; font-size: 13px; }

/* ---------- Reveal on scroll: one gentle rise per block, staggered by --i ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion: no glide, no sweep; the story switches chapters with a fade. ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .is-scrolly .dim { opacity: 0; transition: none; }
  .is-scrolly .j-hero > *, .is-scrolly .car-inner { opacity: 1; transform: none; }
  .car-sweep, .j-hint span::after { display: none; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; }
}

/* =====================================================================
 * Midnight theme: Midnight Abyss surfaces, Aqua Jade light, Baby Blue calls to action (the brake-caliper blue).
 * Layered last so it re-skins the showroom without touching the layout above.
 * The app accent (data-accent) still drives the in-app mockups and the car.
 * ===================================================================== */
:root {
  --bg: #041019;
  --surface: #0A1C27;
  --surface-2: #0C2330;
  --border: #16323F;
  --border-strong: #24505F;
  --fg: #E8F5F2;
  --muted: #8FAFB5;
  --inv-bg: #0D3236;
  --inv-fg: #E8F5F2;

  --jade: #3EE0B8;
  --jade-soft: #8BF3DA;
  --blue: #62BCFF;
  --blue-hover: #8DCFFF;
  --blue-ink: #021B33;

  --glow: var(--jade);
  --primary-ink: color-mix(in srgb, var(--primary) 45%, #FFFFFF);
  --success: #34D399;
  --glass: rgba(9, 32, 42, .58);
  --glass-border: rgba(139, 243, 218, .16);
  color-scheme: dark;
}
::selection { background: color-mix(in srgb, var(--jade) 35%, transparent); }

/* Buttons: baby-blue pills for the actions that matter, glass for the rest. */
.btn-primary, .journey .hero-ctas .btn-primary, .price-card .btn-primary {
  background: var(--blue); color: var(--blue-ink);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 10px 30px -10px rgba(98,188,255,.6);
}
.btn-lg { border-radius: 999px; }
.journey .btn-outline, .btn-outline { color: var(--fg); border-color: var(--glass-border); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) {
  .btn-primary:hover, .journey .hero-ctas .btn-primary:hover, .price-card .btn-primary:hover { background: var(--blue-hover); }
  .btn-outline:hover, .journey .btn-outline:hover { border-color: var(--jade); background: rgba(62,224,184,.08); }
}

/* Nav */
.nav-inner { background: rgba(5, 20, 29, .55); border-color: var(--glass-border); }
.nav.is-scrolled .nav-inner { background: rgba(5, 20, 29, .82); box-shadow: 0 12px 40px -18px rgba(0,0,0,.7); }
.brand-name span { color: var(--jade); }
@media (hover: hover) { .nav-links a:hover { background: rgba(139,243,218,.08); } }
.mobile-menu { background: rgba(6, 22, 32, .97); border-color: var(--glass-border); }

/* Journey: the studio becomes a deep-water stage lit from above in jade. */
.journey { background: var(--bg); color: var(--fg); }
.j-sticky { background: radial-gradient(90% 55% at 50% 100%, #0D3A44 0%, rgba(7,32,41,.6) 45%, transparent 75%), linear-gradient(180deg, #030C13 0%, #041019 45%, #061C26 100%); }
.softbox { top: auto; bottom: -45%; background: radial-gradient(50% 50% at 50% 50%, rgba(62,224,184,.22) 0%, rgba(62,224,184,.06) 45%, transparent 72%); }
.dim { background: #020A10; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  color: var(--jade-soft); background: rgba(62,224,184,.08); border: 1px solid var(--glass-border);
}
.hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 10px var(--jade); }
.hero-title { background: linear-gradient(180deg, #FFFFFF 30%, #B9F1E3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub, .hero-note { color: var(--muted); }
.floor-shadow { background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.75), rgba(0,0,0,.3) 55%, transparent 75%); }
.car-reflection { opacity: .3; }

/* Floating app panels: dark glass with a jade rim. */
.j-ui { background: rgba(8, 28, 38, .72); border-color: var(--glass-border); box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset, 0 30px 70px -30px rgba(0,0,0,.8), 0 0 60px -30px rgba(62,224,184,.35); }
.ui-shop, .mock-sub, .dmg-list em, .col > p, .jb-foot, .ph-shop, .j-ch > p:last-child { color: var(--muted); }
.days span, .slots span { background: rgba(255,255,255,.03); border-color: var(--border); color: var(--muted); }
.days b, .slots span, .timer { color: var(--fg); }
.days .on.is-picked, .slots .on.is-picked { background: color-mix(in srgb, var(--jade) 14%, transparent); border-color: var(--jade); color: var(--jade-soft); }
.days .on.is-picked b { color: var(--jade-soft); }
[data-booked].is-done { color: #04241C; }
.dmg-list li { background: rgba(255,255,255,.04); }
.dmg-key { color: #0F172A; }
.signed { color: var(--jade); border-top-color: var(--border); }
.col { background: rgba(255,255,255,.035); }
.col.is-here { background: color-mix(in srgb, var(--jade) 10%, transparent); }
.jb { background: #0D2632; border-color: var(--border); }
.jb-live { border-left-color: var(--jade); box-shadow: 0 14px 34px -12px rgba(0,0,0,.7), 0 0 24px -10px rgba(62,224,184,.5); }
.jb-thumb, .ph-photos span { background-color: #0F2A36; }
.tbar { background: rgba(255,255,255,.07); }
.tbar b { background: var(--jade); }
.status[data-status="todo"]     { background: rgba(143,175,181,.14); color: #C3D6DA; }
.status[data-status="progress"] { background: rgba(167,139,250,.16); color: #C9B8FF; }
.status[data-status="qc"]       { background: rgba(56,189,248,.16); color: #9EDCFB; }
.status[data-status="done"]     { background: rgba(52,211,153,.16); color: #8BF3DA; }
.plate { background: #0F2A36; color: var(--fg); border-color: var(--border-strong); }
.phone { background: #0A1E29; box-shadow: 0 0 0 8px #102E3A, 0 0 0 9px rgba(139,243,218,.2), 0 40px 80px -30px rgba(0,0,0,.85); }
.ph-row { border-top-color: var(--border); }
.ph-row b { color: var(--jade); }
.j-step { color: var(--jade); }
.j-step span { background: var(--jade); color: #04241C; box-shadow: 0 0 18px -2px rgba(62,224,184,.6); }
.j-rail { background: rgba(6, 22, 32, .72); border-color: var(--glass-border); }
.j-rail button { color: var(--muted); }
.j-rail button.is-active { color: var(--fg); }
.j-rail-fill { background: color-mix(in srgb, var(--jade) 18%, transparent); }
@media (hover: hover) { .j-rail button:hover { color: var(--fg); } }
.j-hint { color: var(--muted); }
.j-hint span { border-color: var(--border-strong); }
.j-hint span::after { background: var(--jade); }
@media (max-width: 860px) {
  .is-scrolly .j-chapters::before { background: linear-gradient(180deg, rgba(3,12,19,0), #030C13 24%); }
}

/* Sections below the story */
.door, .tile { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--surface); }
.door-book { background: radial-gradient(120% 90% at 0% 0%, #12484A 0%, #0B2D33 50%, #08202A 100%); border: 1px solid var(--glass-border); }
.tile-msg { background: radial-gradient(120% 90% at 100% 0%, #0F2C4A 0%, #0D1E33 45%, #0B1C27 100%); border-color: rgba(98,188,255,.18); }
.features { background: linear-gradient(180deg, var(--bg), #061924 30%, #061924 70%, var(--bg)); }
.checks li::before { background: rgba(62,224,184,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%233EE0B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.price-card, .closing-card { background: radial-gradient(120% 100% at 50% 0%, #0E3A42 0%, #082029 55%, #051620 100%); border: 1px solid var(--glass-border); }
.price-card::before { background: radial-gradient(50% 50% at 50% 50%, rgba(98,188,255,.22), transparent 70%); }
.closing-card::before { background: radial-gradient(50% 50% at 30% 50%, rgba(62,224,184,.28), transparent 70%), radial-gradient(40% 40% at 75% 60%, rgba(98,188,255,.2), transparent 70%); }
.swap-new svg { color: var(--jade); }
.strip { background: #061722; }
.strip-track span::after { background: var(--blue); }
.slug-error { color: var(--blue); }
