@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
  --nssr-blue: #0033A0;
  --nssr-light: #E6F0FA;
  --nssr-dark: #001a52;
  --nssr-accent: #d97706;
  --bg-soft: #FAFAFA;
  --text: #1a202c;
  --muted: #6b7280;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-soft);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: 'Playfair Display', serif;
}

::selection {
  background-color: var(--nssr-blue);
  color: white;
}

.page-shell {
  min-height: 100vh;
  padding-top: 80px;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(0, 51, 160, 0.06) 0%, rgba(0, 51, 160, 0.12) 12%, rgba(0, 51, 160, 0.45) 100%);
  z-index: 0;
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
  }
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.logo-text {
  font-family: 'Playfair Display', serif;
}

.nav-link.active-nav {
  color: var(--nssr-blue);
}

.section-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.hero-grid {
  background-image: var(--hero-bg, url('../img/hero-bg.svg'));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(0,51,160,0.1) 0, rgba(0,51,160,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.3;
  pointer-events: none;
}

.countdown-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.metric-card {
  border-left: 1px solid var(--gray-200);
  padding-left: 1.5rem;
}

.page-hero {
  background-image: var(--hero-bg, url('../img/hero-bg.svg'));
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--gray-100);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--nssr-blue);
}

.card-soft {
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.track-item {
  border-top: 1px solid var(--gray-300);
  transition: background-color 0.2s ease;
}

.track-item:hover {
  background: #f8fafc;
}

.track-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gray-300);
}

.track-item:hover .track-number {
  color: var(--nssr-blue);
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--nssr-dark);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--nssr-blue);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.faq-icon::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--nssr-blue);
}

.faq-item[open] .faq-icon {
  background: var(--nssr-blue);
  border-color: var(--nssr-blue);
}

.faq-item[open] .faq-icon::after {
  content: '\2212';
  color: var(--white);
}

.faq-item summary:hover .faq-icon {
  border-color: var(--nssr-blue);
}

.faq-answer {
  padding: 0 0 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 60rem;
}

.faq-answer a {
  color: var(--nssr-blue);
}

.faq-answer a:hover {
  text-decoration: underline;
}

.footer-shell {
  background-color: #eef4fb;
  background-image: radial-gradient(circle at 15% 85%, rgba(0, 51, 160, 0.06) 0, rgba(0, 51, 160, 0.06) 1px, transparent 1px), linear-gradient(135deg, #f8faff 0%, #eaf2fd 55%, #fdf3e7 100%);
  background-size: 28px 28px, cover;
  color: #4b5563;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid #d6e1f0;
}

.footer-shell a,
.footer-shell button {
  color: inherit;
}

#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
  animation: mobile-menu-in 0.25s ease;
}

@media (min-width: 1024px) {
  #mobile-menu {
    display: none !important;
  }
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
