/* Generated from src/_data/tokens.js by src/tokens.css.njk. Edit the data file, not this output. */
:root {
  color-scheme: dark;
  --color-page: #000000;
  --color-section: #0A0A0A;
  --color-fill: #1C1C1E;
  --color-text: #FAFAFA;
  --color-text-secondary: #8C8C8C;
  --color-hairline: rgba(255,255,255,.08);
  --color-field-border: #6E6E73;
  --color-button-bg: #FAFAFA;
  --color-button-text: #000000;
  --color-error: #FF6961;
  --ascend-surface-top: #1C1C2E;
  --ascend-surface-bottom: #0C1F3F;
  --ascend-text: #FFFFFF;
  --ascend-text-secondary: rgba(255,255,255,.75);
  --ascend-button-bg: #1A6CF6;
  --ascend-button-text: #FFFFFF;
  --ascend-button-secondary-bg: rgba(255,255,255,.12);
  --ascend-button-secondary-text: #FFFFFF;
  --ascend-accent: #4A90F8;
  --ascend-accent-on-light: #1560DC;
  --ascend-error: #FF6961;
  --sillage-page: #080808;
  --sillage-surface: #111110;
  --sillage-text: #F0EDE8;
  --sillage-text-secondary: #888683;
  --sillage-gold: #C9915A;
  --sillage-button-bg: #C9915A;
  --sillage-button-text: #080808;
  --sillage-hairline: rgba(201,145,90,.35);
  --ascend-surface: linear-gradient(180deg, var(--ascend-surface-top), var(--ascend-surface-bottom));
  --ascend-accent-text: var(--ascend-accent);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --font-sillage-display: Georgia, serif;
  --text-display: clamp(2.5rem, 7vw, 5.5rem);
  --text-heading: clamp(1.75rem, 4vw, 2.75rem);
  --text-card-title: 1.25rem;
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-caption: 0.8125rem;
  --text-label: 0.75rem;
  --weight-display: 700;
  --weight-heading: 700;
  --weight-card-title: 600;
  --weight-label: 600;
  --weight-sillage-display: 400;
  --tracking-display: -0.03em;
  --tracking-heading: -0.02em;
  --tracking-label: 0.14em;
  --leading-display: 1.05;
  --leading-body: 1.55;
  --radius-tile: 10px;
  --radius-field: 12px;
  --radius-button: 14px;
  --radius-card: 16px;
  --radius-hero: 24px;
  --radius-pill: 999px;
  --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;
  --gutter: 16px;
  --container-page: 1200px;
  --container-reading: 760px;
  --shadow-screenshot: 0 6px 24px rgba(0,0,0,.15);
  --duration-state: 200ms;
  --ease-state: ease;
  --ease-spring: cubic-bezier(0.16,1,0.3,1);
  --duration-reveal: 0.5s;
  --duration-pulse: 1.4s;
  --focus-width: 2px;
  --focus-offset: 3px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --color-page: #FFFFFF;
  --color-section: #F5F5F5;
  --color-fill: #F2F2F7;
  --color-text: #0A0A0A;
  --color-text-secondary: #666666;
  --color-hairline: rgba(0,0,0,.08);
  --color-field-border: #8A8A8E;
  --color-button-bg: #0A0A0A;
  --color-button-text: #FFFFFF;
  --color-error: #D70015;
  --sillage-page: #F5F0E8;
  --sillage-surface: #F5F0E8;
  --sillage-text: #1A1714;
  --sillage-text-secondary: #6B6257;
  --sillage-gold: #8A5C28;
  --sillage-button-bg: #B07840;
  --sillage-button-text: #080808;
  --sillage-hairline: rgba(150,90,40,.25);
  --ascend-accent-text: var(--ascend-accent-on-light);
}

/* No JavaScript means no data-theme, so follow the device setting. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --color-page: #FFFFFF;
    --color-section: #F5F5F5;
    --color-fill: #F2F2F7;
    --color-text: #0A0A0A;
    --color-text-secondary: #666666;
    --color-hairline: rgba(0,0,0,.08);
    --color-field-border: #8A8A8E;
    --color-button-bg: #0A0A0A;
    --color-button-text: #FFFFFF;
    --color-error: #D70015;
    --sillage-page: #F5F0E8;
    --sillage-surface: #F5F0E8;
    --sillage-text: #1A1714;
    --sillage-text-secondary: #6B6257;
    --sillage-gold: #8A5C28;
    --sillage-button-bg: #B07840;
    --sillage-button-text: #080808;
    --sillage-hairline: rgba(150,90,40,.25);
    --ascend-accent-text: var(--ascend-accent-on-light);
  }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; }
}
