/* WMY 53 tokens. Every value mirrors 3-design-system/design.md; change design.md first. */
:root{
  --c-surface:#061B31;
  --c-surface-deep:#03101F;
  --c-on-surface:#F2E9E0;
  --c-on-surface-muted:#9FB3D1;
  --c-primary:#248FFF;
  --c-primary-hover:#93E4FD;
  --c-cta:#8B32FF;        /* the lighter purple from the WMY 53 pattern frames, main call to action */
  --c-on-cta:#FFFFFF;     /* white, not cream: cream on #8B32FF is 4.4:1 and fails AA */
  --c-cta-hover:#6F00FF;  /* Purpleprint */
  --c-focus:#93E4FD;
  --c-line:#248FFF;
  --c-line-faint:#0D355E;
  --c-line-modal:#0E3C6B;
  --c-line-pattern:#0139A8;
  --c-scrim:#061B31;
  --c-pattern-solid:#0139A8;
  --c-accent-blueprint1:#0139A8;
  --c-accent-blueprint2:#248FFF;
  --c-accent-blueprint3:#93E4FD;
  --c-accent-purpleprint:#6F00FF;
  --c-accent-greenprint:#20C7AD;

  --f-serif:'Cormorant Garamond',Garamond,Georgia,serif;
  --f-sans:'Inter Tight','Helvetica Neue',Helvetica,Arial,sans-serif;

  --t-display-size:4.5rem;   --t-display-weight:700; --t-display-lh:1;    --t-display-ls:-0.01em;
  --t-theme-size:2.125rem;   --t-theme-weight:500;   --t-theme-lh:1.1;
  --t-kicker-size:1.25rem;   --t-kicker-weight:200;  --t-kicker-ls:0.04em;
  --t-data-size:1.375rem;     --t-data-weight:200;    --t-data-lh:1.2;
  --t-count-size:2.5rem;     --t-count-weight:200;   --t-count-lh:1;
  --t-body-size:1rem;        --t-body-weight:400;    --t-body-lh:1.5;
  --t-small-size:0.875rem;   --t-small-weight:400;   --t-small-lh:1.5;
  --t-label-size:0.75rem;    --t-label-weight:500;   --t-label-lh:1.3;   --t-label-ls:0.16em;
  --t-button-size:0.8125rem; --t-button-weight:600;  --t-button-lh:1;    --t-button-ls:0.08em;

  --rounded-none:0;
  --space-xs:0.25rem; --space-sm:0.5rem; --space-md:1rem; --space-lg:1.5rem;
  --space-xl:2.5rem;  --space-2xl:4rem;  --space-3xl:6rem;
  --space-frame-overrun:1.5rem; --space-frame-overrun-sm:0.75rem;
  --container:90rem; --page-max-width:108rem; --page-max-height:67.5rem;

  /* motion: one curve for responses, one even curve for drawn lines (the modal's named exception) */
  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-draw:cubic-bezier(.45,.05,.35,1);
}

/* Fluid engine, canonical block (docs/design/responsive-system.md §2), copied verbatim */
:root {
  --font-from: 18;
  --font-to: 20;
  --vw-from: calc(1920 / 100);
  --vw-to: calc(2400 / 100);
  --coefficient: calc((var(--font-to) - var(--font-from)) / (var(--vw-to) - var(--vw-from)));
  --base: calc((var(--font-from) - var(--vw-from) * var(--coefficient)) / 16);
}
html {
  font-size: calc(var(--base) * 1rem + var(--coefficient) * 1vw);
}
@media screen and (max-width: 1920px) {
  :root { --font-from: 16; --font-to: 18; --vw-from: calc(1440 / 100); --vw-to: calc(1920 / 100); }
}
@media screen and (max-width: 1440px) {
  :root { --font-from: 14; --font-to: 16; --vw-from: calc(479 / 100); --vw-to: calc(1440 / 100); }
}
@media screen and (max-width: 479px) {
  :root { --font-from: 12; --font-to: 16; --vw-from: calc(1 / 100); --vw-to: calc(479 / 100); }
}
@media screen and (min-width: 2400px) { html { font-size: 20px; } }
