/* Success Is Everywhere tokens. Locked to design.md gold ramp.
 * Hallmark · genre: atmospheric · tone: veteran-operator
 * theme: locked design.md (dark ink, gold accent) · paper-band: dark · display: condensed-sans · accent: warm
 */
:root {
  --gold-100: #fff4d6;
  --gold-200: #ffe08a;
  --gold-300: #ffd04a;
  --gold-400: #fdc003;
  --gold-500: #fdb602;
  --gold-600: #fd9302;
  --gold-700: #d97505;
  --gold-800: #a35404;

  --black: #0a0a0a;
  --ink-900: #0a0a0a;
  --ink-800: #121110;
  --ink-700: #1b1917;
  --ink-600: #262320;
  --ink-500: #35312c;
  --ink-400: #4a443d;

  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --paper-3: #e6e0d4;

  --text: #f5f2ec;
  --text-muted: #a9a29a;
  --text-faint: #6e6862;
  --text-dark: #16140f;
  --text-dark-muted: #5c554c;
  --signature: #f5f2ec;

  --color-paper: var(--ink-900);
  --color-paper-2: var(--ink-800);
  --color-paper-3: var(--ink-700);
  --color-ink: var(--text);
  --color-muted: var(--text-muted);
  --color-faint: var(--text-faint);
  --color-rule: var(--ink-500);
  --color-accent: var(--gold-500);
  --color-accent-ink: #16140f;
  --color-focus: var(--gold-300);
  --color-error: #e0533c;

  --grad-gold: linear-gradient(160deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--gold-600) 100%);
  --glow-gold: radial-gradient(60% 60% at 50% 0%, rgba(253, 182, 2, 0.22) 0%, rgba(253, 182, 2, 0) 70%);

  --font-display: "Anton", system-ui, sans-serif;
  --font-body: "Satoshi", "Avenir Next", system-ui, sans-serif;
  --font-outlier: "Caveat", cursive;

  --text-xs: clamp(0.75rem, 0.72rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.25vw, 1rem);
  --text-base: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --text-lg: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
  --text-xl: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);

  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  --radius-sm: 3px;
  --radius: 4px;
  --radius-pill: 999px;
  --wrap: 76rem;
  --page-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --banner-height: 4.5rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  --rule-hair: 1px;
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-sticky-nav: 300;
  --z-modal: 400;

  --mark-scale: 0.88;
  --glow: 0;
  --word: 0;
  --head: 0;
  --tail: 0;
  --lift: 0;
  --lock-w: min(260px, 62vw);
  --lock-h: calc(var(--lock-w) * 1.1093);
  --shift: 14%;
}

html[data-theme="light"] {
  --color-paper: var(--paper);
  --color-paper-2: var(--paper-2);
  --color-paper-3: var(--paper-3);
  --color-ink: var(--text-dark);
  --color-muted: var(--text-dark-muted);
  --color-faint: #8a8278;
  --color-rule: var(--paper-3);
  --color-accent: var(--gold-700);
  --color-focus: var(--gold-700);
}
