:root {
  --navy: #0b2447;
  --navy-deep: #13294b;
  --blue: #0e3f80;
  --ink: #1d2433;
  --muted: #4b5262;
  --card: #eef3fa;
  --line: #d8dde6;
  --circle: #f0f1f3;
  --max: 1440px;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 72px);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  width: calc(100% - 2 * clamp(20px, 3.4vw, 52px));
  max-width: calc(var(--max) - 40px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(0px, 1.5vw, 24px);
  border-bottom: 1.5px solid var(--line);
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 50px);
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--blue); }

.site-nav { display: flex; align-items: center; }
.site-nav a {
  font-size: clamp(15px, 1.5vw, 22px);
  color: var(--ink);
  text-decoration: none;
  padding: 2px clamp(14px, 1.8vw, 28px);
  border-left: 1.5px solid var(--line);
  transition: color .15s;
}
.site-nav a:first-child { border-left: 0; }
.site-nav a:last-child { padding-right: 0; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px 6px;
  border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span {
  display: block; height: 3px; border-radius: 2px;
  background: var(--navy);
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: clamp(12px, 2vw, 24px); }
.hero-art img {
  width: min(100%, 1120px);
  mix-blend-mode: multiply;
  height: auto;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: clamp(10px, 1.4vw, 22px) 0 0;
}
.lead {
  font-size: clamp(18px, 2.1vw, 32px);
  color: var(--muted);
  margin: .3em 0 0;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: 0.95fr auto 1.6fr 1.6fr;
  gap: clamp(12px, 1.6vw, 26px);
  align-items: stretch;
  margin-top: clamp(24px, 2.8vw, 44px);
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 16px;
  padding: 20px 24px;
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--blue);
  font-size: clamp(20px, 2.1vw, 32px);
  white-space: nowrap;
}
.stat span {
  display: block;
  font-size: clamp(15px, 1.6vw, 24px);
  color: var(--muted);
  margin-top: 4px;
}
.stat .icon { width: clamp(40px, 4vw, 64px); height: auto; flex: none; color: var(--ink); }
.stat .icon--mobile { display: none; }

.stat--primary {
  background: linear-gradient(160deg, #0f4384, var(--navy));
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 36, 71, .18);
}
.stat--primary strong { color: #fff; font-size: clamp(48px, 5.4vw, 80px); }
.stat--primary span { color: #fff; font-size: clamp(20px, 2vw, 30px); margin-top: 0; }

.stat--plain {
  text-align: center;
  position: relative;
  padding-inline: clamp(24px, 3vw, 48px);
  border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  border-radius: 0;
  margin: 8px 0;
}
.stat--plain strong { font-size: clamp(30px, 3.4vw, 50px); }

.stat--card { background: var(--card); justify-content: flex-start; }
.stat--card > div { border-left: 1.5px solid #9aa3b2; padding-left: 18px; }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(28px, 3.2vw, 50px) 0 clamp(28px, 2.6vw, 40px);
}
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 0 clamp(16px, 2.2vw, 36px);
  border-left: 1.5px solid var(--line);
}
.feature:first-child { border-left: 0; padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature-icon {
  width: clamp(64px, 6.5vw, 100px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--circle);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.feature-icon svg { width: 46%; height: auto; }
.feature h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 6px 0 0;
}
.feature p {
  grid-column: 1 / -1;
  font-size: clamp(16px, 1.6vw, 23px);
  line-height: 1.4;
  margin: 18px 0 0 clamp(40px, 4vw, 60px);
}
.feature p a { text-decoration: none; }
.feature p a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 24px 20px;
}
.site-footer p { margin: 0; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.5; }
.br-mobile { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--plain { border: 0; margin: 0; background: var(--card); border-radius: 16px; }
  .features { grid-template-columns: 1fr; gap: 0; }
  .feature, .feature:first-child {
    border-left: 0; padding: 22px 0;
    border-top: 1.5px solid var(--line);
  }
  .feature:first-child { border-top: 0; }
  .feature p { grid-column: 2; margin: 4px 0 0; }
  .feature { align-items: center; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .site-header { padding: 14px 4px; width: calc(100% - 40px); }
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
    flex-direction: column; align-items: stretch;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 16px 32px rgba(11, 36, 71, .12);
    padding: 8px 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav a:last-child {
    border: 0; padding: 14px 20px; font-size: 18px;
  }

  .hero-art img { width: 100%; }
  .hero h1 { margin-top: 4px; font-size: clamp(36px, 11vw, 56px); }
  .lead { max-width: 20em; margin-inline: auto; }

  .stats { gap: 12px; margin-top: 28px; }
  .stat, .stat--card, .stat--plain {
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding: 16px 14px;
    background: var(--card);
  }
  .stat--primary { background: linear-gradient(160deg, #0f4384, var(--navy)); }
  .stat .icon--mobile { display: block; }
  .stat .icon { width: 40px; }
  .stat--primary .icon { color: #fff; }
  .stat--card > div { border: 0; padding: 0; }
  .stat strong { font-size: 22px; white-space: normal; }
  .stat--primary strong { font-size: 44px; }
  .stat--plain strong { font-size: 28px; }
  .stat span, .stat--primary span { font-size: 15px; }

  .features { margin-top: 20px; padding-inline: 4px; }
  .feature { column-gap: 16px; padding: 18px 0; align-items: start; }
  .feature-icon { width: 64px; }
  .feature h2 { font-size: 20px; margin-top: 2px; }
  .feature p { font-size: 16px; }

  .br-mobile { display: inline; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}

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