/*!
 * Riptide palette: handoff/palettes/riptide.css, unchanged.
 * Tokens only. theme.css and wp.css never name a colour; they read these, which
 * is what lets dark mode and the season engine recolour the whole theme.
 */
:root{
  --ink:#07263F;
  --blue:#007BA7;
  --blue-dk:#0A6E92;
  --blue-lt:#E2F4FB;
  --orange:#FF7A3D;
  --orange-dk:#E85D22;
  --sun:#BA8531;
  --mist:#F2FAFD;
  --line:#D5E8F2;
  --muted:#52708A;
  --tint:.30;
  --disp:'Outfit',ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:'Inter',ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:1200px;
  --r-sm:10px;
  --r-md:16px;
  --r-lg:24px;
  --r-pill:999px;
  --sh-1:0 1px 2px rgba(7,38,63,.06), 0 4px 14px rgba(7,38,63,.07);
  --sh-2:0 10px 34px rgba(7,38,63,.14);
  --head-h:74px;
  --paper:#FFFFFF;
  --header-bg:rgba(255,255,255,.95);
  --deep:#07263F;
  --on-deep:#F2FAFD;
  --on-deep-dim:rgba(255,255,255,.74);
  --rule-on-deep:rgba(255,255,255,.18);
  --on-primary:#07263F;
  --on-sun:#07263F;
  --on-sun-dim:rgba(0,0,0,.76);
}

/* Dark mode. Derived from the light palette and then measured —
   every pair below clears 4.8:1, not 4.5, so rounding cannot push
   it under. */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --mist:#00051B;
    --paper:#000E25;
    --deep:#00000F;
    --line:#032139;
    --header-bg:rgba(0,5,27,.95);
    --ink:#E1E9EC;
    --muted:#7D9CB8;
    --blue:#51B0DF;
    --blue-dk:#7DD0F8;
    --orange:#F67234;
    --orange-dk:#FF8E58;
    --blue-lt:#00183F;
    --sun:#BA8531;
    --on-deep:#E1E9EC;
    --on-deep-dim:rgba(225,233,236,.74);
    --rule-on-deep:rgba(225,233,236,.18);
    --on-primary:#FFFFFF;
    --on-sun:#1A1205;
    --on-sun-dim:rgba(26,18,5,.78);
  }
}

:root[data-theme="dark"]{
  --mist:#00051B;
  --paper:#000E25;
  --deep:#00000F;
  --line:#032139;
  --header-bg:rgba(0,5,27,.95);
  --ink:#E1E9EC;
  --muted:#7D9CB8;
  --blue:#51B0DF;
  --blue-dk:#7DD0F8;
  --orange:#F67234;
  --orange-dk:#FF8E58;
  --blue-lt:#00183F;
  --sun:#BA8531;
  --on-deep:#E1E9EC;
  --on-deep-dim:rgba(225,233,236,.74);
  --rule-on-deep:rgba(225,233,236,.18);
  --on-primary:#FFFFFF;
  --on-sun:#1A1205;
  --on-sun-dim:rgba(26,18,5,.78);
}
