/* Ecom Amplifier — brand tokens + core components
   Colour system LOCKED 2026-10-08: Signal Blue for actions, Signal Orange for "what matters first".
   Source of truth for the website and any branded HTML (proposals, one-pagers).
   Light theme only (brand decision 2026-10-08). Fonts: Geist + Geist Mono (Google Fonts). */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  /* Colour */
  --paper: #F7F6F2;        /* page background, warm off-white */
  --surface: #FFFFFF;      /* cards */
  --surface-2: #F0EEE8;    /* inset panels, table stripes */
  --ink: #0B0D12;          /* primary text, dark bands */
  --ink-2: #2A2F3A;        /* secondary headings */
  --muted: #5B6170;        /* body secondary (5.7:1 on paper) */
  --line: #E4E2DC;         /* hairlines */
  --line-strong: #CFCCC4;
  /* Accent system. Two roles so themes can split them:
     --signal*    = actions & small accent text (buttons, links, labels)
     --highlight* = "what matters first" (headline accent line, #1 priority, highlighted data, logo top bar) */
  --signal: #1F4BEB;        /* fills (6:1 on paper) */
  --signal-text: #1F4BEB;   /* small text on paper (>= 4.5:1) */
  --signal-hover: #173CC4;
  --signal-soft: #E9EEFF;
  --btn-bg: #1F4BEB; --btn-text: #FFFFFF; --btn-hover: #173CC4;
  --highlight: #F2541B;        /* Signal Orange: fills + large text only (3.2:1) */
  --highlight-text: #C2410C;   /* Burnt Orange: small orange text (4.8:1) */
  --highlight-soft: #FFEDE4;   /* tints behind highlighted data */
  --on-highlight: #0B0D12;     /* text placed on an orange fill */
  --highlight-on-ink: #FF7A45;
  --result: #1E3A6E;       /* Result Navy: result numbers & deltas (10:1 on paper) */
  --result-soft: #E6ECF5;  /* tint behind result pills */
  --on-ink: #FFFFFF;
  --on-ink-muted: #A3A9B6;

  /* Type */
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-display: clamp(2.75rem, 6.2vw, 5.25rem);
  --fs-h1: clamp(2.25rem, 4.6vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 2.625rem);
  --fs-h3: 1.375rem;
  --fs-lead: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;
  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-body: 1.6;
  --track-display: -0.035em;
  --track-label: 0.08em;

  /* Space & shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 20px; --radius-pill: 999px;
  --container: 1200px;
  --gutter: 16px;
  --shadow-card: 0 1px 0 rgba(11,13,18,.04), 0 8px 24px -12px rgba(11,13,18,.12);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }



/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal-text); outline-offset: 3px; border-radius: 4px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s9) 0; }
.section--tight { padding: var(--s8) 0; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink .muted { color: var(--on-ink-muted); }

/* Type */
.display, .h1, .h2, .h3 { font-weight: 600; letter-spacing: var(--track-display); margin: 0; }
.display { font-size: var(--fs-display); line-height: var(--lh-tight); }
.h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -0.015em; }
.accent { color: var(--highlight); }
.section--ink .accent { color: var(--highlight-on-ink); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 40rem; margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }

/* Section label — "/ 01 — How we help" */
.label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); display: flex; width: fit-content; align-items: center; gap: var(--s2); margin: 0 0 var(--s5); }
.label::before { content: "/"; color: var(--signal-text); }
.section--ink .label { color: var(--on-ink-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: var(--s2); font: 500 var(--fs-body)/1 var(--font-sans); padding: 14px 22px; border-radius: var(--radius-pill); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); }
.section--ink .btn--secondary { color: #fff; border-color: rgba(255,255,255,.3); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Chips & tags */
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--ink-2); background: var(--surface); }
.chip--signal { border-color: transparent; background: var(--highlight-soft); color: var(--highlight-text); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow-card); }
.card__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 var(--s2); }
.card__body { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.inset { background: var(--surface-2); border-radius: var(--radius); padding: var(--s4); }

/* Grids */
.grid { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .bento { grid-template-columns: repeat(6, 1fr); } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: var(--s5) var(--s4); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--fs-small); color: var(--muted); }

/* Case card */
.case { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -14px rgba(11,13,18,.22); }
.case__media { aspect-ratio: 4/3; background: var(--surface-2); position: relative; }
.case__tag { position: absolute; top: 12px; left: 12px; }
.case__body { padding: var(--s5); display: grid; gap: var(--s3); }
.case__metric { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--result); }
.delta { color: var(--result); font-weight: 600; font-variant-numeric: tabular-nums; }
.delta::before { content: "▲ "; font-size: .8em; }
.delta-pill { display: inline-flex; font: 500 12px/1 var(--font-mono); padding: 6px 9px; border-radius: var(--radius-pill); background: var(--result-soft); color: var(--result); }
.case__foot { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--signal-text); display: flex; justify-content: space-between; }

/* Process steps */
.step__no { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--signal-text); letter-spacing: var(--track-label); }

/* Comparison (Not X — Y) */
.compare { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare ul { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s3); font-size: var(--fs-small); }
.compare li { display: flex; gap: var(--s3); }
.compare .x { color: var(--muted); }
.compare .y { color: var(--signal-text); font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: var(--s5) 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--signal-text); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: var(--s3) 0 0; max-width: 46rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: var(--s4); }
.nav__links { display: none; gap: var(--s6); font-size: var(--fs-small); }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--signal-text); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* Placeholder for proof that is not yet approved — never ship to production with these visible */
.proof-pending { outline: 1px dashed var(--signal-text); outline-offset: 4px; position: relative; }
.proof-pending::after { content: "PROOF PENDING"; position: absolute; top: 8px; right: 8px; z-index: 2; font: 500 10px/1 var(--font-mono); letter-spacing: .08em; background: var(--signal-text); color: #fff; padding: 3px 6px; border-radius: 4px; }
