/* Critical first paint styles */
:root {
  color-scheme: light dark;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1f2937;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: #1a365d;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 1001;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.92);
  color: #fff;
  backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header__wordmark {
  font-size: 1.3rem;
  font-weight: 700;
}

.site-header__tagline {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.site-header__nav-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.site-header__menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(226, 232, 240, 0.4);
  color: #f8fafc;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.25rem;
}

.nav-header {
  display: flex;
  gap: 24px;
  align-items: center;
  background: transparent;
}

.site-header__nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-header a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
}

.site-header__cta {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, #93c5fd 0%, #38bdf8 100%);
  color: #0b1120;
  text-decoration: none;
}

.hero {
  padding: 48px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: 2.5rem;
}

@media (max-width: 960px) {
  .site-header__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: min(320px, calc(100vw - 40px));
    padding: 20px;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.25s ease;
  }

  .site-header__nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .site-header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header__cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.hero-metrics {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero-metrics div {
  background: rgba(10, 25, 47, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.25);
  border-radius: 16px;
  padding: 20px;
}
