/* ==========================================================================
   ARCTIC BIO LABS BRAND FILE for design system v2 (master-kb/design-system/).
   Colour and font roles: a cool near-white ground, deep arctic navy as primary, ice blue tints,
   metallic silver for borders, chips, badges and offer flags, navy ink. Red only for savings and
   warnings; stars a warm amber that passes 3:1. No green, no yellow, no cream.
   Fonts: Clash Grotesk (headings) and Satoshi (body, labels, buttons), from Fontshare
   (ITF Free Font License, /theme/fonts/FONTSHARE-FFL.txt).
   Arctic-only rules a section needs live in ds2/arctic.css (tokens only), loaded after this file.
   ========================================================================== */

@font-face { font-family: "Clash Grotesk"; src: url("/theme/fonts/clashgrotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/theme/fonts/clashgrotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/theme/fonts/clashgrotesk-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/theme/fonts/clashgrotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: "Satoshi"; src: url("/theme/fonts/satoshi-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/theme/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/theme/fonts/satoshi-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/theme/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/theme/fonts/satoshi-700.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

/* β: neither Fontshare face has U+03B2, so the page would draw it in each device's system font. One glyph from
   Inter (OFL, /theme/fonts/INTER-OFL.txt) joins both families by unicode-range, so β matches on every device. */
@font-face { font-family: "Clash Grotesk"; src: url("/theme/fonts/beta-500.woff2") format("woff2"); font-weight: 400 500; unicode-range: U+03B2; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/theme/fonts/beta-600.woff2") format("woff2"); font-weight: 600; unicode-range: U+03B2; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/theme/fonts/beta-700.woff2") format("woff2"); font-weight: 700; unicode-range: U+03B2; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/theme/fonts/beta-400.woff2") format("woff2"); font-weight: 300 400; unicode-range: U+03B2; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/theme/fonts/beta-500.woff2") format("woff2"); font-weight: 500; unicode-range: U+03B2; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/theme/fonts/beta-700.woff2") format("woff2"); font-weight: 600 700; unicode-range: U+03B2; font-display: swap; }

:root {
  --ds-font-display: "Clash Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ds-font-body: "Satoshi", system-ui, -apple-system, sans-serif;
  --ds-font-system: "Satoshi", system-ui, -apple-system, sans-serif;
  --ds-font-button-plain: "Satoshi", Arial, Helvetica, sans-serif;

  /* Grounds */
  --ds-color-page: #f5f8fb;              /* cool near-white page ground */
  --ds-color-surface: #ffffff;           /* cards */
  --ds-color-surface-tint: #e7f0f8;      /* ice blue: tint sections and panels */
  --ds-color-surface-tint-2: #e4eef8;    /* selected tier */
  --ds-color-surface-tint-3: #dce8f4;
  --ds-color-surface-tint-4: #ffffff;
  --ds-color-surface-guarantee: #e7f0f8;
  --ds-color-surface-review: #eef4fa;
  --ds-color-surface-sticky: #ffffff;
  --ds-color-surface-warm: #eef3f8;      /* the system's "warm" ground, kept cool */
  --ds-color-surface-warm-2: #f5f8fb;
  --ds-color-surface-paper: #f5f8fb;
  --ds-color-surface-selected: #e4eef8;
  --ds-color-surface-faq: #ffffff;
  --ds-color-header: #ffffff;
  --ds-color-header-nav: #ffffff;

  /* Arctic navy */
  --ds-color-primary: #0d3b6e;           /* CTA, selected tier, fills */
  --ds-color-primary-deep: #0a2a50;      /* dark bands */
  --ds-color-primary-mid: #12406f;       /* band middle, active steps */
  --ds-color-primary-soft: #1d4f82;
  --ds-color-primary-ink: #0d3b6e;       /* subtitles, eyebrows, pill-button ink */
  --ds-color-primary-ink-hover: #0a2f59;
  --ds-color-primary-ink-active: #082647;
  --ds-color-primary-text: #0d3b6e;      /* primary as small text */
  --ds-color-footer: #0a2a50;
  --ds-color-ritual: #0a2a50;
  --ds-color-panel-deep: #071d38;        /* band gradient end */
  --ds-color-band-from: #17508a;         /* band gradient start */
  --ds-color-surface-ticker: #e3e8ee;   /* the ticker's solid silver (check stroke); its ground is the brushed silver below */
  --ds-color-on-ticker: #0b0f14;
  --ds-color-accent: #1d5c96;            /* blue text, checks, dots, chart highlight (6:1 on the ice tint) */
  --ds-color-accent-faint: #7a8a9e;      /* steel silver: unselected tier, plan button and radio edge (3:1 on the page ground) */
  --ds-color-accent-ghost: rgba(13, 59, 110, 0.14);
  --ds-color-accent-bright: #a8d2f2;     /* ice blue on dark grounds */
  --ds-color-accent-2: #0d3b6e;
  --ds-color-accent-2-bright: #1d5c96;
  --ds-color-on-primary: #ffffff;
  --ds-color-on-primary-muted: rgba(255, 255, 255, 0.84);
  --ds-color-on-warm-btn: #f5f8fb;
  --ds-color-on-cta-muted: rgba(255, 255, 255, 0.88);
  --ds-btn-was-opacity: 0.75;
  --ds-color-on-dark-soft: #f5f8fb;

  /* Navy ink */
  --ds-color-text: #0b1f38;
  --ds-color-text-strong: #0b1f38;
  --ds-color-text-muted: #31465e;
  --ds-color-text-faint: #5b6b7e;        /* compare-at, captions */
  --ds-color-text-timer: #0b1f38;
  --ds-color-text-timer-label: #5b6b7e;
  --ds-color-text-author: #5b6b7e;
  --ds-color-guarantee-title: #0b1f38;
  --ds-color-guarantee-text: #31465e;
  --ds-color-highlight-text: #0d3b6e;
  --ds-color-verified: #1d5c96;
  --ds-color-review-chip: #31465e;
  --ds-color-tab-inactive: #5b6b7e;

  /* Metallic silver */
  --ds-color-border: #d3dbe4;            /* hairlines, card borders */
  --ds-color-border-card: #c9d3de;
  --ds-color-border-offer: #7a8a9e;
  --ds-color-border-guarantee: #c9d3de;
  --ds-color-border-footer: rgba(255, 255, 255, 0.22);
  --ds-color-pill: #eef2f6;
  --ds-color-pill-border: #c3ccd6;
  --ds-color-pill-text: #0d3b6e;
  --ds-color-chart-bar: #c3ccd6;
  --ds-color-timeline-line: #c3ccd6;
  --ds-color-timeline-ink-active: #ffffff;
  /* Offer flags: a brushed silver fill (the badge role is only ever drawn as a background). */
  --ds-color-badge: linear-gradient(135deg, #f7f9fb 0%, #d6dde5 40%, #f1f4f7 62%, #bcc6d1 100%);
  --ds-color-badge-line: #a6b1be;
  --ds-color-badge-text: #0b1f38;

  /* Brand roles (no system default), read by ds2/arctic.css.
     Black: the timeline step heads and the ticker ink. Silver text: a brushed gunmetal-to-silver gradient for the accent
     word of a headline on a light ground, built from the solid (its text colour) and a sheen; its lightest stop keeps 3:1 on the
     page and tint grounds. */
  --abl-black: #0b0f14;
  --abl-silver-text-solid: #161c24;
  --abl-silver-hi: #7d8a9b;              /* the highlight band: 3.3:1 on the page ground, 3:1 on the ice tint */
  --abl-silver-text: linear-gradient(100deg, currentColor 0%, color-mix(in srgb, currentColor 55%, var(--abl-silver-hi)) 9%, var(--abl-silver-hi) 17%, color-mix(in srgb, currentColor 35%, var(--abl-silver-hi)) 24%, currentColor 33%, color-mix(in srgb, currentColor 70%, var(--abl-silver-hi)) 41%, var(--abl-silver-hi) 50%, var(--abl-silver-hi) 53%, color-mix(in srgb, currentColor 45%, var(--abl-silver-hi)) 61%, currentColor 70%, color-mix(in srgb, currentColor 40%, var(--abl-silver-hi)) 81%, var(--abl-silver-hi) 89%, color-mix(in srgb, currentColor 60%, var(--abl-silver-hi)) 96%, currentColor 100%);
  --abl-silver-ground: linear-gradient(100deg, #eef1f4 0%, #d3dae2 22%, #f7f9fb 42%, #c9d1da 64%, #eef1f4 82%, #d6dde5 100%);
  --abl-silver-line: #a6b1be;
  --abl-line-wash: rgba(29, 92, 150, 0.16);
  --abl-line-wash-end: rgba(29, 92, 150, 0);

  /* Savings, warnings, stars, live dot */
  --ds-color-sale: #b42318;
  --ds-color-sale-soft: #fdeceb;
  --ds-color-sale-line: #f3c1bd;
  --ds-color-star: #b97300;              /* warm amber, 3.8:1 on white */
  --ds-color-star-alt: #b97300;
  --ds-color-star-sticky: #b97300;
  --ds-color-star-on-dark: #f0b44c;      /* brand role (no system default): amber stars on the navy band, 4.4:1 */
  --ds-color-success: #2b7bc0;           /* in-stock dot, ice blue instead of green */
  --ds-color-success-2: #2b7bc0;

  /* Washes */
  --ds-color-shadow: rgba(11, 31, 56, 0.12);
  --ds-color-hero-overlay: rgba(7, 29, 56, 0.6);
  --ds-color-overlay: rgba(7, 29, 56, 0.5);
  --ds-color-scrim: rgba(7, 29, 56, 0.45);
  --ds-color-glass-bar: rgba(255, 255, 255, 0.14);
}

/* ---------- Type for a 45 to 65 reader (as the Respiria brand file) ----------
   No desktop zoom; the container keeps a 1190px content box at 1440. The floors lift every
   text role: body 18px on phones and tablets, 19px on desktop; secondary 15px; labels 13px. */
:root {
  --ds-zoom-915: 1;
  --ds-zoom-1170: 1;
  --ds-zoom-1400: 1;
  --ds-container-w: 1290px;

  --ds-display-size: 52px;   --ds-display-lh: 60px;
  --ds-h1-size: 44px;        --ds-h1-lh: 50px;
  --ds-h2-size: 40px;        --ds-h2-lh: 46px;
  --ds-h3-size: 25px;        --ds-h3-lh: 30px;
  --ds-h3-lg-size: 28px;     --ds-h3-lg-lh: 34px;
  --ds-eyebrow-size: 18px;   --ds-eyebrow-lh: 24px;
  --ds-lead-size: 24px;      --ds-lead-lh: 30px;
  --ds-body-size: 19px;      --ds-body-lh: 28px;
  --ds-small-size: 16px;     --ds-small-lh: 22px;
  --ds-micro-size: 15px;     --ds-micro-lh: 20px;
  --ds-nano-size: 13px;
  --ds-button-size: 22px;
  --ds-price-size: 19px;     --ds-price-lh: 24px;
  --ds-price-compare-size: 16px; --ds-price-compare-lh: 20px;

  --ds-fs-min-body: 19px;
  --ds-fs-min-secondary: 15px;
  --ds-fs-min-label: 13px;
  --ds-fs-min-title: 22px;
  --ds-type-head-k: 1;
  --ds-lh-min-body: 1.45;
  --ds-lh-min-secondary: 1.3;
  --ds-lh-min-label: 1.1;
  --ds-lh-min-title: 1.2;
}
@media (max-width: 915px) {
  :root {
    --ds-display-size: 38px;   --ds-display-lh: 44px;
    --ds-h1-size: 34px;        --ds-h1-lh: 38px;
    --ds-h2-size: 32px;        --ds-h2-lh: 37px;
    --ds-h3-size: 22px;        --ds-h3-lh: 27px;
    --ds-h3-lg-size: 26px;     --ds-h3-lg-lh: 32px;
    --ds-eyebrow-size: 15px;   --ds-eyebrow-lh: 20px;
    --ds-lead-size: 21px;      --ds-lead-lh: 27px;
    --ds-body-size: 18px;      --ds-body-lh: 26px;
    --ds-small-size: 15px;     --ds-small-lh: 21px;
    --ds-micro-size: 15px;     --ds-micro-lh: 20px;
    --ds-button-size: 19px;
    --ds-price-size: 18px;     --ds-price-lh: 22px;
    --ds-price-compare-size: 15px; --ds-price-compare-lh: 19px;

    --ds-fs-min-body: 18px;
    --ds-fs-min-title: 20px;
    --ds-type-head-k: 1.15;
  }
}
@media (min-width: 916px) and (max-width: 1279px) {
  :root { --ds-hero-offer-media-w: 46%; --ds-hero-offer-gap: 32px; }
}
