:root {
  --cyan: #1FB6E8;
  --navy: #1A3C94;
  --purple: #6C5CE7;
  --magenta: #EE3F7B;
  --ink: #0B0C11;
  --paper: #F7F5F0;
  --white: #ffffff;
  --slate: #4A5263;
  --mist: #DDE1E8;
  --logo-gray: #8D8E90;
  --shadow: 0 18px 50px rgba(26, 60, 148, 0.10), 0 2px 8px rgba(11, 12, 17, 0.06);
  --radius: 20px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.625;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  z-index: 20;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.aurora {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.aurora::before {
  width: 520px;
  height: 520px;
  right: -80px;
  top: -160px;
  background: radial-gradient(circle, rgba(31, 182, 232, 0.55), rgba(108, 92, 231, 0.18) 60%, transparent 70%);
}

.aurora::after {
  width: 380px;
  height: 380px;
  left: -120px;
  top: 280px;
  background: radial-gradient(circle, rgba(238, 63, 123, 0.18), transparent 70%);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  position: relative;
  z-index: 2;
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.nav a:hover {
  color: var(--purple);
}

.nav .phone {
  letter-spacing: 0.01em;
}

.hero {
  display: grid;
  gap: 36px;
  padding: 28px 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(31, 182, 232, 0.14);
  border: 1px solid rgba(31, 182, 232, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 18px;
  max-width: 14ch;
}

h1 .accent {
  color: var(--magenta);
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 16px;
  max-width: 38ch;
}

.tagline {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--logo-gray);
}

.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
}

.card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}

.card .sub {
  margin: 0 0 20px;
  color: var(--slate);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 14px;
}

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

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.req {
  color: var(--magenta);
}

input,
select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus,
select:focus {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(31, 182, 232, 0.25);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.actions {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

button[type="submit"] {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 14px;
  padding: 14px 18px;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 8px 20px rgba(26, 60, 148, 0.22);
}

button[type="submit"]:hover {
  background: #16327c;
  transform: translateY(-1px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-error {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(238, 63, 123, 0.08);
  color: #9b1d4a;
  font-size: 14px;
  font-weight: 500;
}

.form-error.show {
  display: block;
}

.thanks {
  display: none;
  text-align: left;
  padding: 12px 4px 8px;
}

.thanks.show {
  display: block;
}

.thanks h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  color: var(--navy);
}

.thanks p {
  margin: 0 0 10px;
  color: var(--slate);
}

.thanks a {
  color: var(--navy);
}

.covers,
.how,
.plans {
  position: relative;
  z-index: 1;
  padding: 20px 0 8px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 8px;
}

.section-title {
  margin: 0 0 22px;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.2;
  font-weight: 600;
  color: var(--navy);
  max-width: 22ch;
}

.cards {
  display: grid;
  gap: 14px;
}

.feature,
.step {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 22px 20px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.icon.cyan { background: rgba(31, 182, 232, 0.14); color: #0e7ca3; }
.icon.purple { background: rgba(108, 92, 231, 0.14); color: var(--purple); }
.icon.magenta { background: rgba(238, 63, 123, 0.14); color: var(--magenta); }

.feature h3,
.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.feature p,
.step p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
}

.step .num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.plans-box {
  margin: 28px 0 10px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(31, 182, 232, 0.16), rgba(108, 92, 231, 0.16) 55%, rgba(238, 63, 123, 0.10)),
    var(--white);
  border: 1px solid var(--mist);
  display: grid;
  gap: 16px;
}

.plans-box h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  color: var(--navy);
}

.plans-box p {
  margin: 0;
  color: var(--slate);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-radius: 14px;
  padding: 12px 18px;
  border: 1px solid var(--mist);
  width: fit-content;
  box-shadow: 0 4px 14px rgba(26, 60, 148, 0.08);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--navy);
}

footer {
  position: relative;
  z-index: 1;
  padding: 36px 0 48px;
  color: var(--slate);
  font-size: 14px;
}

footer .wrap {
  display: grid;
  gap: 8px;
}

footer strong {
  color: var(--navy);
  font-weight: 600;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 48px;
    padding: 56px 0 36px;
  }

  .logo img {
    height: 48px;
  }

  h1 {
    max-width: 13ch;
  }

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

  .grid.two .full {
    grid-column: 1 / -1;
  }

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

  .plans-box {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 36px 36px;
  }

  .card {
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button[type="submit"],
  button[type="submit"]:hover {
    transition: none;
    transform: none;
  }
}

.card form[hidden], .card form.is-hidden { display: none; }
