/*
 * Night Shift: design tokens
 * A quiet, precise dark look for serious software. Near-black surfaces stacked in three steps,
 * hairline borders at low white opacity, a faint glow at the top of the page, tight medium-weight
 * headlines, gray secondary text, and one warm amber accent used only for status and the one action
 * that matters. The product itself is the hero: layered app windows with a sidebar, IDs in mono
 * and keyboard hints everywhere.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces, darkest to lightest */
  --ns-void: #070709;        /* page background */
  --ns-base: #0e0f12;        /* sections, app window body */
  --ns-raised: #16171b;      /* cards, inputs, sidebar items on hover */
  --ns-lift: #1e1f24;        /* menus, selected rows, kbd keys */

  /* Lines: always hairlines, never solid gray */
  --ns-line: rgba(255, 255, 255, .08);
  --ns-line-strong: rgba(255, 255, 255, .14);
  --ns-line-focus: rgba(245, 178, 64, .55);

  /* Text */
  --ns-text: #f1f1ee;        /* headlines and primary text */
  --ns-text-2: #a2a4ab;      /* body and leads */
  --ns-text-3: #6b6e76;      /* metadata, labels, placeholders */

  /* Accents: amber is the only loud color; the others are status only */
  --ns-amber: #f5b240;       /* in progress, the one highlight, focus */
  --ns-amber-soft: rgba(245, 178, 64, .12);
  --ns-mint: #5ccf98;        /* ready, done, included */
  --ns-mint-soft: rgba(92, 207, 152, .12);
  --ns-coral: #f0745c;       /* late, error */
  --ns-coral-soft: rgba(240, 116, 92, .12);
  --ns-periwinkle: #8b92f2;  /* links inside prose, assigned, info */

  /* The one glow: a soft light from above the hero */
  --ns-glow: radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .075), transparent 70%);
  --ns-fade-line: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);

  /* Type */
  --ns-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --ns-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ns-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ns-text-hero: clamp(44px, 6.6vw, 84px);
  --ns-text-h1: clamp(38px, 5vw, 64px);
  --ns-text-h2: clamp(30px, 3.6vw, 46px);
  --ns-text-h3: 20px;
  --ns-text-lead: 18px;
  --ns-text-body: 15px;
  --ns-text-small: 13px;
  --ns-text-micro: 12px;

  --ns-tracking-display: -.035em;
  --ns-tracking-h3: -.015em;
  --ns-leading-display: 1.02;

  /* Shape: small radii, hairlines, almost no shadow */
  --ns-radius-xs: 4px;
  --ns-radius-sm: 6px;
  --ns-radius: 10px;
  --ns-radius-lg: 14px;
  --ns-radius-pill: 999px;
  --ns-border: 1px solid var(--ns-line);
  --ns-border-strong: 1px solid var(--ns-line-strong);
  --ns-shadow-window: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 80px -20px rgba(0, 0, 0, .8);
  --ns-shadow-menu: 0 12px 32px -8px rgba(0, 0, 0, .7);
  --ns-inset-top: inset 0 1px 0 rgba(255, 255, 255, .06);

  /* Space: dense inside the product, roomy between sections */
  --ns-space-1: 4px;
  --ns-space-2: 8px;
  --ns-space-3: 16px;
  --ns-space-4: 24px;
  --ns-space-5: 40px;
  --ns-space-6: 64px;
  --ns-section: clamp(80px, 10vw, 140px);
  --ns-container: 1200px;
  --ns-measure: 680px;

  /* Motion: short and calm */
  --ns-ease: cubic-bezier(.25, .8, .25, 1);
  --ns-fast: 140ms;
}
