/* Arkevia — generated from tokens.json. Edit tokens.json, then regenerate; do not hand-edit. */
/* Fonts: load Inter Tight (300–700), Inter (400–600), JetBrains Mono (400–500) via next/font/google
   and expose them as --font-inter-tight / --font-inter / --font-jetbrains-mono, or uncomment the @import. */
/* @import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300..700&family=Inter:wght@400..600&family=JetBrains+Mono:wght@400..500&display=swap'); */

:root {
  --paper: #F2EFE7;
  --sand: #E9E4D8;
  --card: #FAF8F3;
  --line: #DDD6C8;
  --ink: #1C1A17;
  --ink-soft: #57524A;
  --ink-faint: #736B62;
  --copper: #9B6048;
  --copper-ink: #8A5640;
  --copper-tint: #F6EAE1;
  --on-copper: #F7F3EC;
  --on-copper-soft: #F5E3D6;
  --night: #0E0E0D;
  --on-night: #D2CCC1;
  --on-night-soft: #ADA698;
  --texture-dot: #B3AA9C;

  --font-display: var(--font-inter-tight, "Inter Tight", Inter, Arial, sans-serif);
  --font-sans: var(--font-inter, Inter, Arial, sans-serif);
  --font-mono: var(--font-jetbrains-mono, "JetBrains Mono", "Courier New", monospace);

  --text-display-size: 64px;
  --text-display-line: 1.05;
  --text-display-weight: 500;
  --text-display-tracking: -1.5px;
  --text-h1-size: 48px;
  --text-h1-line: 1.1;
  --text-h1-weight: 500;
  --text-h1-tracking: -1px;
  --text-h2-size: 36px;
  --text-h2-line: 1.1;
  --text-h2-weight: 500;
  --text-h2-tracking: -0.5px;
  --text-h3-size: 24px;
  --text-h3-line: 1.2;
  --text-h3-weight: 500;
  --text-lead-size: 20px;
  --text-lead-line: 1.5;
  --text-lead-weight: 400;
  --text-body-size: 17px;
  --text-body-line: 1.6;
  --text-body-weight: 400;
  --text-small-size: 14px;
  --text-small-line: 1.5;
  --text-small-weight: 400;
  --text-eyebrow-size: 13px;
  --text-eyebrow-line: 1.4;
  --text-eyebrow-weight: 600;
  --text-eyebrow-tracking: 0.2em;
  --text-mono-size: 15px;
  --text-mono-line: 1.5;
  --text-mono-weight: 400;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --content-max: 1200px;
}

/* Dark theme: only for dark sections. The site is light-first; the footer uses --night directly. */
[data-theme="dark"] {
  --paper: #0E0E0D;
  --sand: #161514;
  --card: #1A1917;
  --line: #33302B;
  --ink: #EDE8DE;
  --ink-soft: #A8A196;
  --ink-faint: #8C857A;
  --copper-ink: #C08468;
  --copper-tint: #2A1E18;
  --texture-dot: #4A443D;
}

/* Base */
html { background: var(--paper); color: var(--ink); font-family: var(--font-sans); }
body { font-size: var(--text-body-size); line-height: var(--text-body-line); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.eyebrow {
  font-size: var(--text-eyebrow-size); line-height: var(--text-eyebrow-line);
  font-weight: var(--text-eyebrow-weight); letter-spacing: var(--text-eyebrow-tracking);
  text-transform: uppercase; color: var(--copper-ink);
}
.mono { font-family: var(--font-mono); }
