/* ============================================================
   DealScoutAI — Landing
   Design tokens + component styles
   Palette locked. 80% surface / 15% deep navy / 5% signal blue.
   ============================================================ */

:root {
  /* Palette (locked) */
  --navy:       #0C1730;
  --slate:      #0E1629;
  --surface:    #F8F9FA;
  --soft-navy:  #E1E6F4;
  --border:     #E0E7EF;
  --muted:      #64748B;
  --blue:       #2563EB;
  --blue-dark:  #1E40AF;
  --red:        #EE4343;

  /* Type */
  --display: "Outfit", system-ui, sans-serif;
  --body:    "Plus Jakarta Sans", system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--surface);
  color: var(--slate);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--display); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
.tnum { font-variant-numeric: tabular-nums; }

/* Bold / grassetto inline text uses the display face (Outfit) */
b, strong { font-family: var(--display); font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}
.section { padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 768px) { .section { padding-top: 96px; padding-bottom: 96px; } }
@media (min-width: 1024px) { .section { padding-top: 112px; padding-bottom: 112px; } }

.section--navy { background: var(--navy); color: var(--surface); }
.section--navy h2 { color: #fff; }

/* Offset anchor jumps so the sticky header never covers the target heading */
#top, #engine, #perchi, #faq, #cta { scroll-margin-top: 96px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin: 0 0 20px;
}
.eyebrow--ondark { color: #5b8bf5; }

/* ---------- Headings ---------- */
.h1 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.5rem);
}
.h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}
.h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  color: var(--navy);
}
.lead {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.4;
  color: var(--slate);
}
.lead--navy { color: var(--soft-navy); font-weight: 400; line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  border: none;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 1rem;
}
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(12,23,48,0.18); }
.btn--primary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(12,23,48,0.16); }
.btn--primary.btn--lg { padding: 20px 40px; font-size: 1.125rem; }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  padding: 16px 8px;
  font-size: 1rem;
}
.btn--ghost .arrow { transition: transform .2s var(--ease); }
.btn--ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,249,250,0.82);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.wordmark__mark { width: 26px; height: 26px; flex: none; border-radius: 6px; }
.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.header-cta.btn--primary { padding: 11px 22px; border-radius: 12px; font-size: 0.9375rem; }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero { padding-top: 64px; padding-bottom: 88px; }
@media (min-width: 1024px) { .hero { padding-top: 88px; padding-bottom: 120px; } }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
.hero__lead { max-width: 560px; margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.hero__trust { font-size: 0.875rem; color: var(--muted); margin-top: 24px; }
.hero__trust strong { color: var(--slate); font-weight: 600; }

/* Aggregator strip */
.aggregators {
  margin-top: 80px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  opacity: 0.65;
}
.aggregators .dot { color: var(--blue); opacity: 0.9; padding: 0 6px; }

/* ---- Browser frame (DealScout Inbox) ---- */
.frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(12,23,48,0.04);
  overflow: hidden;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.frame__bar .pill { width: 11px; height: 11px; border-radius: 50%; background: var(--soft-navy); }
.frame__bar .addr {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.frame__tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 20px 12px;
}
.frame__tab .title { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--navy); }
.frame__tab .count { font-size: 0.8125rem; color: var(--muted); }
.frame__tab .count b { color: var(--blue); font-weight: 600; }
.frame__body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 10px; }

.deal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.deal-row:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.deal-row__addr { font-family: var(--display); font-weight: 600; font-size: 0.9375rem; color: var(--navy); }
.deal-row__meta { font-size: 0.8125rem; color: var(--muted); margin-top: 2px; }
.deal-row__price {
  font-size: 0.8125rem; color: var(--slate); margin-top: 8px; font-variant-numeric: tabular-nums;
}
.deal-row__price .strike { color: var(--muted); }
.deal-row__price b { color: var(--navy); font-weight: 600; }
.deal-row__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.roi-badge {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--blue);
  background: var(--soft-navy);
  padding: 6px 12px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sub-badge {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.sub-badge--down { color: var(--red); border-color: rgba(238,67,67,0.3); }
.frame__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--slate);
}
.frame__foot .sort { font-weight: 600; }
.chip {
  font-size: 0.75rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ============================================================
   SECTION 2 — PROBLEM (navy)
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 80px;
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card { border-top: 2px solid var(--blue-dark); padding-top: 28px; }
.big-stat {
  font-family: var(--display);
  font-weight: 600;
  color: var(--blue);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-variant-numeric: tabular-nums;
}
.stat-card .label {
  color: var(--soft-navy);
  font-size: 1rem;
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.45;
}

/* ============================================================
   SECTION 3 — IL FLUSSO
   ============================================================ */
.flow-counter { text-align: center; margin-top: 64px; }
.flow-counter .num {
  font-family: var(--display);
  font-weight: 600;
  color: var(--blue);
  font-size: clamp(3rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.flow-counter .cap { font-size: 1rem; color: var(--muted); margin-top: 10px; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 96px;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.step__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  color: var(--soft-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step__icon { margin: 24px 0 20px; }
.step__title { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--navy); }
.step__body { font-size: 1rem; color: var(--slate); margin-top: 12px; max-width: 360px; line-height: 1.55; }

/* ============================================================
   SECTION 4 — ENGINE
   ============================================================ */
.engine-head .sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.engine-head .lead {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 720px;
  margin-top: 28px;
  line-height: 1.6;
}

.pillar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 88px;
}
@media (min-width: 900px) {
  .pillar { grid-template-columns: 1fr 1fr; gap: 80px; }
  .pillar--rev .pillar__copy { order: 2; }
  .pillar--rev .pillar__visual { order: 1; }
}
.pillar__copy .eyebrow { color: var(--blue); }
.pillar__body { font-size: 1rem; color: var(--slate); max-width: 480px; margin-top: 20px; line-height: 1.6; }

/* Pillar A — notifiche */
.notif {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px; display: flex; flex-direction: column;
}
.notif__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px 14px; border-bottom: 1px solid var(--border);
}
.notif__head .t { font-family: var(--display); font-weight: 600; font-size: 0.9375rem; color: var(--navy); }
.notif__head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600;
}
.notif__head .live .blip { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.notif__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 14px 12px;
}
.notif__row + .notif__row { border-top: 1px solid var(--border); }
.notif__dot { width: 9px; height: 9px; border-radius: 50%; }
.notif__dot--new   { background: var(--blue); }
.notif__dot--down  { background: var(--red); }
.notif__dot--stale { background: var(--muted); }
.notif__txt { font-size: 0.875rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.notif__txt b { color: var(--navy); font-weight: 600; }
.notif__time { font-size: 0.75rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Pillar B — strategy table */
.stratable { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.stratable__head, .stratable__row {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 12px; align-items: center;
  padding: 16px 20px;
}
.stratable__head {
  border-bottom: 1px solid var(--border); background: var(--surface);
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600;
}
.stratable__head span:not(:first-child), .stratable__row span:not(:first-child) { text-align: right; }
.stratable__row + .stratable__row { border-top: 1px solid var(--border); }
.stratable__row .name { font-family: var(--display); font-weight: 600; font-size: 0.9375rem; color: var(--navy); }
.stratable__row .val { font-size: 0.9375rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.stratable__row--best {
  background: var(--soft-navy);
}
.stratable__row--best .val, .stratable__row--best .name { color: var(--navy); font-weight: 600; }
.stratable__row--best .val.roi { color: var(--blue); }

/* Pillar C — kanban */
.kanban {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 520px) { .kanban { grid-template-columns: repeat(4, 1fr); } }
.kanban__col { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; min-height: 180px; }
.kanban__col h4 {
  font-family: var(--body); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px;
}
.kanban__card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px; margin-bottom: 8px; position: relative;
}
.kanban__card .addr { font-family: var(--display); font-weight: 600; font-size: 0.75rem; color: var(--navy); line-height: 1.25; }
.kanban__card .roi { font-size: 0.6875rem; font-weight: 600; color: var(--blue); margin-top: 6px; font-variant-numeric: tabular-nums; }
.kanban__card .grip {
  position: absolute; top: 10px; right: 8px; color: var(--border);
  font-size: 0.7rem; letter-spacing: 1px; line-height: 0.5;
}

/* ============================================================
   SECTION 5 — PER CHI (tabs)
   ============================================================ */
.tabs { margin-top: 64px; }
.tabs__list {
  display: flex; flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid var(--border); padding-bottom: 0;
}
.tab-btn {
  background: transparent; border: none; padding: 12px 18px 16px;
  font-family: var(--display); font-weight: 600; font-size: 0.9375rem;
  color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase;
  position: relative; transition: color .2s var(--ease);
}
.tab-btn::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.tab-btn:hover { color: var(--slate); }
.tab-btn[aria-selected="true"] { color: var(--navy); }
.tab-btn[aria-selected="true"]::after { transform: scaleX(1); }

.tab-panel { display: none; padding-top: 48px; }
.tab-panel.is-active { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .tab-panel.is-active { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } }
.tab-panel__h { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.875rem); color: var(--navy); letter-spacing: -0.01em; line-height: 1.12; }
.tab-panel__body { font-size: 1.0625rem; color: var(--slate); line-height: 1.6; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cap-pill {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--soft-navy); color: var(--navy); padding: 7px 12px; border-radius: 6px;
}

/* Mobile accordion fallback styling reuse (we keep tabs but stack) */

/* ============================================================
   SECTION 6 — PROOF
   ============================================================ */
.proof-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: 80px;
}
@media (min-width: 640px) { .proof-grid { grid-template-columns: 1fr 1fr; gap: 56px 48px; } }
.proof-stat .big {
  font-family: var(--display); font-weight: 600; color: var(--blue);
  font-size: clamp(3.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.proof-stat .sub { font-size: 1rem; color: var(--slate); margin-top: 16px; max-width: 280px; line-height: 1.45; }

.quotes { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 88px; }
@media (min-width: 920px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 32px;
  background: #fff; display: flex; flex-direction: column; gap: 20px;
}
.quote-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; flex: none;
}
.quote-card__text { font-family: var(--display); font-weight: 500; font-size: 1.0625rem; color: var(--navy); line-height: 1.45; }
.quote-card__foot { font-size: 0.875rem; color: var(--muted); margin-top: auto; }

/* ============================================================
   SECTION 7 — COMPETITOR (navy)
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 80px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; gap: 48px; } }
.compare__col { padding: 40px; border-radius: 12px; }
.compare__col--old { border: 1px solid var(--blue-dark); }
.compare__col--new { background: #fff; }
.compare__h {
  font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 28px;
}
.compare__col--old .compare__h { color: var(--soft-navy); }
.compare__col--new .compare__h { color: var(--navy); }
.compare__list { display: flex; flex-direction: column; gap: 18px; }
.compare__item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: 1rem; line-height: 1.45; }
.compare__col--old .compare__item { color: var(--soft-navy); }
.compare__col--new .compare__item { color: var(--slate); }
.compare__item .mk { margin-top: 3px; flex: none; }
.compare__item--accent { font-weight: 600; }
.compare__col--new .compare__item--accent { color: var(--navy); }
.compare__col--old .compare__item--accent { color: #fff; }

/* ============================================================
   SECTION 8 — FAQ (accordion)
   ============================================================ */
.faq { max-width: 800px; margin: 64px auto 0; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__trigger {
  width: 100%; background: transparent; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.125rem, 1.8vw, 1.25rem); color: var(--navy);
}
.faq__icon { flex: none; width: 20px; height: 20px; position: relative; transition: transform .25s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px;
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after  { top: 0; left: 9px; width: 2px; height: 20px; transition: transform .25s var(--ease); }
.faq__trigger[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__panel { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq__panel-inner { padding: 0 4px 32px; font-size: 1.0625rem; color: var(--slate); line-height: 1.65; max-width: 680px; }

/* ============================================================
   SECTION 9 — CTA finale (navy)
   ============================================================ */
.final-cta { text-align: center; max-width: 920px; margin: 0 auto; }
.final-cta .h2 { color: #fff; font-size: clamp(2.75rem, 6vw, 4.5rem); }
.final-cta .sub {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  color: var(--soft-navy); margin: 32px auto 0; max-width: 600px; line-height: 1.5;
}
.final-cta .micro { font-size: 0.875rem; color: var(--muted); margin-top: 24px; }
.final-cta .cta-wrap { margin-top: 48px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; } }
.footer-tag { font-size: 0.875rem; color: var(--muted); margin-top: 12px; }
.footer-col h5 {
  font-family: var(--body); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin: 0 0 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9375rem; font-weight: 500; color: var(--slate); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--blue); }
.footer-legal { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.footer-legal a { color: var(--slate); }
.footer-legal a:hover { color: var(--blue); }
.footer-legal .sep { display: inline-flex; gap: 14px; margin-top: 12px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .06s; }
.reveal[data-d="2"] { transition-delay: .12s; }
.reveal[data-d="3"] { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
