/* Vehicle Service History — landing. "Service booklet" direction: ivory pages, racing green and
   wrench orange from the app icon, gauge ticks and booklet stamps as motifs. */

@font-face { font-family: "Saira"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/saira-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/saira-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/saira-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/saira-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ivory: #f4f1ec;
  --paper: #fffdf9;
  --sunk: #e9e4dc;
  --line: #d8d2c8;
  --ink: #1f1c2c;
  --soft: #4e4a5a;
  --green: #0f681b;
  --green-dark: #0b4e14;
  --orange: #f58749;
  --orange-text: #a04a10;
  --display: "Saira", "Arial Narrow", Arial, sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }
.muted { color: var(--soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Gauge ticks: the rule under every app header. */
.ticks {
  height: 12px;
  border-top: 2px solid var(--ink);
  background:
    linear-gradient(90deg, transparent calc(100% - 64px), var(--ivory) calc(100% - 64px)) ,
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 120px) top left / 100% 11px no-repeat,
    repeating-linear-gradient(90deg, #6c6878 0 2px, transparent 2px 20px) top left / 100% 6px no-repeat;
  position: relative;
}
.ticks::after {
  content: "";
  position: absolute; right: 0; top: 0; width: 64px; height: 7px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 2px, transparent 2px 16px);
}

/* Header */
.top { background: var(--ivory); padding-top: 14px; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; flex-wrap: wrap; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }

/* Stamps */
.stamp {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  color: var(--orange-text);
  border: 2.5px solid currentColor;
  border-radius: 9px;
  padding: 0 10px;
  line-height: 1.5;
  transform: rotate(-6deg);
  letter-spacing: 0.04em;
}
.stamp--big { position: absolute; top: 22px; left: 22px; z-index: 2; color: var(--orange); font-size: 1.15rem; text-transform: uppercase; background: rgba(15, 104, 27, 0.6); }
.stamp--small { font-size: 0.9rem; margin-right: 12px; vertical-align: 0.15em; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; color: var(--green-dark); margin-bottom: 0.8em; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--green); }
.lead { font-size: 1.16rem; color: var(--soft); max-width: 36em; }
.hero__cta { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin: 26px 0 22px; }
.link-arrow { font-weight: 600; }
.link-arrow::after { content: " ↓"; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.93rem; font-weight: 500; background: var(--paper); }

.cta { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--green); color: #fff; }
.cta:hover { background: var(--green-dark); color: #fff; }
.cta--soon { background: var(--ink); color: #fff; cursor: default; }

.road {
  position: relative;
  border-radius: 28px;
  background: var(--green) url("/assets/app/tracks.webp") center / cover;
  padding: 72px 0 0 clamp(36px, 6vw, 64px);
  overflow: hidden;
  max-height: 640px;
}
.page { margin: 0; background: var(--ivory); padding: 10px; border-radius: 26px; box-shadow: 12px 16px 0 rgba(0, 0, 0, 0.25); }
.page img { border-radius: 18px; }
.page--hero { margin-right: -14%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Booklet / ledger */
.booklet { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0; }
.booklet__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 14px 8px; border-bottom: 1px dashed var(--line); }
.ledger tr:first-child th, .ledger tr:first-child td { border-top: 2px solid var(--ink); }
.ledger th { font-family: var(--display); font-weight: 600; font-size: 1.08rem; white-space: nowrap; padding-right: 20px; }
.ledger td { color: var(--soft); }
.ledger__no { display: inline-block; min-width: 2.2em; color: var(--orange-text); font-variant-numeric: tabular-nums; }

/* Features */
.features { padding: clamp(24px, 4vw, 48px) 0; }
.feature { padding: clamp(28px, 5vw, 64px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.feature--flip .feature__text { order: 2; }
.feature .stamp { font-size: 1.3rem; margin-bottom: 16px; }
.page--crop { max-height: 560px; overflow: hidden; max-width: 420px; justify-self: center; width: 100%; }
.ticklist { list-style: none; padding: 0; margin: 18px 0 0; }
.ticklist li { position: relative; padding-left: 30px; margin: 8px 0; font-weight: 500; }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.ticklist--light li::before { border-color: var(--orange); }

/* Export */
.export { background: var(--ink); color: #f1eff6; padding: clamp(44px, 7vw, 96px) 0; }
.export__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); }
.export h2 { color: #fff; }
.export h2::after { content: ""; display: block; width: 72px; height: 6px; background: var(--orange); margin-top: 18px; border-radius: 3px; }

/* Gallery */
.gallery { padding: clamp(44px, 7vw, 96px) 0 clamp(36px, 6vw, 72px); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 270px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 22px; max-width: 1180px; margin: 0 auto; }
.strip img { scroll-snap-align: start; border-radius: 16px; box-shadow: 0 1px 0 var(--line); }
.strip:focus-visible { outline-offset: -3px; }

/* Privacy band */
.privacy-band { background: var(--green); color: #fff; padding: clamp(40px, 6vw, 80px) 0; }
.privacy-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: start; }
.privacy-band h2 { color: #fff; }
.privacy-band p { grid-column: 1 / -1; margin: 0; }
.privacy-band a { color: #fff; }

/* Download */
.download { padding: clamp(36px, 6vw, 72px) 0; }
.download__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.download__row > div { flex: 1 1 300px; }
.download__icon { border-radius: 22px; width: 96px; height: 96px; }
.download h2 { margin-bottom: 0.2em; }

/* Documents (help, privacy) */
.doc { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.doc h2 { font-size: 1.45rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 0.3em 0; }
.qa { border-top: 1px dashed var(--line); padding-top: 6px; }
.qa h2 { margin-top: 1.1em; }

/* Footer */
.foot { background: var(--paper); border-top: 2px solid var(--ink); padding: 40px 0 24px; font-size: 0.97rem; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px 40px; }
.foot__grid p { margin: 0 0 0.4em; }
.foot__name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-top: 10px !important; }
.foot__label { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; color: var(--soft); }
.foot__small { color: var(--soft); font-size: 0.9rem; }
.foot__bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.88rem; }

@media (max-width: 900px) {
  .hero__grid, .booklet__grid, .feature__grid, .export__grid, .privacy-band__grid { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature__text { order: 0; }
  .road { max-height: 520px; }
  .page--hero { margin-right: -30%; max-width: 420px; }
  .foot__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand img { height: 44px; }
  .nav { gap: 2px 16px; }
  .ledger th { white-space: normal; display: block; padding-bottom: 2px; border-bottom: none; }
  .ledger td { display: block; padding-top: 0; }
  .ledger tr { display: block; border-bottom: 1px dashed var(--line); }
  .ledger td, .ledger th { border-bottom: none; }
  .ledger tr:first-child th { border-top: 2px solid var(--ink); }
  .ledger tr:first-child td { border-top: none; }
  .page--crop { max-height: 460px; }
}
.page--crop { background: var(--paper); border: 1px solid var(--line); }
