/* ============================================================
   CarAdvisor — website concept "Fable"
   Light, precise, UK-plate-led design system
   ============================================================ */

:root {
  --blue: #0984ff;
  --blue-deep: #0658ab;
  --blue-soft: #e8f3ff;
  --ink: #0c1b2c;
  --navy: #081426;
  --muted: #5b6c80;
  --faint: #8fa0b3;
  --bg: #f7fafd;
  --card: #ffffff;
  --line: #e3ebf4;
  --plate-yellow: #ffd633;
  --plate-yellow-deep: #f2c500;
  --green: #16a34a;
  --green-soft: #e8f8ee;
  --red: #e5484d;
  --red-soft: #fdecec;
  --amber: #e8930c;
  --amber-soft: #fdf3e2;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(12, 27, 44, 0.04), 0 12px 32px -12px rgba(12, 27, 44, 0.12);
  --shadow-pop: 0 24px 64px -24px rgba(6, 88, 171, 0.35);
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-plate: "Arial Narrow", "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}

section { scroll-margin-top: 96px; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  margin: 18px 0 14px;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px -8px rgba(9, 132, 255, 0.55);
}

.btn-primary:hover { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 16px 32px -10px rgba(9, 132, 255, 0.6); }

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: #c9d8e8; transform: translateY(-2px); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(247, 250, 253, 0.82);
  border-bottom: 1px solid rgba(227, 235, 244, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand img { width: 30px; height: 30px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }

.nav .btn { padding: 10px 20px; font-size: 14px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 10px;
}
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); margin: 4px auto; border-radius: 2px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(9, 132, 255, 0.14), transparent 65%),
    radial-gradient(700px 420px at -8% 30%, rgba(9, 132, 255, 0.07), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 27, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 27, 44, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 70% 8%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 480px at 70% 8%, #000 25%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  margin: 22px 0 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 34px;
}

/* the plate demo */

.plate-demo {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.plate {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px -12px rgba(12, 27, 44, 0.35);
  user-select: none;
}

.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #14181d;
  border-radius: 12px;
  pointer-events: none;
}

.plate-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  background: #003da5;
  color: #ffd633;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 10px 0 0 10px;
}

.plate-band svg { width: 22px; height: 22px; }

.plate-text {
  display: flex;
  align-items: center;
  background: var(--plate-yellow);
  color: #14181d;
  font-family: var(--font-plate);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 0.06em;
  padding: 8px 22px;
  min-width: 268px;
  font-stretch: condensed;
}

.plate-caret {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 4px;
  background: #14181d;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.plate-demo .btn-primary { align-self: stretch; border-radius: 12px; padding-inline: 30px; }

/* live result chips under the plate */

.hero-result {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  min-height: 34px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.chip.show { opacity: 1; transform: none; }

.chip .tick { color: var(--green); font-weight: 800; }
.chip .score { color: var(--blue-deep); font-weight: 800; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-meta .fine {
  font-size: 13px;
  color: var(--faint);
  line-height: 1.5;
}

/* App Store badge */

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #06090e;
  color: #fff;
  text-decoration: none;
  border-radius: 13px;
  padding: 10px 20px 10px 16px;
  transition: transform 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.appstore-badge:hover { transform: translateY(-2px); }
.appstore-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.appstore-badge .lines { display: flex; flex-direction: column; line-height: 1.15; }
.appstore-badge .small { font-size: 10.5px; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.appstore-badge .big { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- phone mock ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 132, 255, 0.16), transparent 68%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.phone {
  position: relative;
  width: 300px;
  border-radius: 44px;
  background: #10151c;
  padding: 10px;
  box-shadow:
    inset 0 0 0 2px #2a323c,
    0 40px 80px -30px rgba(8, 20, 38, 0.5);
}

.phone-screen {
  border-radius: 35px;
  background: #f4f7fb;
  overflow: hidden;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* floating cards around phone */

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: var(--shadow-pop);
  border: 1px solid rgba(227, 235, 244, 0.8);
  font-size: 12px;
  font-weight: 600;
  z-index: 6;
  animation: floaty 5s ease-in-out infinite;
}

.float-card .fc-label { font-size: 10px; color: var(--faint); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.float-card .fc-value { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.float-card .fc-value .ok { color: var(--green); }
.float-card .fc-value .spark { color: var(--blue); }

.float-mot { top: 96px; right: -64px; animation-delay: 0.6s; }
.float-tax { bottom: 130px; left: -6px; }
.float-score { top: 26px; left: -22px; animation-delay: 1.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- trust strip ---------- */

.trust {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.trust-items { display: flex; gap: 34px; flex-wrap: wrap; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.trust-item .ti-mark, .step-num, .status-row .sr-ic, .g-ic, .svc .sv-ic, .extra .ex-ic, .contact-card .cc-ic {
  display: grid;
  place-items: center;
  background: var(--blue-soft);
}

.trust-item .ti-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  color: var(--blue-deep);
}

.trust-item .ti-mark svg { width: 15px; height: 15px; }

/* ---------- how it works ---------- */

.how { padding: 100px 0 40px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step, .b-card, .extra, .legal-body, .contact-form, .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.step, .b-card, .legal-body, .contact-form, .contact-card { border-radius: var(--radius-lg); }

.step {
  position: relative;
  padding: 30px 28px 28px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-deep);
  width: 38px; height: 38px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

.step .step-art {
  margin-top: 22px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 14px;
  font-size: 12px;
}

/* small plate inside step 1 */
.plate.mini { border-radius: 7px; box-shadow: none; }
.plate.mini::after { border-width: 1.5px; border-radius: 7px; }
.plate.mini .plate-band { width: 26px; font-size: 7px; gap: 1px; border-radius: 6px 0 0 6px; }
.plate.mini .plate-band svg { width: 13px; height: 13px; }
.plate.mini .plate-text { font-size: 19px; padding: 4px 12px; min-width: 0; }

.step-art .art-rows { display: flex; flex-direction: column; gap: 7px; }
.step-art .art-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 11px;
  font-weight: 600; font-size: 11.5px;
}
.step-art .art-row .src { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.step-art .art-row .ok { color: var(--green); font-weight: 800; }

.step-art.ai {
  background: var(--navy);
  border-color: transparent;
  color: #dcebfb;
  line-height: 1.6;
  font-size: 11.5px;
}
.step-art.ai .ai-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  color: #9ecbff; text-transform: uppercase;
  margin-bottom: 7px;
}
.step-art.ai b { color: #fff; }

/* ---------- bento features ---------- */

.features { padding: 90px 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.b-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(12,27,44,0.04), 0 24px 48px -16px rgba(12, 27, 44, 0.16); }

.b-card h3 { font-size: 21px; margin-bottom: 8px; }
.b-card > p { font-size: 14.5px; color: var(--muted); max-width: 46ch; }

.b-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.b-tag::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

/* AI analysis card art */

.ai-art {
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

.gauge { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
.gauge svg { transform: rotate(-90deg); }
.gauge .g-track { stroke: var(--line); }
.gauge .g-fill {
  /* r=52 in the SVG -> circumference 2*pi*52 ~= 326; keep in sync if the radius changes.
     The fill offset itself is computed from the .gv score at runtime, not hardcoded here. */
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 326;
  stroke-dashoffset: 326;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.gauge-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.gauge-center .gv {
  font-family: var(--font-display);
  font-size: 33px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1;
}
.gauge-center .gl { font-size: 10px; font-weight: 700; color: var(--green); letter-spacing: 0.08em; margin-top: 4px; }

.ai-notes { display: flex; flex-direction: column; gap: 9px; }

.ai-note {
  display: flex; gap: 9px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 9px 13px;
  font-size: 12.5px; color: var(--muted);
}
.ai-note b { color: var(--ink); font-weight: 600; }
.ai-note .ni { flex-shrink: 0; font-size: 13px; line-height: 1.5; }

.soon-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  vertical-align: 1px;
}

/* MOT timeline card art */

.mot-art {
  margin-top: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 26px;
  flex: 1;
}

.mot-art::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--line), transparent);
}

.mot-item {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 15px;
}

.mot-item::before {
  content: "";
  position: absolute;
  left: -24px; top: 17px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.mot-item.fail::before { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }

.mot-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700;
}

.mot-top .result {
  font-size: 9.5px; letter-spacing: 0.07em;
  padding: 3px 9px; border-radius: 999px;
  background: var(--green-soft); color: var(--green);
}
.mot-item.fail .mot-top .result { background: var(--red-soft); color: var(--red); }

.mot-sub { font-size: 11.5px; color: var(--faint); margin-top: 3px; display: flex; gap: 12px; }
.mot-sub .up { color: var(--green); font-weight: 600; }

.mot-defect {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  display: flex; align-items: center; gap: 7px;
}

.mot-defect .d-pill {
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.05em;
  padding: 2px 7px; border-radius: 999px;
  background: var(--amber-soft); color: var(--amber);
  flex-shrink: 0;
}
.mot-defect .d-pill.major { background: var(--red-soft); color: var(--red); }

/* status / tax card art */

.status-art { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

.status-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 15px;
  font-size: 13px; font-weight: 600;
}

.status-row .sr-left { display: flex; align-items: center; gap: 10px; }
.status-row .sr-ic {
  width: 30px; height: 30px; border-radius: 9px;
  font-size: 14px;
}
.status-row .sr-sub { display: block; font-size: 10.5px; color: var(--faint); font-weight: 500; }
.status-row .sr-state { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status-row .sr-state.ok { background: var(--green-soft); color: var(--green); }
.status-row .sr-state.blue { background: var(--blue-soft); color: var(--blue-deep); }

/* garage card art */

.garage-art { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

.g-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 13px;
}

.g-ic {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--blue);
  color: #fff; font-size: 15px;
  flex-shrink: 0;
}

.g-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.g-sub { font-size: 11px; color: var(--faint); font-weight: 500; }

.g-row .plate.mini { margin-left: auto; }

/* history / services card art */

.hs-art { margin-top: 24px; display: flex; flex-direction: column; gap: 9px; }

.hs-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 11px; padding: 10px 13px;
  font-size: 12.5px; font-weight: 600;
}

.hs-row .time { font-size: 10.5px; color: var(--faint); font-weight: 500; }

.svc-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.svc {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 11px; padding: 11px 13px;
  font-size: 12px; font-weight: 600;
}

.svc .sv-ic {
  width: 26px; height: 26px; border-radius: 8px;
  font-size: 12px;
}

/* ---------- extras row ---------- */

.extras {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.extra {
  display: flex; align-items: flex-start; gap: 13px;
  border-radius: var(--radius-md);
  padding: 20px;
}

.extra .ex-ic {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 11px;
  font-size: 17px;
}

.extra h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.extra p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- download CTA ---------- */

.download { padding: 60px 0 110px; }

.cta-panel {
  position: relative;
  border-radius: 32px;
  background: var(--navy);
  color: #fff;
  padding: 76px 64px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(600px 400px at 30% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(600px 400px at 30% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.cta-panel h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 16px 0 14px;
  position: relative;
}

.cta-panel .eyebrow { color: #9ecbff; }
.cta-panel .eyebrow::before { background: #9ecbff; }

.cta-panel p {
  color: #a8bdd4;
  font-size: 16.5px;
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 30px;
  position: relative;
}

.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

.cta-fine { margin-top: 20px; font-size: 12.5px; color: #7d94ad; position: relative; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer .brand { margin: 0 0 14px; }

.footer-tagline { font-size: 14px; color: var(--muted); max-width: 300px; }

.footer h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--blue-deep); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}

.footer-bottom .gb {
  display: inline-flex; align-items: center; gap: 7px;
}

/* ---------- inner pages (legal / contact) ---------- */

.page {
  padding: 150px 0 90px;
}

.page-head { max-width: 720px; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(32px, 4.5vw, 48px); margin: 18px 0 12px; }
.page-head .updated { font-size: 14px; color: var(--faint); font-weight: 500; }

.legal-body {
  max-width: 760px;
  padding: 52px 56px;
  margin-top: 36px;
}

.legal-body h3 {
  font-size: 19px;
  margin: 34px 0 10px;
}

.legal-body h3:first-child { margin-top: 0; }

.legal-body p, .legal-body li {
  font-size: 15px;
  color: var(--muted);
}

.legal-body ul { padding-left: 22px; margin: 10px 0 4px; }
.legal-body li { margin-bottom: 7px; }
.legal-body li::marker { color: var(--blue); }
.legal-body a { color: var(--blue-deep); font-weight: 500; }
.legal-body strong { color: var(--ink); }

/* contact page */

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: start;
  margin-top: 44px;
}

.contact-form {
  padding: 38px 36px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .field { margin-bottom: 16px; }

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--faint); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(9, 132, 255, 0.15);
}

.contact-form textarea { resize: vertical; min-height: 150px; }

.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form .form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-status { font-size: 14px; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.form-status a { color: var(--blue-deep); }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover { transform: translateY(-4px); }

.contact-card .cc-ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  font-size: 21px;
  margin-bottom: 20px;
}

.contact-card h3 { font-size: 20px; margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; flex: 1; }
.contact-card .btn { margin-top: auto; }

.contact-aside .contact-card { padding: 26px; }
.contact-aside .contact-card .cc-ic { width: 42px; height: 42px; font-size: 18px; margin-bottom: 14px; }
.contact-aside .contact-card h3 { font-size: 17px; }
.contact-aside .contact-card p { font-size: 13.5px; margin-bottom: 16px; }
.contact-aside .contact-card .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .span-7, .span-5, .span-4 { grid-column: span 12; }
  .extras { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 56px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav .btn-primary { display: none; }
  .nav-burger { display: block; }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 24px;
    gap: 16px;
  }

  .hero { padding-top: 120px; }
  .plate-text { font-size: 28px; min-width: 200px; }
  .plate-demo .btn-primary { width: 100%; }
  .extras { grid-template-columns: 1fr; }
  .ai-art { grid-template-columns: 1fr; justify-items: center; }
  .ai-notes { width: 100%; }
  .legal-body { padding: 34px 26px; }
  .contact-form { padding: 28px 22px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .float-mot { top: -14px; right: -4px; }
  .float-tax { bottom: 48px; left: -4px; }
  .float-score { display: none; }
}
