/* Bookcarsnow.com
   Desktop layout is drawn on a 1440px frame: --u is 1px at 1440 and shrinks with the
   viewport down to 1024px. Below 1024px the tablet/phone layout at the end takes over. */

@font-face {
  font-family: 'Archivo Expanded';
  src: url(../fonts/archivo-expanded-latin.woff2) format('woff2');
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: 'Urbanist';
  src: url(../fonts/urbanist-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --u: 1px;
  --paper: #f0eae5;
  --paper-deep: #e9e1d9;
  --glow: rgba(246, 205, 140, 0.55);
  --sun: #f4b755;
  --sun-deep: #e9a73c;
  --ink: #15191c;
  --ink-soft: #2a2f33;
  --text: #4f5153;
  --muted: #5f6469;
  --line: #e4ddd6;
  --white: #fff;
  --on-dark: #f4f1ee;
  --on-dark-muted: #b9bec3;
  --on-dark-line: #33383c;
  --display: 'Archivo Expanded', 'Archivo', 'Arial Black', sans-serif;
  --body: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 calc(24 * var(--u)) calc(60 * var(--u)) rgba(42, 30, 16, 0.1), 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(42, 30, 16, 0.04);
  color-scheme: light;
}
@media (min-width: 1024px) and (max-width: 1439.98px) {
  :root { --u: calc(100vw / 1440); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #c7bdb3 var(--paper); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p, h1, h2, h3, h4, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible, .on-dark :focus-visible { outline-color: var(--sun); }

[hidden] { display: none !important; }
.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: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px;
  font-weight: 600; text-decoration: none; transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

.wrap { width: calc(1232 * var(--u)); margin-inline: auto; }

.ast { fill: currentColor; color: var(--sun); overflow: visible; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(48 * var(--u));
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: calc(48 * var(--u)); min-height: 40px;
  padding: 0 calc(22 * var(--u));
  border-radius: calc(8 * var(--u));
  font-family: var(--body); font-weight: 500;
  font-size: max(13px, calc(14 * var(--u)));
  line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2b3237; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-deep); }
.btn--line { border: 1.5px solid currentColor; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { height: calc(51 * var(--u)); padding: 0; width: calc(139 * var(--u)); border-radius: calc(6 * var(--u)); font-size: max(13px, calc(13.5 * var(--u))); }
.btn[aria-disabled='true'], .btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 30; background: var(--paper); }
.site-header__inner { position: relative; display: flex; align-items: center; height: calc(106 * var(--u)); }
.logo {
  font-family: var(--display); font-weight: 800;
  font-size: calc(26 * var(--u)); letter-spacing: -0.01em; line-height: 1;
  color: var(--ink); text-decoration: none;
  margin-left: calc(1 * var(--u));
}
.site-nav { position: absolute; left: calc(492.5 * var(--u)); top: calc(50% + 2 * var(--u)); transform: translateY(-50%); }
.site-nav ul { display: flex; gap: calc(50 * var(--u)); }
.site-nav a {
  position: relative; display: block; padding: 6px 0;
  font-size: max(13px, calc(13.5 * var(--u))); font-weight: 500; line-height: 1.2;
  color: var(--ink); text-decoration: none;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--sun); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: calc(24 * var(--u)); }
.round-btn {
  display: grid; place-items: center;
  width: calc(46 * var(--u)); height: calc(46 * var(--u)); min-width: 40px; min-height: 40px;
  border-radius: 50%; background: #000; color: var(--white);
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.round-btn:hover { background: var(--ink-soft); }
.round-btn:active { transform: scale(0.94); }
.round-btn svg { width: calc(20 * var(--u)); min-width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn--header { width: calc(129 * var(--u)); height: calc(44 * var(--u)); padding: 0; border-radius: calc(6 * var(--u)); }
.menu-btn, .mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(892 * var(--u));
  background: var(--paper);
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(calc(330 * var(--u)) calc(300 * var(--u)) at calc(50% - 400 * var(--u)) calc(470 * var(--u)), var(--glow), transparent 72%),
    radial-gradient(calc(200 * var(--u)) calc(220 * var(--u)) at calc(50% - 220 * var(--u)) calc(160 * var(--u)), rgba(246, 205, 140, 0.18), transparent 70%);
}
.hero__title {
  position: relative;
  padding-top: calc(29 * var(--u));
  text-align: center;
  font-family: var(--display); font-weight: 800;
  font-size: calc(67 * var(--u)); line-height: calc(82.5 * var(--u));
  letter-spacing: -0.004em; text-transform: uppercase;
  color: var(--ink);
}

.search { position: absolute; z-index: 3; left: calc(50% - 389 * var(--u)); top: calc(236.5 * var(--u)); width: calc(778 * var(--u)); }
.search__tabs {
  display: flex; align-items: center; margin: 0; padding: 0; border: 0; min-inline-size: 0;
  width: calc(209 * var(--u)); height: calc(55 * var(--u));
  background: var(--white);
  border-radius: calc(2 * var(--u)) calc(2 * var(--u)) 0 0;
}
.search__tab { position: relative; flex: 1; height: 100%; display: grid; place-items: center; cursor: pointer; }
.search__tab input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.search__tab span {
  position: relative;
  font-size: max(15px, calc(18 * var(--u))); font-weight: 500; color: var(--muted);
  transition: color 0.2s var(--ease-out);
}
.search__tab span::after {
  content: ''; position: absolute; left: 50%; bottom: calc(-8 * var(--u)); width: calc(18 * var(--u)); height: 2px;
  margin-left: calc(-9 * var(--u)); background: var(--sun); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.25s var(--ease-out);
}
.search__tab input:checked + span { color: var(--ink); }
.search__tab input:checked + span::after { transform: scaleX(1); }
.search__tab input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 3px; }
.search__tab:first-of-type span { left: calc(-4 * var(--u)); }
.search__tabsep { width: 1px; height: calc(30 * var(--u)); background: var(--line); }
.search__card {
  display: flex; align-items: center;
  height: calc(107.5 * var(--u));
  padding: 0 calc(17.5 * var(--u)) 0 calc(25 * var(--u));
  background: var(--white);
  border-radius: 0 calc(2 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u));
  box-shadow: 0 calc(34 * var(--u)) calc(50 * var(--u)) calc(-14 * var(--u)) rgba(60, 40, 20, 0.16);
}
.field { position: relative; display: flex; flex-direction: column; justify-content: center; height: calc(70 * var(--u)); }
.field--loc { width: calc(208 * var(--u)); }
.field--date:nth-of-type(2) { width: calc(190 * var(--u)); margin-left: calc(43 * var(--u)); }
.field--date:nth-of-type(3) { flex: 1; margin-left: calc(59 * var(--u)); }
.field label {
  font-size: max(12px, calc(15 * var(--u))); font-weight: 500; line-height: 1.2; color: var(--ink);
  margin-bottom: calc(12 * var(--u));
}
.field input, .field__view {
  width: 100%; padding: 0; border: 0; background: transparent; outline: none;
  font-size: max(14px, calc(19 * var(--u))); font-weight: 400; line-height: 1.25; color: var(--ink);
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field__view { color: var(--muted); white-space: nowrap; pointer-events: none; }
.field__view.is-set { color: var(--ink); }
.field--date input { position: absolute; inset: 0; z-index: 1; opacity: 0; cursor: pointer; }
.field--date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.field:focus-within::after {
  content: ''; position: absolute; left: calc(-10 * var(--u)); right: calc(-10 * var(--u)); top: calc(-6 * var(--u)); bottom: calc(-6 * var(--u));
  border-radius: 8px; outline: 2px solid var(--ink); pointer-events: none;
}
.field--loc:focus-within::after { outline-color: transparent; }
.field--loc input:focus-visible { box-shadow: 0 2px 0 var(--sun); }
.search__sep { width: 1px; height: calc(53 * var(--u)); background: var(--line); flex: none; }
.search__go {
  flex: none; display: grid; place-items: center;
  width: calc(61 * var(--u)); height: calc(61 * var(--u)); min-width: 44px; min-height: 44px;
  border-radius: calc(8 * var(--u)); background: var(--ink); color: var(--white);
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.search__go:hover { background: #2b3237; }
.search__go:active { transform: scale(0.95); }
.search__go svg { width: calc(22 * var(--u)); min-width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.search__hint { position: absolute; left: 0; top: 100%; margin-top: 10px; font-size: 14px; font-weight: 500; color: #8a3d00; }
.search__hint:empty { display: none; }

.hero__ast { position: absolute; z-index: 1; left: calc(50% + 446 * var(--u)); top: calc(413 * var(--u)); width: calc(59 * var(--u)); height: calc(60 * var(--u)); transform: rotate(-8deg); }
.hero__band {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(241 * var(--u));
  background: var(--sun);
  clip-path: polygon(0 43.6%, 100% 0, 100% 100%, 0 100%);
}
.hero__car {
  position: absolute; z-index: 2;
  left: calc(50% - 462 * var(--u)); width: calc(924 * var(--u));
  bottom: calc(80 * var(--u));
}
.hero__car::before {
  content: ''; position: absolute; z-index: -1; left: 6%; right: 5%; bottom: calc(-10 * var(--u)); height: calc(46 * var(--u));
  background: radial-gradient(closest-side, rgba(70, 40, 0, 0.5), rgba(70, 40, 0, 0.22) 55%, transparent);
  filter: blur(calc(6 * var(--u)));
}
.hero__car img { width: 100%; }

.scroll-pill {
  position: absolute; z-index: 6; left: calc(50% - 38.5 * var(--u)); top: calc(839.5 * var(--u));
  display: grid; place-items: center;
  width: calc(77 * var(--u)); height: calc(105 * var(--u));
  border: calc(14.5 * var(--u)) solid var(--white); border-radius: 999px;
  background: var(--sun); color: var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.scroll-pill svg { width: calc(17 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.scroll-pill:hover svg { animation: nudge 1s var(--ease-out) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* ---------- About ---------- */
.about { position: relative; height: calc(1000 * var(--u)); background: var(--white); }
.about__copy { position: absolute; left: calc(50% - 511 * var(--u)); top: calc(209 * var(--u)); width: calc(460 * var(--u)); }
.about__copy p {
  margin-top: calc(19 * var(--u));
  font-size: max(14px, calc(15 * var(--u))); line-height: 1.75; color: var(--text);
  max-width: 62ch;
}
.about__copy .btn { margin-top: calc(35 * var(--u)); width: calc(145 * var(--u)); padding: 0; }
.about__photo { position: absolute; left: calc(50% + 150 * var(--u)); right: 0; top: calc(179 * var(--u)); height: calc(700 * var(--u)); overflow: hidden; background: var(--paper-deep); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.about__ast { position: absolute; z-index: 2; left: calc(50% + 124 * var(--u)); top: calc(357 * var(--u)); width: calc(52 * var(--u)); height: calc(52 * var(--u)); transform: rotate(12deg); }
.about__tile { position: absolute; left: 0; width: calc(50% - 421 * var(--u)); top: calc(658 * var(--u)); height: calc(240 * var(--u)); overflow: hidden; background: var(--paper-deep); }
.about__tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* ---------- Pick your car ---------- */
.pick { position: relative; z-index: 2; height: calc(832 * var(--u)); background: var(--paper); isolation: isolate; }
.pick__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(calc(260 * var(--u)) calc(240 * var(--u)) at calc(50% - 380 * var(--u)) calc(110 * var(--u)), rgba(246, 205, 140, 0.42), transparent 72%);
}
.pick__title { padding-top: calc(98 * var(--u)); text-align: center; }
.pick__stage { position: absolute; left: 0; right: 0; top: calc(288 * var(--u)); height: calc(330 * var(--u)); overflow: hidden; }
.pick__track { position: absolute; inset: 0; }
.car-slide {
  position: absolute; left: calc(50% - 428 * var(--u)); top: 0;
  width: calc(856 * var(--u)); height: calc(284 * var(--u));
  display: flex; align-items: flex-end; justify-content: center;
  transform: translateX(calc(var(--pos, 0) * 809 * var(--u))) scale(var(--scale, 1));
  transform-origin: 50% 54%;
  opacity: var(--alpha, 1);
  transition: transform 0.7s var(--ease-out), opacity 0.5s var(--ease-out);
  will-change: transform;
}
.car-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 calc(18 * var(--u)) calc(14 * var(--u)) rgba(30, 20, 10, 0.28)); }
.car-slide[data-pos='0'] { --pos: 0; --scale: 1; }
.car-slide[data-pos='-1'] { --pos: -1; --scale: 0.715; }
.car-slide[data-pos='1'] { --pos: 1; --scale: 0.715; }
.car-slide[data-pos='-2'] { --pos: -2; --scale: 0.6; --alpha: 0; }
.car-slide[data-pos='2'] { --pos: 2; --scale: 0.6; --alpha: 0; }
.car-slide[data-pos='hidden'] { --alpha: 0; visibility: hidden; transition: none; }
.car-slide:not([data-pos]):not(:first-child) { visibility: hidden; }
.pick__side { position: absolute; top: 15%; bottom: 15%; width: calc(230 * var(--u)); z-index: 2; border-radius: 12px; }
.pick__side--prev { left: 0; cursor: w-resize; }
.pick__side--next { right: 0; cursor: e-resize; }
.pick__spin {
  position: absolute; z-index: 3; left: calc(50% - 34.5 * var(--u)); top: calc(88.5 * var(--u));
  display: grid; place-items: center;
  width: calc(73 * var(--u)); height: calc(73 * var(--u)); min-width: 44px; min-height: 44px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.34); color: var(--white);
  transition: background-color 0.2s var(--ease-out), transform 0.3s var(--ease-out);
}
.pick__spin:hover { background: rgba(255, 255, 255, 0.5); transform: rotate(-20deg); }
.pick__spin svg { width: calc(30 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); }
.pick__specs { position: absolute; left: 50%; top: calc(627.5 * var(--u)); transform: translateX(-50%); display: flex; }
.spec { width: calc(152 * var(--u)); display: flex; flex-direction: column; align-items: center; }
.spec__icon { display: grid; place-items: center; width: calc(67 * var(--u)); height: calc(67 * var(--u)); border-radius: 50%; background: #faf8f6; }
.spec__icon .i { width: calc(26 * var(--u)); fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.spec__text { margin-top: calc(10 * var(--u)); white-space: nowrap; line-height: 1.2; }
.spec__text b { font-family: var(--display); font-weight: 700; font-size: max(13px, calc(16 * var(--u))); color: var(--ink); }
.spec__text small { font-size: max(12px, calc(13 * var(--u))); font-weight: 500; color: var(--muted); }
.pick__card {
  position: absolute; left: calc(50% - 350 * var(--u)); top: calc(774 * var(--u));
  width: calc(705 * var(--u)); height: calc(108 * var(--u));
  display: flex; align-items: center;
  padding: 0 calc(33 * var(--u)) 0 calc(34 * var(--u));
  background: var(--white); box-shadow: var(--shadow-card);
}
.pick__tag { width: calc(26 * var(--u)); fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.pick__divider { width: 1px; height: calc(46 * var(--u)); margin: 0 calc(28 * var(--u)) 0 calc(31 * var(--u)); background: var(--line); }
.pick__price { flex: 1; min-width: 0; }
.pick__name { font-size: max(11px, calc(12 * var(--u))); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.2; margin-bottom: calc(4 * var(--u)); }
.price { display: flex; align-items: baseline; gap: calc(4 * var(--u)); line-height: 1; white-space: nowrap; }
.price__from { font-size: max(12px, calc(13 * var(--u))); color: var(--muted); margin-right: calc(2 * var(--u)); align-self: center; }
.price__cur { align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: calc(15 * var(--u)); color: var(--sun-deep); }
.price__num { font-family: var(--display); font-weight: 800; font-size: calc(38 * var(--u)); color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price__num--quote { font-size: calc(24 * var(--u)); }
.price__unit { font-size: max(12px, calc(13 * var(--u))); color: var(--muted); }
.pick__actions { display: flex; gap: calc(7 * var(--u)); }

/* ---------- Stories ---------- */
.stories { position: relative; padding: calc(183 * var(--u)) 0 calc(55 * var(--u)); background: var(--white); text-align: center; }
.stories__grid { display: flex; justify-content: center; gap: calc(18 * var(--u)); margin-top: calc(84 * var(--u)); text-align: left; }
.story { position: relative; width: calc(330 * var(--u)); }
.story__date { display: flex; align-items: center; gap: calc(10 * var(--u)); padding-bottom: calc(14 * var(--u)); border-bottom: 2px solid #4a4d50; }
.story__date b { font-weight: 500; font-size: calc(38 * var(--u)); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; padding-right: calc(10 * var(--u)); border-right: 1px solid var(--line); }
.story__date span { font-size: max(11px, calc(12 * var(--u))); line-height: 1.35; color: var(--muted); }
.story__title {
  margin-top: calc(37 * var(--u));
  font-family: var(--display); font-weight: 600; font-size: calc(22 * var(--u)); line-height: calc(31 * var(--u));
  letter-spacing: -0.01em; color: var(--ink);
  min-height: calc(62 * var(--u));
}
.story__title a { text-decoration: none; }
.story__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.story__text { margin-top: calc(9 * var(--u)); max-width: 30ch; min-height: 2.9em; font-size: max(13px, calc(15 * var(--u))); line-height: 1.45; color: var(--text); }
.story img { margin-top: calc(24 * var(--u)); width: 100%; aspect-ratio: 330 / 240; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.story { overflow: hidden; }
.story:hover img { transform: scale(1.03); }
.story:hover .story__title a { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.story:focus-within { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 2px; }
.story__title a:focus-visible { outline: none; }
.stories__more { margin-top: calc(58 * var(--u)); width: calc(144 * var(--u)); height: calc(49 * var(--u)); padding: 0; }

/* ---------- Classes ---------- */
.classes { height: calc(340 * var(--u)); padding-top: calc(76 * var(--u)); background: var(--white); }
.classes__list { width: calc(1110 * var(--u)); margin: 0 auto; display: flex; justify-content: space-between; }
.classes__list a {
  display: flex; flex-direction: column; align-items: center; gap: calc(10 * var(--u));
  padding: calc(8 * var(--u)) calc(6 * var(--u));
  color: #63686d; text-decoration: none;
  transition: color 0.25s var(--ease-out);
}
.classes__list svg { width: calc(74 * var(--u)); height: calc(37 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; transition: transform 0.35s var(--ease-out); }
.classes__list span { font-family: var(--display); font-weight: 700; font-size: max(11px, calc(13 * var(--u))); letter-spacing: 0.02em; text-transform: uppercase; }
.classes__list a:hover { color: var(--ink); }
.classes__list a:hover svg { transform: translateX(4px); stroke: var(--sun-deep); }

/* ---------- App card ---------- */
.app {
  padding-top: calc(111 * var(--u));
  background: linear-gradient(to bottom, var(--white) 0, var(--white) calc(100% - 173 * var(--u)), var(--ink) calc(100% - 173 * var(--u)));
}
.app__card {
  position: relative; height: calc(369 * var(--u));
  background: var(--sun); border-radius: calc(13 * var(--u));
}
.app__copy { position: absolute; left: calc(106 * var(--u)); top: calc(66 * var(--u)); }
.app__btns { display: flex; gap: calc(11 * var(--u)); margin-top: calc(38 * var(--u)); }
.store-btn {
  display: inline-flex; align-items: center; gap: calc(9 * var(--u));
  height: calc(51 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(13 * var(--u));
  border-radius: calc(7 * var(--u)); background: var(--ink); color: var(--white); text-decoration: none;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.store-btn:hover { background: #000; }
.store-btn:active { transform: scale(0.97); }
.store-btn svg { width: calc(24 * var(--u)); min-width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 600; font-size: max(14px, calc(17 * var(--u))); }
.store-btn small { font-size: max(10px, calc(10 * var(--u))); font-weight: 500; opacity: 0.8; letter-spacing: 0.01em; }
.app__ast-faint { position: absolute; left: calc(0 * var(--u)); top: calc(2 * var(--u)); width: calc(100 * var(--u)); height: calc(100 * var(--u)); color: #f8c97a; transform: rotate(-10deg); }
.app__ast-dark { position: absolute; z-index: 3; left: calc(1009 * var(--u)); top: calc(70 * var(--u)); width: calc(61 * var(--u)); height: calc(61 * var(--u)); color: var(--ink); transform: rotate(8deg); }

.phone { position: absolute; left: calc(664 * var(--u)); bottom: 0; width: calc(384 * var(--u)); height: calc(514 * var(--u)); overflow: hidden; }
.phone__frame { height: calc(560 * var(--u)); padding: calc(10 * var(--u)); border-radius: calc(54 * var(--u)) calc(54 * var(--u)) 0 0; background: #101316; box-shadow: inset 0 0 0 calc(2 * var(--u)) #3b4045; }
.phone__screen { height: 100%; padding: calc(16 * var(--u)) calc(22 * var(--u)) 0; border-radius: calc(44 * var(--u)) calc(44 * var(--u)) 0 0; background: var(--white); font-family: var(--body); color: var(--ink); }
.phone__status { display: flex; align-items: center; justify-content: space-between; height: calc(30 * var(--u)); padding: 0 calc(10 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 600; }
.phone__island { width: calc(96 * var(--u)); height: calc(28 * var(--u)); border-radius: 99px; background: #101316; }
.phone__sys { display: flex; gap: calc(3 * var(--u)); align-items: flex-end; }
.phone__sys b { width: calc(4 * var(--u)); background: var(--ink); border-radius: 1px; }
.phone__sys b:nth-child(1) { height: calc(6 * var(--u)); }
.phone__sys b:nth-child(2) { height: calc(9 * var(--u)); }
.phone__sys b:nth-child(3) { height: calc(12 * var(--u)); }
.phone__tabs { display: flex; justify-content: center; gap: calc(30 * var(--u)); margin-top: calc(20 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 600; }
.phone__tabs span { position: relative; display: flex; align-items: center; gap: calc(7 * var(--u)); }
.phone__tabs svg { width: calc(18 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.phone__dot { position: absolute; left: calc(11 * var(--u)); top: calc(-1 * var(--u)); width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #e2463b; }
.phone__car { margin-top: calc(18 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(14 * var(--u)); border-radius: calc(16 * var(--u)); background: var(--paper); }
.phone__label { font-size: calc(9 * var(--u)); letter-spacing: 0.18em; text-transform: uppercase; color: #5f6469; }
.phone__car img { width: 92%; margin: calc(8 * var(--u)) auto 0; }
.phone__model { margin-top: calc(8 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(16 * var(--u)); }
.phone__meta { display: flex; justify-content: space-between; margin-top: calc(6 * var(--u)); font-size: calc(11 * var(--u)); color: #666b70; }
.phone__meta span:last-child { font-weight: 700; color: var(--ink); }
.phone__row { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12 * var(--u)); margin-top: calc(12 * var(--u)); }
.phone__help { display: flex; flex-direction: column; align-items: center; padding: calc(14 * var(--u)) calc(8 * var(--u)); border-radius: calc(16 * var(--u)); background: var(--paper); text-align: center; }
.phone__avatar { display: grid; place-items: center; width: calc(52 * var(--u)); height: calc(52 * var(--u)); border-radius: 50%; background: var(--white); border: calc(2 * var(--u)) solid var(--sun); }
.phone__avatar svg { width: calc(26 * var(--u)); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.phone__help p { margin-top: calc(8 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(11 * var(--u)); }
.phone__help small { font-size: calc(10 * var(--u)); color: #666b70; }
.phone__map { border-radius: calc(16 * var(--u)); background: #eceff1; overflow: hidden; }
.phone__map svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 7; }
.phone__map .phone__route { stroke: var(--sun-deep); stroke-width: 3; stroke-dasharray: 5 5; stroke-linecap: round; }
.phone__map .phone__pin { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }
.phone__map .phone__start { fill: var(--ink); stroke: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--on-dark); padding: calc(124.5 * var(--u)) 0 calc(44 * var(--u)); }
.news { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.news__title { position: relative; max-width: calc(460 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(46 * var(--u)); line-height: calc(55.5 * var(--u)); letter-spacing: -0.01em; color: var(--white); }
.news__title span { position: relative; }
.news__ast { position: absolute; left: calc(-23 * var(--u)); top: calc(-13 * var(--u)); width: calc(69 * var(--u)); height: calc(69 * var(--u)); transform: rotate(-14deg); }
.news__form { position: relative; display: grid; grid-template-columns: calc(479 * var(--u)) calc(55 * var(--u)); column-gap: calc(18 * var(--u)); align-items: end; margin-top: calc(76 * var(--u)); margin-right: calc(84 * var(--u)); }
.news__form input {
  height: calc(55 * var(--u)); padding: 0 0 calc(4 * var(--u)); border: 0; border-bottom: 1.5px solid #8d9297; border-radius: 0;
  background: transparent; color: var(--white); font-size: max(14px, calc(15 * var(--u))); outline: none;
  transition: border-color 0.2s var(--ease-out);
}
.news__form input::placeholder { color: #a9aeb3; }
.news__form input:focus { border-bottom-color: var(--sun); }
.news__send { display: grid; place-items: center; width: calc(55 * var(--u)); height: calc(55 * var(--u)); min-width: 44px; min-height: 44px; border-radius: calc(9 * var(--u)); background: var(--sun); color: var(--ink); transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.news__send:hover { background: var(--sun-deep); }
.news__send:active { transform: scale(0.94); }
.news__send svg { width: calc(20 * var(--u)); min-width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.news__note { grid-column: 1 / -1; margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--on-dark-muted); }
.news__note a { color: var(--white); }
.form-status { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--sun); }
.form-status:empty { display: none; }
.form-status.is-error { color: #ff9b8a; }

.f-cols { display: grid; grid-template-columns: calc(228 * var(--u)) calc(280 * var(--u)) calc(262 * var(--u)) calc(245 * var(--u)) 1fr; margin-top: calc(110 * var(--u)); }
.f-col__title { font-family: var(--display); font-weight: 600; font-size: max(15px, calc(19 * var(--u))); line-height: 1.2; color: var(--white); }
.f-col ul { margin-top: calc(26 * var(--u)); display: grid; gap: calc(12 * var(--u)); }
.f-col a { font-size: max(13px, calc(14 * var(--u))); line-height: 1.7; color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s var(--ease-out); }
.f-col a:hover { color: var(--sun); }
.social { display: flex !important; gap: calc(9 * var(--u)) !important; margin-top: calc(26 * var(--u)) !important; }
.social a { display: grid; place-items: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); min-width: 40px; min-height: 40px; border: 1.5px solid var(--on-dark); border-radius: 50%; color: var(--on-dark); line-height: 1; transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.social a:hover { border-color: var(--sun); color: var(--sun); }
.social svg { width: calc(18 * var(--u)); min-width: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.f-disclosure { margin-top: calc(64 * var(--u)); max-width: 120ch; font-size: max(12px, calc(12.5 * var(--u))); line-height: 1.6; color: #9aa0a6; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: calc(26 * var(--u)); padding-top: calc(36 * var(--u)); border-top: 1px solid var(--on-dark-line); font-size: max(12px, calc(13 * var(--u))); color: var(--on-dark); }
.f-bottom__links { display: flex; gap: calc(12 * var(--u)); }
.f-bottom a { text-decoration: none; }
.f-bottom a:hover { color: var(--sun); }
.f-credit { margin-top: 14px; font-size: 11px; line-height: 1.5; letter-spacing: 0.02em; color: #8d9297; }
.f-credit a { color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s var(--ease-out); }
.f-credit a:hover { color: var(--sun); }

/* ---------- Call bar (phones only, see the 640px block) ---------- */
.callbar { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--paper); padding: calc(70 * var(--u)) 0 calc(96 * var(--u)); isolation: isolate; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(calc(380 * var(--u)) calc(300 * var(--u)) at 18% 60%, var(--glow), transparent 72%); }
.page-hero .ast { position: absolute; right: calc(160 * var(--u)); bottom: calc(60 * var(--u)); width: calc(64 * var(--u)); height: calc(64 * var(--u)); transform: rotate(-8deg); }
.crumbs { display: flex; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-title { margin-top: calc(22 * var(--u)); max-width: 16ch; font-family: var(--display); font-weight: 800; font-size: calc(58 * var(--u)); line-height: 1.12; letter-spacing: -0.012em; text-transform: uppercase; }
.page-lede { margin-top: calc(22 * var(--u)); max-width: 60ch; font-size: max(16px, calc(18 * var(--u))); line-height: 1.65; color: var(--text); }
.page-body { padding: calc(96 * var(--u)) 0 calc(120 * var(--u)); }
.page-body--tight { padding-top: calc(64 * var(--u)); }

.prose { max-width: 72ch; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-family: var(--display); font-weight: 700; font-size: clamp(22px, calc(28 * var(--u)), 28px); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); scroll-margin-top: 24px; }
.prose h3 { margin-top: 1.8em; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--sun-deep); }
.prose a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose .note { padding: 18px 20px; border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 16px; }
.prose-split { display: grid; grid-template-columns: minmax(0, 1fr) calc(340 * var(--u)); gap: calc(96 * var(--u)); align-items: start; }
.aside-card { position: sticky; top: 24px; padding: 28px; border-radius: 14px; background: var(--paper); }
.aside-card h2 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.25; }
.aside-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text); }
.aside-card .btn { margin-top: 18px; width: 100%; }
.aside-card .btn + .btn { margin-top: 10px; }
.toc { display: grid; gap: 6px; margin-top: 14px; font-size: 15px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--sun); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(24 * var(--u)); counter-reset: step; }
.step { padding: calc(32 * var(--u)) calc(28 * var(--u)); border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); font-family: var(--display); font-weight: 800; font-size: 16px; }
.step h2 { margin-top: 20px; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.3; }
.step p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--text); }

.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(28 * var(--u)); }
.vcard { display: flex; flex-direction: column; border-radius: 14px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(42, 30, 16, 0.25); overflow: hidden; scroll-margin-top: 24px; }
.vcard:target { box-shadow: 0 0 0 3px var(--sun), 0 18px 40px -24px rgba(42, 30, 16, 0.25); }
.vcard__media { display: grid; place-items: end center; height: calc(250 * var(--u)); min-height: 190px; padding: 28px 36px 26px; background: linear-gradient(to bottom, var(--paper) 0 72%, var(--sun) 72%); }
.vcard__media img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 12px 10px rgba(30, 20, 10, 0.25)); }
.vcard__body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.vcard__title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; text-transform: uppercase; letter-spacing: -0.01em; }
.vcard__summary { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--text); }
.vcard__specs { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.vcard__specs li { display: flex; align-items: center; gap: 7px; }
.vcard__specs .i { width: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vcard__specs b { color: var(--ink); }
.vcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 24px; }
.price--sm .price__num { font-size: 24px; }
.price--sm .price__num--quote { font-size: 18px; }
.price--sm .price__cur { font-size: 13px; }
.vfine { margin-top: 36px; max-width: 80ch; font-size: 14px; line-height: 1.6; color: var(--muted); }

.faq { max-width: 860px; }
.faq h2 { margin: 56px 0 8px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.faq h2:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: #000; }
.faq details > div { padding: 0 0 24px; max-width: 70ch; font-size: 16px; line-height: 1.7; color: var(--text); }
.faq details > div > * + * { margin-top: 0.8em; }
.faq details a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 2px; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) calc(360 * var(--u)); gap: calc(80 * var(--u)); align-items: start; }
.form { display: grid; gap: 28px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.form legend { padding: 0; margin-bottom: 16px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.ctl { display: flex; flex-direction: column; gap: 7px; }
.ctl label, .ctl .ctl__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.ctl .req { color: #a14b00; }
.ctl input:not([type='checkbox']):not([type='radio']), .ctl select, .ctl textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #d6cec6; border-radius: 10px; background: var(--white);
  font-size: 16px; line-height: 1.4; color: var(--ink);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.ctl textarea { min-height: 120px; resize: vertical; }
.ctl input::placeholder, .ctl textarea::placeholder { color: var(--muted); }
.ctl input:focus, .ctl select:focus, .ctl textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 183, 85, 0.55); }
.ctl input[aria-invalid='true'], .ctl select[aria-invalid='true'], .ctl textarea[aria-invalid='true'] { border-color: #b3261e; }
.ctl__help { font-size: 13px; line-height: 1.5; color: var(--muted); }
.ctl__error { font-size: 13px; font-weight: 600; color: #b3261e; }
.ctl__error:empty { display: none; }
.ctl .check, .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; line-height: 1.55; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.check a { color: var(--ink); }
.seg { align-self: flex-start; display: inline-flex; padding: 4px; border-radius: 12px; background: var(--paper); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 22px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--muted); transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn { height: 54px; padding: 0 28px; font-size: 16px; }
.form-actions .btn[aria-busy='true'] { opacity: 0.7; cursor: progress; }
.form-success { padding: 36px; border-radius: 16px; background: var(--paper); }
.form-success h2 { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: -0.01em; }
.form-success p { margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--text); max-width: 60ch; }
.form-success .btn { margin-top: 22px; }
.form-error-summary { padding: 16px 18px; border-radius: 10px; background: #fdecea; color: #7a1d16; font-size: 15px; font-weight: 600; }
.form-error-summary:empty { display: none; }

.info-list { display: grid; gap: 18px; }
.info-list dt { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.info-list dd { margin: 4px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.info-list a { color: var(--ink); text-decoration-color: var(--sun); text-decoration-thickness: 2px; }

.post { padding-top: 56px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.post + .post { margin-top: 72px; }
.post__meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.post__media { margin: 22px 0 6px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }

.cta-strip { padding: calc(72 * var(--u)) 0; background: var(--sun); }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-strip h2 { font-family: var(--display); font-weight: 800; font-size: calc(36 * var(--u)); line-height: 1.15; text-transform: uppercase; letter-spacing: -0.01em; max-width: 20ch; }
.cta-strip .btn { flex: none; height: 54px; padding: 0 30px; font-size: 16px; }

.e404 { min-height: 50vh; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero__car img { animation: drive-in 1.1s var(--ease-out) both; }
  .page-home .hero__car::before { animation: shadow-in 1.1s var(--ease-out) both; }
}
@keyframes drive-in { from { transform: translateX(calc(-70 * var(--u))); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes shadow-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ======================================================================
   Tablet & phone (< 1024px): content reflows, nothing is removed.
   ====================================================================== */
@media (max-width: 1023.98px) {
  :root { --u: 1px; }
  body { font-size: 16px; }
  .wrap { width: auto; margin-inline: 24px; }
  .h2 { font-size: clamp(28px, 5.4vw, 40px); }

  .site-header__inner { height: 76px; }
  .logo { font-size: 20px; }
  .site-nav, .btn--header { display: none; }
  .site-header__actions { gap: 10px; }
  .round-btn { width: 44px; height: 44px; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); }
  .menu-btn svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
  .menu-btn[aria-expanded='true'] { background: var(--ink); }
  .menu-btn[aria-expanded='true'] svg { stroke: var(--white); }
  .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 24px 28px; background: var(--paper); box-shadow: 0 24px 40px -20px rgba(42, 30, 16, 0.3); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 18px; text-decoration: none; text-transform: uppercase; }
  .mobile-menu li a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .mobile-menu__cta { display: grid; gap: 10px; margin-top: 22px; }
  .mobile-menu__cta .btn { height: 52px; font-size: 16px; }

  .hero { height: auto; padding: 18px 0 0; }
  .hero__title { padding: 0 20px; font-size: clamp(34px, 8.6vw, 58px); line-height: 1.12; }
  .search { position: relative; left: auto; top: auto; width: calc(100% - 48px); max-width: 620px; margin: 28px auto 0; }
  .search__tabs { width: 190px; height: 52px; }
  .search__tab span { font-size: 16px; }
  .search__card { flex-direction: column; align-items: stretch; height: auto; padding: 8px 20px 20px; border-radius: 0 12px 12px 12px; }
  .field { height: auto; padding: 14px 0; }
  .field--loc, .field--date:nth-of-type(2), .field--date:nth-of-type(3) { width: auto; margin: 0; flex: none; }
  .field label { font-size: 14px; margin-bottom: 6px; }
  .field input, .field__view { font-size: 17px; }
  .field:focus-within::after { left: -8px; right: -8px; top: 2px; bottom: 2px; }
  .search__sep { width: auto; height: 1px; }
  .search__go { width: 100%; height: 54px; margin-top: 12px; border-radius: 10px; }
  .search__go svg { width: 22px; }
  .search__go .sr-only { position: static !important; width: auto; height: auto; margin: 0 0 0 10px; clip: auto; overflow: visible; font-weight: 600; font-size: 16px; }
  .search__go { display: flex; align-items: center; justify-content: center; }
  .search__go svg { order: -1; }
  .hero__ast { display: none; }
  .hero__band { height: 30vw; min-height: 150px; }
  .hero__car { position: relative; left: auto; bottom: auto; width: 92%; max-width: 760px; margin: 36px auto 0; padding-bottom: 13vw; }
  .hero__car::before { bottom: calc(13vw - 10px); }
  .scroll-pill { display: none; }

  .about { height: auto; padding: 72px 0 0; }
  .about__copy { position: static; width: auto; margin: 0 24px; max-width: 640px; }
  .about__copy p { margin-top: 18px; font-size: 16px; }
  .about__copy .btn { width: auto; padding: 0 24px; margin-top: 26px; }
  .about__photo { position: relative; left: auto; top: auto; height: 62vw; max-height: 520px; margin: 48px 0 0 12%; }
  .about__ast { left: calc(12% - 22px); top: auto; bottom: calc(62vw - 70px); width: 44px; height: 44px; }
  .about__tile { position: relative; top: auto; width: 46%; height: 30vw; margin-top: -14vw; z-index: 1; border: 8px solid var(--white); border-left: 0; }

  .pick { height: auto; padding: 72px 0 0; margin-top: 64px; }
  .pick__title { padding: 0 20px; }
  .pick__stage { position: relative; top: auto; height: 46vw; max-height: 300px; margin-top: 36px; }
  .car-slide { left: 10%; width: 80%; height: 86%; transform: translateX(calc(var(--pos, 0) * 94%)) scale(var(--scale, 1)); }
  .pick__side { width: 14%; }
  .pick__spin { top: 30%; left: calc(50% - 24px); width: 48px; height: 48px; }
  .pick__spin svg { width: 22px; }
  .pick__specs { position: static; transform: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 16px 0; }
  .spec { width: auto; }
  .spec__icon { width: 54px; height: 54px; }
  .spec__icon .i { width: 22px; }
  .spec__text { text-align: center; white-space: normal; }
  .spec__text b { font-size: 14px; }
  .pick__card { position: relative; left: auto; top: auto; z-index: 2; width: auto; height: auto; margin: 32px 20px -64px; padding: 20px; flex-wrap: wrap; gap: 16px 0; border-radius: 12px; }
  .pick__tag { width: 24px; }
  .pick__divider { height: 40px; margin: 0 16px; }
  .price__num { font-size: 30px; }
  .price__num--quote { font-size: 22px; }
  .price__cur { font-size: 14px; }
  .pick__actions { width: 100%; }
  .pick__actions .btn { flex: 1; width: auto; height: 50px; font-size: 15px; }

  .stories { padding: 128px 0 40px; }
  .stories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; margin: 44px 24px 0; }
  .story { width: auto; }
  .story__date b { font-size: 30px; }
  .story__title { margin-top: 22px; font-size: 18px; line-height: 1.35; }
  .story__text { font-size: 15px; }
  .story img { margin-top: 16px; }
  .stories__more { width: auto; height: 50px; padding: 0 26px; margin-top: 44px; }

  .classes { height: auto; padding: 48px 0 0; }
  .classes__list { width: auto; margin: 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; }
  .classes__list li:nth-child(n + 5) { transform: translateX(50%); }
  .classes__list svg { width: 60px; height: 30px; }
  .classes__list span { font-size: 11px; text-align: center; }

  .app { padding-top: 120px; background: linear-gradient(to bottom, var(--white) 0, var(--white) 55%, var(--ink) 55%); }
  .app__card { height: auto; padding: 44px 32px 0; overflow: hidden; border-radius: 16px; }
  .app__copy { position: relative; left: auto; top: auto; z-index: 2; }
  .app__btns { flex-wrap: wrap; margin-top: 24px; }
  .store-btn { height: 52px; padding: 0 18px 0 14px; }
  .store-btn small { font-size: 11px; }
  .phone { position: relative; left: auto; width: min(330px, 86%); height: 360px; margin: 36px auto 0; }
  .phone__frame { height: 480px; padding: 9px; border-radius: 46px 46px 0 0; }
  .phone__screen { border-radius: 38px 38px 0 0; padding: 14px 18px 0; }
  .phone__status { height: 26px; font-size: 12px; }
  .phone__island { width: 84px; height: 24px; }
  .phone__sys b { width: 3px; }
  .phone__sys b:nth-child(1) { height: 5px; } .phone__sys b:nth-child(2) { height: 8px; } .phone__sys b:nth-child(3) { height: 11px; }
  .phone__tabs { margin-top: 16px; gap: 22px; font-size: 12px; }
  .phone__tabs svg { width: 16px; }
  .phone__dot { width: 6px; height: 6px; left: 10px; top: -1px; }
  .phone__car { margin-top: 14px; padding: 12px 14px; border-radius: 14px; }
  .phone__label { font-size: 9px; }
  .phone__model { font-size: 15px; margin-top: 6px; }
  .phone__meta { font-size: 11px; }
  .phone__row { gap: 10px; margin-top: 10px; }
  .phone__help, .phone__map { border-radius: 14px; }
  .phone__help { padding: 12px 8px; }
  .phone__avatar { width: 46px; height: 46px; border-width: 2px; }
  .phone__avatar svg { width: 22px; }
  .phone__help p { font-size: 11px; margin-top: 6px; }
  .phone__help small { font-size: 10px; }
  .app__ast-faint { width: 90px; height: 90px; left: -10px; top: -6px; }
  .app__ast-dark { left: auto; right: 12%; top: auto; bottom: 230px; width: 48px; height: 48px; }

  .site-footer { padding: 72px 0 32px; }
  .news { flex-direction: column; gap: 32px; }
  .news__title { max-width: 520px; font-size: clamp(28px, 6vw, 40px); line-height: 1.2; }
  .news__ast { width: 52px; height: 52px; left: -16px; top: -10px; }
  .news__form { width: 100%; max-width: 560px; margin: 0; grid-template-columns: minmax(0, 1fr) 52px; column-gap: 14px; }
  .news__form input { height: 52px; font-size: 16px; }
  .news__send { width: 52px; height: 52px; border-radius: 10px; }
  .f-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin-top: 64px; }
  .f-col__title { font-size: 16px; }
  .f-col ul { margin-top: 16px; gap: 6px; }
  .f-col a { font-size: 15px; display: inline-block; padding: 4px 0; }
  .social a { width: 44px; height: 44px; }
  .f-disclosure { margin-top: 48px; font-size: 13px; }
  .f-bottom { flex-direction: column; align-items: flex-start; font-size: 13px; }

  .page-hero { padding: 40px 0 64px; }
  .page-hero .ast { right: 24px; bottom: 24px; width: 44px; height: 44px; }
  .page-title { font-size: clamp(32px, 7.4vw, 52px); }
  .page-lede { font-size: 17px; }
  .page-body { padding: 64px 0 88px; }
  .prose-split, .form-layout { grid-template-columns: 1fr; gap: 48px; }
  .aside-card { position: static; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { padding: 28px 0; }
  .vgrid { grid-template-columns: 1fr; gap: 24px; }
  .cta-strip { padding: 56px 0; }
  .cta-strip .wrap { flex-direction: column; align-items: flex-start; }
  .cta-strip h2 { font-size: clamp(24px, 5.6vw, 34px); }
}

@media (max-width: 640px) {
  .wrap { margin-inline: 16px; }
  .mobile-menu { padding-inline: 16px; }
  .hero__title { font-size: clamp(30px, 9.6vw, 44px); }
  .search { width: calc(100% - 32px); }
  .search__card { padding: 6px 16px 16px; }
  .hero__car { width: 94%; margin-top: 28px; }
  .about { padding-top: 56px; }
  .about__copy { margin: 0 16px; }
  .about__photo { margin-left: 8%; height: 78vw; }
  .about__ast { left: calc(8% - 20px); bottom: calc(78vw - 60px); }
  .about__tile { width: 52%; height: 36vw; margin-top: -18vw; }
  .pick { padding-top: 56px; }
  .pick__stage { height: 52vw; }
  .car-slide { left: 7%; width: 86%; transform: translateX(calc(var(--pos, 0) * 100%)) scale(var(--scale, 1)); }
  .pick__specs { grid-template-columns: repeat(2, 1fr); row-gap: 20px; margin-inline: 8px; }
  .pick__card { margin-inline: 16px; }
  .stories__grid { grid-template-columns: 1fr; gap: 44px; margin-inline: 16px; }
  .story__title { font-size: 20px; min-height: 0; }
  .story__text { min-height: 0; }
  .classes__list { grid-template-columns: repeat(3, 1fr); margin-inline: 8px; }
  .classes__list li:nth-child(n + 5) { transform: none; }
  .classes__list li:nth-child(7) { grid-column: 2; }
  .app__card { padding: 36px 22px 0; }
  .store-btn { flex: 1 1 150px; }
  .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-col--social { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .vcard__media { padding: 22px 20px 20px; }
  .vcard__body { padding: 22px 20px 24px; }
  .vcard__foot { flex-direction: column; align-items: stretch; }
  .vcard__foot .btn { height: 50px; }

  /* Call bar: stays inside the viewport gutters and the safe area, nothing pokes past its edge. */
  .callbar {
    position: fixed; z-index: 40;
    left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom));
    display: flex; align-items: center; padding: 8px 4px 8px 8px; border-radius: 16px;
    background: var(--ink); color: var(--white);
    box-shadow: 0 16px 36px -10px rgba(21, 25, 28, 0.5), 0 3px 8px rgba(21, 25, 28, 0.16);
    transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out), visibility 0s;
  }
  .callbar.is-tucked { transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out), visibility 0s 0.3s; }
  .callbar__link { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; border-radius: 10px; color: inherit; text-decoration: none; }
  .callbar__face { position: relative; flex: none; width: 48px; height: 48px; }
  .callbar__face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--sun); }
  .callbar__dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: #3dcb72; }
  .callbar__text { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
  .callbar__label { font-size: 13px; font-weight: 500; color: var(--on-dark-muted); white-space: nowrap; }
  .callbar__num { margin-top: 3px; font-size: clamp(18px, 5.4vw, 21px); font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .callbar__call { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); color: var(--ink); transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
  .callbar__call svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .callbar__link:active .callbar__call { transform: scale(0.94); background: var(--sun-deep); }
  .callbar__close { display: grid; flex: none; place-items: center; width: 36px; height: 46px; margin-left: 6px; border-left: 1px solid var(--on-dark-line); border-radius: 0 10px 10px 0; color: var(--on-dark-muted); transition: color 0.2s var(--ease-out); }
  .callbar__close svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .callbar__close:active { color: var(--white); }
  @media (hover: hover) {
    .callbar__link:hover .callbar__call { background: var(--sun-deep); }
    .callbar__close:hover { color: var(--white); }
  }
  @media (prefers-reduced-motion: no-preference) {
    .callbar { animation: callbar-in 0.55s 0.4s var(--ease-out) backwards; }
  }
  /* Room under the footer so the bar never covers the last line. */
  body:has(.callbar:not([hidden])) .site-footer { padding-bottom: 116px; }
}
@media (max-width: 359.98px) {
  .callbar__hours { display: none; }
  .callbar__link { gap: 10px; }
  .callbar__face { width: 44px; height: 44px; }
}
@keyframes callbar-in { from { transform: translateY(calc(100% + 24px)); opacity: 0; } to { transform: none; opacity: 1; } }
