/* ============================================================
   GM Digital — agency site (v2)
   Plain CSS. Tokens, type and brand mark grounded in the
   GMD 360 design system. Teal (--brand) is a brand moment only;
   all actions/links stay --accent blue.
   ============================================================ */

:root {
  --bg: #111111;
  --surface: #1e1e1e;
  --surface-hover: #252525;
  --border: #2a2a2a;
  --border-light: #222222;
  --border-strong: #383838;
  --text: #e8e8e8;
  --text-2: #a0a0a0;
  --text-3: #8a8a8a;
  --accent: #5b8def;
  --accent-light: rgba(91, 141, 239, 0.12);
  --brand: #1fc1d0;
  --brand-deep: #15a3b0;
  --brand-ink: #06181c;
  --positive: #4caf7d;
  --positive-bg: rgba(76, 175, 125, 0.12);
  --negative: #e05252;
  --impactful: #d4933a;
  --impactful-bg: rgba(212, 147, 58, 0.12);
  --radius: 6px;
  --radius-lg: 10px;
  --pill: 20px;
  --maxw: 1140px;
  --pad: 28px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #79a3f3; }
::selection { background: rgba(31, 193, 208, 0.22); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin: 0;
}
.display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; line-height: 1.04; margin: 0; font-weight: 600; }

/* GMD 360 wordmark — mirrors the in-app logo (thumbnail mark + teal 360) */
.gmd360 { white-space: nowrap; color: var(--text); }
.gmd360-mark { height: 1.02em; width: auto; vertical-align: -0.16em; margin-right: 0.34em; display: inline-block; }
.g360 { color: var(--brand); }

/* ── Brand lockup ─────────────────────────────────────────── */
.lockup { display: inline-flex; align-items: center; gap: 11px; }
.lockup .mark { width: 26px; height: 26px; display: block; flex: none; }
.lockup .wm {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em; color: var(--text); white-space: nowrap;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background 0.12s var(--ease), transform 0.12s var(--ease), box-shadow 0.2s var(--ease), border-color 0.12s var(--ease), color 0.12s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 1px rgba(91, 141, 239, 0.4), 0 8px 26px -12px rgba(91, 141, 239, 0.7);
}
.btn-primary:hover {
  background: #6d9af2; color: #fff; transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(91, 141, 239, 0.55), 0 12px 32px -12px rgba(91, 141, 239, 0.85);
}
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface); }

.email-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--text-2); font-weight: 500; transition: color 0.12s;
}
.email-link:hover { color: var(--text); }
.email-link svg { width: 15px; height: 15px; color: var(--text-3); transition: color 0.12s; }
.email-link:hover svg { color: var(--accent); }

/* ============================================================
   Nav
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
header.scrolled { border-bottom-color: var(--border); background: rgba(17, 17, 17, 0.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color 0.12s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav-email { font-size: 14px; color: var(--text-2); font-weight: 500; }
.nav-email:hover { color: var(--text); }

/* ============================================================
   Section scaffolding
   ============================================================ */
section.band { padding: clamp(68px, 9.5vh, 112px) 0; }
section[id] { scroll-margin-top: 84px; }
.divide { border-top: 1px solid var(--border); }

.sec-head { margin-bottom: 46px; max-width: 62ch; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(1.75rem, 3.1vw, 2.45rem); letter-spacing: -0.018em;
  line-height: 1.1; margin: 0; max-width: 20ch;
}
.sec-head .lede { color: var(--text-2); font-size: 16px; margin: 16px 0 0; max-width: 56ch; line-height: 1.6; text-wrap: pretty; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vh, 104px) 0 clamp(60px, 9vh, 96px); border-bottom: 1px solid var(--border); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 95% at 30% -10%, #000 36%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 95% at 30% -10%, #000 36%, transparent 80%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: -42%; left: 22%; width: 820px; height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(31, 193, 208, 0.14), rgba(31, 193, 208, 0.05) 45%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px 6px 11px; border: 1px solid var(--border); border-radius: var(--pill);
  background: rgba(30, 30, 30, 0.5); font-size: 12.5px; color: var(--text-2); margin-bottom: 26px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(31, 193, 208, 0.16); }

.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); max-width: 15ch; margin-bottom: 24px; }
.hero h1 .soft { color: var(--text-2); }
.hero .sub { font-size: clamp(15.5px, 1.5vw, 17.5px); color: var(--text-2); max-width: 52ch; margin: 0 0 34px; line-height: 1.6; text-wrap: pretty; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ============================================================
   GMD 360 panel (faux dashboard)
   ============================================================ */
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.panel-bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--border); background: #1a1a1a; }
.panel-bar .left { display: inline-flex; align-items: center; gap: 9px; }
.panel-bar .mark { width: 17px; height: 17px; }
.panel-bar .title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.panel-bar .rng { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 3px 8px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); }
.kpi { padding: 15px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kpi:last-child { border-right: none; }
.kpi .k-label { font-size: 9.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.kpi .k-val { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--text); line-height: 1; }
.kpi .k-delta { margin-top: 7px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 4px; }
.kpi .k-delta.up { color: var(--positive); }
.chart-area { padding: 16px; }
.chart-area .c-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.chart-area .c-title { font-size: 10px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-3); }
.chart-area .c-legend { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--text-3); }
.chart-area .c-legend .ld { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); }
.spark { display: block; width: 100%; height: 70px; }
.panel-foot { border-top: 1px solid var(--border); padding: 9px 16px; font-size: 10.5px; color: var(--text-3); display: flex; align-items: center; gap: 7px; }
.panel-foot .src-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }

/* ============================================================
   Proof strip
   ============================================================ */
.proof { padding: clamp(40px, 6.5vh, 64px) 0; border-bottom: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.stat { padding: 24px 26px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(1.65rem, 2.6vw, 2.1rem); letter-spacing: -0.015em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .num .u { font-size: 0.46em; color: var(--text-2); font-weight: 600; margin-left: 4px; letter-spacing: 0.01em; }
.stat .lbl { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-3); line-height: 1.5; }

/* ============================================================
   Clients — wordmark wall
   ============================================================ */
.clients { border-bottom: 1px solid var(--border); }
.client-wall {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px; padding: 4px 0;
}
/* Logos are mixed-polarity (some white, some dark/colour) and some are
   illustrative — so each sits in its own light chip, shown in true colour.
   The 3 white wordmarks use recoloured -dark variants so they read on white. */
.client-chip {
  background: #fff; border-radius: 12px; height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: center;
  flex: 1 1 120px; min-width: 0;   /* grow to fill the row edge-to-edge */
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.client-chip:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.7); }
.client-chip img { height: 28px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.client-chip img.tall { height: 42px; }   /* stacked marks (Baby Crema) read too small at 28px */
.client-chip img.mb { height: 34px; }     /* Maple Bear: detailed mark, needs a touch more size */

.client-note {
  text-align: center; margin: 22px 0 0; font-size: 13px; color: var(--text-3); letter-spacing: 0.01em;
}

/* ============================================================
   Service cards
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 26px 24px; transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease); }
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-hover); }
.card .ico { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius); background: #181818; color: var(--text-2); margin-bottom: 18px; transition: color 0.18s, border-color 0.18s; }
.card:hover .ico { color: var(--text); border-color: var(--border-strong); }
.card .ico svg { width: 20px; height: 20px; }
.card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 0 0 9px; }
.card p { color: var(--text-2); font-size: 14.5px; line-height: 1.58; margin: 0 0 18px; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--text-3); border: 1px solid var(--border); border-radius: var(--pill); padding: 3px 10px; background: #161616; }

/* ============================================================
   The gap — measurement section
   ============================================================ */
.gap-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.gap-copy p.body { color: var(--text-2); font-size: 15.5px; line-height: 1.64; margin: 0 0 18px; max-width: 48ch; text-wrap: pretty; }
.gap-copy p.body strong { color: var(--text); font-weight: 600; }

.compare { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 22px 20px; margin-bottom: 16px; }
.compare .c-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.compare .c-top .t { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; white-space: nowrap; }
.compare .c-top .src { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.bar-row { margin-bottom: 16px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row .bl { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.bar-row .bl .name { font-size: 12.5px; color: var(--text-2); }
.bar-row .bl .val { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--text); }
.track { height: 9px; border-radius: 6px; background: #161616; border: 1px solid var(--border-light); overflow: hidden; }
.fill { height: 100%; border-radius: 6px; }
.fill.claimed { background: linear-gradient(90deg, rgba(212, 147, 58, 0.55), var(--impactful)); }
.fill.measured { background: linear-gradient(90deg, rgba(76, 175, 125, 0.5), var(--positive)); }
.compare .c-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-light); font-size: 12.5px; color: var(--text-3); }

.insight { background: var(--surface); border: 1px solid var(--border); border-left-width: 3px; border-radius: var(--radius-lg); padding: 18px 20px; }
.insight + .insight { margin-top: 12px; }
.insight.warn { border-left-color: var(--impactful); }
.insight.good { border-left-color: var(--positive); }
.insight .ins-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.insight .ins-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.insight.warn .ins-eyebrow { color: var(--impactful); }
.insight.good .ins-eyebrow { color: var(--positive); }
.conf { font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em; padding: 3px 9px; border-radius: var(--pill); white-space: nowrap; }
.conf.partial { color: var(--impactful); background: var(--impactful-bg); }
.conf.high { color: var(--positive); background: var(--positive-bg); }
.insight p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.insight p strong { color: var(--text); font-weight: 600; }

/* ── GMD 360 reconciliation receipt ───────────────────────── */
.receipt { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.receipt-head .rh-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--text); }
.receipt-head .rh-sub { font-size: 12px; color: var(--text-3); margin-left: 10px; }
.receipt-head .rh-r { display: inline-flex; align-items: center; gap: 12px; }
.overclaim { font-size: 12.5px; color: var(--impactful); background: var(--impactful-bg); padding: 5px 12px; border-radius: var(--pill); font-weight: 600; white-space: nowrap; }
.overclaim strong { font-weight: 700; }
.receipt-tag { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--border-strong); padding: 3px 9px; border-radius: var(--pill); white-space: nowrap; }

.rec-scroll { overflow-x: auto; }
.rec-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.rec-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); padding: 12px 22px; border-bottom: 1px solid var(--border); }
.rec-table td { padding: 14px 22px; border-bottom: 1px solid var(--border-light); font-size: 14px; color: var(--text-2); vertical-align: middle; }
.rec-table tr:last-child td { border-bottom: none; }
.rec-table th.num, .rec-table td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; white-space: nowrap; }
.rec-table th.cf, .rec-table td.cf { text-align: right; }
.rec-src { color: var(--text); font-weight: 600; }
.rec-what { font-size: 13px; color: var(--text-3); }
.rec-hint { color: var(--text-3); font-size: 12.5px; }
.rec.sum td { background: rgba(212, 147, 58, 0.05); border-bottom: 1px solid var(--border); }
.rec-table td.num.warn { color: var(--impactful); }
.rec.truth td { background: var(--positive-bg); }
.rec.truth .rec-src { color: var(--positive); }
.conf.medium { color: var(--accent); background: var(--accent-light); }
.conf.unv { color: var(--text-3); background: rgba(255, 255, 255, 0.05); }
.info { display: inline-flex; cursor: help; color: var(--text-3); font-size: 13px; margin-left: 2px; }
.info:hover, .info:focus-visible { color: var(--accent); outline: none; }
.foot-ref { color: var(--impactful); font-size: 11px; vertical-align: super; line-height: 0; }

.receipt-foot { display: flex; align-items: center; gap: 16px 18px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px solid var(--border); }
.ask-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: rgba(31, 193, 208, 0.08); border: 1px solid rgba(31, 193, 208, 0.28); border-radius: var(--pill); padding: 7px 14px; white-space: nowrap; }
.ask-btn svg { width: 14px; height: 14px; flex: none; }
.ask-btn .ask-tip { color: var(--text-3); font-weight: 400; font-style: italic; }
.rec-fn { margin: 0; flex: 1 1 300px; min-width: 240px; font-size: 12px; line-height: 1.55; color: var(--text-3); }
@media (max-width: 620px) { .ask-btn .ask-tip { display: none; } }

/* ============================================================
   How we work — process steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.step { padding: 26px 24px 28px; border-right: 1px solid var(--border); position: relative; }
.step:last-child { border-right: none; }
.step .n { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 16px; }
.step h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin: 0 0 9px; }
.step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.step .arrow { position: absolute; top: 26px; right: -8px; width: 16px; height: 16px; color: var(--border-strong); z-index: 2; background: var(--surface); }

/* ============================================================
   Platform
   ============================================================ */
.platform { position: relative; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platform::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(31, 193, 208, 0.09), transparent 52%),
    radial-gradient(120% 130% at 100% 100%, rgba(21, 163, 176, 0.07), transparent 55%);
  pointer-events: none;
}
.platform .wrap { position: relative; z-index: 1; }
.platform .brandline { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.platform .brandline .mark { width: 30px; height: 30px; }
.platform .brandline .name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 20px; letter-spacing: 0.01em; }
.platform .brandline .name b { color: var(--brand); font-weight: 600; }
.platform h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.018em; line-height: 1.12; margin: 0 0 18px; max-width: 20ch; }
.platform .body { color: var(--text-2); font-size: 15.5px; line-height: 1.62; margin: 0 0 26px; max-width: 58ch; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--text-2); border: 1px solid var(--border); border-radius: var(--pill); padding: 6px 13px; background: rgba(30, 30, 30, 0.6); transition: border-color 0.12s, color 0.12s; }
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip svg { width: 13px; height: 13px; color: var(--brand); }

.reports { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.report { display: flex; gap: 13px; padding: 18px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color 0.15s, background 0.15s; }
.report:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.report .r-ico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-2); background: #181818; }
.report .r-ico svg { width: 16px; height: 16px; }
.report h4 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; }
.report p { margin: 0; font-size: 12.5px; color: var(--text-3); line-height: 1.5; }

.connectors { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.connectors .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-right: 6px; }
.connectors .src { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.connectors .sep { color: var(--border-strong); }

/* ============================================================
   Results
   ============================================================ */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 26px; transition: border-color 0.15s, transform 0.18s var(--ease); }
.result:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.result .r-num { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -0.02em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.result .r-num .up { color: var(--positive); }
.result .r-title { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.result .r-ctx { margin-top: 6px; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.results-note { margin-top: 20px; font-size: 12px; color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; }
.results-note .nd { width: 5px; height: 5px; border-radius: 50%; background: var(--impactful); }

/* ============================================================
   About — small by design
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--text-2); font-size: 16px; line-height: 1.64; margin: 0 0 18px; max-width: 50ch; text-wrap: pretty; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.facts { margin-top: 28px; border-top: 1px solid var(--border); }
.fact { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.fact .f-k { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.fact .f-v { font-size: 14px; color: var(--text); text-align: right; }

.principals { display: grid; gap: 12px; }
.principal { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; }
.avatar { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-hover); border: 1px solid var(--border-strong); font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: var(--text); }
.principal .p-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; }
.principal .p-role { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.principal .p-meta { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }

/* ── Baymard credential ───────────────────────────────────── */
.credential {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 24px;
  margin-top: 32px; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.credential .seal {
  flex: none; width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-light); border: 1px solid rgba(91, 141, 239, 0.32); color: var(--accent);
}
.credential .seal svg { width: 27px; height: 27px; }
.credential .cred-body { min-width: 0; }
.credential .cred-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16.5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.credential .cred-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-light); border-radius: var(--pill); padding: 3px 10px; white-space: nowrap; }
.credential .cred-sub { margin-top: 7px; font-size: 13.5px; color: var(--text-2); line-height: 1.55; max-width: 62ch; }
.credential .cred-sub strong { color: var(--text); font-weight: 600; }
.credential .cred-link { margin-left: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.credential .cred-link:hover { color: #79a3f3; }
.credential .cred-link svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .credential { grid-template-columns: auto 1fr; }
  .credential .cred-link { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 4px; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; color: var(--text);
  transition: color 0.12s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary .q-ico { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform 0.2s var(--ease), color 0.12s; }
.faq details[open] summary .q-ico { transform: rotate(45deg); color: var(--accent); }
.faq .a { padding: 0 4px 24px; font-size: 14.5px; color: var(--text-2); line-height: 1.62; max-width: 70ch; text-wrap: pretty; }
.faq .a .muted { color: var(--text-3); }

/* ============================================================
   CTA band
   ============================================================ */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: clamp(64px, 10vh, 110px) 0; text-align: center; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(31, 193, 208, 0.12), transparent 60%),
    radial-gradient(60% 120% at 50% 100%, rgba(21, 163, 176, 0.08), transparent 60%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; }
.cta .eyebrow { margin-bottom: 18px; }
.cta h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1.08; margin: 0 auto 16px; max-width: 18ch; }
.cta .sub { color: var(--text-2); font-size: 16.5px; max-width: 50ch; margin: 0 auto 36px; line-height: 1.6; text-wrap: pretty; }
.cta .cta-row { justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
footer { padding: 64px 0 56px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.foot-brand .lockup { margin-bottom: 16px; }
.foot-brand .tagline { color: var(--text-3); font-size: 13px; max-width: 34ch; line-height: 1.55; margin: 0 0 16px; }
.foot-brand .loc { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); }
.foot-brand .loc svg { width: 14px; height: 14px; color: var(--text-3); }
.foot-col h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { font-size: 14px; color: var(--text-2); }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; }
.foot-bottom a { font-size: 14px; color: var(--text-2); }
.foot-bottom .copy { font-size: 12.5px; color: var(--text-3); }

/* ============================================================
   Scroll-reveal
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.06s; }
  .reveal.d2 { transition-delay: 0.12s; }
  .reveal.d3 { transition-delay: 0.18s; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 18ch; }
  .gap-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .reports { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .step .arrow { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .results-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .client-wall { gap: 22px 32px; }
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .services { grid-template-columns: 1fr; }
  .reports { grid-template-columns: 1fr; }
  .nav { height: 60px; }
  .nav-email { display: none; }
  .hero h1 { max-width: 100%; }
  .cta-row { gap: 16px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .foot-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   Legal pages (Privacy Policy / Terms of Service)
   ============================================================ */
.foot-legal { display: inline-flex; align-items: center; gap: 14px; }
.foot-legal a { font-size: 14px; color: var(--text-2); }
.foot-legal a:hover { color: var(--text); }
.foot-legal .sep, .foot-imprint .sep { color: var(--border-strong); }

.foot-imprint {
  padding-top: 22px; margin-top: 4px;
  font-size: 12.5px; line-height: 1.6; color: var(--text-3);
}
.foot-imprint strong { color: var(--text-2); font-weight: 600; }
.foot-imprint a { color: var(--text-2); }
.foot-imprint a:hover { color: var(--text); }

.legal {
  padding: 68px 0 84px;
  border-bottom: 1px solid var(--border);
}
.legal .wrap { max-width: 820px; }
.legal .eyebrow { margin-bottom: 14px; }
.legal h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 36px; letter-spacing: -0.02em; line-height: 1.08;
  margin: 0 0 12px; color: var(--text);
}
.legal .updated { font-size: 13.5px; color: var(--text-3); margin: 0 0 40px; }
.legal .lede { font-size: 16.5px; color: var(--text-2); line-height: 1.62; margin: 0 0 8px; }

.legal h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 20px; letter-spacing: -0.01em; color: var(--text);
  margin: 44px 0 14px; padding-top: 4px;
}
.legal h3 { font-size: 15.5px; font-weight: 600; color: var(--text); margin: 24px 0 8px; }
.legal p { font-size: 15px; color: var(--text-2); line-height: 1.68; margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { font-size: 15px; color: var(--text-2); line-height: 1.66; margin-bottom: 8px; }
.legal li strong, .legal p strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent); }
.legal a:hover { color: #79a3f3; }

.legal .callout {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius); padding: 18px 20px; margin: 20px 0 24px;
}
.legal .callout p { margin: 0; color: var(--text-2); }
.legal .callout p strong { color: var(--text); }

@media (max-width: 600px) {
  .legal { padding: 44px 0 60px; }
  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 18px; }
}
