/* ShelfSure public pages (landing, calculators, guides, legal, supplier portal). Tokens: see DESIGN.md.
   Not loaded in the embedded admin, which is Polaris-only. Fonts are self-hosted (OFL, public/fonts). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-ext-full-normal.woff2) format("woff2-variations");
  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: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-full-normal.woff2) format("woff2-variations");
  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: "Albert Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/albert-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  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: "Albert Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/albert-sans-latin-wght-normal.woff2) format("woff2-variations");
  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 {
  /* Night navy ink, warm paper, a hot "empty shelf" signal, lime for stock that is fine. */
  --ink: #0c1a45;
  --ink-2: #3a4466;
  --muted: #5a6283;
  --paper: #f1eee8;
  --surface: #fbfaf7;
  --line: #d9d5cd;
  --line-soft: #e6e2da;
  --signal: #d93d14; /* large text and graphics only (3.9:1 on paper) */
  --signal-ink: #b8320e; /* small text in the signal colour (5.2:1) */
  --coral: #ff6a3d;
  --lime: #cff35a;
  --night: #0c1a45;
  --night-2: #16275c;
  --on-night: #f1eee8;
  --on-night-2: #a9b0cc;
  --accent: #0c1a45; /* primary buttons */
  --accent-ink: #050d2b;
  --accent-bright: #cff35a;
  --accent-tint: #e7f5c2;
  --danger: #b8320e;
  --danger-tint: #fde6dd;
  --warn: #b5650b;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  accent-color: var(--ink);
  -webkit-tap-highlight-color: rgba(12, 26, 69, 0.12);
}

html {
  touch-action: manipulation;
  scroll-padding-top: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Phones: 16px inputs so iOS does not zoom in on focus. */
@media (max-width: 600px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 2px;
}

a {
  color: var(--ink);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}
