/* ==========================================================================
   Minimal tuning workshop template
   Rebrand the whole site from the :root block below.
   ========================================================================== */

:root {
  /* ---- brand colours: change these and the site follows ---- */
  --accent: #a6f050;
  --accent-hot: #bcff6e;
  --accent-deep: #6fae24;
  --accent-soft: rgba(166, 240, 80, 0.13);
  --accent-line: rgba(166, 240, 80, 0.38);
  --on-accent: #0b1004;

  --bg: #0b0c0b;
  --bg-2: #111311;
  --surface: #161816;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f4f6f3;
  --muted: #9aa097;
  --dim: #666c63;

  --font: "Manrope", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1120px;
  --gutter: clamp(20px, 6vw, 44px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
main, .footer { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 120; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 4px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Type: one family, a few weights, plenty of room
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 { font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 82px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: 21px; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 700; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #c3c8bf; max-width: 56ch; }
.accent { color: var(--accent); }

.kicker {
  display: block; margin: 0 0 20px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   Buttons: only two, and they are quiet
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 56px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hot); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* a text link with a rule that draws itself */
.tlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent); padding-bottom: 4px; position: relative; }
.tlink::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.tlink:hover::after { transform: scaleX(1); }
.tlink svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header: logo on the left, one button on the right. Nothing else.
   -------------------------------------------------------------------------- */

.header {
  position: fixed; inset: 0 0 auto; z-index: 110;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.35s, border-color 0.35s, transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck { background: rgba(11, 12, 11, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-101%); }
.menu-open .header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 13px; position: relative; z-index: 110; }
.brand__name { font-size: 19px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; white-space: nowrap; }
.brand__name span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }

/* the mark: three speed strokes that lean in */
.logo { flex: none; display: block; }
.logo line { stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; animation: lgIn 0.55s var(--ease) both; animation-delay: calc(var(--i) * 0.1s); transition: transform 0.4s var(--ease); }
.logo line:nth-child(1) { opacity: 0.35; }
.logo line:nth-child(2) { opacity: 0.65; }
.brand:hover .logo line:nth-child(1) { transform: translateX(-3px); }
.brand:hover .logo line:nth-child(3) { transform: translateX(3px); }
@keyframes lgIn { from { opacity: 0; transform: translateX(-10px); } }

.header__right { display: flex; align-items: center; gap: 12px; position: relative; z-index: 110; }

.burger { width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 999px; background: none; position: relative; transition: border-color 0.25s, background-color 0.25s; }
.burger:hover { border-color: var(--accent); }
.burger span { position: absolute; left: 17px; right: 17px; height: 2px; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 21px; }
.burger span:nth-child(2) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 25px; transform: rotate(-45deg); }

/* full screen menu */
.menu {
  position: fixed; inset: 0; z-index: 105;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  background: var(--bg-2);
  clip-path: circle(0 at calc(100% - 64px) 42px);
  transition: clip-path 0.65s var(--ease), visibility 0.65s;
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(160% at calc(100% - 64px) 42px); visibility: visible; }
.menu__inner { width: 100%; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { border-top: 1px solid var(--line); }
.menu__list li:last-child { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; align-items: baseline; gap: 20px;
  padding: clamp(14px, 2.4vw, 26px) 0;
  font-size: clamp(30px, 6vw, 62px); font-weight: 800; letter-spacing: -0.04em;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.25s;
  transition-delay: calc(0.18s + var(--i) * 0.07s);
}
.menu-open .menu__list a { opacity: 1; transform: none; }
.menu__list a:hover { color: var(--accent); }
.menu__list em { font-size: 13px; font-weight: 600; font-style: normal; letter-spacing: 0.16em; color: var(--dim); }
.menu__foot {
  display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: clamp(26px, 4vw, 44px);
  font-size: 15px; color: var(--muted);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s;
}
.menu-open .menu__foot { opacity: 1; transform: none; }
.menu__foot a:hover { color: var(--accent); }
.menu__foot strong { color: #fff; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(74px, 10vw, 148px) 0; }
.section--alt { background: var(--bg-2); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 620px; margin-bottom: clamp(38px, 5vw, 66px); }
.section-head p { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

.up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }

[data-split].split .w { display: inline-block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
[data-split].split .w__i { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.5s linear; transition-delay: var(--wd, 0s); }
[data-split].split.in .w__i { transform: none; opacity: 1; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%;
  object-fit: cover; object-position: 50% 55%;
  transform: translate3d(0, var(--py, 0px), 0);
  animation: kenburns 26s ease-out both; will-change: transform;
}
@keyframes kenburns { from { scale: 1.12; } to { scale: 1; } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 1%, rgba(11, 12, 11, 0.8) 34%, rgba(11, 12, 11, 0.28) 72%, rgba(11, 12, 11, 0.5)),
    linear-gradient(to right, rgba(11, 12, 11, 0.78) 0%, rgba(11, 12, 11, 0.3) 52%, transparent 88%);
}
.hero__inner { position: relative; width: 100%; padding: 0 0 clamp(52px, 8vw, 96px); }
.hero h1 { max-width: 12ch; }
.hero .lead { margin: 24px 0 34px; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; margin-top: clamp(34px, 5vw, 58px); padding-top: 24px; border-top: 1px solid var(--line-2); }
.hero__foot span { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: #c3c8bf; }
.hero__foot svg { width: 18px; height: 18px; color: var(--accent); }
.scroll-hint { position: absolute; right: var(--gutter); bottom: clamp(52px, 8vw, 96px); display: grid; gap: 10px; justify-items: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); writing-mode: vertical-rl; }
.scroll-hint::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--accent), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* --------------------------------------------------------------------------
   Three pillars: plain columns, hairline rules, no boxes
   -------------------------------------------------------------------------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { position: relative; padding: clamp(30px, 3.6vw, 46px) clamp(22px, 2.6vw, 38px); border-bottom: 1px solid var(--line); transition: background-color 0.35s; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:hover { background: var(--surface); }
.pillar__icon { color: var(--accent); margin-bottom: 26px; transition: transform 0.45s var(--ease); }
.pillar__icon svg { width: 34px; height: 34px; }
.pillar:hover .pillar__icon { transform: translateY(-4px); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { font-size: 16px; }
.pillar .tlink { margin-top: 20px; }
.pillar__no { position: absolute; right: clamp(22px, 2.6vw, 38px); top: clamp(30px, 3.6vw, 46px); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--dim); }

/* --------------------------------------------------------------------------
   Split rows
   -------------------------------------------------------------------------- */

.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.row + .row { margin-top: clamp(56px, 9vw, 120px); }
.row--flip .row__media { order: 2; }
.row__media { position: relative; overflow: hidden; border-radius: 3px; }
.row__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }
.row.up .row__media { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease) 0.05s; }
.row.up.in .row__media { clip-path: inset(0 0 0 0); }

/* numbered list, the only list style on the site */
.steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--line);
  transition: opacity 0.6s, transform 0.7s var(--ease); transition-delay: calc(var(--t, 0) * 0.1s + 0.1s);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.up:not(.in) .steps li { opacity: 0; transform: translateY(14px); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.steps strong { display: block; margin-bottom: 4px; font-size: 17px; }
.steps p { font-size: 15.5px; margin: 0; }

/* --------------------------------------------------------------------------
   The full options menu
   -------------------------------------------------------------------------- */

.mgroups { display: grid; gap: clamp(40px, 5vw, 68px); }
.mgroup__head { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; margin-bottom: 8px; }
.mgroup__no { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); padding-top: 6px; }
.mgroup__head h3 { font-size: clamp(21px, 2.4vw, 28px); }
.mgroup__head p { margin-top: 10px; font-size: 15.5px; max-width: 70ch; }
.mlist { list-style: none; margin: 0; padding: 0; }
.mlist li {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.mlist li:last-child { border-bottom: 1px solid var(--line); }
.mlist li:hover { padding-left: 12px; }
.mlist strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.mlist p { margin: 4px 0 0; font-size: 15px; }

.tag {
  font-style: normal; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted);
}
.tag--road { border-color: var(--accent-line); color: var(--accent); }
.tag--ask { border-color: var(--line-2); color: var(--muted); }
.tag--track { border-color: rgba(255, 255, 255, 0.28); color: #e6e8e3; }

.legend { display: grid; gap: 14px; margin-top: clamp(34px, 4vw, 52px); padding-top: 26px; border-top: 1px solid var(--line); }
.legend span { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.legend .tag { flex: none; min-width: 74px; text-align: center; }

/* --------------------------------------------------------------------------
   Makes strip
   -------------------------------------------------------------------------- */

.makes { overflow: hidden; border-block: 1px solid var(--line); }
.makes__track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.makes:hover .makes__track { animation-play-state: paused; }
.makes__run { display: flex; align-items: center; gap: clamp(34px, 5vw, 64px); padding: clamp(24px, 3vw, 34px) clamp(17px, 2.5vw, 32px) clamp(24px, 3vw, 34px) 0; }
.makes__run span { font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; letter-spacing: -0.03em; color: #2f332d; white-space: nowrap; transition: color 0.3s; }
.makes__run span:hover { color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Numbers and quote
   -------------------------------------------------------------------------- */

.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.counts b { display: block; font-size: clamp(42px, 6vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; color: #fff; }
.counts span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--muted); }

.says { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.say { margin: 0; padding: clamp(26px, 3.2vw, 40px) clamp(20px, 2.4vw, 34px); border-top: 1px solid var(--line); transition: background-color 0.35s; }
.say + .say { border-left: 1px solid var(--line); }
.say:hover { background: var(--surface); }
.say p { font-size: 16.5px; line-height: 1.6; color: #c3c8bf; margin: 0; }
.say p::before { content: ""; display: block; width: 26px; height: 2px; background: var(--accent); margin-bottom: 22px; }
.say figcaption { margin-top: 24px; font-size: 14px; color: var(--muted); }
.say figcaption strong { display: block; color: #fff; font-size: 15px; }

.counts-wrap { margin-top: clamp(44px, 6vw, 76px); }

/* --------------------------------------------------------------------------
   Vehicle stats lookup
   -------------------------------------------------------------------------- */

.lookup { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.slot { border: 1px solid var(--line); border-radius: 3px; padding: clamp(20px, 3vw, 32px); background: var(--surface); }
.slot--page { max-width: 820px; margin-inline: auto; }
.slot__note {
  display: grid; place-items: center; align-content: center; gap: 12px; text-align: center;
  min-height: 220px; margin-top: 24px; padding: 26px;
  border: 1px dashed var(--line-2); border-radius: 3px;
  font-size: 14.5px; color: var(--dim);
}
.slot--page .slot__note { min-height: 320px; }
.slot__note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--accent); }

.plate {
  display: flex; align-items: stretch;
  max-width: 320px; margin: 0 auto;
  border: 2px solid #0a0a0a; border-radius: 4px; overflow: hidden;
  font-weight: 800;
  transition: transform 0.4s var(--ease);
}
.slot:hover .plate { transform: translateY(-3px); }
.plate__gb { display: grid; place-content: center; background: #063399; color: #fff; padding: 12px 9px; font-size: 12px; line-height: 1.15; text-align: center; }
.plate__gb small { display: block; font-size: 10px; }
.plate__no { flex: 1; background: #ffd400; color: #111; padding: 12px; font-size: 27px; letter-spacing: 0.08em; text-align: center; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Page header
   -------------------------------------------------------------------------- */

.page-head { position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(40px, 5vw, 66px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head__glow { position: absolute; width: 640px; height: 640px; top: -320px; right: -180px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 68%); pointer-events: none; }
.page-head .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; letter-spacing: 0.05em; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 9px; }
.crumbs a:hover { color: var(--accent); }
.page-head .lead { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.field { display: grid; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 2px;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--text);
  font: inherit; font-size: 17px;
  transition: border-color 0.25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field select option { background: var(--bg-2); color: var(--text); }
.field--reg input { font-size: 22px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--dim); }
.form-msg { margin-top: 10px; font-size: 15px; color: var(--accent); min-height: 1.4em; }

.btn--send { position: relative; min-width: 200px; }
.btn--send .spin { position: absolute; left: 50%; top: 50%; width: 19px; height: 19px; margin: -10px 0 0 -10px; border: 2px solid rgba(11, 16, 4, 0.3); border-top-color: var(--on-accent); border-radius: 50%; opacity: 0; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--send[data-state="sending"] .btn__text { opacity: 0; }
.btn--send[data-state="sending"] .spin { opacity: 1; }
.btn--send[data-state="sent"] { background: #4ade80; }
.btn--send[data-state="error"] { background: #ef6a6a; color: #fff; }
.sent-panel { display: grid; justify-items: start; gap: 14px; padding: clamp(24px, 4vw, 40px) 0; }
.sent-panel svg { width: 56px; height: 56px; color: var(--accent); }
.sent-panel h3 { font-size: 26px; }

/* contact list */
.details { list-style: none; margin: 0; padding: 0; }
.details li { border-top: 1px solid var(--line); }
.details li:last-child { border-bottom: 1px solid var(--line); }
.details a, .details div {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: baseline;
  padding: 22px 0; transition: padding-left 0.35s var(--ease), color 0.25s;
}
.details a:hover { padding-left: 12px; color: var(--accent); }
.details dt, .details span:first-child { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.details b { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }

/* faq */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; transition: color 0.25s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 20px; height: 20px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--accent); transition: transform 0.35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details[open] .faq__body { animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } }
.faq__body { padding: 0 0 26px; max-width: 62ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { padding: clamp(56px, 7vw, 96px) 0 30px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: var(--muted); transition: color 0.25s; }
.footer a:hover { color: var(--accent); }
.footer__cta { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 16ch; }
.footer__cta a { color: var(--accent); }
.footer__cta a:hover { color: var(--accent-hot); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .pillars, .says { grid-template-columns: 1fr; }
  .say + .say { border-left: 0; }
  .lookup { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; }
  .row, .row--flip .row__media { grid-template-columns: 1fr; order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .counts { grid-template-columns: 1fr 1fr; gap: 26px; }
  .form-grid, .footer__top { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .scroll-hint { display: none; }
  .hero { min-height: 92svh; }
  .row.up .row__media { clip-path: none; }
  .details a, .details div { grid-template-columns: 1fr; gap: 6px; }
  .mlist li { grid-template-columns: 1fr; gap: 12px; }
  .mlist li .tag { justify-self: start; }
  .legend .tag { min-width: 0; }
  .menu { clip-path: circle(0 at calc(100% - 46px) 36px); }
  .menu-open .menu { clip-path: circle(165% at calc(100% - 46px) 36px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .up { opacity: 1 !important; transform: none !important; }
  [data-split].split .w__i { opacity: 1 !important; transform: none !important; }
  .row.up .row__media { clip-path: none !important; }
  .makes__track, .hero__media img { animation: none !important; }
  .steps li { opacity: 1 !important; transform: none !important; }
  [data-par] { transform: none !important; }
  .menu { transition: none; }
}
