/* Design tokens – "Baltic daybreak". Change values here only. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-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;
}

:root {
  /* Colour */
  --fog: #f6f8f8;
  --surface: #ffffff;
  --ink: #0b2230;
  --muted: #435663;
  --line: #dde4e5;
  --tide: #0a6b73;
  --tide-dark: #07525a;
  --amber: #f0a30a;
  --ink-soft: #1d3a4a;
  --on-tide: #dcf0f1; /* secondary text on --tide, tinted from the field */
  --on-ink: #c4d6dc; /* secondary text on --ink */
  --danger: #c5321f;
  --success: #1e7a4c;

  /* Type */
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-0: 1rem;
  --fs-1: 1.125rem;
  --fs-2: 1.25rem;
  --fs-3: 1.5rem;
  --fs-4: 1.75rem;
  --fs-5: 2.5rem;
  --fs-6: clamp(2.25rem, 1.2rem + 5vw, 3.5rem);
  --fs-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2.3vw, 3rem);
  --fs-display: clamp(2.375rem, 1.4rem + 3.9vw, 4.25rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Fine grain for the colour fields (ink, tide, hero) so flat fills do not read as sterile */
  --grain: none;

  /* Shape: radius follows hierarchy */
  --r-control: 10px;
  --r-panel: 16px;
  --r-chip: 999px;

  /* Layout */
  --gutter: 1rem;
  --wrap: 76rem;
  --header-h: 4.5rem;

  /* Shadow: only floating price panel and hero browser frame */
  --shadow-float: 0 24px 48px -24px rgb(11 34 48 / 0.22), 0 1px 3px rgb(11 34 48 / 0.06);
}

@media (max-width: 22.5em) {
  :root {
    --gutter: 0.75rem;
  }
}

@media (min-width: 48em) {
  :root {
    --gutter: 2rem;
  }
}
