/*
 * getcaradvisor.uk, the holding site (30 September 2026). One stylesheet for
 * both pages. Brand from constants/palette.ts and assets/brand/BRAND.md:
 * navy ground, white type, lime spent once per page (the lockup's A, and the
 * tagline's last words on the home page). Archivo is served from here, not
 * from Google, so the site makes no request to anybody else.
 */
@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --navy: #0B1320;
  --panel: #141E2E;
  --edge: #1E2A3D;
  --ink: #FFFFFF;
  --muted: #A8B1BF;
  --lime: #CCFF00;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--navy); color: var(--ink); }
body {
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
header.site { padding: 32px 0; }
header.site img { height: 34px; width: auto; display: block; }

/* Home */
.hero { padding: 12vh 0 14vh; }
.hero h1 {
  margin: 0;
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(56px, 11vw, 136px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero h1 span { color: var(--lime); }
.hero p {
  max-width: 34em;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}
.hero p strong { color: var(--ink); font-weight: 600; }
.cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 24px;
  line-height: 1.3;
  border-radius: 12px;
  background: var(--ink);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--lime); color: var(--navy); }
.soon { color: var(--muted); }

/* Privacy */
.doc { max-width: 760px; padding: 16px 0 64px; }
.doc h1 { font-weight: 800; font-stretch: 75%; font-size: clamp(40px, 7vw, 64px); line-height: 1; margin: 16px 0 8px; }
.doc h2 { font-weight: 800; font-stretch: 85%; font-size: 26px; line-height: 1.2; margin: 48px 0 12px; }
.doc h3 { font-size: 19px; margin: 32px 0 8px; }
.doc p, .doc li { color: #DCE1E8; }
.doc strong { color: var(--ink); }
.doc hr { border: 0; border-top: 1px solid var(--edge); margin: 40px 0; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--edge); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--edge); }
.doc tr:first-child th, .doc tr:first-child td { border-top: 0; }
.doc th { background: var(--panel); font-weight: 600; }

footer.site { border-top: 1px solid var(--edge); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
footer.site p { margin: 4px 0; }
