/* OGX landing page (D77). Night Meet look (D38, D56): the app's own tokens from frontend/src/styles.css.
   Dark by default, Day Meet when the phone or PC is set to light. No external requests. */

@font-face { font-family: 'Big Shoulders'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/big-shoulders-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-tight-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/fonts/inter-tight-latin-600-normal.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --font-display: 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  --font-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --page: #0a0c12;
  --page-rgb: 10 12 18;
  --card: #121621;
  --raised: #1a1f2d;
  --line: rgb(255 255 255 / 0.09);
  --border: #5f6984;      /* controls: 3:1 */
  --text: #eceff5;
  --text-2: #b7becd;      /* secondary */
  --text-3: #8e97ab;      /* labels */
  --action: #45e6f2;
  --action-rgb: 69 230 242;
  --action-hover: #8ff0f8;
  --on-action: #04121a;
  --accent-text: #45e6f2; /* links and small accents */
  --sodium: #ffb155;
  --sodium-a: rgb(255 177 85 / 0.14);
  --focus: #8ff0f8;

  /* drawings (CarArt / BikeArt) */
  --ink-200: #b7becd;
  --ink-300: #8e97ab;
  --ink-400: #7d869b;
  --ink-500: #5f6984;
  --tyre: #0b0c0e;
  --rim: #1c1d21;

  --radius: 10px;
  --radius-lg: 16px;
  --gutter: 16px;
  --max: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --page: #f4f5f8;
    --page-rgb: 244 245 248;
    --card: #ffffff;
    --raised: #ebedf2;
    --line: rgb(16 19 26 / 0.12);
    --border: #7c8496;
    --text: #10131a;
    --text-2: #3d4454;
    --text-3: #5a6273;
    --action: #006e7b;
    --action-rgb: 0 110 123;
    --action-hover: #005f6b;
    --on-action: #ffffff;
    --accent-text: #006e7b;
    --sodium: #9a4f00;
    --sodium-a: rgb(154 79 0 / 0.08);
    --focus: #005f6b;
    --ink-200: #3d4454;
    --ink-300: #5a6273;
    --ink-400: #687083;
    --ink-500: #7c8496;
    --tyre: #1b1e24;
    --rim: #2a2d33;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 92% -8%, rgb(var(--action-rgb) / 0.08), transparent 62%),
    radial-gradient(800px 560px at -10% 40%, var(--sodium-a), transparent 60%),
    var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgb(var(--action-rgb) / 0.3); }
strong { font-weight: 600; color: var(--text); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }
.wrap--narrow { max-width: 760px; }
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; }

.skip { position: absolute; left: 8px; top: -100px; z-index: 10; padding: 12px 16px; background: var(--action); color: var(--on-action); border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 600 17px/1.2 var(--font-sans); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); }
.btn--ghost { color: var(--text); border-color: var(--border); background: rgb(var(--page-rgb) / 0.4); }
.btn--ghost:hover { border-color: var(--text-2); background: var(--raised); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn:active { transform: translateY(1px); }
.btn__icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgb(var(--page-rgb) / 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.brand__logo { height: 30px; width: auto; }
.top__nav { display: flex; align-items: center; gap: 8px; }
.top__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.top__link:hover { background: var(--raised); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 24px; }
.hero__in { display: grid; gap: 40px; }
.eyebrow { color: var(--text-3); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 14px; }
.hero__title { font-size: clamp(48px, 14vw, 92px); }
.hero__line { display: block; }
.hero__line--accent { color: var(--accent-text); }
.lede { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }
.note { margin-top: 16px; color: var(--text-3); font-size: 15px; }

.hero__visual { position: relative; display: grid; justify-items: center; padding-bottom: 8px; }
.phone {
  position: relative; width: min(260px, 70vw); aspect-ratio: 1 / 2; padding: 8px;
  border-radius: 34px; background: #05070b; border: 1px solid #2a3142;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(255 255 255 / 0.04) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.art--hero { position: relative; width: min(440px, 100%); margin-top: -64px; }

/* ---------- drawings (from CarArt.vue / BikeArt.vue) ---------- */
.art { width: 100%; height: auto; overflow: visible; }
.art__body { stroke: var(--ink-300); stroke-width: 2.2; stroke-linejoin: round; }
.art__glass { stroke: var(--ink-400); stroke-width: 1.6; stroke-linejoin: round; }
.art__trim { fill: none; stroke: var(--ink-400); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art__flare { fill: none; stroke: #0b0c0e; stroke-width: 9; stroke-linecap: round; }
.art__pillar { fill: none; stroke: #141518; stroke-width: 6; stroke-linecap: round; }
.art__bar { fill: none; stroke: var(--ink-300); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.art__rack, .art__snorkel { fill: none; stroke: var(--ink-300); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.art__tread { fill: none; stroke: var(--ink-500); stroke-width: 6; stroke-dasharray: 5 4; }
.art__accent { fill: none; stroke: var(--action); stroke-width: 4; stroke-linecap: round; }
.art__tail { fill: none; stroke: #ef4444; stroke-width: 4; stroke-linecap: round; }
.art__stripe { fill: none; stroke: var(--action); stroke-width: 2; stroke-dasharray: 260 6 40 6 24; opacity: 0.85; }
.art__tyre { fill: var(--tyre); stroke: var(--ink-500); stroke-width: 2; }
.art__rim { fill: var(--rim); stroke: var(--ink-300); stroke-width: 2; }
.art__spokes path { fill: var(--ink-300); }
.art__hub { fill: var(--ink-200); }
.art__caliper { fill: none; stroke: var(--action); stroke-width: 5; stroke-linecap: round; }
.art__lines path { fill: none; stroke: var(--ink-400); stroke-width: 3; stroke-linecap: round; opacity: 0.55; }
.bike__disc { fill: none; stroke: var(--ink-200); stroke-width: 3; stroke-dasharray: 4 3; }
.bike__part { stroke: var(--ink-300); stroke-width: 2; stroke-linejoin: round; }
.bike__engine { fill: var(--rim); stroke: var(--ink-300); stroke-width: 2; stroke-linejoin: round; }
.bike__seat { fill: var(--tyre); stroke: var(--ink-300); stroke-width: 2; stroke-linejoin: round; }
.bike__frame { fill: none; stroke: var(--ink-300); stroke-width: 6; stroke-linecap: round; }
.bike__shock { fill: none; stroke: var(--action); stroke-width: 5; stroke-linecap: round; }
.bike__fork { fill: none; stroke: var(--ink-200); stroke-width: 7; stroke-linecap: round; }
.bike__fork--b { stroke: var(--ink-400); stroke-width: 5; }
.bike__guard, .bike__exhaust { fill: none; stroke: var(--ink-300); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.bike__can { fill: none; stroke: var(--ink-200); stroke-width: 15; stroke-linecap: round; }
.bike__bar { fill: none; stroke: var(--ink-200); stroke-width: 5; stroke-linecap: round; }

/* The hero car rolls in once, wheels turning, then rests. Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .art--hero { animation: roll-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .art--hero .art__spokes { animation: spin 0.7s linear 2; }
  .art--hero .art__lines path { animation: dash 1.4s ease-out both; }
  .art--hero .art__lines path:nth-child(2) { animation-delay: .15s; }
  .art--hero .art__lines path:nth-child(3) { animation-delay: .3s; }
  .art--hero .art__lines path:nth-child(4) { animation-delay: .45s; }
}
@keyframes roll-in { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { from { opacity: 0; transform: translateX(24px); } to { opacity: .55; transform: none; } }

/* ---------- rides band ---------- */
.rides { padding: 24px 0 8px; }
.rides__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ride { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 16px 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ride .art { max-width: 220px; }
.ride__name { font-size: 28px; }
.rides__note { margin-top: 16px; color: var(--text-2); text-align: center; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0 24px; }
.section--band { background: var(--card); border-block: 1px solid var(--line); }
.section__title { font-size: clamp(36px, 9vw, 56px); }
.section__lede { margin-top: 12px; color: var(--text-2); }

.cards { display: grid; gap: 12px; margin-top: 28px; }
.card { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card p, .soon__item p, .step p { color: var(--text-2); margin-top: 6px; }
.card__icon { width: 28px; height: 28px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.card__title { font-size: 19px; font-weight: 700; line-height: 1.3; }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(220px, 62vw); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 16px; scrollbar-width: thin; }
.shot { scroll-snap-align: center; display: grid; justify-items: center; gap: 12px; }
.phone--small { width: 100%; border-radius: 30px; padding: 7px; }
.phone--small img { border-radius: 24px; }
.shot__cap { font-weight: 600; color: var(--text-2); text-align: center; }

.soon { display: grid; gap: 12px; margin-top: 28px; }
.soon__item { padding: 20px; border: 1.5px dashed var(--border); border-radius: var(--radius-lg); }
.tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border: 1px solid var(--sodium); border-radius: 999px; color: var(--sodium); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }

.steps { display: grid; gap: 20px; margin-top: 28px; counter-reset: none; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.step__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; border: 1.5px solid var(--action); color: var(--accent-text); font-size: 34px; }

.story { display: grid; gap: 20px; }
.story__text { display: grid; gap: 14px; color: var(--text-2); font-size: 17px; max-width: 40em; }

.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); font: 400 22px/1 var(--font-sans); color: var(--text-2); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 18px; color: var(--text-2); max-width: 40em; }

.cta { padding: 72px 0; text-align: center; background: radial-gradient(600px 300px at 50% 100%, rgb(var(--action-rgb) / 0.1), transparent 70%); }
.cta__in { display: grid; justify-items: center; }
.cta__title { font-size: clamp(40px, 11vw, 72px); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--text-2); }
.foot__in { display: grid; gap: 24px; }
.foot__brand { display: grid; gap: 10px; max-width: 34em; }
.foot__brand .brand__logo { height: 26px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.foot__small { color: var(--text-3); font-size: 14px; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .soon { grid-template-columns: repeat(2, 1fr); }
  .rides__in { gap: 16px; }
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 40px; }
  .hero__in { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .story { grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
  .shots { justify-content: center; grid-auto-columns: 240px; gap: 32px; overflow: visible; }
  .foot__in { grid-template-columns: 1fr auto; align-items: start; }
  .foot__small { grid-column: 1 / -1; }
  .section { padding: 88px 0; }
}
@media (max-width: 380px) {
  .top__link { padding: 0 8px; }
  .btn--small { padding: 0 12px; }
  .ride__name { font-size: 24px; }
  .rides__in { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-contrast: more) {
  :root { --line: var(--border); }
}
.nf__title { margin-top: 32px; }
