/* ==========================================================================
  CarsBook - Public website design system
  Deep navy - warm ivory - restrained gold
  Layer order:
  01 Tokens
  02 Reset & base
  03 Layout primitives
  04 Typography
  05 Components (buttons, links, badges, cards, nav, hero, grids, plans,
  steps, accordion, download, support, footer, article)
  06 Utilities
  07 Motion & reveal
  08 Responsive
  ========================================================================== */

/* ==========================================================================
  01 TOKENS
  ========================================================================== */
:root {
  /* ---- Colour: ink (dark surfaces) ---- */
  --ink-950: #06080c;
  --ink-900: #0b0d12;
  --ink-850: #0e111a;
  --ink-800: #12161f;
  --ink-700: #181d28;
  --ink-600: #1f2532;
  --ink-500: #2a3141;

  /* ---- Colour: ivory (warm light surfaces) ---- */
  --ivory-50: #f8f5ef;
  --ivory-100: #f1ece2;
  --ivory-200: #e6dfd1;
  --ivory-300: #d8cfbd;

  /* ---- Colour: gold (restrained accent) ---- */
  --gold-100: #f0e3c6;
  --gold-200: #e2c78f;
  --gold-300: #d3b478;
  --gold-400: #c5a059;
  --gold-500: #b18c45;
  --gold-600: #8f7033;
  --gold-ink: #1a1206;

  /* ---- Semantic: dark theme defaults (site default) ---- */
  --bg: var(--ink-900);
  --bg-alt: var(--ink-850);
  --bg-deep: var(--ink-950);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(197, 160, 89, 0.4);
  --text: #edecf1;
  --text-strong: #fbfaf8;
  --muted: #9aa3b8;
  --muted-2: #737c8d;
  --accent: var(--gold-200);
  --accent-strong: var(--gold-300);
  --on-accent: var(--gold-ink);
  --tint: rgba(197, 160, 89, 0.1);
  --tint-2: rgba(197, 160, 89, 0.16);
  --tint-3: rgba(197, 160, 89, 0.05);

  /* ---- Feedback (used sparingly) ---- */
  --ok: #4ea87b;
  --warn: #d9a441;
  --bad: #cf6a63;

  /* ---- Typography ---- */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(2.6rem, 6.4vw, 4.75rem);
  --fs-h1: clamp(2.2rem, 4.6vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.5vw, 1.35rem);
  --fs-lead: clamp(1.02rem, 1.15vw, 1.16rem);
  --fs-body: 1rem;
  --fs-sm: 0.9125rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.72rem;

  --lh-tight: 1.06;
  --lh-snug: 1.18;
  --lh-body: 1.68;

  --track-tight: -0.022em;
  --track-display: -0.03em;
  --track-eyebrow: 0.16em;

  /* ---- Spacing scale (4px base) ---- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  --section-y: clamp(4rem, 8.5vw, 7.5rem);
  --section-y-sm: clamp(2.75rem, 5.5vw, 4.5rem);
  --header-h: 68px;

  /* ---- Radius ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;

  /* ---- Elevation ---- */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --sh-2: 0 14px 34px -22px rgba(0, 0, 0, 0.85);
  --sh-3: 0 34px 80px -40px rgba(0, 0, 0, 0.9);
  --sh-gold: 0 18px 44px -22px rgba(197, 160, 89, 0.6);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-strong);

  /* ---- Layout ---- */
  --maxw: 1200px;
  --maxw-narrow: 720px;
  --maxw-wide: 1340px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  /* ---- Motion ---- */
  --dur-1: 140ms;
  --dur-2: 240ms;
  --dur-3: 420ms;
  --dur-4: 720ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Warm-ivory variant: any section can opt in and every component re-themes */
.theme-ivory {
  --bg: var(--ivory-50);
  --bg-alt: var(--ivory-100);
  --bg-deep: var(--ivory-100);
  --surface: rgba(11, 13, 18, 0.026);
  --surface-2: rgba(11, 13, 18, 0.05);
  --surface-3: rgba(11, 13, 18, 0.08);
  --line: rgba(11, 13, 18, 0.12);
  --line-2: rgba(11, 13, 18, 0.2);
  --line-gold: rgba(143, 112, 51, 0.42);
  --text: #14181f;
  --text-strong: #06080c;
  --muted: #4e5666;
  --muted-2: #6d7585;
  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);
  --on-accent: #fffaf0;
  --tint: rgba(143, 112, 51, 0.1);
  --tint-2: rgba(143, 112, 51, 0.18);
  --tint-3: rgba(143, 112, 51, 0.05);
  --sh-2: 0 14px 34px -24px rgba(24, 20, 12, 0.4);
  --sh-3: 0 30px 70px -40px rgba(24, 20, 12, 0.5);
  --sh-gold: 0 18px 40px -24px rgba(143, 112, 51, 0.5);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold-600);
  color: var(--text);
  background: var(--bg);
}

/* ==========================================================================
  02 RESET & BASE
  ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern", "liga", "calt";
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-10) 0;
}

::selection {
  background: var(--gold-300);
  color: var(--gold-ink);
}

/* Focus: always visible, never removed */
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 0.7rem 1.15rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform var(--dur-2) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  box-shadow: var(--ring);
}


/* ==========================================================================
  03 LAYOUT PRIMITIVES
  ========================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--maxw-narrow);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: var(--section-y-sm);
}

.section--alt {
  background: var(--bg-alt);
}

.section--ivory {
  background: var(--ivory-50);
  color: var(--text);
}

.section--ivory.theme-ivory {
  background: var(--ivory-50);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
  04 TYPOGRAPHY
  ========================================================================== */
h1,
h2,
h3,
h4 {  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: 1.02rem;
  font-family: var(--font-sans);
  font-weight: 650;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--s-4);
  color: var(--muted);
}
p:last-child {
  margin-bottom: 0;
}

/* A heading immediately followed by copy needs breathing room.
  Margins collapse, so this never doubles up with an existing margin. */
h1 + .lead,
h2 + .lead,
h2 + p {
  margin-top: var(--s-3);
}


.lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 62ch;
}

.text-gold {
  color: var(--accent);
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-eyebrow);
  font-weight: 650;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--pill {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-full);
  background: var(--tint-3);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--tint-2);
  flex: none;
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lead,
.section-head--center .eyebrow {
  margin-inline: auto;
}

.section-head .eyebrow {
  margin-bottom: var(--s-4);
}

.section-head h2 {
  margin-bottom: var(--s-4);
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.section-head--split .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

/* ==========================================================================
  05 COMPONENTS
  ========================================================================== */

/* ---- 05.1 Buttons ---- */
.btn {
  --btn-py: 0.85rem;
  --btn-px: 1.55rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.945rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease),
  background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
  color var(--dur-2) var(--ease);
}

.btn svg {
  flex: none;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400) 58%, var(--gold-500));
  color: var(--gold-ink);
  box-shadow: var(--sh-gold);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -20px rgba(197, 160, 89, 0.7);
}

.btn--outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--line-gold);
  background: var(--tint-3);
  color: var(--text-strong);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  --btn-py: 0.6rem;
  --btn-px: 1.1rem;
  font-size: var(--fs-sm);
}

.btn--lg {
  --btn-py: 1.05rem;
  --btn-px: 2rem;
  font-size: 1.02rem;
}

.btn:active {
  transform: translateY(0);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.btn-row--center {
  justify-content: center;
}

/* ---- 05.2 Links ---- */
.link {
  color: var(--accent);
  font-weight: 550;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 1px;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.link:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: color var(--dur-1) var(--ease), gap var(--dur-2) var(--ease);
}

.link-arrow svg {
  transition: transform var(--dur-2) var(--ease);
}

.link-arrow:hover {
  color: var(--accent-strong);
  gap: 0.7rem;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  align-items: center;
}

/* ---- 05.3 Badges / chips ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-full);
  background: var(--tint);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.badge--neutral {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}

.badge--ok {
  border-color: rgba(78, 168, 123, 0.4);
  background: rgba(78, 168, 123, 0.12);
  color: var(--ok);
}

/* ---- 05.4 Cards ---- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
  background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.card--lift:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  background: var(--surface-2);
  box-shadow: var(--sh-2);
}

.card h3 {
  margin-bottom: var(--s-2);
}

.card p {
  font-size: var(--fs-sm);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--s-5);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: var(--tint);
  color: var(--accent);
  flex: none;
}

/* ---- 05.5 Grids ---- */
.grid {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--wide-first {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split--center {
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}


.stack > * + * {
  margin-top: var(--s-4);
}

.stack-lg > * + * {
  margin-top: var(--s-8);
}

/* ---- 05.6 Checklist ---- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.check-list strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== 05.7 Header & navigation =====
  Layout contract:
  - .nav-links  = the collapsible panel. On desktop it shows the primary
  section links; the panel-only items (--panel) are hidden.
  - .nav-actions = the always-visible cluster. On mobile it collapses to the
  hamburger button, because the panel carries its own CTAs.  */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
  backdrop-filter var(--dur-2) var(--ease);
}

.site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

@supports not (background-color: color-mix(in srgb, red 50%, transparent)) {
  .site-header.is-stuck {
  background: rgba(11, 13, 18, 0.88);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-strong);
  flex: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-2);
  flex: none;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand-text .gold {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.85rem);
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--dur-1) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text-strong);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 2.5px 0;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: rgba(6, 8, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}

.nav-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* Panel-only items are for the mobile drawer, never the desktop bar */
@media (min-width: 961px) {
  .nav-link--panel,
  .nav-cta-panel {
  display: none;
  }
}


/* ---- 05.8 Hero ---- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -28%;
  left: 50%;
  width: min(1180px, 130vw);
  aspect-ratio: 1.7 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(197, 160, 89, 0.16), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 12%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 12%, #000 8%, transparent 76%);
  pointer-events: none;
}

.hero .eyebrow {
  margin-bottom: var(--s-6);
}

.hero h1 {
  font-size: var(--fs-display);
  margin-bottom: var(--s-6);
}

.hero .lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  max-width: 56ch;
}

.hero-actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: var(--s-5);
  color: var(--muted-2);
  font-size: var(--fs-xs);
  max-width: 46ch;
}

.hero-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.hero-media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 340px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -14% -6% -14%;
  background: radial-gradient(closest-side, rgba(197, 160, 89, 0.2), transparent 70%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.device {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-950));
  box-shadow: var(--sh-3);
}

.device img {
  width: 100%;
  border-radius: 22px;
  background: var(--ink-950);
}

.device-caption {
  margin-top: var(--s-4);
  text-align: center;
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

/* Proof bar */
.proof-bar {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item {
  padding: var(--s-6) clamp(0.85rem, 1.6vw, 1.5rem);
  border-left: 1px solid var(--line);
}

.proof-item:first-child {
  border-left: 0;
}

.proof-item dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 620;
  letter-spacing: -0.005em;
  color: var(--text-strong);
  margin-bottom: 0.2rem;
}

.proof-item dt svg {
  color: var(--accent);
  flex: none;
}

.proof-item dd {
  margin: 0;
  color: var(--muted-2);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

/* ---- 05.9 Compare (before / after) ---- */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.compare-col {
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.compare-col--after {
  border-color: var(--line-gold);
  background: linear-gradient(165deg, var(--tint), transparent 62%);
}

.compare-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: var(--s-5);
}

.compare-label svg {
  color: var(--accent);
}

.compare-col h3 {
  margin-bottom: var(--s-5);
}

.compare-arrow {
  align-self: center;
  padding-inline: var(--s-5);
  color: var(--accent);
  opacity: 0.7;
}

.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.compare-col li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.compare-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.compare-col--before li::before {
  content: "x";
  color: var(--bad);
}

.compare-col--after li::before {
  content: ">";
  color: var(--accent);
}

/* ---- 05.10 Screenshot showcase ---- */
.shot {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: clamp(0.65rem, 1.2vw, 0.9rem);
  background: linear-gradient(160deg, var(--ink-800), var(--ink-950));
  box-shadow: var(--sh-3);
}

.shot img {
  width: 100%;
  border-radius: calc(var(--r-xl) - 8px);
  background: var(--ink-950);
}

.shot--flat {
  border-color: var(--line);
  box-shadow: var(--sh-2);
  background: var(--surface);
}

.shot--flat img {
  border-radius: var(--r-lg);
}

.shot-fallback {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  min-height: 300px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  color: var(--muted-2);
  font-size: var(--fs-xs);
  text-align: center;
  padding: var(--s-6);
}

/* ---- 05.11 Steps / flow ---- */
.flow {
  counter-reset: flow;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.flow--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  position: relative;
  counter-increment: flow;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}

.step:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
}

.step::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: var(--s-4);
}

.step h3 {
  margin-bottom: var(--s-2);
}

.step p {
  font-size: var(--fs-sm);
  margin: 0;
}

.step-meta {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

/* Verification flow rail */
.statuses {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.statuses li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.statuses li[data-state="APPROVED"] {
  border-color: rgba(78, 168, 123, 0.42);
  background: rgba(78, 168, 123, 0.1);
  color: var(--ok);
}

.statuses .statuses-sep {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted-2);
}

/* ---- 05.12 Plan cards ---- */
/* 5 cards: free trial + 4 paid plans. auto-fit keeps it fluid from
  5 across on wide desktop down to 1 on a phone. */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: clamp(0.75rem, 1.3vw, 1.1rem);
  align-items: stretch;
}


.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.2vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
  box-shadow var(--dur-2) var(--ease);
}

.plan:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.plan--trial {
  border-color: var(--line-gold);
  background: linear-gradient(170deg, var(--tint), transparent 60%);
}

.plan--featured {
  border-color: var(--line-gold);
  background: linear-gradient(170deg, var(--tint-2), transparent 65%);
  box-shadow: var(--sh-2);
}

.plan-flag {
  position: absolute;
  top: -0.7rem;
  left: clamp(1.5rem, 2.2vw, 1.9rem);
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  color: var(--gold-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.015em;
}

.plan-allowance {
  margin-top: 0.35rem;
  min-height: 2.8em;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent);
}

.plan-price {
  margin-top: var(--s-5);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.05;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.plan-price small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--muted-2);
}

.plan-price--tbd {
  font-size: 1.32rem;
  line-height: 1.2;
  color: var(--muted);
}


.plan-list {
  list-style: none;
  margin: var(--s-5) 0 var(--s-6);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.plan-cta {
  --btn-px: 1.1rem;
  margin-top: auto;
  padding-top: var(--s-5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Equal-height footnotes keep the CTA row aligned across all five cards */
.plan-foot {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  min-height: 4.6rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

/* First-purchase bonus note, rendered from site-config */
.plan-note {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: var(--tint-3);
  color: var(--muted);
  font-size: var(--fs-sm);
}

.plan-note-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
}

.plan-note strong {
  color: var(--text-strong);
  font-weight: 620;
}


/* Comparison table */
.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
  /* fade the right edge so it is obvious the table scrolls on small screens */
  background-image: linear-gradient(90deg, transparent calc(100% - 44px), var(--bg) 100%);
  background-repeat: no-repeat;
  background-attachment: local, scroll;
}

@media (max-width: 760px) {
  .table-wrap::after {
  content: "Swipe the table sideways to see every column";
  display: block;
  position: sticky;
  left: 0;
  padding: 0.6rem 1.1rem 0.1rem;
  font-size: var(--fs-xs);
  color: var(--muted-2);
  }
}


table.spec {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

table.spec caption {
  padding: var(--s-5) var(--s-5) 0;
  text-align: left;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

table.spec th,
table.spec td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.spec thead th {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--surface-2);
}

table.spec tbody th {
  font-weight: 600;
  color: var(--text);
}

table.spec td {
  color: var(--muted);
}

table.spec tbody tr:last-child th,
table.spec tbody tr:last-child td {
  border-bottom: 0;
}

table.spec .is-yes {
  color: var(--ok);
  font-weight: 600;
}
table.spec .is-no {
  color: var(--muted-2);
}

/* ---- 05.13 FAQ accordion ---- */
.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--text-strong);
  transition: color var(--dur-1) var(--ease);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: var(--tint-3);
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% 6px auto 6px;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--accent);
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-q[aria-expanded="true"] .faq-icon {
  background: var(--tint-2);
}

.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-a {
  overflow: hidden;
  height: 0;
  transition: height var(--dur-3) var(--ease);
}

/* The first answer ships open so the page is useful on arrival and without JS */
.faq-item.is-open .faq-a {
  height: auto;
}

.faq-a-inner {
  padding: 0 0 1.5rem;
  padding-right: 3rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 70ch;
}

.faq-a-inner p:last-child {
  margin-bottom: 0;
}

.faq-a-inner ul {
  margin: 0 0 var(--s-3);
  padding-left: 1.1rem;
}

.faq-a-inner li {
  margin-bottom: 0.35rem;
}

/* ---- 05.14 Download ---- */
.download-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-2xl);
  background: linear-gradient(155deg, rgba(197, 160, 89, 0.14), rgba(11, 13, 18, 0.2) 55%, transparent),
  var(--ink-850);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  isolation: isolate;
}

.download-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -30%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(197, 160, 89, 0.18), transparent 70%);
  pointer-events: none;
}

.dl-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-8);
}

.dl-cards--flush {
  margin-top: 0;
}


.dl-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);

  transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease),
  transform var(--dur-2) var(--ease);
}

a.dl-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-gold);
  background: rgba(255, 255, 255, 0.06);
}

/* Not-yet-available platform card (iOS): present but clearly inert */
.dl-card--off {
  opacity: 0.62;
  cursor: default;
}


.dl-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: var(--tint);
  color: var(--accent);
}

.dl-body {
  min-width: 0;
  flex: 1;
}

.dl-title {
  display: block;
  font-weight: 620;
  color: var(--text-strong);
  font-size: 1.02rem;
  line-height: 1.35;
}

.dl-sub {
  display: block;
  color: var(--muted-2);
  font-size: var(--fs-xs);
  line-height: 1.5;
  margin-top: 0.2rem;
}

.dl-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 620;
  white-space: nowrap;
}


.install-steps {
  counter-reset: install;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
}

.install-steps li {
  counter-increment: install;
  position: relative;
  padding-left: 2.6rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.install-steps li::before {
  content: counter(install);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.install-steps strong {
  display: block;
  color: var(--text-strong);
  font-weight: 600;
  margin-bottom: 0.1rem;
}

/* ---- 05.15 Support / contact ---- */
.enquiry-card {
  padding: var(--s-5) var(--s-6);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  background: var(--tint-3);
}

.enquiry-card .eyebrow {
  margin-bottom: var(--s-2);
}

.enquiry-card .enquiry-title {
  color: var(--text-strong);
  font-weight: 620;
  margin: 0;
}

.enquiry-card .enquiry-body {
  margin: var(--s-4) 0 0;
  font-size: var(--fs-sm);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}

.contact-item:hover {
  border-color: var(--line-gold);
  background: var(--surface-2);
}

.contact-item svg {
  flex: none;
  color: var(--accent);
}

.contact-item .ci-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-item .ci-value {
  display: block;
  font-weight: 600;
  color: var(--text-strong);
  word-break: break-word;
}

/* ---- 05.16 Notice / callout ---- */
.notice {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  border: 1px solid var(--line-gold);
  border-left-width: 3px;
  border-radius: var(--r-md);
  background: var(--tint-3);
  color: var(--muted);
  font-size: var(--fs-sm);
}

.notice svg {
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

.notice strong {
  color: var(--text-strong);
}

.notice--plain {
  border-color: var(--line);
  border-left-color: var(--line-2);
  background: var(--surface);
}

/* ---- 05.17 Blog cards ---- */
.post-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
  background-color var(--dur-2) var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  background: var(--surface-2);
}

.post-card h3 {
  font-size: 1.18rem;
}

.post-card p {
  font-size: var(--fs-sm);
  flex: 1;
  margin: 0;
}

.post-card .link-arrow {
  margin-top: auto;
  padding-top: var(--s-2);
}

/* ---- 05.18 Page header (interior pages) ---- */
.page-head {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.75rem, 6vw, 4.75rem));
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60%;
  left: 50%;
  width: min(1100px, 120vw);
  aspect-ratio: 1.8 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(197, 160, 89, 0.14), transparent 72%);
  pointer-events: none;
}

.page-head h1 {
  font-size: var(--fs-h1);
  margin: var(--s-4) 0 var(--s-5);
}

.page-head .lead {
  font-size: var(--fs-lead);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

.breadcrumbs a {
  color: var(--muted-2);
  transition: color var(--dur-1) var(--ease);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-2);
}

/* ---- 05.19 Article (blog) ---- */
.article {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
}

.article-head {
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-8);
}

.article-head h1 {
  font-size: var(--fs-h1);
  margin: var(--s-4) 0 var(--s-4);
}

.article-sub {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-style: italic;
  color: var(--muted);
  margin: 0;
}

.article-body > * + * {
  margin-top: var(--s-4);
}

.article-body p {
  font-size: 1.02rem;
}

.article-body .lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
}

.article-body h2 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  margin-top: var(--s-12);
  margin-bottom: var(--s-2);
}

.article-body h3 {
  margin-top: var(--s-8);
  margin-bottom: var(--s-2);
}

.article-body ul,
.article-body ol {
  color: var(--muted);
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.article-body strong {
  color: var(--text);
  font-weight: 620;
}

.article-body blockquote {
  margin: var(--s-8) 0;
  padding: var(--s-2) 0 var(--s-2) var(--s-6);
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--text);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

.article-cta {
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-6);
}

.article-foot {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted-2);
}

/* ---- 05.20 CTA band ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-2xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  background: linear-gradient(160deg, var(--tint), transparent 60%), var(--bg-alt);
}

.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -60%;
  width: 70%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(197, 160, 89, 0.16), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  margin-bottom: var(--s-4);
}

.cta-band .lead {
  margin-inline: auto;
  margin-bottom: var(--s-8);
}

/* ---- 05.21 Footer ---- */
.site-footer {
  position: relative;
  padding-top: clamp(3rem, 5.5vw, 4.5rem);
  background: var(--ink-950);
  border-top: 1px solid var(--line);
  color: var(--text);
}

.site-footer::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.footer-brand p {
  margin-top: var(--s-4);
  color: var(--muted-2);
  font-size: var(--fs-sm);
  max-width: 34ch;
}

.footer-social-note {
  margin-top: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

.footer-cols {
  display: grid;
  /* Support is wider because it carries the long support email address,
     Legal is narrower because its labels are single words. */
  grid-template-columns:
    minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: var(--s-6);
}

.footer-cols h4 {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: var(--s-4);
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-cols a {
  color: var(--muted);
  font-size: var(--fs-sm);
  /* long unbroken tokens such as the support email must wrap, not overflow */
  overflow-wrap: break-word;
  transition: color var(--dur-1) var(--ease);
}

.footer-cols a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-6);
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
}

.footer-bottom a {
  transition: color var(--dur-1) var(--ease);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ==========================================================================
  06 UTILITIES
  ========================================================================== */
.text-center {
  text-align: center;
}

.u-center {
  margin-inline: auto;
}


.mt-4 {
  margin-top: var(--s-4);
}
.mt-6 {
  margin-top: var(--s-6);
}
.mt-8 {
  margin-top: var(--s-8);
}
.mt-10 {
  margin-top: var(--s-10);
}

/* ==========================================================================
  07 MOTION & REVEAL
  ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-4) var(--ease), transform var(--dur-4) var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 70ms;
}
.js .reveal[data-delay="2"] {
  transition-delay: 140ms;
}
.js .reveal[data-delay="3"] {
  transition-delay: 210ms;
}
.js .reveal[data-delay="4"] {
  transition-delay: 280ms;
}
.js .reveal[data-delay="5"] {
  transition-delay: 350ms;
}

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

  *,
  *::before,
  *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
  }

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

/* ==========================================================================
  08 RESPONSIVE
  ========================================================================== */
@media (max-width: 1100px) {
  .grid--3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-item:nth-child(odd) {
  border-left: 0;
  }
  .proof-item:nth-child(n + 3) {
  border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  :root {
  --header-h: 62px;
  }

  .nav-links {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: var(--s-4) var(--gutter) var(--s-8);
  background: var(--ink-950);
  border-bottom: 1px solid var(--line);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
  visibility var(--dur-2);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  }

  .nav-links.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  }

  .nav-link {
  padding: 0.95rem 0;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
  }

  .nav-link::after {
  display: none;
  }

  .nav-actions .nav-link,
  .nav-actions .btn {
  display: none;
  }

  .nav-toggle {
  display: flex;
  }

  .nav-links .btn {
  margin-top: var(--s-5);
  width: 100%;
  }

  .grid--3,
  .flow--3,
  .split,
  .split--wide-first,
  .section-head--split {
  grid-template-columns: minmax(0, 1fr);
  }

  .split {
  gap: var(--s-10);
  }

  .compare {
  grid-template-columns: minmax(0, 1fr);
  }

  .compare-arrow {
  justify-self: center;
  padding: var(--s-3) 0;
  transform: rotate(90deg);
  }

  .footer-inner {
  grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .grid--2,
  .plans,
  .flow--3,
  .dl-cards {
  grid-template-columns: minmax(0, 1fr);
  }

  .proof-grid {
  grid-template-columns: minmax(0, 1fr);
  }

  .proof-item {
  border-left: 0;
  border-top: 1px solid var(--line);
  padding-inline: 0;
  }

  .proof-item:first-child {
  border-top: 0;
  }

  .footer-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-a-inner {
  padding-right: 0;
  }

  .btn-row .btn {
  width: 100%;
  }

  .hero-media {
  max-width: 280px;
  }

  .article-body p {
  font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .footer-cols {
  grid-template-columns: minmax(0, 1fr);
  }
}

/* Print: keep the site readable if a dealer prints a plan or an article */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .nav-scrim,
  .btn-row,
  .skip-link {
  display: none !important;
  }

  body {
  background: #fff;
  color: #000;
  }

  .section,
  .page-head,
  .article {
  padding-block: 1.5rem;
  }
}
