:root {
  --sky-top: #3f8fe8;
  --sky-mid: #79b8f5;
  --sky-low: #cfe7ff;
  --navy: #0b1f4b;
  --navy-soft: #2b4677;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.75);
  --accent: #1f6fe0;
  --radius: 28px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-low) 75%, #f2f8ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ---------- Gradient wave (drawn by gradient-wave.js) ---------- */
.sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 16px;
  z-index: 10;
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(20, 60, 130, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
}

/* Wordmark where the logo stands in for the "A" of "Ascent" */
.brand-lockup { align-items: baseline; gap: 0; font-size: 22px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; flex-shrink: 0; }
.brand-lockup .brand-a { height: 1.06em; width: auto; margin-right: 0.03em; transform: translateY(0.025em); }

.nav-links { display: flex; gap: 22px; margin-left: 12px; font-weight: 500; color: var(--navy-soft); }
.nav-links a:hover { color: var(--navy); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 31, 75, 0.3);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(11, 31, 75, 0.38); }

.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost { padding: 10px 14px; font-size: 14px; color: var(--navy-soft); }
.btn-ghost:hover { color: var(--navy); transform: none; }

/* ---------- Layout ---------- */
main { position: relative; z-index: 1; }

section { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-soft);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 120px;
}

.hero-logo {
  position: relative;
  width: 190px;
  height: 180px;
  margin: 0 auto 28px;
  animation: float 6s ease-in-out infinite;
}
.hero-logo img { position: relative; width: 100%; height: 100%; }
.halo {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,.35) 40%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero h1 {
  margin: 14px auto 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--navy);
}
.hero h1 span { color: var(--white); text-shadow: 0 4px 24px rgba(20, 70, 150, 0.35); }

.lede {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy-soft);
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Steps ---------- */
.steps { padding-bottom: 120px; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2, .why h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 800;
}

.step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  padding: 34px 28px 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(20, 70, 150, 0.14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(20, 70, 150, 0.2); }

.step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: rgba(31, 111, 224, 0.12);
}

.step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sky-top), #5aa6f2);
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(31, 111, 224, 0.35);
}
.step-icon svg { width: 26px; height: 26px; }

.step h3 { font-size: 21px; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { color: var(--navy-soft); line-height: 1.6; font-size: 15.5px; }

/* ---------- Why ---------- */
.why { padding-bottom: 110px; }

.why-card {
  text-align: center;
  padding: 60px 32px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.6));
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 60px rgba(20, 70, 150, 0.14);
}
.why-card h2 { max-width: 720px; margin: 0 auto 16px; }
.why-card > p { max-width: 620px; margin: 0 auto; line-height: 1.65; color: var(--navy-soft); font-size: 17px; }

.perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 28px 0 32px;
  font-weight: 600;
}
.perks span { color: var(--accent); margin-right: 6px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 16px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 24px;
  color: var(--navy-soft);
  font-size: 14px;
  border-top: 1px solid rgba(11, 31, 75, 0.1);
}
.footer .brand-lockup { font-size: 18px; color: var(--navy); }

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 500; }
.footer-links a:hover { color: var(--navy); }
.footer > p { justify-self: end; text-align: right; }

@media (max-width: 860px) {
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer > p { justify-self: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .step-list { grid-template-columns: 1fr; gap: 18px; }
  .nav-links { display: none; }
}

@media (max-width: 520px) {
  .nav { margin: 12px 12px 0; top: 12px; gap: 10px; }
  .brand span { font-size: 16px; }
  .brand-lockup { font-size: 19px; }
  .brand-lockup span { font-size: inherit; }
  .btn-ghost { display: none; }
  .hero { padding-top: 48px; padding-bottom: 80px; }
  .hero-logo { width: 150px; height: 142px; }
  .lede { font-size: 16.5px; }
  .why-card { padding: 44px 20px; }
}
