@font-face { font-family: "Outfit"; src: url("/site/fonts/Outfit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/site/fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/site/fonts/Figtree-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/site/fonts/Figtree-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  /* Colours from the investor deck. Contrast checked against WCAG 2.2 AA. */
  --ink: #131416;          /* page background, dark sections */
  --ink-2: #1d1f22;        /* cards on dark */
  --cream: #f4f1ec;        /* text on dark, light sections */
  --muted: #c4beb5;        /* secondary text on dark: 10.4:1 on --ink */
  --coral: #efa894;        /* accent on dark: 9.5:1 on --ink */
  --rust: #9e3f2c;         /* accent on cream: 6.3:1 on --cream */
  --text-on-cream: #1a1a1a;
  --muted-on-cream: #4a4540; /* 8.6:1 on --cream */
  --line-dark: #3a3d42;
  --line-cream: #d9d3ca;
  --error: #ffb4a6;
  --error-on-cream: #8f1d0d;
  --ok: #9fe0b5;
  --radius: 14px;
  --max: 1160px;
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

a { color: var(--coral); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--rust); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.9em;
}
.light .eyebrow { color: var(--rust); }

/* Header */
.siteHeader { position: sticky; top: 0; z-index: 50; background: rgba(19, 20, 22, 0.94); border-bottom: 1px solid var(--line-dark); }
.siteHeader .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--cream); text-decoration: none; letter-spacing: -0.01em; }
.wordmark span { color: var(--coral); }
.siteNav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.siteNav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--cream); text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 1rem; }
.siteNav a:hover { background: var(--ink-2); }
.siteNav .navCta { background: var(--coral); color: var(--ink); }
.siteNav .navCta:hover { background: #f6c2b3; }
@media (max-width: 860px) { .siteNav .hideSm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btnPrimary { background: var(--coral); color: var(--ink); }
.btnPrimary:hover { background: #f6c2b3; }
.btnGhost { border-color: var(--cream); color: var(--cream); background: transparent; }
.btnGhost:hover { background: rgba(244, 241, 236, 0.08); }
.light .btnPrimary { background: var(--rust); color: #fff; }
.light .btnPrimary:hover { background: #7f3021; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.heroText p { color: var(--muted); font-size: 1.25rem; max-width: 34em; }
.heroActions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.heroNote { font-size: 1rem !important; }
.heroImg img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .heroImg { order: -1; }
}

/* Sections */
section { scroll-margin-top: 72px; }
.section { padding: 88px 0; }
@media (max-width: 600px) { .section { padding: 56px 0; } }
.sectionIntro { max-width: 40em; margin-bottom: 40px; }
.sectionIntro p { color: var(--muted); font-size: 1.2rem; }
.light { background: var(--cream); color: var(--text-on-cream); }
.light .sectionIntro p, .light .muted { color: var(--muted-on-cream); }
.light a { color: var(--rust); }

/* Rider cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.card { background: var(--ink-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cardBody { padding: 22px 22px 8px; }
.cardBody p { color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Vehicle */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line-cream); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 3px solid var(--rust); border-bottom: 3px solid var(--rust); transform: rotate(-45deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line-dark); padding-top: 20px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; margin-bottom: 14px;
}
.steps p { color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Drivers */
.drivers { background: var(--ink-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.driverFigure { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 9vw, 6.5rem); color: var(--coral); line-height: 1; margin: 0 0 8px; }
.driverFigureLabel { color: var(--muted); }

/* Form */
.formWrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .formWrap { grid-template-columns: 1fr; gap: 24px; } }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
label, legend { font-weight: 700; }
.hint { font-size: 1rem; color: var(--muted-on-cream); margin: 0; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {
  font: inherit; color: var(--text-on-cream); background: #fff;
  border: 2px solid #6b655e; border-radius: 10px; padding: 12px 14px; min-height: 52px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-color: var(--rust); }
[aria-invalid="true"] { border-color: var(--error-on-cream) !important; }
.fieldError { color: var(--error-on-cream); font-weight: 700; font-size: 1rem; margin: 0; }
.fieldError:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { margin-bottom: 8px; padding: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; min-height: 44px; padding: 8px 0; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--rust); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formSmall { font-size: 1rem; color: var(--muted-on-cream); }
.formStatus { border-radius: 12px; padding: 16px 18px; margin-bottom: 8px; border: 2px solid; }
.formStatus p { margin: 0; }
.formStatus ul { margin: 8px 0 0; padding-left: 20px; }
.formStatus--ok { background: #e3f4e8; border-color: #2e7d4a; color: #143d22; }
.formStatus--error { background: #fbe6e1; border-color: var(--error-on-cream); color: #5c1206; }

/* Footer */
.siteFooter { padding: 40px 0; border-top: 1px solid var(--line-dark); }
.siteFooter .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.siteFooter ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.siteFooter a { color: var(--cream); }
.siteFooter small { color: var(--muted); font-size: 0.95rem; }

/* Plain pages: login, privacy */
.plain { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.plain h2 { font-size: 1.6rem; margin-top: 1.6em; }
.plain p, .plain li { color: var(--muted); }
.placeholder { background: #4a3a10; color: #ffe08a; padding: 0 4px; border-radius: 4px; }
.loginCard { max-width: 440px; margin: 64px auto; padding: 36px 32px; background: var(--cream); color: var(--text-on-cream); border-radius: var(--radius); }
.loginCard h1 { font-size: 2rem; }
.loginCard p { color: var(--muted-on-cream); }
.loginCard .btn { width: 100%; }
@media (max-width: 600px) { .loginCard { margin: 24px 16px; padding: 28px 20px; } }
.card img.posTop { object-position: center 18%; }

/* Image captions (concept renders) */
figure { margin: 0; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.light figcaption { color: var(--muted-on-cream); }
