/*
  Ink Sky tokens
  A painted night: deep ink-violet pages, a framed sky panel full of tiny stars
  and soft plum clouds, warm book-serif headlines over a plain sans, one violet
  button, and a dark app window rising out of the sky.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ik-ink: #14111E;          /* page background */
  --ik-well: #0D0B15;         /* app windows, inputs, code */
  --ik-panel: #1C1829;        /* cards */
  --ik-panel-hi: #252037;     /* hovered cards, table heads */
  --ik-sky-top: #1B1830;      /* sky panel, top */
  --ik-sky-low: #2C2340;      /* sky panel, near the horizon */

  /* Clouds (only inside a sky) */
  --ik-cloud: #4E3D5E;
  --ik-cloud-lit: #8A6681;
  --ik-cloud-glow: #B98A9B;

  /* Text */
  --ik-star: #F3EEE6;         /* headlines and body on night */
  --ik-mute: #A39CB6;         /* secondary text */
  --ik-faint: #6F6884;        /* hints, captions */

  /* Accents */
  --ik-violet: #6A48D6;       /* the one filled button */
  --ik-violet-hi: #7D5DE6;    /* button hover */
  --ik-violet-rim: #9B82F0;   /* button rim, focus ring */
  --ik-lilac: #C2B2F7;        /* links, eyebrows, active tab line */
  --ik-moss: #8FC79A;         /* ticks, "open" badges */
  --ik-lamp: #F2C98B;         /* tiny warm details: a lit window, a star rating */

  /* Lines */
  --ik-line: rgba(243, 238, 230, 0.09);
  --ik-line-strong: rgba(243, 238, 230, 0.16);

  /* Fonts */
  --ik-serif: "Source Serif 4", Georgia, serif;
  --ik-sans: Inter, system-ui, sans-serif;
  --ik-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Type scale */
  --ik-text-hero: clamp(40px, 5.6vw, 70px);
  --ik-text-h2: clamp(30px, 3.6vw, 46px);
  --ik-text-h3: 21px;
  --ik-text-lead: clamp(17px, 1.5vw, 20px);
  --ik-text-body: 16px;
  --ik-text-small: 14px;
  --ik-text-micro: 12px;

  /* Shape */
  --ik-r-sm: 6px;
  --ik-r-md: 10px;
  --ik-r-lg: 14px;
  --ik-r-sky: 20px;
  --ik-r-pill: 999px;

  /* Shadows */
  --ik-shadow-btn: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 18px rgba(74, 44, 170, 0.35);
  --ik-shadow-window: 0 -10px 60px rgba(8, 6, 14, 0.55), 0 30px 80px rgba(0, 0, 0, 0.5);
  --ik-shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);

  /* Space */
  --ik-s1: 4px;
  --ik-s2: 8px;
  --ik-s3: 12px;
  --ik-s4: 16px;
  --ik-s5: 24px;
  --ik-s6: 32px;
  --ik-s7: 48px;
  --ik-s8: 72px;
  --ik-s9: 112px;
  --ik-gutter: clamp(12px, 1.2vw, 18px);  /* the sky panel's inset from the page edge */
  --ik-max: 1120px;
}
