/* dotspot design tokens — single source of truth for the marketing site.
   Previously copy-pasted into each of the four page templates. */

/* Self-hosted. These used to be loaded from api.fontshare.com and
   fonts.googleapis.com, which disclosed every visitor's IP to two third parties —
   including on /dpa, where we publish our own Article 28 GDPR terms.
   Only weights 400 and 500 are used anywhere on the site.
   General Sans — Indian Type Foundry, free for commercial use (Fontshare).
   JetBrains Mono — SIL Open Font License 1.1; one variable file covers the range. */
@font-face{font-family:"General Sans";src:url("/assets/fonts/GeneralSans-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"General Sans";src:url("/assets/fonts/GeneralSans-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("/assets/fonts/JetBrainsMono-Variable.woff2") format("woff2");font-weight:100 800;font-style:normal;font-display:swap}

/* Light-only. The dark palette and the html.light switch were removed on purpose;
   the site has no dark theme. (The teal footer band is a surface, not a theme.)

   Palette (2026-09): the four brand swatches are the only hues on the site. Every
   other value below is one of them moved in lightness only, so a swatch change is a
   four-line edit. Contrast figures are WCAG 2.x ratios, computed, not eyeballed. */
:root{
    color-scheme: light;

    /* The four swatches, verbatim. */
    --teal:#1F484E;   /* dark: ink, headings, buttons, the footer band */
    --mint:#C1D6D5;   /* cool surface, full strength: deliberate brand moments only */
    --peach:#F2BEA8;  /* warm surface, full strength: selection, highlighted chips */
    --coral:#E55F5F;  /* accent: the dot in the logo, live/rec marks, glows, large text */

    /* Derived shades — same hue, lightness only. */
    --teal-2:#2A5C63;      /* hover for teal fills: 7.5:1 under white */
    --coral-deep:#B33B3B;  /* the accent as SMALL text (below 24px): 5.4:1 on --bg,
                              4.5:1 on --bg-2 and --bg-3, 5.8:1 under white. Bright
                              --coral is only 3.2:1 on --bg, so it never carries
                              small text or a white-text button. */

    /* Surfaces. Tints of mint and peach; the full swatches are reserved. */
    --bg:#F3F7F6;     /* page */
    --bg-2:#D9E6E5;   /* panels, tiles, hover — mint tint */
    --bg-3:#F7DFD3;   /* image placeholders, tracks — peach tint */

    /* Ink. All teal; --mute clears 4.5:1 on --bg, --bg-2, --bg-3 and full --mint. */
    --ink:var(--teal);
    --ink-2:#33595F;
    --mute:#3E6065;
    --line:rgba(31,72,78,.14);
    --line-2:rgba(31,72,78,.08);
    --line-strong:rgba(31,72,78,.62); /* form-field boundaries: 3:1 on every surface */

    /* Accent. The names predate the palette; every sheet reads them. */
    --red:var(--coral);
    --red-deep:var(--coral-deep);

    /* Buttons: teal fill, white text (10:1). Coral cannot carry white text at AA. */
    --btn:var(--teal);
    --btn-hover:var(--teal-2);
    --btn-ink:#fff;

    /* Text selection: peach under teal text (6.1:1). */
    --sel-bg:var(--peach);
    --sel-ink:var(--teal);

    --grid-gap: clamp(16px, 2vw, 28px);
    /* Section rhythm on /: 120px on desktop, 64px on a phone (it was a fixed 120–160px,
       which put ~2,900px of padding on a phone-width page). */
    --s-section: clamp(64px, 12vw, 120px);
    --s-section-lg: clamp(80px, 14vw, 160px);
    --pad-x: clamp(20px, 4vw, 56px);
    --font-display: "General Sans", "Söhne", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  }

/* Motion. Every page loads this sheet, so one rule covers the scan, blink, pulse,
   hover and grow animations; the forwards-filled ones (scan, grow) land on their
   end state, the infinite ones stop. */
@media (prefers-reduced-motion:reduce){*,::before,::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
