:root {
  --blue: #5271FF;
  --blue-dark: #2f43c9;
  --ink: #1a1a1a;
  --muted: #555;
  --tint: #f4f6ff;
  --line: #e6e8f5;
  --green: #1fa971;
}

* {
  box-sizing: border-box;
}

html {
  --heyflow-widget-width-narrow: 400px;
  --heyflow-widget-width-mid: 800px;
  --heyflow-widget-width-wide: 1200px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: #fff;
}

.advertorial {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #333;
  background: #eef1f4;
  padding: 10px 16px;
  border-bottom: 1px solid #d7dce8;
}

.topline {
  height: 8px;
  background: var(--blue);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 18px 0 6px;
  text-align: center;
}

header .logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

header img {
  width: 360px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* HERO */
.hero {
  padding: 14px 0 6px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--tint);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1 {
  font-size: 2.15rem;
  line-height: 1.15;
  margin: 6px auto 10px;
  max-width: 820px;
}

h1 .hl {
  color: var(--blue);
}

.sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 4px;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 16px solid var(--blue);
  margin: 16px auto 0;
}

/* FORM */
.form-shell {
  margin: 22px auto 8px;
  max-width: 920px;
  background: var(--blue);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(82, 113, 255, .28);
}

.form-inner {
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}

.trustrow {
  text-align: center;
  margin: 16px 0 4px;
  color: var(--muted);
  font-size: 1rem;
}

.byline {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 auto 8px;
}

/* SECTIONS */
section {
  padding: 38px 0;
}

section.alt {
  background: var(--tint);
}

h2 {
  font-size: 1.65rem;
  text-align: center;
  margin: 0 0 6px;
}

.lead {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 26px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

section.alt .step {
  background: #fff;
}

.step .n {
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  margin: 0 auto 12px;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.step p {
  font-size: .94rem;
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  font-weight: 600;
}

section.alt .chip {
  background: var(--tint);
}

.elig {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
}

.elig li {
  list-style: none;
  padding: 10px 0 10px 38px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.elig li:last-child {
  border-bottom: none;
}

.elig li:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 18px;
  height: 9px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

ul {
  padding: 0;
  margin: 0;
}

.cta {
  text-align: center;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 15px 34px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(82, 113, 255, .3);
}

.btn:hover {
  background: var(--blue-dark);
}

.faq {
  max-width: 760px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 12px;
  background: #fff;
}

summary {
  font-weight: 700;
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
  font-size: 1.05rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 800;
}

details[open] summary:after {
  content: "–";
}

details p {
  margin: 0 0 16px;
  color: var(--muted);
}

footer {
  background: #101322;
  color: #aeb4d0;
  font-size: .82rem;
  padding: 30px 0;
}

footer .wrap {
  max-width: 960px;
}

footer strong {
  color: #fff;
}

footer a {
  color: #9fb0ff;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #9fb0ff;
}

.copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 22px 16px;
  margin: 0;
  background: #fff;
}

.copy a {
  color: var(--blue-dark);
  text-decoration: none;
}

.copy a:hover {
  text-decoration: underline;
}

/* LEGAL / PRIVACY */
.legal {
  padding: 28px 20px 48px;
  max-width: 800px;
}

.legal h1 {
  font-size: 1.9rem;
  text-align: left;
  max-width: none;
  margin: 0 0 8px;
}

.legal h2 {
  font-size: 1.25rem;
  text-align: left;
  margin: 28px 0 10px;
  color: var(--ink);
}

.legal p {
  margin: 0 0 14px;
  color: var(--muted);
}

.legal a {
  color: var(--blue-dark);
}

.legal-meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 22px !important;
}

.legal ul {
  margin: 0 0 14px;
  padding: 0 0 0 22px;
  color: var(--muted);
}

.legal li {
  margin-bottom: 8px;
  padding-left: 4px;
}

@media (max-width:860px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:680px) {
  h1 {
    font-size: 1.6rem;
  }

  .sub {
    font-size: 1.02rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:460px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
