/* ==========================================================================
   Panda Kids — design tokens. One source of truth: colour, type, space,
   radius, shadow, buttons. Anything visual should point here, not at a literal.
   ========================================================================== */
:root{
  /* palette — 9 colours, nothing else */
  --pk-ink:#1d1a14;        /* charcoal: text + dark surfaces */
  --pk-ink-2:#3a342a;      /* secondary charcoal */
  --pk-grey:#5c615c;       /* muted text */
  --pk-grey-2:#8a8f8a;     /* faint text */
  --pk-gold:#F2B544;       /* brand gold: accents + primary button */
  --pk-gold-deep:#B8841A;  /* gold that must pass contrast on light */
  --pk-cream:#F6F1E7;      /* warm paper */
  --pk-paper:#ffffff;      /* pure white surfaces */
  --pk-line:rgba(17,17,17,.14);
  --pk-danger:#b3261e;

  /* type — 4 UI sizes + 3 display sizes */
  --t-1:12px;
  --t-2:13.5px;
  --t-3:15px;
  --t-4:18px;
  --t-d1:22px;
  --t-d2:30px;
  --t-d3:44px;

  /* space — one scale: 4 8 12 16 24 32 48 */
  --s-1:4px;
  --s-2:8px;
  --s-3:12px;
  --s-4:16px;
  --s-5:24px;
  --s-6:32px;
  --s-7:48px;

  /* radius */
  --rad-s:10px;
  --rad-m:12px;
  --rad-l:16px;
  --rad-xl:22px;

  /* shadow — two, no more */
  --sh-1:0 1px 2px rgba(17,17,17,.06);
  --sh-2:0 10px 24px rgba(17,17,17,.10);

  /* the tab bar reserves this much room at the bottom of every page */
  --tabbar-space:calc(96px + env(safe-area-inset-bottom,0px));
}

/* three button styles, one geometry */
.btn-1,.btn-2,.btn-3{display:inline-flex;align-items:center;justify-content:center;gap:var(--s-2);min-height:44px;padding:0 var(--s-4);border-radius:var(--rad-m);border:1px solid transparent;font:inherit;font-weight:700;font-size:var(--t-3);line-height:1;text-decoration:none;cursor:pointer}
.btn-1{background:var(--pk-gold);color:var(--pk-ink)}
.btn-2{background:var(--pk-ink);color:var(--pk-cream)}
.btn-3{background:transparent;color:var(--pk-ink);border-color:var(--pk-line)}
