:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --navy: #0b1b33;
  --blue: #1c5dff;
  --teal: #16c6c1;
  --slate: #3b4a66;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(11, 27, 51, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  background: #ffffffee;
  backdrop-filter: blur(14px);
  z-index: 10;
  border-bottom: 1px solid rgba(11, 27, 51, 0.08);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 3vw, 3.4rem);
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
}

.hero-content p {
  color: var(--slate);
  max-width: 520px;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-metrics h3 {
  font-size: 1.6rem;
}

.hero-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card ul {
  margin-top: 1.5rem;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: var(--slate);
}

.hero-card li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  margin-right: 0.5rem;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section.alt {
  background: #eff3ff;
  border-radius: 32px;
  margin: 2rem auto;
}

.section-header {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--slate);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(11, 27, 51, 0.08);
  display: grid;
  gap: 1rem;
}

.card.compact {
  padding: 1.5rem;
}

.card a {
  color: var(--blue);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.panel {
  background: var(--navy);
  color: white;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2rem;
}

.panel .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.panel span {
  font-size: 1.6rem;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn.primary {
  background: var(--blue);
  color: white;
}

.btn.secondary {
  background: var(--teal);
  color: var(--navy);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(11, 27, 51, 0.2);
}

.btn.tertiary {
  background: rgba(28, 93, 255, 0.12);
  color: var(--blue);
}

.cta {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-form .full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 51, 0.15);
  font-size: 1rem;
}

.site-footer {
  background: var(--navy);
  color: white;
  padding: 3rem 1.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 51, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1.5rem;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  width: min(420px, 100%);
  display: grid;
  gap: 1rem;
}

.modal-close {
  border: none;
  background: none;
  font-size: 1.8rem;
  justify-self: flex-end;
  cursor: pointer;
}

.signin-form {
  display: grid;
  gap: 0.75rem;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3rem;
  }

  .panel {
    padding: 2rem;
  }
}
