/* design\system.css: the design tokens, the director's. Every page loads it (the build copies it to
   site\assets\css\system.css). Nothing on the site adds a color, a font or a size outside it: every page and scene uses
   these tokens, and anything new is added here first.
   Growbonix: the brand guide's exact hex values in its roles (Surface Dark #0D0E15, Deep Indigo #1E1035, Ligna Violet
   #7367F0, Cyber Cyan #00CFDD, Growth Green #28C76F, Alert #EA5455, light #F8FAFC, body #334155, captions #64748B).
   A dark site: the ink (#0D0E15) is the ground, Deep Indigo its containers, the paper (#F8FAFC) the light bands.
   No web font: the input asks for the system sans-serif stack. No drop shadow anywhere (the guide): the shadow tokens
   are crisp 1px rings. */

:root {
  /* colors: the guide's */
  --c-brand: #7367F0;          /* Ligna Violet: buttons, links, focus rings, the brand */
  --c-brand-dark: #1E1035;     /* Deep Indigo: containers on the dark, headings on the light */
  --c-brand-light: #E7E5FD;    /* a light tint of the violet, for chips on the light bands */
  --c-accent: #00CFDD;         /* Cyber Cyan: data, graph peaks, stars, the live line's head */
  --c-ink: #0D0E15;            /* Surface Dark: the page's ground */
  --c-ink-soft: #64748B;       /* captions and meta on the light (the guide's) */
  --c-paper: #F8FAFC;          /* the light bands and the light cards */
  --c-paper-alt: #EEF1F8;
  --c-line: #DCE1EB;           /* a rule on the light */
  --c-on-brand: #FFFFFF;
  --c-on-ink: var(--c-paper);
  /* the brand's and the accent's colors as text: darker on the paper (AA), lighter on the ink and the indigo (AA) */
  --c-brand-text: #6558E6;
  --c-accent-text: #007A83;
  --c-brand-on-ink: #A39CF6;
  --c-accent-on-ink: #00CFDD;

  /* this site's own roles */
  --c-panel: #1E1035;                                  /* Deep Indigo: cards, panels, bands on the dark */
  --c-panel-2: color-mix(in srgb, #1E1035 55%, #0D0E15); /* a step between the ground and the indigo */
  --c-green: #28C76F;                                  /* Growth Green: growth figures, upward arrows, booked ticks */
  --c-alert: #EA5455;                                  /* errors only */
  --c-heading-light: #1E1035;                          /* headings on the light bands */
  --c-body-light: #334155;                             /* body text on the light bands */
  --c-text: #FFFFFF;                                   /* headings on the dark */
  --c-text-soft: #B9BDD2;                              /* body text on the dark (9.9:1 on the ink) */
  --c-text-meta: #8E93AB;                              /* meta on the dark (6:1 on the ink) */
  --c-rule: rgba(255, 255, 255, 0.12);                 /* a 1px rule on the dark */
  --c-rule-strong: rgba(115, 103, 240, 0.55);          /* the live edge: a violet 1px rule */
  --c-glass: rgba(13, 14, 21, 0.62);                   /* dark glass over footage */
  --shade: linear-gradient(90deg, rgba(13, 14, 21, 0.9) 0%, rgba(13, 14, 21, 0.72) 34%, rgba(13, 14, 21, 0.18) 66%, rgba(13, 14, 21, 0.05) 100%);
  /* the faint grid of the dark ground (the techie texture) */
  --grid: linear-gradient(rgba(115, 103, 240, 0.075) 1px, transparent 1px) 0 0 / 48px 48px,
          linear-gradient(90deg, rgba(115, 103, 240, 0.075) 1px, transparent 1px) 0 0 / 48px 48px;

  /* type: the system stack (the input), a system mono only for small status labels and time stamps */
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --fs-display: clamp(2.5rem, 1.35rem + 4.4vw, 4.9rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.3vw, 3.15rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-ui: 0.9375rem;
  --fs-mono: 0.8125rem;
  --lh-tight: 1.04;
  --lh-body: 1.6;
  --fw-display: 800;

  /* space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --max-w: 1220px;

  /* corners and "shadows": crisp 1px rings, never a drop shadow (the guide) */
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 14px;
  --shadow-s: 0 0 0 1px rgba(115, 103, 240, 0.22);
  --shadow-m: 0 0 0 1px rgba(115, 103, 240, 0.32);
  --shadow-l: 0 0 0 1px rgba(115, 103, 240, 0.42);

  /* motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
}

/* The base: a dark site. */
html { -webkit-text-size-adjust: 100%; background: var(--c-ink); }
body { margin: 0; background: var(--c-ink); color: var(--c-text-soft); font-family: var(--font-text); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; }
h1, h2, h3, h4 { color: var(--c-text); font-family: var(--font-display); text-wrap: balance; }
a { color: var(--c-brand-on-ink); }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
