/* SIL OFL: fonts/OFL-*.txt */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('fonts/montserrat-latin.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/source-sans-3-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/source-sans-3-latin.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;
}

/*
 * This landing has no Tailwind: src/styles/tokens.css already exposes the
 * whole palette as plain hex custom properties on :root, and every component
 * consumes them by name (--color-navy-700, --color-teal-500, …). Rather than
 * introduce a parallel Tailwind-style scale (as blood-pressure-diary's
 * src/brand/index.ts does for its Tailwind build), the SWTec brand overrides
 * those same token names for :root[data-brand="swtec"] (set by BaseLayout /
 * MarketingLayout from `brand.id`) with the SWTec palette from
 * src/brand/companies/swtec.ts. The neutral "slate" scale is left alone: it
 * already matches SWTec's ink scale almost exactly.
 */
:root[data-brand='swtec'] {
  /* Navy → SWTec ink/blue. Ping uses navy-700 as both the primary dark
     surface (header/footer/hero) and body text color (--fg). */
  --color-navy-50: #e5f3ff;
  --color-navy-100: #cce6fe;
  --color-navy-200: #99cdfd;
  --color-navy-300: #0070d6;
  --color-navy-500: #005fb0;
  --color-navy-700: #000d18;
  --color-navy-800: #000a13;
  --color-navy-900: #00060c;

  /* Teal / Sky accents both become SWTec Blue — the brand has one accent. */
  --color-teal-50: #e5f3ff;
  --color-teal-100: #cce6fe;
  --color-teal-300: #38a1f7;
  --color-teal-500: #0084f1;
  --color-teal-700: #005fb0;
  --color-teal-900: #00365f;

  --color-sky-50: #e5f3ff;
  --color-sky-100: #cce6fe;
  --color-sky-300: #38a1f7;
  --color-sky-500: #0084f1;
  --color-sky-700: #005fb0;

  --color-link: #0084f1;
  --color-link-hover: #005fb0;

  --font-sans: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  /* src/styles/global.css uses its own, differently-named token set for the
     legal pages BaseLayout renders (MarketingLayout uses tokens.css, above). */
  --color-fg: #000d18;
  --color-accent: #0084f1;
  --font-stack-body: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
}

:root[data-brand='swtec'] h1,
:root[data-brand='swtec'] h2,
:root[data-brand='swtec'] .hero__headline,
:root[data-brand='swtec'] .wordmark-text,
:root[data-brand='swtec'] .footer-wordmark span {
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
}
