/* assets/pages-v18.css */
/* RIDE site V18 pages (2026-10-29, owner: "the screen, detail, beta, faq and about pages as well as request invite etc. are extremely basic, we need a general revamp ... that WOW effect").
   Loaded after hub.css / site-v2.css by Screens, Details, Beta, About, Contact, Remove and the 404 page only. The home page and the legal pages do not load it.
   Rules for everything in this file:
   - anything that starts hidden or displaced is gated on html.v18m (set by pages-v18.js only when motion is welcome), and html.v18-fail puts it all back at rest;
   - animation is transform and opacity only (plus one SVG stroke-dashoffset road that draws once); nothing loops, nothing reads layout on scroll;
   - no backdrop-filter, no blend modes, no filters over scrolling content; one shadow per card; contours are one small static SVG;
   - no inline style anywhere: the script sets only custom properties and classes (the Content Security Policy forbids inline style and inline script). */
:root { --e18: cubic-bezier(.2, .8, .2, 1); --gap18: clamp(1rem, 2.4vw, 1.6rem); }

/* ---------- Shared: reveal, eyebrow, headings ---------- */
.v18 .eyebrow { display: flex; align-items: center; gap: .65rem; }
.v18 .eyebrow::before { content: ""; flex: none; width: 1.7rem; height: 2px; border-radius: 2px; background: var(--accent); }
.v18 main { overflow-x: clip; }
.v18 h1 { text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .v18m .rv18 { opacity: 0; transform: translate3d(0, 1.6rem, 0); transition: opacity .7s var(--e18), transform .8s var(--e18); transition-delay: calc(var(--i, 0) * 70ms); }
  .v18m .rv18.is-in { opacity: 1; transform: none; }
  .v18-fail .rv18 { opacity: 1 !important; transform: none !important; }
}
@media print { .rv18 { opacity: 1 !important; transform: none !important; } }
.rv18[data-i="1"] { --i: 1; } .rv18[data-i="2"] { --i: 2; } .rv18[data-i="3"] { --i: 3; } .rv18[data-i="4"] { --i: 4; }

/* ---------- The page hero: always the Night cockpit, a contour field, a big headline, a road that draws itself ---------- */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; border-bottom: 1px solid var(--line); }
.pg-hero::before { content: ""; position: absolute; inset: -8% -4%; z-index: -2; pointer-events: none; opacity: .5; background: url("fx/contours.svg") center / 1100px auto repeat; }
.pg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60rem 28rem at 78% 8%, rgba(224, 150, 46, .16), transparent 70%), linear-gradient(180deg, transparent 55%, rgba(8, 11, 16, .55)); }
.pg-hero .wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.25rem); }
.pg-hero h1 { font-size: clamp(2.55rem, 7.4vw, 5.1rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 0 0 1.15rem; max-width: 14ch; }
.pg-hero h1 em { position: relative; display: inline-block; color: var(--accent-text); font-style: normal; padding-bottom: .04em; }
.pg-hero h1 em::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: -.03em; height: .075em; border-radius: .04em; background: repeating-linear-gradient(90deg, var(--accent) 0 .2em, transparent .2em .36em); transform-origin: left center; transform: rotate(-1.2deg); }
.pg-hero .lead { max-width: 34rem; margin: 0 0 1.5rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); }
.pg-hero .actions { margin-top: 1.5rem; }
.pg-hero .btn { min-height: 3.1rem; padding-inline: 1.6rem; box-shadow: 0 10px 24px -12px rgba(224, 150, 46, .75); }
@media (min-width: 60rem) { .pg-hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } .pg-hero--wide .wrap { grid-template-columns: minmax(0, 1fr); } }
.pg-hero .pg-road { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: 5.5rem; pointer-events: none; }
.pg-road path, .nf-road path { fill: none; stroke-linecap: round; }
.pg-road-bed { stroke: var(--line); stroke-width: 24; opacity: .5; }
.pg-road-line { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 10 14; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .v18m .pg-hero h1 em::after { animation: v18-underline 1s var(--e18) .55s both; }
  @keyframes v18-underline { from { transform: rotate(-1.2deg) scaleX(0); } to { transform: rotate(-1.2deg) scaleX(1); } }
  /* the road is wiped in left to right, once */
  .v18m .pg-road, .v18m .nf-road { clip-path: inset(0 100% 0 0); animation: v18-wipe 1.7s var(--e18) .3s forwards; }
  @keyframes v18-wipe { to { clip-path: inset(0 0 0 0); } }
}
.v18-fail .pg-road, .v18-fail .nf-road { clip-path: none !important; animation: none !important; }
.v18-fail .pg-hero h1 em::after { animation: none !important; }

/* Fact chips under a hero: big number, small label. */
.pg-facts { display: flex; flex-wrap: wrap; gap: .6rem .7rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.pg-facts li { margin: 0; display: grid; gap: .05rem; min-width: 4.8rem; padding: .55rem .85rem .6rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(17, 25, 35, .72); }
.pg-facts b { font-size: 1.35rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pg-facts span { font-size: .74rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }

/* Three real screens side by side, flat (no rotation: a rotated screenshot is resampled and goes soft). Position comes from custom properties; the pointer only nudges them (transform only). */
.pg-phones { position: relative; width: 100%; max-width: 31rem; margin-inline: auto; aspect-ratio: 1 / 1.08; --px: 0; --py: 0; }
.pg-phone { position: absolute; margin: 0; width: 41%; top: calc(var(--top, 10%)); left: var(--left, 0); z-index: var(--z, 1); transform: translate3d(calc(var(--px) * var(--d, 10) * 1px), calc(var(--py) * var(--d, 10) * .7px), 0) rotate(var(--r, 0deg)); transition: transform .5s var(--e18); }
.pg-phone img { display: block; width: 100%; height: auto; border: 1px solid rgba(234, 241, 248, .28); border-radius: 1.5rem; background: #0C121A; box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); }
.pg-phone--c { width: 48%; --left: 26%; --top: 0%; --z: 3; --r: 0deg; --d: -14; }
.pg-phone--l { --left: 0%; --top: 12%; --z: 1; --r: 0deg; --d: 7; }
.pg-phone--r { --left: 59%; --top: 15%; --z: 2; --r: 0deg; --d: 18; }
.pg-phone .shot-tag { position: absolute; z-index: 4; left: 50%; bottom: .55rem; margin: 0; transform: translateX(-50%); padding: .04rem .45rem; font-size: .6rem; background: rgba(8, 11, 16, .88); color: #D7E0E9; border-color: rgba(234, 241, 248, .3); }
@media (prefers-reduced-motion: no-preference) {
  .v18m .pg-phone { opacity: 0; translate: 0 2.2rem; animation: v18-rise 1s var(--e18) forwards; animation-delay: calc(.2s + var(--n, 0) * .14s); }
  .v18m .pg-phone--c { --n: 0; } .v18m .pg-phone--l { --n: 1; } .v18m .pg-phone--r { --n: 2; }
  @keyframes v18-rise { to { opacity: 1; translate: 0 0; } }
}
.v18-fail .pg-phone { opacity: 1 !important; translate: none !important; animation: none !important; }
@media (max-width: 59.99rem) { .pg-phones { max-width: 22rem; } }

/* ---------- Section heads, cards, notes ---------- */
.pg-head { max-width: 46rem; margin: 0 0 clamp(1.6rem, 4vw, 2.5rem); }
.pg-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.pg-head .lead { margin: .9rem 0 0; }
.pg-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.pg-section--raise { background: var(--raise); border-block: 1px solid var(--line); }
.pg-card { position: relative; margin: 0; padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--frame); transition: transform .35s var(--e18), border-color .2s ease; }
.pg-card h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.pg-card p { margin: 0; color: var(--ink-2); }
.pg-card p + p { margin-top: .6rem; }
@media (hover: hover) and (pointer: fine) { .pg-card:hover { transform: translate3d(0, -4px, 0); border-color: var(--accent); } }
.pg-note { margin: 1.5rem 0 0; padding: .95rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: .9rem; background: var(--frame); font-size: .95rem; color: var(--ink-2); }
.pg-note p:last-child { margin-bottom: 0; }

/* ---------- Closing band ---------- */
.pg-cta { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding-block: clamp(3.25rem, 8vw, 6rem); text-align: center; border-top: 1px solid var(--line); }
.pg-cta::before { content: ""; position: absolute; inset: -10% -4%; z-index: -1; pointer-events: none; opacity: .5; background: url("fx/contours.svg") center / 1100px auto repeat; }
.pg-cta h2 { max-width: 20ch; margin: 0 auto .8rem; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 800; }
.pg-cta p { max-width: 34rem; margin: 0 auto 1.4rem; color: var(--ink-2); font-size: 1.1rem; }
.pg-cta .btn { min-height: 3.2rem; padding-inline: 1.8rem; }
.pg-cta .fine { margin: 1rem auto 0; font-size: .9rem; }

/* ====================================================== SCREENS ====================================================== */
.scr-stage { padding-block: clamp(2rem, 5vw, 3.25rem) clamp(3rem, 7vw, 5rem); }
.scr-stage .gallery { margin-top: 0; }
/* the group bar: sticky under the header, one swipeable row on phones */
.scr-stage .gallery .tablist { position: sticky; top: var(--header-h); z-index: 30; flex-wrap: nowrap; gap: .5rem; margin: 0 0 1.2rem; padding: .7rem 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; background: var(--ground); border-bottom: 1px solid var(--line); }
.scr-stage .gallery .tablist::-webkit-scrollbar { display: none; }
.scr-stage .tab { flex: none; padding-inline: 1.15rem; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.scr-stage .tab[aria-selected="true"] { box-shadow: 0 8px 18px -10px rgba(156, 90, 14, .9); }
@media (min-width: 60rem) { .scr-stage .gallery .tablist { flex-wrap: wrap; border-bottom: 0; background: transparent; position: static; padding-block: .3rem; margin-bottom: 1.6rem; } }
.scr-intro { max-width: 40rem; margin: .2rem 0 1.25rem; font-size: 1.1rem; color: var(--ink-2); }
.scr-intro b { color: var(--ink); font-weight: 700; }
.scr-stage .rail { grid-auto-columns: min(17.5rem, 74vw); gap: 1.4rem; padding: .6rem .5rem 1.3rem; scroll-snap-type: x mandatory; scroll-padding-inline: .5rem; }
.scr-stage .rail .shot--land { grid-column: span 2; }
@media (min-width: 60rem) { .scr-stage .rail { grid-auto-columns: calc((100% - 4.2rem) / 4); scroll-snap-type: x proximity; } .scr-stage .rail .shot--land { grid-column: span 2; } }
.scr-stage .shot { transition: transform .4s var(--e18); }
.scr-stage .shot-link { cursor: zoom-in; }
.scr-stage .shot img { border-radius: 1.6rem; border-color: var(--line-strong); box-shadow: 0 26px 40px -28px rgba(26, 20, 8, .75); transition: box-shadow .35s ease; background: var(--sunk); }
:root[data-theme="dark"] .scr-stage .shot img { box-shadow: 0 26px 40px -26px rgba(0, 0, 0, .95); }
@media (hover: hover) and (pointer: fine) { .scr-stage .shot:hover { transform: translate3d(0, -6px, 0); } .scr-stage .shot:hover img { box-shadow: 0 34px 46px -26px rgba(156, 90, 14, .55); } }
.scr-stage .shot-link::after { content: "Zoom"; position: absolute; right: .7rem; top: .7rem; padding: .22rem .6rem; border-radius: 999px; background: rgba(8, 11, 16, .82); color: #EAF1F8; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
@media (hover: hover) { .scr-stage .shot-link:hover::after, .scr-stage .shot-link:focus-visible::after { opacity: 1; } }
.scr-stage .shot figcaption { margin-top: .8rem; }
.scr-stage .rail { cursor: grab; }
.scr-stage .rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.scr-stage .rail.is-drag .shot-link { pointer-events: none; }
/* rail controls (made by the script: two buttons and a progress line) */
.rail-ctl { display: flex; align-items: center; gap: .9rem; margin: .2rem 0 0; }
.rail-bar { flex: 1 1 auto; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(var(--p, .2)); }
.rail-btn { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--frame); color: var(--ink); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.rail-btn:hover { border-color: var(--accent); background: var(--raise); }
.rail-btn[disabled] { opacity: .4; cursor: default; }
.rail-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rail-ctl[hidden] { display: none !important; }
@media (pointer: coarse) { .rail-btn { display: none; } }
.scr-fine { max-width: 52rem; margin-top: 1.2rem; }
/* the two demos: a night stage */
.scr-lab { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding-block: clamp(3rem, 7vw, 5.5rem); border-block: 1px solid var(--line); }
.scr-lab::before { content: ""; position: absolute; inset: -8% -4%; z-index: -1; opacity: .42; pointer-events: none; background: url("fx/contours.svg") center / 1100px auto repeat; }
.scr-lab .lab-grid { gap: var(--gap18); }
.scr-lab .road-lab { background: rgba(17, 25, 35, .86); border-color: var(--line-strong); color: var(--ink); }
.scr-lab .lean-stage { border-color: var(--line-strong); }

/* ---- the viewer: previous and next, click to zoom to full resolution ---- */
.v18-viewer { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #05080C; color: #EAF1F8; overflow: hidden; }
.v18-viewer::backdrop { background: #05080C; }
.v18-vw { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; padding: .75rem max(.75rem, env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)); gap: .6rem; }
.v18-vw-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.v18-vw-count { margin: 0; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #D7E0E9; }
.v18-vw-tools { display: flex; gap: .5rem; }
.v18-vw .btn { min-height: 2.75rem; padding: .4rem 1.05rem; font-size: .92rem; background: #111923; color: #EAF1F8; border: 1px solid #5B6E80; }
.v18-vw .btn:hover { background: #182332; border-color: #EAF1F8; color: #EAF1F8; }
.v18-vw .btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #071015; }
.v18-vw-stage { position: relative; min-height: 0; overflow: hidden; border-radius: 1rem; outline: 0; }
.v18-vw-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.v18-vw.is-zoom .v18-vw-stage { overflow: auto; overscroll-behavior: contain; cursor: grab; scrollbar-color: #5B6E80 transparent; }
.v18-vw.is-zoom .v18-vw-img { position: static; max-width: none; max-height: none; object-fit: fill; cursor: zoom-out; margin: 0 auto; border-radius: 0; }
.v18-vw.is-drag .v18-vw-stage { cursor: grabbing; }
.v18-vw-cap { margin: 0 auto; max-width: 44rem; text-align: center; font-size: .9rem; line-height: 1.5; color: #D7E0E9; }
.v18-vw-nav { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-top: -1.55rem; padding: 0; border: 1px solid #5B6E80; border-radius: 50%; background: rgba(17, 25, 35, .9); color: #EAF1F8; cursor: pointer; }
.v18-vw-nav:hover { border-color: #EAF1F8; }
.v18-vw-nav[hidden] { display: none !important; }
.v18-vw-prev { left: max(.6rem, env(safe-area-inset-left)); } .v18-vw-next { right: max(.6rem, env(safe-area-inset-right)); }
.v18-vw-nav svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v18-vw.is-zoom .v18-vw-nav { display: none; }
@media (max-width: 39.99rem) { .v18-vw-nav { display: none; } .v18-vw-hint { display: none; } }
.v18-vw-hint { margin: 0; font-size: .8rem; color: #AEBBC8; text-align: center; }

/* ====================================================== DETAILS ====================================================== */
.dt-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 1.5rem clamp(3rem, 7vw, 5rem); }
@media (min-width: 64rem) { .dt-layout { grid-template-columns: 14.5rem minmax(0, 1fr); gap: 3.5rem; padding-top: 3rem; } }
.dt-nav { position: sticky; top: var(--header-h); z-index: 25; align-self: start; min-width: 0; margin-inline: -1.25rem; padding: .6rem 1.25rem; background: var(--ground); border-bottom: 1px solid var(--line); }
.dt-nav p { display: none; margin: 0 0 .7rem; font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.dt-nav ol { display: flex; gap: .45rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; counter-reset: dt; }
.dt-nav ol::-webkit-scrollbar { display: none; }
.dt-nav li { flex: none; margin: 0; counter-increment: dt; }
.dt-nav a { display: block; padding: .45rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.dt-nav a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (min-width: 64rem) {
  .dt-nav { top: calc(var(--header-h) + 1.5rem); margin: 0; padding: 0; background: transparent; border: 0; }
  .dt-nav p { display: block; }
  .dt-nav ol { display: grid; gap: .1rem; overflow: visible; }
  .dt-nav li { display: block; }
  .dt-nav a { display: flex; gap: .7rem; align-items: baseline; padding: .55rem .2rem .55rem .9rem; border: 0; border-left: 2px solid var(--line); border-radius: 0; font-weight: 600; white-space: normal; color: var(--ink-2); }
  .dt-nav a::before { content: counter(dt, decimal-leading-zero); font-size: .72rem; font-weight: 750; letter-spacing: .1em; color: var(--accent-text); }
  .dt-nav a:hover { color: var(--ink); border-left-color: var(--line-strong); }
  .dt-nav a[aria-current="true"] { background: transparent; color: var(--ink); border-left-color: var(--accent); }
}
.dt-main { min-width: 0; display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.dt-chap { scroll-margin-top: calc(var(--header-h) + 5rem); display: grid; gap: 1.6rem; }
.dt-chap-head { display: grid; gap: .5rem; max-width: 42rem; }
.dt-num { display: block; margin-bottom: .1rem; font-size: clamp(3.4rem, 9vw, 6rem); line-height: .85; font-weight: 800; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); opacity: .85; }
.dt-chap h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.dt-chap .lead { margin: .4rem 0 0; max-width: 40rem; }
.dt-body { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 52rem) { .dt-body--shot { grid-template-columns: minmax(0, 1fr) 14.5rem; gap: 2.4rem; } }
.dt-facts { display: grid; gap: .9rem; margin: 0; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.dt-facts > div { margin: 0; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 1rem; background: var(--frame); transition: transform .35s var(--e18); }
@media (hover: hover) and (pointer: fine) { .dt-facts > div:hover { transform: translate3d(0, -3px, 0); } }
.dt-facts dt { margin: 0 0 .3rem; font-size: 1.02rem; font-weight: 750; line-height: 1.3; }
.dt-facts dd { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.dt-aside { position: sticky; top: calc(var(--header-h) + 5.5rem); margin: 0; justify-self: center; width: min(14.5rem, 62vw); }
@media (max-width: 51.99rem) { .dt-aside { position: static; order: -1; width: min(12.5rem, 56vw); } }
.dt-aside .shot-link { display: block; }
.dt-aside img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 1.6rem; background: var(--sunk); box-shadow: 0 26px 40px -28px rgba(26, 20, 8, .75); }
.dt-aside figcaption { margin-top: .7rem; font-size: .82rem; line-height: 1.45; color: var(--ink-2); text-align: center; }
.dt-chap .caveat { margin: .4rem 0 0; max-width: 46rem; }
.dt-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.dt-chap .shot--strip { margin: .4rem 0 0; }
/* where do my rides go: three plain boxes */
.dt-where { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: wh; }
.dt-where li { position: relative; margin: 0; padding: 1.3rem 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--frame); }
.dt-where li:first-child { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-ground), var(--frame) 70%); }
.dt-where h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.dt-where p { margin: 0; color: var(--ink-2); }
.dt-where .pill { margin-bottom: .75rem; }
.dt-faq { max-width: 52rem; }
.dt-faq .faq { max-width: none; }

/* ======================================================= BETA ======================================================== */
.bt-hero h1 { max-width: 17ch; font-size: clamp(2.35rem, 5.6vw, 4.2rem); }
.bt-hero .pg-phones { max-width: 27rem; }
.bt-hero .pg-facts { margin-top: 1.4rem; }
.bt-body { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.bt-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 60rem) { .bt-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .bt-form { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.bt-side { display: grid; gap: 1.6rem; }
.bt-side h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -.025em; margin-bottom: .75rem; }
.bt-needs { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.bt-needs li { margin: 0; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: .8rem; align-items: start; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--frame); }
.bt-needs svg { width: 2.1rem; height: 2.1rem; padding: .4rem; border-radius: .7rem; background: var(--accent-ground); fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bt-needs b { display: block; font-weight: 700; }
.bt-needs span { color: var(--ink-2); font-size: .95rem; }
.bt-who { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--frame); }
.bt-who img { width: 3.4rem; height: 3.4rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.bt-who p { margin: 0; font-size: .96rem; }
.bt-who p + p { margin-top: .2rem; color: var(--ink-2); font-size: .9rem; }
/* the form card: the same form, bigger and calmer */
.v18 .bt-form.signup { padding: clamp(1.4rem, 3.2vw, 2.4rem); border-radius: 1.9rem; border-color: var(--line-strong); box-shadow: 0 40px 60px -40px rgba(26, 20, 8, .7); background: linear-gradient(180deg, var(--frame), var(--frame)); }
:root[data-theme="dark"] .v18 .bt-form.signup { box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .9); }
.bt-form::before { content: ""; position: absolute; left: 1.9rem; right: 1.9rem; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: repeating-linear-gradient(90deg, var(--accent) 0 .9rem, transparent .9rem 1.4rem); }
.bt-form { position: relative; }
@media (min-width: 60rem) { .v18 .bt-form.signup { position: sticky; } }
.bt-form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em; font-weight: 800; margin-bottom: .6rem; }
.bt-intro { margin: 0 0 .4rem; color: var(--ink-2); font-size: 1.02rem; }
.v18 .bt-form input[type="text"], .v18 .bt-form input[type="email"], .v18 .bt-form select, .v18 .bt-form textarea, .v18 .sv-form input[type="text"], .v18 .sv-form input[type="email"], .v18 .sv-form select, .v18 .sv-form textarea { min-height: 3.2rem; border-radius: .85rem; border-width: 1.5px; background: var(--ground); transition: border-color .2s ease, box-shadow .2s ease; }
.v18 .bt-form input:focus, .v18 .bt-form select:focus, .v18 .bt-form textarea:focus, .v18 .sv-form input:focus, .v18 .sv-form select:focus, .v18 .sv-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(156, 90, 14, .28); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 26%, transparent); }
.v18 .bt-form .btn[type="submit"], .v18 .sv-form .btn[type="submit"] { min-height: 3.3rem; padding-inline: 2rem; font-size: 1.05rem; box-shadow: 0 14px 26px -14px rgba(156, 90, 14, .9); }
.v18 .bt-form label.check { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--raise); }
.v18 .sv-form label.check { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--raise); }
.v18 .bt-form details.optional, .v18 .sv-form details.optional { border-radius: .9rem; }
.bt-mail { margin: 1.1rem 0 0; font-size: .93rem; color: var(--ink-2); }
/* from invite to first ride: a road with four stops */
.bt-flow-wrap { position: relative; }
.bt-flow { counter-reset: bt; position: relative; display: grid; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.bt-flow li { counter-increment: bt; position: relative; margin: 0; padding: 1.35rem 1.3rem 1.4rem 4.1rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--frame); }
.bt-flow li::before { content: counter(bt); position: absolute; left: 1.1rem; top: 1.25rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; box-shadow: 0 0 0 5px var(--accent-ground); }
.bt-flow h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.bt-flow p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (min-width: 60rem) {
  .bt-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-top: 1.4rem; }
  .bt-flow::before { content: ""; position: absolute; left: 3%; right: 3%; top: 1.4rem; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--accent) 0 .9rem, transparent .9rem 1.5rem); transform-origin: left center; }
  .bt-flow li { padding: 3.3rem 1.2rem 1.4rem; }
  .bt-flow li::before { left: 1.1rem; top: -.75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 60rem) { .v18m .bt-flow::before { transform: scaleX(0); transition: transform 1.4s var(--e18) .15s; } .v18m .bt-flow.is-in::before { transform: scaleX(1); } }
}
.bt-gets { display: grid; margin-top: 1.4rem !important; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 0; }
.bt-gets > div { padding: 1.2rem 1.25rem 1.3rem; border: 1px solid var(--line); border-radius: 1.15rem; background: var(--frame); }
.bt-gets dt { margin: 0 0 .35rem; font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.bt-gets dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.bt-ahead { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); list-style: none; margin: 0; padding: 0; }
.bt-ahead li { margin: 0; padding: 1.1rem 1.2rem; border: 1px dashed var(--line-strong); border-radius: 1.05rem; }
.bt-ahead strong { display: block; margin-bottom: .2rem; }
.bt-ahead span { color: var(--ink-2); font-size: .96rem; }

/* ======================================================= ABOUT ======================================================= */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; min-height: clamp(32rem, 86vh, 49rem); display: grid; align-items: end; border-bottom: 1px solid var(--line); background: #080B10; }
.ab-hero picture { position: absolute; inset: 0 0 20% 0; z-index: -2; display: block; }
.ab-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.ab-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 11, 16, .4) 0%, rgba(8, 11, 16, 0) 22%, rgba(8, 11, 16, 0) 50%, rgba(8, 11, 16, .92) 80%, #080B10 100%); }
@media (max-width: 39.99rem) { .ab-hero img { object-position: 34% 50%; } .ab-hero picture { inset: 0 0 30% 0; } }
.ab-hero .wrap { padding-block: clamp(6rem, 14vw, 10rem) clamp(2.2rem, 5vw, 3.6rem); }
.ab-hero h1 { font-size: clamp(3rem, 9vw, 6.4rem); line-height: .94; letter-spacing: -.05em; font-weight: 800; margin: 0 0 1rem; color: #FFFDF8; }
.ab-hero .lead { margin: 0; max-width: 30rem; color: #E9EEF3; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.ab-hero .eyebrow { color: #FFC670; }
.ab-hero h1 em { color: #FFC670; font-style: normal; }
.ab-hero .eyebrow::before { background: #E0962E; }
.ab-cap { position: absolute; z-index: 1; right: max(1.25rem, calc((100vw - 72rem) / 2)); top: 1.1rem; margin: 0; padding: .3rem .8rem; border-radius: 999px; background: rgba(8, 11, 16, .62); color: #E9EEF3; font-size: .8rem; font-weight: 650; }
@media (prefers-reduced-motion: no-preference) {
  .v18m .ab-hero img { transform: scale(1.07); transition: transform 2.8s var(--e18); }
  .v18m .ab-hero.is-in img { transform: none; }
}
.ab-story { padding-block: clamp(3rem, 8vw, 6rem); }
.ab-story .wrap { display: grid; gap: clamp(1.6rem, 5vw, 4rem); }
@media (min-width: 60rem) { .ab-story .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .ab-quote { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.ab-quote { margin: 0; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.ab-quote span { color: var(--accent-text); }
.ab-text p { max-width: 36rem; margin: 0 0 1.2rem; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.65; color: var(--ink-2); }
.ab-text p:first-child { color: var(--ink); font-weight: 560; }
.ab-sign { margin: 1.6rem 0 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.ab-sign span { display: block; margin-top: .1rem; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.ab-wants { counter-reset: ab; display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.ab-wants li { counter-increment: ab; margin: 0; padding: 1.4rem 1.35rem 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--frame); }
.ab-wants li::before { content: counter(ab, decimal-leading-zero); display: block; margin-bottom: .8rem; font-size: 2.4rem; line-height: 1; font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.3px var(--accent); }
.ab-wants h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.ab-wants p { margin: 0; color: var(--ink-2); }
.ab-hi { display: grid; gap: 1.2rem; padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--line-strong); border-radius: 1.6rem; background: var(--frame); }
@media (min-width: 52rem) { .ab-hi { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.ab-hi h2 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.03em; font-weight: 800; }
.ab-hi p { margin: 0; color: var(--ink-2); max-width: 34rem; }

/* ================================================== CONTACT / REMOVE ================================================== */
.sv-hero .wrap { padding-block: clamp(2.5rem, 6vw, 4.25rem) clamp(2.75rem, 6vw, 4.5rem); }
.sv-hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.2rem); max-width: 16ch; }
.sv-body { padding-block: clamp(2.2rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem); }
.sv-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
@media (min-width: 60rem) { .sv-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .sv-side { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.v18 .sv-form.signup { padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: 1.7rem; box-shadow: 0 36px 54px -40px rgba(26, 20, 8, .7); }
:root[data-theme="dark"] .v18 .sv-form.signup { box-shadow: 0 36px 54px -40px rgba(0, 0, 0, .9); }
.sv-side { display: grid; gap: 1rem; }
.sv-side .pg-card h3 { font-size: 1.05rem; }
.sv-list { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.sv-list li { margin: 0; position: relative; padding-left: 1.5rem; color: var(--ink-2); }
.sv-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); }
.sv-mail { margin: .3rem 0 0; font-size: 1.05rem; font-weight: 700; word-break: break-word; }

/* ========================================================= 404 ========================================================= */
.nf-hero { min-height: min(40rem, calc(100vh - var(--header-h))); display: grid; align-items: center; }
.nf-hero .wrap { padding-block: clamp(3rem, 8vw, 6rem); }
.nf-code { display: block; margin: 0 0 .4rem; font-size: clamp(5rem, 22vw, 13rem); line-height: .8; font-weight: 800; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.nf-hero h1 { max-width: 12ch; }
.nf-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 .9rem; }
.nf-more { margin: 0; font-size: .95rem; color: var(--ink-2); }
.nf-road { width: 100%; max-width: 34rem; margin-inline: auto; display: block; overflow: visible; }
.nf-road .nf-bed { stroke: var(--line); stroke-width: 34; opacity: .7; }
.nf-road .nf-line { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 12 16; }
.nf-road .nf-sign rect { fill: var(--accent); }
.nf-road .nf-sign path { stroke: var(--on-accent); stroke-width: 3.5; stroke-linejoin: round; }
.nf-road .nf-pole { stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; }
.nf-road .nf-dot { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .v18m .nf-road .nf-sign { opacity: 0; animation: v18-fade2 .6s ease 1.9s forwards; }
  @keyframes v18-fade2 { to { opacity: 1; } }
}
.v18-fail .nf-road .nf-sign { animation: none !important; opacity: 1 !important; }

/* ---------- Small screens, forced colors, print ---------- */
@media (max-width: 39.99rem) {
  .pg-hero .btn { width: 100%; }
  .pg-cta .btn { width: 100%; max-width: 22rem; }
  .ab-hero .wrap { padding-block-start: 5rem; }
}
@media (forced-colors: active) { .pg-hero::before, .pg-hero::after, .pg-cta::before, .scr-lab::before { display: none; } .dt-num, .nf-code, .ab-wants li::before { -webkit-text-stroke: 0; color: CanvasText; } }
@media print { .pg-hero::before, .pg-hero::after, .pg-cta::before, .pg-road, .pg-phones, .rail-ctl, .dt-nav, .v18-viewer { display: none !important; } .pg-hero { color: #000; background: #fff; } }
.pg-cta .actions { justify-content: center; margin-top: 0; }

/* ---- design review round 1: the Details spec panel, two screens on /beta, numbered steps, the About quote between hairlines and its ledger ---- */
.dt-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); border-radius: 1.4rem; overflow: hidden; background: var(--line); }
.dt-spec > div { display: grid; gap: .3rem; align-content: start; margin: 0; padding: clamp(1rem, 2.4vw, 1.6rem); background: rgba(17, 25, 35, .86); }
.dt-spec dt { margin: 0; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: .95; font-weight: 800; letter-spacing: -.05em; color: var(--accent-text); }
.dt-spec dd { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.dt-spec b { display: block; margin-bottom: .1rem; color: var(--ink); font-size: 1.02rem; }
.pg-phones--duo { max-width: 24rem; aspect-ratio: 1 / 1.02; }
.pg-phones--duo .pg-phone { width: 52%; }
.pg-phones--duo .pg-phone--c { --left: 4%; --top: 0%; }
.pg-phones--duo .pg-phone--r { --left: 46%; --top: 12%; --z: 2; width: 50%; }
.bt-hero .actions { display: none; }
@media (max-width: 59.99rem) { .bt-hero .actions { display: flex; } }
@media (min-width: 36rem) { .bt-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .bt-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bt-needs li { grid-template-columns: 1fr; gap: .5rem; } }
.sv-steps { counter-reset: svs; margin: .7rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.sv-steps li { counter-increment: svs; position: relative; margin: 0; padding-left: 2.4rem; color: var(--ink-2); }
.sv-steps li::before { content: counter(svs, decimal-leading-zero); position: absolute; left: 0; top: .05em; font-size: .85rem; font-weight: 800; letter-spacing: .06em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.ab-quote { padding-block: 1.1rem; border-block: 1px solid var(--accent); }
.ab-ledger { display: grid; gap: 0; margin: 1.6rem 0 0; max-width: 24rem; border-top: 1px solid var(--line); }
.ab-ledger > div { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.ab-ledger dt { font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); align-self: center; }
.ab-ledger dd { margin: 0; font-weight: 650; text-align: right; }
@media (max-width: 39.99rem) { .ab-hero::after { background: linear-gradient(180deg, rgba(8, 11, 16, .4) 0%, rgba(8, 11, 16, 0) 20%, rgba(8, 11, 16, 0) 44%, rgba(8, 11, 16, .96) 70%, #080B10 100%); } }
/* the form fields in the Night theme: stronger outlines and labels (design review round 2) */
:root[data-theme="dark"] .v18 .bt-form input[type="text"], :root[data-theme="dark"] .v18 .bt-form input[type="email"], :root[data-theme="dark"] .v18 .bt-form select, :root[data-theme="dark"] .v18 .bt-form textarea,
:root[data-theme="dark"] .v18 .sv-form input[type="text"], :root[data-theme="dark"] .v18 .sv-form input[type="email"], :root[data-theme="dark"] .v18 .sv-form select, :root[data-theme="dark"] .v18 .sv-form textarea { border-color: #7B90A5; }
:root[data-theme="dark"] .v18 .bt-form label, :root[data-theme="dark"] .v18 .sv-form label { color: #F4F8FC; }
:root[data-theme="dark"] .v18 .bt-form input::placeholder, :root[data-theme="dark"] .v18 .sv-form input::placeholder, :root[data-theme="dark"] .v18 .bt-form textarea::placeholder, :root[data-theme="dark"] .v18 .sv-form textarea::placeholder { opacity: .9; }
