/* Measured design tokens as CSS variables.
   Mirror of tokens.json. Change tokens.json first, then this file. */

@import url("https://fonts.googleapis.com/css2?family=DynaPuff:wght@500;700&family=DM+Sans:wght@400;500;600&display=swap");

:root {
  /* colour */
  --m-ink: #1B1B1B;
  --m-cushion: #FFFBF2;
  --m-surface: #FFFFFF;
  --m-sunken: #F1EADB;
  --m-muted: #55504A;
  --m-tape: #F76707;
  --m-tape-text: #9A3D00;
  --m-case: #FFD43B;
  --m-fits-bg: #DDF3E4;
  --m-fits-text: #0E4F2F;
  --m-nearly-bg: #FFE3C7;
  --m-nearly-text: #7A3200;
  --m-handle: #F76707;

  /* type */
  --m-font-display: 'DynaPuff', system-ui, sans-serif;
  --m-font-body: 'DM Sans', system-ui, sans-serif;
  --m-text-caption: 12px;
  --m-text-small: 13px;
  --m-text-body: 15px;
  --m-text-lead: 17px;
  --m-text-h3: 20px;
  --m-text-h2: 28px;
  --m-text-h1: 40px;
  --m-text-input: 16px;
  --m-leading-tight: 1.05;
  --m-leading-snug: 1.25;
  --m-leading-body: 1.5;

  /* space */
  --m-space-1: 4px;
  --m-space-2: 8px;
  --m-space-3: 12px;
  --m-space-4: 16px;
  --m-space-5: 20px;
  --m-space-6: 24px;
  --m-space-8: 32px;
  --m-space-10: 40px;
  --m-space-14: 56px;

  /* shape */
  --m-radius-label: 12px;
  --m-radius-photo: 16px;
  --m-radius-card: 24px;
  --m-radius-pill: 999px;
  --m-border: 2px solid var(--m-ink);

  /* size */
  --m-touch-min: 44px;
  --m-button-h: 54px;
  --m-input-h: 48px;
  --m-page-max: 1320px;
  --m-gutter: 20px;

  /* motion */
  --m-squeeze: 400ms cubic-bezier(.5, 0, .3, 1);
  --m-release: 600ms cubic-bezier(.3, 1.6, .5, 1);
  --m-quick: 150ms ease-out;
}

@media (min-width: 900px) {
  :root { --m-gutter: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --m-squeeze: 1ms linear;
    --m-release: 1ms linear;
  }
}

body {
  margin: 0;
  background: var(--m-cushion);
  color: var(--m-ink);
  font-family: var(--m-font-body);
  font-size: var(--m-text-body);
  line-height: var(--m-leading-body);
}
