/* Glossom store · tokens (shared, owned by the foundation).
   Stepped surface: Powder page > card > raised > white stage/selected, with an inset floor.
   Tangerine marks the chosen pack and the primary action only. Cobalt (Sky in dark) is the focus ring only. */

@font-face{font-family:"Euclid";src:url("../fonts/EuclidCircularB-Regular.otf") format("opentype");font-weight:400;font-display:block}
@font-face{font-family:"Euclid";src:url("../fonts/EuclidCircularB-Medium.otf") format("opentype");font-weight:500;font-display:block}
@font-face{font-family:"Euclid";src:url("../fonts/EuclidCircularB-Semibold.otf") format("opentype");font-weight:600;font-display:block}
@font-face{font-family:"Banana";src:url("../fonts/mnkybananagrotesk-light.otf") format("opentype");font-weight:300;font-display:block}
@font-face{font-family:"Banana";src:url("../fonts/mnkybananagrotesk-bold.otf") format("opentype");font-weight:700;font-display:block}

:root{
  /* surfaces, light (Powder, hue 214) */
  --page:#C2DBFF;          /* Powder, the pouch */
  --card:#E3EEFF;          /* step 1: pack options, rows */
  --raised:#F1F6FF;        /* step 2: wells, overlays, switch track */
  --stage:#FFFFFF;         /* step 3: where the product sits; the chosen pack */
  --inset:#EEF3FB;         /* the floor under the stage pouches; sunk fields */

  /* ink */
  --ink:#252628;           /* Space */
  --ink-2:#46506A;
  --ink-3:#7C89A3;
  --line:rgba(37,38,40,.14);
  --line-strong:rgba(37,38,40,.32);
  --edge:rgba(37,38,40,.08);

  /* accent: Tangerine ramp */
  --accent-tint:#F6B48C;
  --accent:#EB7029;
  --accent-hover:#D9611D;
  --accent-press:#C05316;
  --on-accent:#252628;

  /* brand extras (sparingly; never as fills on UI chrome) */
  --egg:#FFED8F;
  --sky:#63A6FF;
  --mint:#9EE8BD;
  --cobalt:#0000D4;

  --link:#252628;          /* links are ink, underlined */
  --focus:#0000D4;         /* Cobalt: focus ring only */
  --thumb:#C2DBFF;         /* shore switch thumb: pouch blue */
  --patch:#FFFFFF;         /* the patch disc, filled */
  --btn-off:#A9C8F3;
  --field:#FFFFFF;         /* input fill */
  --error:#B3261E;         /* text-weight only: field error copy and its 1.5px ring */
  --error-bg:#FFF1EC;
  --warn-bg:#FFF8D6;       /* Egg, lifted */

  --pouch-shadow:rgba(37,38,40,.20);
  --overlay-shadow:0 0 0 1px rgba(37,38,40,.10),0 2px 6px rgba(37,38,40,.06),0 24px 48px -16px rgba(37,38,40,.30);
  --scrim:rgba(20,22,26,.32);
  --logo-light:block; --logo-dark:none;

  /* radius scale */
  --r-stage:24px; --r-card:18px; --r-ctl:14px; --r-well:10px; --r-pill:999px;

  /* motion */
  --ease:cubic-bezier(.2,.9,.25,1);
  --t-fast:120ms; --t:150ms; --t-disc:240ms; --t-sheet:160ms;

  /* layout */
  --max:1440px; --gutter:48px;

  color-scheme:light;
}

@media (max-width:900px){ :root{ --gutter:16px; } }

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --page:#14161A; --card:#1E2127; --raised:#282C34; --stage:#2E333D; --inset:#23272E;
    --ink:#EEF3FF; --ink-2:#A7B2C7; --ink-3:#6B768B; --line:rgba(238,243,255,.14); --line-strong:rgba(238,243,255,.34); --edge:rgba(238,243,255,.08);
    --accent-hover:#F3823F; --accent-press:#D9611D;
    --link:#EEF3FF; --focus:#63A6FF; --btn-off:#2A2F38; --thumb:#3C4A63; --patch:#F4F7FF;
    --field:#23272E; --error:#FF8A80; --error-bg:#3A2422; --warn-bg:#3A3520;
    --pouch-shadow:rgba(0,0,0,.45);
    --overlay-shadow:0 0 0 1px rgba(238,243,255,.10),0 24px 48px -16px rgba(0,0,0,.6);
    --scrim:rgba(0,0,0,.5);
    --logo-light:none; --logo-dark:block;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --page:#14161A; --card:#1E2127; --raised:#282C34; --stage:#2E333D; --inset:#23272E;
  --ink:#EEF3FF; --ink-2:#A7B2C7; --ink-3:#6B768B; --line:rgba(238,243,255,.14); --line-strong:rgba(238,243,255,.34); --edge:rgba(238,243,255,.08);
  --accent-hover:#F3823F; --accent-press:#D9611D;
  --link:#EEF3FF; --focus:#63A6FF; --btn-off:#2A2F38; --thumb:#3C4A63; --patch:#F4F7FF;
  --field:#23272E; --error:#FF8A80; --error-bg:#3A2422; --warn-bg:#3A3520;
  --pouch-shadow:rgba(0,0,0,.45);
  --overlay-shadow:0 0 0 1px rgba(238,243,255,.10),0 24px 48px -16px rgba(0,0,0,.6);
  --scrim:rgba(0,0,0,.5);
  --logo-light:none; --logo-dark:block;
  color-scheme:dark;
}
