/*
 * Spiiin — design tokens untuk website.
 * Salinan subset dari sevenova/spiiin-app: src/renderer/src/styles/tokens.css.
 * Bila nilai di app berubah, ubah juga di sini supaya situs dan app tetap sama.
 * Font dibundel lokal (CSP situs: font-src 'self'). Lisensi: ../fonts/OFL-*.txt.
 */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/geist-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/geist-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;

  /* Background */
  --bg-base: #0A181A;
  --bg-glow: #17363A;
  --bg-app: radial-gradient(1000px 640px at 62% 22%, var(--bg-glow) 0%, var(--bg-base) 100%);

  /* Surface (translusen di atas --bg-app) */
  --surface-1: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-inset: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.12);
  --divider: rgba(255, 255, 255, 0.07);

  /* Teks (kontras >= 4.5:1 di atas --bg-app) */
  --text-1: #EAF2EE;
  --text-2: #A9B8B2;
  --text-3: #84968F;
  --text-on-accent: #14302B;

  /* Aksen */
  --accent: #C8F07A;
  --accent-hover: #E2F9B5;
  --accent-soft: rgba(200, 240, 122, 0.14);
  --success-text: #8FE3CF;
  --warning: #F2B45A;
  --danger-text: #F09A8A;

  /* Tipografi */
  --font-ui: "Geist", system-ui, -apple-system, sans-serif;
  --fs-eyebrow: 11px;  --ls-eyebrow: 0.14em;
  --fs-caption: 12px;
  --fs-small: 13px;
  --fs-body: 14px;
  --fs-body-lg: 16px;
  --fs-title-sm: 20px;
  --fs-title: 34px;
  --fs-page: 40px;
  --fs-hero: 52px;
  --ls-tight: -0.03em;
  --ls-tighter: -0.035em;

  /* Radius */
  --r-lg: 16px;
  --r-xl: 18px;
  --r-card: 24px;
  --r-card-lg: 28px;
  --r-pill: 999px;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px;
  --space-10: 40px; --space-11: 44px;
  --button-h: 52px;
  --button-h-lg: 60px;
}
