/* ==========================================================================
   AUTOSPACE24 — clean, modern, Finn-inspired
   White surface, Mint accent, Inter type, rounded cards, generous whitespace.
   ========================================================================== */

/* -------- Tokens -------- */
:root {
  /* Brand — Dark Navy + Magenta CI */
  --mint:        #4A90E2;     /* primary action — electric blue */
  --mint-600:    #2E6DB4;
  --mint-50:     rgba(74,144,226,.13);
  --ink:         #C4D0E0;     /* main text — light on dark */
  --ink-2:       #FFFFFF;     /* headlines — white */
  --muted:       #6B7F96;
  --muted-2:     #3D5068;
  --line:        rgba(255,255,255,.10);
  --line-2:      rgba(255,255,255,.05);
  --bg:          #0c1935;     /* dark navy */
  --bg-soft:     #112040;
  --bg-soft-2:   #162548;
  --warn:        #FF6B4A;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px;

  /* Radius */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --header-h: 72px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10,10,11,.04), 0 1px 1px rgba(10,10,11,.03);
  --shadow:    0 1px 2px rgba(10,10,11,.04), 0 8px 24px -8px rgba(10,10,11,.08);
  --shadow-lg: 0 24px 48px -12px rgba(10,10,11,.18);

  /* Easing */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 160ms;
  --t: 280ms;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--mint); color: #fff; }

/* -------- Type -------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  margin: 0 0 var(--s3);
  color: var(--ink-2);
  letter-spacing: -.02em;
  font-weight: 600;
  line-height: 1.1;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
h4 { font-size: 1rem; }
p  { margin: 0 0 var(--s4); }

.lead { font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--muted); max-width: 56ch; line-height: 1.6; }
.kicker { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: var(--s3); }

.mono { font-family: var(--mono); }

/* -------- Layout -------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.grid { display: grid; gap: var(--s5); }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(12,25,53,.92);
  backdrop-filter: saturate(120%) blur(16px);
  -webkit-backdrop-filter: saturate(120%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header > .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--ink-2);
}
.brand-mark {
  width: 28px; height: 28px;
  background: var(--mint);
  color: #fff;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-mark::before { content: "A"; }
.brand .dot { color: var(--mint); }

.nav { display: flex; align-items: center; gap: var(--s5); }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 4px;
  position: relative;
}
.nav a:hover { color: var(--mint-600); }
.nav a.is-active { color: var(--ink-2); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    padding: var(--s5);
    border-bottom: 1px solid var(--line);
    gap: var(--s2);
  }
  .nav.is-open a { padding: 12px 0; font-size: 16px; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: -.01em;
}
.btn--primary {
  background: #1a3060;
  color: #fff;
  border-color: rgba(255,255,255,.15);
}
.btn--primary:hover { background: #1e3870; transform: translateY(-1px); }

.btn--mint {
  background: #1A56C8;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .01em;
}
.btn--mint:hover { background: #1446A8; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: var(--ink-2);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform var(--t-fast) var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------- Hero (compact, no stats, no big visual) -------- */
.hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 40px);
}
.hero h1 {
  max-width: 18ch;
  margin-bottom: var(--s4);
}
.hero h1 .accent { color: var(--mint-600); }
.hero .lead { margin-bottom: var(--s5); }
.hero-actions { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* -------- Filter / Toolbar (Finn-style chips) -------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--ink);
  transition: all var(--t-fast) var(--ease);
  border: 1px solid transparent;
}
.chip:hover { background: #ECEEF2; }
.chip.is-active {
  background: var(--ink-2);
  color: #fff;
}
.toolbar-meta {
  font-size: 14px;
  color: var(--muted);
}
.toolbar-sort {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  padding: 8px 16px;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
}

/* -------- Car cards (Finn-style) -------- */
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
@media (max-width: 980px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .car-grid { grid-template-columns: 1fr; gap: var(--s4); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.card:hover .card__media img { transform: scale(1.03); }
.card__badges {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.95);
  color: var(--ink-2);
  backdrop-filter: blur(6px);
  letter-spacing: -.01em;
}
.badge--mint { background: var(--mint); color: var(--ink-2); }
.badge--ink  { background: var(--ink-2); color: #fff; }

.card__body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s3);
}
.card__brand {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -.01em;
}
.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.25;
}
.card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--ink);
}
.card__footer {
  margin-top: auto;
  padding-top: var(--s4);
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -.02em;
}
.price-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--mint-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card__cta::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.card:hover .card__cta::after { transform: translateX(3px); }

/* -------- Detail page hero/gallery -------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s3);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery > * { background: var(--bg-soft); }
.gallery > *:first-child { grid-row: span 2; aspect-ratio: 4/3; }
.gallery > *:nth-child(2),
.gallery > *:nth-child(3),
.gallery > *:nth-child(4),
.gallery > *:nth-child(5) { aspect-ratio: 4/3; }
.gallery > *:nth-child(6) { grid-column: 1 / -1; aspect-ratio: 21/8; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > *:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .gallery > *:nth-child(6) { grid-column: span 2; aspect-ratio: 16/9; }
}

.detail-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s7);
  align-items: end;
}
@media (max-width: 880px) { .detail-head { grid-template-columns: 1fr; } }
.detail-price-card {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.detail-price-card .price-big {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -.03em;
  line-height: 1;
}
.detail-price-card .price-meta {
  font-size: 13px;
  color: var(--muted);
}
.detail-spec-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* -------- Specs table (clean, key-value) -------- */
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.specs > div {
  padding: var(--s4) var(--s5) var(--s4) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--s4);
  align-items: center;
}
.specs > div:nth-child(odd) { padding-right: var(--s5); border-right: 1px solid var(--line); padding-left: 0; }
.specs > div:nth-child(even) { padding-left: var(--s5); }
.specs dt { font-size: 13px; color: var(--muted); margin: 0; font-weight: 500; }
.specs dd { font-size: 15px; color: var(--ink-2); margin: 0; font-weight: 500; }
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr; }
  .specs > div:nth-child(odd) { padding-right: 0; border-right: 0; }
  .specs > div:nth-child(even) { padding-left: 0; }
}

/* -------- Equipment list -------- */
.equipment {
  columns: 2;
  column-gap: var(--s7);
  list-style: none;
  padding: 0; margin: 0;
}
.equipment li {
  break-inside: avoid;
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.equipment li::before {
  content: "";
  position: absolute;
  left: 4px; top: 16px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%2300C896' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7l3 3 7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 640px) { .equipment { columns: 1; } }

/* -------- Trust / value props (clean inline icons) -------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}
@media (max-width: 880px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.value__icon {
  width: 40px; height: 40px;
  background: var(--mint-50);
  color: var(--mint-600);
  border-radius: var(--r);
  display: grid; place-items: center;
  margin-bottom: var(--s3);
}
.value h4 { margin: 0 0 4px; font-size: 15px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* -------- Founder/team -------- */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s5);
}
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
.member {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--s5);
  align-items: start;
}
.member__photo {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo .initials {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: -.02em;
}
.member__role {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--mint-600);
  background: var(--mint-50);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s3);
}
.member__name {
  font-size: 1.25rem;
  margin: 0 0 var(--s3);
}
.member__bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--s3);
}
.member__contact {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.member__contact a { color: var(--mint-600); }
.member__contact a:hover { text-decoration: underline; }
@media (max-width: 540px) {
  .member { grid-template-columns: 1fr; }
  .member__photo { max-width: 200px; }
}

/* -------- Section header -------- */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s6);
  align-items: end;
  margin-bottom: var(--s6);
}
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: var(--s3); } }
.section-head .lead { margin: 0; }

/* -------- Forms -------- */
.form { display: grid; gap: var(--s4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink-2);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-50);
}
.field textarea { min-height: 130px; resize: vertical; }
.consent {
  display: flex;
  gap: var(--s3);
  font-size: 13px;
  color: var(--muted);
  align-items: flex-start;
}
.consent input { accent-color: var(--mint); margin-top: 4px; }

/* -------- Location -------- */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: stretch;
}
@media (max-width: 880px) { .location { grid-template-columns: 1fr; } }
.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: var(--bg-soft);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.contact-card {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: var(--s6);
}
.contact-card h3 { margin-bottom: var(--s4); }
.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-row:last-of-type { border-bottom: 0; }
.contact-row dt { font-size: 12px; color: var(--muted); margin: 0; font-weight: 500; }
.contact-row dd { margin: 0; color: var(--ink-2); font-weight: 500; }
.contact-row a { color: var(--mint-600); }

/* -------- Photo grid -------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.photo-grid > * {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.photo-grid > *:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr 1fr; } }

/* -------- Image fallback (when image missing) -------- */
.img-fallback {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
  padding: var(--s4);
}
.img-fallback::before {
  content: "";
  width: 28px; height: 28px;
  margin-bottom: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA0A8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10.5' r='1.5'/%3E%3Cpath d='m21 17-4.5-4.5L9 19'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* -------- CTA banner -------- */
.cta {
  background: linear-gradient(135deg, #112040 0%, #162548 100%);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s7);
  align-items: center;
}
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; margin: 0 0 var(--s3); }
.cta p { color: rgba(255,255,255,.7); margin: 0; }
.cta-actions { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .cta-actions { justify-content: flex-start; } }

/* -------- Process steps -------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  list-style: none;
  padding: 0;
}
@media (max-width: 880px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.process > li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s5);
}
.process .step-num {
  display: inline-block;
  width: 32px; height: 32px;
  border-radius: var(--r-pill);
  background: var(--mint-50);
  color: var(--mint-600);
  text-align: center;
  line-height: 32px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--s3);
}
.process h4 { margin-bottom: var(--s2); }
.process p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* -------- Pull quote -------- */
.pull {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
  color: var(--ink-2);
  max-width: 24ch;
}
.pull .accent { color: var(--mint-600); }

/* -------- Footer -------- */
.site-footer {
  background: var(--bg-soft);
  padding-block: var(--s8) var(--s5);
  margin-top: var(--s8);
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s6);
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 var(--s3);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--ink-2); }
.footer-bottom {
  margin-top: var(--s5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  font-size: 13px;
  color: var(--muted);
}

/* -------- Legal pages -------- */
.legal {
  padding-top: var(--s7);
  padding-bottom: var(--s9);
}
.legal h1 { margin-bottom: var(--s4); }
.legal h2 { margin-top: var(--s7); margin-bottom: var(--s3); font-size: 1.4rem; }
.legal h3 { margin-top: var(--s5); margin-bottom: var(--s2); font-size: 1.1rem; }
.legal p, .legal li { color: var(--ink); }
.legal a { color: var(--mint-600); }
.legal a:hover { text-decoration: underline; }
.legal ul, .legal ol { padding-left: 24px; }

/* -------- Breadcrumb -------- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink-2); }
.breadcrumb .sep { color: var(--muted-2); }
.breadcrumb .current { color: var(--ink-2); font-weight: 500; }

/* -------- Reveal -------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* -------- Util -------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--s6); }
