/* ============================================================
   /benchmark surface — token layer.
   Self-contained. Does not depend on /style.css being loaded.
   The fg-1 / fg-2 / fg-3 scale carries a deliberate legibility
   bump over the home-page palette — section blurbs and FAQ
   answers ride on these.
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:         #05070a;
  --surface:    #0c0f16;
  --surface-2:  #141820;
  --surface-3:  #1c2030;

  /* Borders */
  --border:         rgba(255, 255, 255, 0.06);
  --border-strong:  rgba(255, 255, 255, 0.10);
  --border-accent:  rgba(60, 255, 208, 0.15);

  /* Foreground / text */
  --fg-1:  #eef0f5;
  --fg-2:  #b0b5c2;
  --fg-3:  #6b7180;

  /* Accents */
  --accent:           #3cffd0;
  --accent-rgb:       60, 255, 208;
  --accent-warm:      #ffd43b;
  --accent-warm-rgb:  255, 212, 59;
  --accent-glow:      rgba(60, 255, 208, 0.12);
  --accent-10:        rgba(60, 255, 208, 0.10);
  --accent-15:        rgba(60, 255, 208, 0.15);
  --accent-20:        rgba(60, 255, 208, 0.20);
  --accent-70:        rgba(60, 255, 208, 0.70);

  /* Semantic */
  --success:  #22c55e;
  --error:    #ef4444;
  --warning:  var(--accent-warm);

  /* Type families */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body:    'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Fira Code', 'Cascadia Code', 'JetBrains Mono', ui-monospace, monospace;
}

body {
  background-color: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--fg-1);
  font-weight: 400;
}

/* Italic emphasis inside a heading — always teal. The brand's punchline tic. */
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--accent);
}

p { font-family: var(--font-body); line-height: 1.7; color: var(--fg-2); }
p strong { color: var(--fg-1); font-weight: 600; }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent);
}
code {
  background: var(--surface-2);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

a { color: inherit; text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--accent); }

::selection { background: rgba(var(--accent-rgb), 0.25); color: #fff; }
