:root {
  --navy: #1A237E;
  --accent: #FF8F00;
  --ink: #263238;
  --muted: #52606d;
  --paper: #ffffff;
  --line: #e4e7ec;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(26, 35, 126, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

body.is-modal-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 0.8rem;
  line-height: 1.2;
  color: var(--navy);
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.promo-modal[hidden] {
  display: none;
}

.promo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 22, 0.66);
}

.promo-modal-panel {
  position: relative;
  width: min(520px, 96vw);
  border: 1px solid #c6cff2;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 143, 0, 0.18), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.36);
  padding: 1.35rem 1.25rem 1.3rem;
  text-align: center;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.promo-modal.is-open .promo-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.promo-modal-close {
  position: absolute;
  top: 0.48rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
  color: #4a5570;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
  cursor: pointer;
}

.promo-modal-close:hover {
  background: rgba(26, 35, 126, 0.08);
  color: var(--navy);
}

.promo-modal-tag {
  display: inline-block;
  margin: 0 0 0.55rem;
  color: #8f4b00;
  background: #ffefd9;
  border: 1px solid #ffc98d;
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.promo-modal h2 {
  font-size: clamp(1.38rem, 4.8vw, 2rem);
  margin-bottom: 0.5rem;
}

.promo-modal p {
  margin: 0 auto;
  max-width: 30ch;
}

.promo-modal-cta {
  margin-top: 0.95rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 143, 0, 0.16), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(26, 35, 126, 0.1), transparent 45%),
    #f9fafc;
  padding: 1rem 0 3rem;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-bg-shape-top {
  width: 280px;
  height: 280px;
  background: rgba(255, 143, 0, 0.12);
  top: -120px;
  right: -100px;
  animation: floatOrbA 12s ease-in-out infinite;
}

.hero-bg-shape-bottom {
  width: 240px;
  height: 240px;
  background: rgba(26, 35, 126, 0.12);
  left: -130px;
  bottom: -90px;
  animation: floatOrbB 14s ease-in-out infinite;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.55rem;
  margin-bottom: 2rem;
}

.top-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 5.8vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.text-link {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.hero-copy {
  max-width: min(1020px, 100%);
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 6.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1rem;
  max-width: 22ch;
  background: linear-gradient(100deg, #1A237E 10%, #2a3cd2 52%, #1A237E 88%);
  background-size: 210% 210%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 8.5s ease-in-out infinite;
}

.hero-copy p {
  font-size: 1rem;
  max-width: 70ch;
  margin: 0 auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #101010;
  border: 0;
  font-weight: 700;
  padding: 0.92rem 1.28rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(255, 143, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-top: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(255, 143, 0, 0.34);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 40%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  animation: btnSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(26, 35, 126, 0.34);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd3e5;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 800;
  padding: 0.9rem 1.1rem;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-secondary:hover {
  background: #eef2ff;
  border-color: #aeb9df;
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 0.72rem;
  border: 1px solid #d9e0f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1A237E;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  padding: 0.28rem 0.68rem;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  margin-top: 0.55rem;
}

.microcopy {
  margin-top: 0.75rem;
  color: #657289;
  font-size: 0.86rem;
}

.section {
  padding: 3.2rem 0;
}

.section h2 {
  font-size: clamp(1.45rem, 5.3vw, 2.2rem);
}

.problem {
  background: #fff;
  text-align: center;
}

.problem p {
  max-width: 66ch;
  margin: 0 auto;
}

.how-it-works {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
}

.steps-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.step-card {
  position: relative;
  padding-top: 2.1rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(16, 24, 40, 0.11);
}

.step-number {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
}

.audience {
  background: #fff;
}

.route-grid,
.persona-grid,
.timeline {
  display: grid;
  gap: 1rem;
}

.route-card,
.timeline .card {
  display: flex;
  flex-direction: column;
}

.route-card h2 {
  font-size: clamp(1.25rem, 4vw, 1.72rem);
}

.route-card .pricing-cta,
.timeline .pricing-cta {
  margin-top: auto;
  width: fit-content;
}

.persona-grid .card,
.timeline .card {
  border-color: #dfe4f0;
}

.pricing-hero .eyebrow {
  background: rgba(255, 255, 255, 0.82);
  margin-left: auto;
  margin-right: auto;
}

.pricing-hero h1 {
  font-size: clamp(2.2rem, 6.4vw, 4.15rem);
  max-width: 19ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.pricing-hero p:not(.eyebrow) {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.investor-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 143, 0, 0.16), transparent 36%),
    radial-gradient(circle at 92% 4%, rgba(26, 35, 126, 0.16), transparent 42%),
    linear-gradient(180deg, #f9fbff 0%, #eef3ff 100%);
}

.data-room-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.data-room-box h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.stack {
  display: grid;
  gap: 0.85rem;
}

.faq {
  background: #fafbff;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.6rem;
}

.faq-item[open] {
  border-color: #c3cdf6;
  transform: translateY(-2px);
}

.pricing {
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.pricing-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(26, 35, 126, 0.11), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(255, 143, 0, 0.16), transparent 48%),
    #f7f8fc;
  padding: 2.2rem 0 3.2rem;
  text-align: center;
}

.pricing-hero .topbar {
  text-align: initial;
}

.pricing-hero p {
  max-width: 64ch;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.plan-card {
  background: #fff;
  border: 1px solid #dfe4f0;
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.plan-kicker {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-list {
  margin: 0;
  padding-left: 1.08rem;
  color: #43556c;
}

.plan-list li + li {
  margin-top: 0.34rem;
}

.plan-card-featured {
  border-color: #ffcf8b;
  box-shadow: 0 14px 28px rgba(255, 143, 0, 0.16);
  background: linear-gradient(180deg, #fffefc 0%, #ffffff 100%);
}

.plan-card h3 {
  margin-bottom: 0.25rem;
}

.plan-price {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0.25rem 0 0.8rem;
}

.plan-price small {
  font-size: 0.86rem;
  font-weight: 600;
  color: #4c5c73;
}

.plan-features {
  margin: 0;
  padding-left: 1.1rem;
  color: #43556c;
}

.plan-features li + li {
  margin-top: 0.35rem;
}

.plan-highlight {
  border-color: #ffcf8b;
  box-shadow: 0 14px 28px rgba(255, 143, 0, 0.16);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -0.58rem;
  right: 0.9rem;
  background: #ff8f00;
  color: #171717;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.95rem;
  border: 1px solid #cbd3e5;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 700;
  padding: 0.56rem 0.82rem;
}

.waitlist {
  background: #ffffff;
}

.waitlist-card {
  text-align: center;
  border-color: #d9dff2;
  box-shadow: var(--shadow);
}

.waitlist-card h2 {
  margin-bottom: 0.45rem;
}

.waitlist-card p {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.interest-form {
  display: grid;
  gap: 0.62rem;
  max-width: 680px;
  margin: 1rem auto 0;
}

.interest-form input {
  border: 1px solid #cfd7ea;
  border-radius: 10px;
  padding: 0.7rem 0.78rem;
  font: inherit;
  color: #1f2937;
}

.interest-form .form-full {
  width: 100%;
}

.interest-form input:focus-visible {
  outline: 3px solid rgba(26, 35, 126, 0.22);
  outline-offset: 1px;
}

.interest-submit {
  width: 100%;
}

.interest-feedback {
  margin-top: 0.72rem;
  font-size: 0.88rem;
  color: #32445e;
}

.footer {
  background: #0f143a;
  color: #d7ddff;
  padding: 2rem 0;
}

.footer-wrap {
  display: grid;
  gap: 0.9rem;
}

.footer-wrap strong {
  color: #fff;
  font-size: 1.1rem;
}

.footer-top {
  display: grid;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  font-size: 0.85rem;
  color: #bcc5f4;
  margin: 0;
  border-top: 1px solid rgba(188, 197, 244, 0.26);
  padding-top: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.992);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

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

@keyframes floatOrbA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 18px, 0);
  }
}

@keyframes floatOrbB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, -14px, 0);
  }
}

@keyframes titleShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes btnSweep {
  0% {
    transform: translateX(-180%) rotate(20deg);
  }
  55%,
  100% {
    transform: translateX(350%) rotate(20deg);
  }
}

@media (min-width: 760px) {
  .hero {
    padding-bottom: 4.1rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .persona-grid,
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .interest-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .interest-form .form-full,
  .interest-feedback {
    grid-column: 1 / -1;
  }

  .interest-submit {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
    min-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-shape-top,
  .hero-bg-shape-bottom,
  .hero-copy h1,
  .btn-primary::after {
    animation: none;
  }

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

  .promo-modal-panel {
    transition: none;
  }
}

@media (max-width: 640px) {
  .top-links {
    justify-content: flex-start;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }
}

@media (min-width: 1040px) {
  .section {
    padding: 4.1rem 0;
  }

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