/*
 * Twin Orbit: design tokens
 * Friendly, functional night mode. Near-black charcoal on a faint 48px grid, an aqua glow
 * bleeding in from one corner, geometric Sora headlines and plain Figtree body text.
 * Two accents work as a pair: sun yellow and aqua, like two rings that lock together.
 * The signature is a big hairline drawing of two interlocking orbits beside the hero,
 * and tabbed cards that hold a short phrase or command in a darker well.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Figtree:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: charcoal page, slightly lifted cards, darker wells for phrases and code */
  --to-night: #151618;
  --to-panel: #1d1f22;
  --to-panel-2: #25282c;
  --to-well: #111214;
  --to-line: #2e3236;
  --to-line-2: #3d4247;
  --to-grid: rgba(255, 255, 255, .035);

  /* Text */
  --to-text: #eceef0;
  --to-soft: #a3a9b0;
  --to-faint: #6c737b;

  /* The pair. Aqua for actions and links, sun for marks and highlights. Never a third */
  --to-aqua: #7fe3ef;
  --to-aqua-dark: #5ccbd9;
  --to-aqua-ink: #0e2a2e;      /* text on aqua buttons */
  --to-aqua-soft: rgba(127, 227, 239, .12);
  --to-sun: #f6c445;
  --to-sun-soft: rgba(246, 196, 69, .14);
  --to-glow: #1d4a4c;          /* the corner glow */

  /* Status, only inside product UI */
  --to-green: #6fd08c;
  --to-red: #f2787a;

  /* Type */
  --to-display: "Sora", "Avenir Next", system-ui, sans-serif;
  --to-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --to-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --to-text-hero: clamp(44px, 6.4vw, 80px);
  --to-text-h2: clamp(30px, 3.8vw, 46px);
  --to-text-h3: 21px;
  --to-text-lead: 19px;
  --to-text-body: 16px;
  --to-text-small: 14px;
  --to-text-micro: 12px;

  --to-tracking-hero: -.035em;
  --to-tracking-h2: -.025em;

  /* Shape: soft 14px cards, hairline borders, pill buttons, no hard shadows */
  --to-radius-sm: 8px;
  --to-radius: 14px;
  --to-radius-lg: 20px;
  --to-radius-pill: 999px;
  --to-border: 1px solid var(--to-line);
  --to-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .35);
  --to-ring: 0 0 0 3px rgba(127, 227, 239, .28);

  /* Space */
  --to-section: clamp(72px, 9vw, 120px);
  --to-container: 1120px;
  --to-narrow: 720px;
  --to-grid-size: 48px;

  /* Motion */
  --to-ease: cubic-bezier(.2, .8, .2, 1);
}
