/* Exponent site: shared tokens, base type, buttons, badge, header, sections and footer.
   Tokens come from the Exponent brand system; each page keeps its own section styles inline. */
:root {
  color-scheme: dark;
  --night: #0B0B14;
  --shell: #F5F3EE;
  --teal: #00E5C3;
  --plume: #FF5A1F;
  --violet: #7B5CFF;

  --bg: #0B0B14;
  --surface: #161624;
  --line: #26263A;
  --line-strong: #33334A;
  --text: #F5F3EE;
  --text-secondary: #C9C8D6;
  --text-muted: #9A99AE;
  --teal-text: #00E5C3;
  --plume-text: #FF5A1F;
  --link: #9B84FF;
  --action: #6B4EFF;
  --action-hover: #5B3DE0;
  --on-action: #FFFFFF;
  --on-plume: #0B0B14;
  --on-teal: #0B0B14;
  --focus: #00E5C3;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 96px;
  --radius-sm: 4px; --radius-md: 6px; --radius-pill: 999px;
  --content-max: 1248px;
  --gutter: clamp(16px, 6.667vw, 96px);
  --header-h: 72px;
  --split-cols: minmax(0, 5fr) minmax(0, 7fr);
  --split-gap: var(--space-8);

  /* Mesh: soft glows built from the brand colours, with film grain so dark gradients don't band */
  --glow-violet: rgb(107 78 255 / 0.36);
  --glow-teal: rgb(0 229 195 / 0.16);
  --glow-plume: rgb(255 90 31 / 0.18);
  --plume-light: #FFB089;
  --plume-warm: #FF9157;
  --plume-deep: #EE4A10;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 640px) { :root { --gutter: 16px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--teal); color: var(--on-teal); }

.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--action); color: var(--on-action); padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* Type */
.eyebrow { font: 500 13px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--plume-text); }
.h2 { font: 600 clamp(30px, 3vw, 40px)/1.15 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font: 600 clamp(22px, 2vw, 26px)/1.2 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--text-secondary); max-width: 60ch; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--text-muted); }
.ai { color: var(--teal-text); }
.text-link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.placeholder { color: var(--text-muted); border-bottom: 1px dashed var(--line-strong); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--text); }

/* Badge */
.tru-copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px; border-radius: var(--radius-pill);
  background: var(--teal); color: var(--on-teal);
  font: 500 12px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.tru-copy svg { width: 14px; height: 14px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: block; width: 150px; flex: none; transition: opacity .25s; }
.brand img { width: 150px; height: auto; }
.js .site-header:not(.show-brand) .brand { opacity: 0; visibility: hidden; }
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav ul { display: flex; gap: var(--space-5); }
.site-nav ul a { font-size: 15px; font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 8px 0; }
.site-nav ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 860px) { .site-nav ul { display: none; } }
@media (max-width: 400px) { .site-nav .btn { padding: 0 var(--space-4); font-size: 15px; } }


/* Sections */
.section { border-top: 1px solid var(--line); padding-block: var(--space-8); }
.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-7); max-width: 780px; }
@media (max-width: 640px) { .section { padding-block: var(--space-7); } .section-head { margin-bottom: var(--space-6); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-7) var(--space-6); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--space-5) var(--space-7); }
.footer-brand { display: grid; gap: var(--space-3); }
.footer-brand img { width: 150px; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); font-size: 15px; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: 14px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
