/* TradeMe design tokens — single light theme (no dark mode, by design).
   Fonts are self-hosted, versioned folders + `current` symlink. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("../fonts/bricolage-grotesque/current/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque/current/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("../fonts/bricolage-grotesque/current/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque/current/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/atkinson-hyperlegible-next/current/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/atkinson-hyperlegible-next/current/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/atkinson-hyperlegible-next/current/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/atkinson-hyperlegible-next/current/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/atkinson-hyperlegible-next/current/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2-variations"),
       url("../fonts/atkinson-hyperlegible-next/current/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* colour */
  --paper: #E9F0F3;        /* page background (cool mist) */
  --surface: #FFFFFF;      /* cards, forms, slips */
  --ink: #0F2233;          /* body text, headings */
  --ink-2: #33495A;        /* secondary text (≥ 7:1 on paper and white) */
  --teal: #0B6B5D;         /* primary buttons / links */
  --teal-ink: #084C42;     /* hover / pressed */
  --teal-tint: #DCEFEA;    /* quiet teal fill (selected states) */
  --stub: #FFCB45;         /* the slip's stamp + their-half accent */
  --stub-soft: #FFF3CF;    /* light stub fill */
  --line: #BFD0D9;         /* hairlines, perforation */
  --mist-2: #F4F8FA;       /* the middle stub of a ring, zebra rows */
  --safe: #1F7A3A;         /* met requirement / verified */
  --safe-bg: #E3F3E7;
  --warn: #8A5A00;         /* pending requirement */
  --warn-bg: #FFF1D6;
  --alert: #B42318;        /* safety alerts, "I feel unsafe" */
  --alert-bg: #FDECEA;

  /* type */
  --font-display: "Bricolage Grotesque", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-0: 0.9375rem;   /* the floor: nothing smaller */
  --fs-1: 1rem;
  --fs-2: 1.125rem;
  --fs-3: 1.375rem;
  --fs-4: 1.75rem;
  --fs-5: 2.25rem;
  --fs-6: 3rem;
  --fs-7: 4rem;        /* hero */
  --lh-body: 1.55;
  --lh-display: 1.1;

  /* shape */
  --r-slip: 16px;
  --r-card: 12px;
  --r-btn: 10px;
  --shadow-slip: 0 1px 0 var(--line), 0 10px 24px -14px rgba(15, 34, 51, .35);
  --tap: 3rem;          /* 48px minimum control height */
  --container: 76rem;
  --gutter: 1rem;       /* 16px at phone width */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;

  /* Bootstrap 5.3 hooks so its components inherit the look */
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 500;
  --bs-body-line-height: var(--lh-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-secondary-color: var(--ink-2);
  --bs-border-color: var(--line);
  --bs-link-color: var(--teal);
  --bs-link-color-rgb: 11, 107, 93;
  --bs-link-hover-color: var(--teal-ink);
  --bs-link-hover-color-rgb: 8, 76, 66;
  --bs-primary: var(--teal);
  --bs-primary-rgb: 11, 107, 93;
  --bs-border-radius: var(--r-btn);
  --bs-focus-ring-color: rgba(11, 107, 93, .35);
}

@media (min-width: 768px) {
  :root { --gutter: 1.5rem; }
}
