﻿:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --line: #d8e3f1;
  --text: #10233f;
  --text-soft: #4e607f;
  --brand: #005bc4;
  --brand-strong: #003f90;
  --accent: #11a7c8;
  --radius: 18px;
  --shadow: 0 16px 32px -20px rgba(16, 35, 63, 0.42);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--text);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  z-index: 200;
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(243, 247, 251, 0.88);
  border-bottom: 1px solid rgba(216, 227, 241, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand span {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

.brand strong {
  color: var(--brand-strong);
}

.brand small {
  font-weight: 500;
  color: var(--text-soft);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.menu a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--brand-strong);
}

.menu-cta {
  padding: 0.65rem 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
}

.menu-btn {
  display: none;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 4rem 0 2.5rem;
  overflow: clip;
}

.hero-layer {
  position: absolute;
  inset: -20% -10% auto;
  height: 530px;
  background:
    radial-gradient(1200px 340px at 15% 10%, rgba(17, 167, 200, 0.2), transparent),
    radial-gradient(900px 320px at 100% 18%, rgba(0, 91, 196, 0.24), transparent),
    linear-gradient(160deg, rgba(255, 255, 255, 0.5), rgba(230, 242, 255, 0.85));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.9rem;
}

h1 span {
  color: var(--brand);
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 100px;
  padding: 0.74rem 1.25rem;
  font-size: 0.92rem;
}

.btn.primary {
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 14px 30px -20px rgba(0, 64, 150, 0.95);
}

.btn.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-strong);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 227, 241, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1rem;
}

.hero-panel h2 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}

.hero-panel li:last-child {
  border-bottom: 0;
}

.hero-panel strong {
  display: block;
  font-size: 0.97rem;
}

.hero-panel span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.metrics {
  margin-top: 0.7rem;
  margin-bottom: 2rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metrics article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.metrics h3 {
  font-size: 1.07rem;
  margin-bottom: 0.4rem;
}

.metrics p {
  margin: 0;
  color: var(--text-soft);
}

.section {
  padding: 2.6rem 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin-bottom: 0.55rem;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.card a {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: none;
  transition: color 220ms ease;
}

.card:hover,
.card:focus-within {
  background: linear-gradient(155deg, #e8f4ff 0%, #d7ecff 100%);
  border-color: #b7d7f5;
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -24px rgba(16, 35, 63, 0.6);
}

.card:hover a,
.card:focus-within a {
  color: #00397f;
}

.about {
  background: linear-gradient(160deg, #f6fbff 20%, #e8f2ff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1.2rem;
  align-items: center;
}

.about-copy p {
  color: var(--text-soft);
  margin-top: 0.5rem;
  margin-bottom: 1.3rem;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.faq-list {
  max-width: 830px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

details {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

details p {
  margin: 0.7rem 0 0;
  color: var(--text-soft);
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(120deg, #003f90, #005bc4);
  color: #f5faff;
}

.footer-wrap {
  text-align: center;
  padding: 1.25rem 0;
}

.footer-wrap p {
  margin: 0.25rem 0;
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.show {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1060px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }
}

@media (max-width: 780px) {
  .menu-btn {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .menu.open {
    display: flex;
  }

  .menu-cta {
    text-align: center;
  }

  .metrics-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
  }
}
