/*
 * Frame Shift: design tokens
 * Graphite night surfaces, two-tone sans headlines (a bright first clause, a gray second one),
 * one italic serif word that cross-fades between options, thin ornamental line frames with
 * diamond corners, and violet selection boxes with mono dimension labels, like a design canvas.
 * Cream is the only filled button. Violet marks what is selected, never decoration.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: graphite, never pure black */
  --fs-night: #121214;
  --fs-panel: #19191c;
  --fs-panel-2: #212125;
  --fs-raise: #2a2a2f;
  --fs-line: #2d2d32;
  --fs-line-2: #3b3b42;

  /* Text */
  --fs-text: #eeece6;
  --fs-dim: #8c8b92;
  --fs-faint: #5d5c63;

  /* The two accents */
  --fs-cream: #f3eee0;       /* the one filled button, the hero sheen */
  --fs-cream-2: #e2dac6;
  --fs-violet: #7b6cf2;      /* selection boxes, handles, focus, active tab */
  --fs-violet-soft: rgba(123, 108, 242, .16);

  /* Ornament lines: a warm gray-gold, always 1px */
  --fs-ornament: #6a6456;

  /* Status, only inside product UI */
  --fs-green: #5fbf8a;
  --fs-amber: #d9a64e;

  /* Type */
  --fs-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --fs-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-text-hero: clamp(44px, 7.2vw, 92px);
  --fs-text-h2: clamp(32px, 4.4vw, 54px);
  --fs-text-h3: 22px;
  --fs-text-lead: 19px;
  --fs-text-body: 16px;
  --fs-text-small: 14px;
  --fs-text-micro: 11px;

  --fs-tracking-hero: -.045em;
  --fs-tracking-h2: -.035em;

  /* Shape: small radii, thin lines, almost no shadow */
  --fs-radius-xs: 3px;
  --fs-radius-sm: 6px;
  --fs-radius: 10px;
  --fs-radius-lg: 14px;
  --fs-border: 1px solid var(--fs-line);
  --fs-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px rgba(0, 0, 0, .45);
  --fs-sheen: linear-gradient(180deg, #ffffff 0%, var(--fs-cream) 55%, var(--fs-cream-2) 100%);
  --fs-glow: radial-gradient(60% 50% at 50% 0%, rgba(123, 108, 242, .14), transparent 70%);

  /* Space */
  --fs-section: clamp(72px, 10vw, 136px);
  --fs-container: 1120px;
  --fs-narrow: 720px;

  /* Motion */
  --fs-ease: cubic-bezier(.2, .7, .2, 1);
  --fs-morph-time: 9s;
}
