:root {
  --navy: #243b91;
  --navy-dark: #111f5f;
  --cyan: #15b8e7;
  --cyan-soft: #dff7ff;
  --mint: #8ed9d1;
  --ink: #102033;
  --muted: #5e6d7d;
  --line: rgba(22, 46, 84, 0.14);
  --paper: #f7fbfd;
  --white: #ffffff;
  --warm: #fff7ef;
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 48px);
  color: var(--white);
  background: rgba(17, 31, 95, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.brand span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.light {
  background: var(--paper);
}

.paper {
  background: var(--white);
}

.blue {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 184, 231, 0.16), transparent 42%),
    linear-gradient(145deg, var(--navy-dark), var(--navy));
}

.blue p,
.closing p {
  color: rgba(255, 255, 255, 0.76);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 122px 0 76px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(17, 31, 95, 0.96) 0%, rgba(36, 59, 145, 0.9) 54%, rgba(21, 184, 231, 0.72) 100%),
    var(--navy);
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.43fr);
}

.kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blue .kicker,
.closing .kicker {
  color: var(--cyan-soft);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6.2vw, 5.95rem);
}

h2 {
  font-size: clamp(2.25rem, 4.1vw, 4.25rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 1.68rem);
  line-height: 1.18;
}

.hero-copy p,
.lead {
  max-width: 760px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 24px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #071b30;
  font-weight: 900;
}

.button:hover,
.button:focus-visible {
  background: var(--cyan-soft);
}

.hero-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel img {
  width: 100%;
  max-width: 250px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-panel span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
}

.two-col > div > h2 + p,
.two-col > div > p + p {
  margin-top: 22px;
}

.diagnosis-list {
  display: grid;
  gap: 12px;
}

.diagnosis-list article,
.solutions article,
.plans article,
.terms,
.investment {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.diagnosis-list article {
  padding: 24px;
}

.diagnosis-list span,
.solutions span,
.plans span,
.journey span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diagnosis-list strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.3;
}

.diagnosis-list p {
  margin-top: 8px;
}

.impact-grid,
.flow,
.solutions,
.plans {
  display: grid;
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.impact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.flow,
.solutions {
  grid-template-columns: repeat(4, 1fr);
}

.plans {
  grid-template-columns: repeat(3, 1fr);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.impact-grid div,
.flow div {
  min-height: 184px;
  padding: 26px;
  background: var(--paper);
}

.flow div {
  background: rgba(255, 255, 255, 0.07);
}

.impact-grid strong,
.flow strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.08rem;
}

.flow strong {
  color: var(--cyan-soft);
}

.solutions article {
  min-height: 360px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.solutions h3,
.plans h3 {
  color: var(--ink);
}

.solutions p {
  margin-top: 16px;
}

.solutions small {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: var(--navy);
  font-weight: 900;
  font-size: 1rem;
}

.journey {
  display: grid;
  gap: 12px;
}

.journey div {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.journey strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.investment {
  padding: 14px;
}

.investment div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 10px;
  border-bottom: 1px solid var(--line);
}

.investment div:last-child {
  border-bottom: 0;
}

.investment strong {
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
}

.plans article {
  min-height: 310px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.92);
}

.plans article.featured {
  background: var(--cyan-soft);
}

.plans p {
  margin-top: 16px;
}

.plans strong {
  display: block;
  margin-top: auto;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

.plans small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.terms {
  padding: 30px;
}

.terms p + p {
  margin-top: 16px;
}

.closing {
  min-height: 82vh;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 184, 231, 0.2), transparent 45%),
    var(--navy-dark);
}

.closing-list {
  display: grid;
  gap: 12px;
}

.closing-list strong {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(1.32rem, 2.4vw, 2.24rem);
  line-height: 1.15;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

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

  .impact-grid,
  .flow,
  .solutions,
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 68px;
  }

  .brand span {
    max-width: 220px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .impact-grid,
  .flow,
  .solutions,
  .plans {
    grid-template-columns: 1fr;
  }

  .investment div {
    display: block;
  }

  .investment strong {
    display: block;
    margin-top: 8px;
    text-align: left;
    white-space: normal;
  }
}

.plans p {
  color: var(--ink);
}

