/* LCHQ site. Tokens match the app (app/src/constants/theme.ts). Fonts are self-hosted:
   the site makes no requests to anyone else, which keeps the "no tracking" promise literal. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url("fonts/barlow-condensed-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 400; font-display: swap; src: url("fonts/zen-kaku-gothic-new-400.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 500; font-display: swap; src: url("fonts/zen-kaku-gothic-new-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); }

:root {
  --sand: #e9dcc0;
  --sand-raised: #f5eedd;
  --sand-sunk: #dccba6;
  --ink: #2b2a28;
  --ink-muted: #5c5447;
  --rule: #bfae8a;
  --red: #e8452c;
  --red-ink: #a8321c;
  --green: #2f6b3a;
  --yellow: #f2c230;
  --cyan-ink: #0b5f8c;
  --brown-1: #8a5a2b;
  --brown-2: #b27a44;
  --brown-3: #d3a26c;
  --brown-4: #e7c79a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Zen Kaku Gothic New", -apple-system, "Hiragino Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --grid: linear-gradient(rgba(191, 174, 138, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 174, 138, .32) 1px, transparent 1px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid #0f6e9e; outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(30px, 5vw, 44px); display: flex; align-items: center; gap: 14px; }
h2::before { content: ""; width: 12px; height: 12px; background: var(--red); flex: none; }
h3 { font-size: 22px; letter-spacing: .07em; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section > .wrap { display: grid; gap: 32px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink-muted); max-width: 34em; }
.paper { background-color: var(--sand); background-image: var(--grid); background-size: 16px 16px; }
.raised { background: var(--sand-raised); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.label-box { display: inline-block; font: 700 15px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 2px 10px; }
.mono { font-family: var(--mono); }

/* Site header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 48px; font: 700 26px/1 var(--display); letter-spacing: .12em; }
.brand img { width: 40px; height: 40px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
@media (max-width: 560px) { .site-nav { gap: 0 14px; } .site-nav a { font-size: 14px; letter-spacing: .1em; } .site-nav .wide { display: none; } }
.site-nav a { font: 600 16px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* Hero: the one big moment. The truck stands on the ridge, like the app's truck profile. */
.hero { position: relative; overflow: hidden; border-bottom: 3px solid var(--ink); }
.hero-copy { position: relative; z-index: 2; padding-top: 64px; display: grid; gap: 24px; }
.hero h1 { font-weight: 700; font-size: clamp(52px, 9.5vw, 128px); line-height: .9; letter-spacing: .015em; max-width: 9.5em; }
.beta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 500; }
.scene { position: relative; height: clamp(240px, 34vw, 420px); margin-top: 16px; }
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .truck { position: absolute; left: 50%; bottom: 7%; width: min(560px, 86vw); transform: translateX(-50%); }
@media (min-width: 900px) {
  .scene { margin-top: -230px; height: clamp(380px, 36vw, 480px); }
  .scene .truck { left: auto; right: max(3vw, calc((100vw - 1160px) / 2)); transform: none; width: min(680px, 50vw); }
  .hero-copy { padding-right: 40%; }
  .hero h1 { font-size: clamp(64px, 6.6vw, 96px); }
}

/* Series badges: round stickers with a brown keyline */
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px; justify-items: center; }
.badge { width: 104px; height: 104px; border-radius: 50%; background: var(--sand-raised); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 5px var(--sand-raised), inset 0 0 0 6px var(--brown-2); }
.badge small { font: 600 11px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.badge b { font: 700 34px/1 var(--display); }
.badge.lexus { background: var(--ink); color: var(--sand); box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 6px var(--brown-3); }
.note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; max-width: 46em; }

/* How it works: a real sequence, so it's numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--rule); }
.steps li { padding: 24px 24px 28px 0; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid var(--rule); }
.steps .n { font: 700 56px/1 var(--display); color: var(--red); }
@media (min-width: 760px) { .steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); } }

/* Features as a spec sheet: name on the left, what it does on the right */
.spec { margin: 0; border-top: 1px solid var(--rule); }
.spec div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font: 600 22px/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.spec dd { margin: 0; color: var(--ink-muted); max-width: 40em; }
@media (min-width: 760px) { .spec div { grid-template-columns: 280px minmax(0, 1fr); } }

.soon { border: 1px dashed var(--ink-muted); border-radius: 4px; padding: 24px; display: grid; gap: 14px; max-width: 760px; }
.soon ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

.about { background: var(--brown-1); color: var(--sand-raised); }
.about p { font: 700 clamp(32px, 5.4vw, 60px)/1.04 var(--display); letter-spacing: .03em; text-transform: uppercase; max-width: 17em; }

.yours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.yours li { padding: 16px 0; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
.yours b { font: 600 20px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.yours b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }

.site-foot { background: var(--ink); color: #efe5cf; border-top: 3px solid var(--brown-2); }
.site-foot .wrap { padding-top: 40px; padding-bottom: 48px; display: grid; gap: 20px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-foot a { color: #efe5cf; min-height: 44px; display: inline-flex; align-items: center; }
.site-foot .fine { font-size: 14px; line-height: 1.6; color: #b3a890; max-width: 46em; }

/* Support and privacy pages share this file and use the simpler layout below. */
main { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
main header { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
main header img { width: 64px; height: 64px; }
main h1 { font-size: 44px; }
main h2 { font-size: 26px; margin: 36px 0 10px; }
main p, main li { margin: 10px 0; }
main ul { padding-left: 22px; }
/* The old four-bar stripe is replaced by the grid band: LCHQ's motif is the survey grid, not stripes. */
.stripes { height: 24px; margin: 16px 0 24px; background-image: var(--grid); background-size: 8px 8px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.stripes span { display: none; }
.card { background: var(--sand-raised); border: 1px solid var(--rule); border-radius: 4px; padding: 16px 20px; margin: 16px 0; }
main nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; font-size: 16px; }
.muted { color: var(--ink-muted); font-size: 15px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
