/*
 * Keystroke: tokens
 * Feel: a fast desktop tool after dark. Near-black pages, a glassy pill nav,
 * light keycap buttons that press down, a floating app window lit from behind
 * by one warm chili-red glow, two-tone headlines (white, then dim), and tiny
 * mono footnotes.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces, darkest to lightest */
  --ks-void: #09090B;
  --ks-panel: #111114;
  --ks-raised: #18181C;
  --ks-hover: #212127;
  --ks-line: #26262D;
  --ks-line-bright: #3A3A43;

  /* Text */
  --ks-text: #F3F3F5;
  --ks-dim: #8B8B95;
  --ks-faint: #5C5C66;

  /* Keycap (the light button) */
  --ks-cap: #ECECEF;
  --ks-cap-ink: #17171B;
  --ks-cap-edge: #B9B9C1;

  /* The one accent: chili red, plus a small saffron for highlights */
  --ks-chili: #F0503F;
  --ks-chili-deep: #A92B22;
  --ks-chili-soft: rgba(240, 80, 63, .14);
  --ks-saffron: #F2B544;
  --ks-mint: #4FD19A;

  /* Glows and glass */
  --ks-glow: radial-gradient(60% 55% at 50% 60%, rgba(240, 80, 63, .55) 0%, rgba(169, 43, 34, .28) 38%, rgba(9, 9, 11, 0) 72%);
  --ks-glow-soft: radial-gradient(50% 50% at 50% 50%, rgba(240, 80, 63, .22) 0%, rgba(9, 9, 11, 0) 70%);
  --ks-glass: rgba(20, 20, 24, .72);
  --ks-sheen: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 40%);

  /* Fonts */
  --ks-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ks-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --ks-text-hero: clamp(40px, 6.2vw, 76px);
  --ks-text-h2: clamp(28px, 3.6vw, 44px);
  --ks-text-h3: 18px;
  --ks-text-lead: 18px;
  --ks-text-body: 15px;
  --ks-text-small: 13px;
  --ks-text-micro: 12px;
  --ks-track-tight: -0.035em;

  /* Shape */
  --ks-radius-sm: 8px;
  --ks-radius: 12px;
  --ks-radius-lg: 18px;
  --ks-radius-xl: 24px;
  --ks-radius-pill: 999px;
  --ks-border: 1px solid var(--ks-line);

  /* Shadows */
  --ks-shadow-cap: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -2px 0 var(--ks-cap-edge) inset, 0 2px 6px rgba(0, 0, 0, .45);
  --ks-shadow-key: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 -2px 0 rgba(0, 0, 0, .5) inset, 0 2px 4px rgba(0, 0, 0, .5);
  --ks-shadow-window: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .7), 0 0 120px rgba(240, 80, 63, .12);
  --ks-shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px rgba(0, 0, 0, .4);

  /* Space */
  --ks-space-1: 4px;
  --ks-space-2: 8px;
  --ks-space-3: 12px;
  --ks-space-4: 16px;
  --ks-space-5: 24px;
  --ks-space-6: 32px;
  --ks-space-7: 48px;
  --ks-space-8: 72px;
  --ks-space-9: 120px;
  --ks-container: 1200px;
  --ks-text-width: 640px;

  /* Motion */
  --ks-ease: cubic-bezier(.2, .8, .2, 1);
  --ks-fast: 120ms;
}
