/* The only file that holds a colour. Rebranding a build means editing this file
   and nothing else. The audit fails any literal hex found anywhere outside it. */
:root{
  /* brand: replace every one of these from research/brand.md */
  --bg:#141414;
  --bg-deep:#0e0e0e;
  --surface:#1c1c1c;
  --surface-2:#242424;
  --surface-3:#2b2b28;
  --line:#333333;
  --line-soft:#3a3a3a;
  --text:#f4f4f0;
  --text-2:#c2c2ba;
  --muted:#8c8c84;
  --faint:#6e6e68;
  --faint-2:#4e4e4a;
  --accent:#fdfe01;
  --accent-soft:#feff6a;
  --glow:color-mix(in srgb, var(--accent-deep, var(--accent)) 16%, transparent);
  --glow-2:color-mix(in srgb, var(--accent-deep, var(--accent)) 9%, transparent);
  --accent-tint:color-mix(in srgb, var(--accent) 13%, transparent);
  --online:#c8e600;
  --accent-ink:#121212;
  --success:#c8e600;
  --danger:#f2a100;

  /* third-party mock surfaces: fixed, never rebranded */
  --mock-paper:#ffffff;
  --mock-ink:#1a1a1a;
  --mock-ink-2:#111111;
  --mock-black:#000000;
  --mock-tint:#f4f4f0;
  --mock-tint-2:#eef0f2;
  --mock-tint-3:#eaf1fb;
}

/* legacy names from the approved builds, kept so existing rules resolve.
   Every colour here points at a canonical token above. */
:root{
  --accent-2:var(--accent-soft);
  --accent-glow:var(--glow);
  --bg-2:var(--surface);
  --danger-tint:color-mix(in srgb, var(--danger) 14%, transparent);
  --hair:var(--line);
  --ink:var(--text);
  --success-tint:color-mix(in srgb, var(--success) 14%, transparent);
  --surface-alt:var(--surface-2);
  --teal:var(--accent-soft);
  --text-3:var(--faint);
  --win:var(--online);

  /* not colours */
  --container:1120px;
  --display:"Sora", "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:cubic-bezier(0.16, 1, 0.3, 1);
  --font:"Hanken Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter:clamp(20px, 5vw, 32px);
  --maxw:1120px;
  --mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius:18px;
  --sans:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --section-y:clamp(72px, 11vh, 132px);
}

/* case-study card chrome */
:root{
  --cs-card:var(--surface-2);
  --cs-line:var(--line);
  --cs-blue:var(--accent);
  --cs-blue-tip:var(--accent-soft);
}

/* his yellow cannot be read on white, so the white third-party mocks (Typeform, Calendly) use it darkened */
.typeform, .calendly{ --accent:#8f8c00; --accent-soft:#a8a400; }

/* light accent: button label reads dark */
.btn{ --ink:#121212; }
