@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype') tech(variations),
    url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype') tech(variations),
    url('../fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --nki-dark: rgb(33, 31, 30);
  --nki-white: rgb(255, 255, 255);
  --nki-gold: rgb(191, 154, 89);
  --nki-teal: rgb(0, 149, 169);
  --nki-teal-bright: #00d0ec;
  --nki-teal-light: rgba(0, 149, 169, 0.05);
  --nki-teal-soft: rgba(0, 149, 169, 0.1);
  --nki-teal-medium: rgba(0, 149, 169, 0.2);
  --nki-teal-strong: rgba(0, 149, 169, 0.24);
  --nki-teal-overlay-strong: rgba(0, 149, 169, 0.85);
  --nki-gold-light: rgba(191, 154, 89, 0.12);
  --nki-gold-soft: rgba(191, 154, 89, 0.15);
  --nki-gold-border: rgba(191, 154, 89, 0.3);
  --nki-gold-shadow: rgba(191, 154, 89, 0.25);
  --nki-dark-light: rgba(33, 31, 30, 0.65);
  --nki-red: #c5203a;
  --nki-red-bright: #ff4d4d;
  --nki-red-soft: rgba(255, 77, 77, 0.15);
  --nki-red-border: rgba(255, 77, 77, 0.25);
  --nki-red-border-strong: rgba(255, 77, 77, 0.4);
  --nki-red-shadow: rgba(255, 77, 77, 0.4);
  --nki-danger-bg: rgba(35, 15, 15, 0.4);
  --nki-danger-border: rgba(220, 53, 69, 0.3);
  --nki-danger-border-hover: rgba(220, 53, 69, 0.6);
  --nki-danger-shadow: rgba(220, 53, 69, 0.2);
  --nki-danger-shadow-hover: rgba(220, 53, 69, 0.3);
  --surface-page: #f8fafb;
  --surface-muted: #eaeaea;
  --surface-overlay-dark: rgba(0, 0, 0, 0.42);
  --surface-overlay-strong: rgba(0, 0, 0, 0.88);
  --surface-glass: rgba(255, 255, 255, 0.08);
  --surface-glass-hover: rgba(255, 255, 255, 0.15);
  --surface-glass-border: rgba(255, 255, 255, 0.15);
  --surface-white-00: rgba(255, 255, 255, 0);
  --surface-white-95: rgba(255, 255, 255, 0.95);
  --surface-white-50: rgba(255, 255, 255, 0.5);
  --surface-white-25: rgba(255, 255, 255, 0.25);
  --surface-white-10: rgba(255, 255, 255, 0.1);
  --text-muted: #6c757d;
  --text-danger-soft: #ffd6d6;
  --text-white-82: rgba(255, 255, 255, 0.82);
  --text-white-80: rgba(255, 255, 255, 0.8);
  --text-white-75: rgba(255, 255, 255, 0.75);
  --text-danger: #b42318;
  --border-subtle: rgba(0, 0, 0, 0.03);
  --border-light: rgba(0, 0, 0, 0.05);
  --border-strong: rgba(33, 31, 30, 0.08);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 15px 35px rgba(33, 31, 30, 0.1);
  --shadow-panel: 0 8px 25px rgba(33, 31, 30, 0.06);
  --shadow-panel-hover: 0 15px 35px rgba(33, 31, 30, 0.15);
  --shadow-teal: 0 4px 10px rgba(0, 149, 169, 0.2);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-hero-card: 0 15px 35px rgba(0, 0, 0, 0.2);
  --pulse-danger-start: rgba(255, 77, 77, 0.5);
  --pulse-danger-end: rgba(255, 77, 77, 0);
  --gradient-card-overlay: linear-gradient(to top, rgba(0, 149, 169, 0.85), rgba(0, 149, 169, 0.1));
  --gradient-card-accent: linear-gradient(90deg, var(--nki-teal), var(--nki-gold));
  --gradient-section-accent: linear-gradient(90deg, var(--nki-teal), var(--nki-teal-bright));
  --accessibility-bg: #000;
  --accessibility-text: #fff;
  --accessibility-accent: #ffeb3b;
  --accessibility-text-muted: #f3f3f3;
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  --shadow-sm: 0 4px 15px rgba(33, 31, 30, 0.04);
  --shadow-hover: 0 20px 40px rgba(33, 31, 30, 0.08);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
  --target-size-touch: 2.75rem;
  --severity-low-bg: #e8f7ef;
  --severity-low-border: #9fd8b3;
  --severity-low-text: #177245;
  --severity-medium-bg: #fff3dc;
  --severity-medium-border: #f2cf7a;
  --severity-medium-text: #9a6400;
  --severity-high-bg: #ffe7dc;
  --severity-high-border: #ffb38f;
  --severity-high-text: #b74413;
  --severity-critical-bg: #fde4e7;
  --severity-critical-border: #ee9aa6;
  --severity-critical-text: #a61b34;
  --font-sans: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1280px;
}

html[data-theme="dark"] {
  --surface-page: #121212;
  --surface-muted: #1e1e1e;
  --nki-dark: #f8fafb;
  --nki-dark-light: rgba(255, 255, 255, 0.65);
  --nki-white: #121212;
  --text-muted: #a0aab2;
  --text-danger-soft: rgba(255, 77, 77, 0.2);
  --text-danger: #ff6b6b;
  --text-white-82: rgba(0, 0, 0, 0.82);
  --text-white-80: rgba(0, 0, 0, 0.8);
  --text-white-75: rgba(0, 0, 0, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.6);
  --shadow-panel: 0 8px 25px rgba(0, 0, 0, 0.4);
  --shadow-panel-hover: 0 15px 35px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
  --surface-glass: rgba(0, 0, 0, 0.2);
  --surface-glass-hover: rgba(0, 0, 0, 0.3);
  --surface-glass-border: rgba(255, 255, 255, 0.05);
  --surface-white-95: rgba(18, 18, 18, 0.95);
  --surface-white-50: rgba(18, 18, 18, 0.5);
  --surface-white-25: rgba(18, 18, 18, 0.25);
  --surface-white-10: rgba(18, 18, 18, 0.1);
  --nki-teal-light: rgba(0, 149, 169, 0.15);
  --nki-gold-light: rgba(191, 154, 89, 0.15);
}

html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .home-report,
html[data-theme="dark"] .home-services-intro,
html[data-theme="dark"] .home-button--primary {
  --nki-dark: rgb(33, 31, 30);
  --nki-white: rgb(255, 255, 255);
  --nki-dark-light: rgba(33, 31, 30, 0.65);
  --text-white-82: rgba(255, 255, 255, 0.82);
  --text-white-80: rgba(255, 255, 255, 0.8);
  --text-white-75: rgba(255, 255, 255, 0.75);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.site-branding__logo--dark {
  display: none;
}

html[data-theme="dark"] .site-branding__logo--light,
html.accessibility-mode .site-branding__logo--light {
  display: none;
}

html[data-theme="dark"] .site-branding__logo--dark,
html.accessibility-mode .site-branding__logo--dark {
  display: block;
}

body {
  margin: 0;
  background-color: var(--surface-page);
  font-family: var(--font-sans);
  color: var(--nki-dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--nki-teal);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.site-title {
  font-family: var(--font-display);
}

.container {
  width: min(100% - 2rem, var(--container-width));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 3000;
  width: auto;
  height: auto;
  padding: 0.85rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 3px solid var(--nki-dark);
  border-radius: var(--border-radius-sm);
  background: var(--accessibility-accent);
  color: var(--nki-dark);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

[tabindex="-1"]:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

.text-center {
  text-align: center !important;
  justify-content: center !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
