/* Altegravity Design System — generated from tokens.json */

:root, [data-theme="dark"] {
  --bg: #05080c;
  --bg-glass: #05080cb8;
  --surface: #0b1118;
  --surface-2: #131c25;
  --grid-line: #121b24;
  --line: #1c2833;
  --line-strong: #5a6e7f;
  --ink: #e8f1f7;
  --ink-muted: #8fa1af;
  --accent: #00c2ff;
  --accent-hover: #5cd6ff;
  --accent-ink: #00c2ff;
  --accent-soft: #062a3d;
  --accent-deep: #0b4f72;
  --on-accent: #00121b;
  --success: #5eeab4;
  --danger: #ff5c72;
  --scene-dim: #3a5063;
  --scene-hot: var(--accent);
  --link: var(--accent-ink);
  --shadow-sm: 0 1px 2px #00000099;
  --shadow-lg: 0 16px 40px -8px #000000cc;
  --glow-accent: 0 0 0 1px #00c2ff66, 0 0 24px #00c2ff47;
  --focus-ring: 0 0 0 2px #05080c, 0 0 0 4px #00c2ff;
}

[data-theme="light"] {
  --bg: #f4f7fa;
  --bg-glass: #f4f7facc;
  --surface: #ffffff;
  --surface-2: #e9eff4;
  --grid-line: #dfe6ec;
  --line: #dbe3ea;
  --line-strong: #738594;
  --ink: #08121a;
  --ink-muted: #4a5b69;
  --accent: #00c2ff;
  --accent-hover: #33cfff;
  --accent-ink: #00739f;
  --accent-soft: #dff5ff;
  --accent-deep: #0b4f72;
  --on-accent: #00121b;
  --success: #047a55;
  --danger: #c8193c;
  --scene-dim: #a9b8c4;
  --scene-hot: #00a6dc;
  --link: var(--accent-ink);
  --shadow-sm: 0 1px 2px #08121a0f, 0 1px 3px #08121a14;
  --shadow-lg: 0 12px 32px -8px #08121a29;
  --glow-accent: 0 0 0 1px #00c2ff99, 0 0 20px #00c2ff40;
  --focus-ring: 0 0 0 2px #f4f7fa, 0 0 0 4px #00739f;
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-full: 9999px;
  --cut-sm: 8px;
  --cut-md: 12px;
  --cut-lg: 24px;
  --container-max: 1200px;
  --measure: 720px;
  --header-height: 64px;
  --rail-width: 40px;
  --duration-fast: 150ms;
  --duration-base: 240ms;
  --duration-slow: 640ms;
  --duration-drift: 120s;
  --duration-glitch: 360ms;
  --duration-glitch-gap: 8s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --z-backdrop: -1;
  --z-scene: 0;
  --z-type: 1;
  --z-hud: 2;
  --z-content: 3;
  --z-rail: 90;
  --z-header: 100;
  --z-overlay: 1000;
  --font-display: "Barlow Condensed", "IBM Plex Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

.display-xl { font-family: var(--font-display); font-size: 128px; line-height: 112px; font-weight: 700; letter-spacing: -0.01em; }
.display-lg { font-family: var(--font-display); font-size: 96px; line-height: 88px; font-weight: 700; }
.heading-1 { font-family: var(--font-display); font-size: 56px; line-height: 56px; font-weight: 700; }
.heading-2 { font-family: var(--font-display); font-size: 32px; line-height: 36px; font-weight: 700; }
.nav { font-family: var(--font-display); font-size: 15px; line-height: 24px; font-weight: 600; letter-spacing: 0.08em; }
.heading-ja { font-family: var(--font-sans); font-size: 20px; line-height: 32px; font-weight: 700; letter-spacing: 0.06em; }
.heading-3 { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 700; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 32px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 28px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 24px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 20px; font-weight: 400; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.16em; }
.label { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; }
.micro { font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: 0.2em; }
.code { font-family: var(--font-mono); font-size: 14px; line-height: 22px; font-weight: 400; }
