:root {
  color-scheme: light;
  --background: #f1f7f5;
  --surface: rgba(255, 255, 255, 0.94);
  --text: #142326;
  --muted: #637477;
  --line: #d7e5e2;
  --teal: #0f766e;
  --teal-dark: #075a54;
  --teal-deep: #063d39;
  --mint: #e7f4f1;
  --danger: #b42318;
  --shadow: 0 28px 80px rgb(12 74 68 / 13%);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 2%, rgb(150 217 205 / 38%), transparent 31rem),
    radial-gradient(circle at 94% 82%, rgb(191 224 218 / 45%), transparent 27rem),
    linear-gradient(145deg, #f8fbfa, var(--background));
  color: var(--text);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.23;
  pointer-events: none;
}

.ambient-one { top: -18rem; right: -7rem; background: #6fc7b9; }
.ambient-two { bottom: -19rem; left: -8rem; background: #a9d8cf; }

.site-header,
footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
}

.brand:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(15 118 110 / 22%);
  outline-offset: 3px;
}

.brand img {
  display: block;
  width: 172px;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.secure-note svg,
.stripe-note svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
  min-height: calc(100vh - 190px);
  padding: 48px 0 74px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 700px;
  font-size: clamp(46px, 6.4vw, 76px);
  line-height: 0.98;
}

h2 { font-size: 26px; line-height: 1.12; }

.lede {
  max-width: 640px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.benefits {
  display: grid;
  gap: 12px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.benefits li { display: flex; align-items: flex-start; gap: 11px; }

.benefits span {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.trust-row { display: flex; flex-wrap: wrap; gap: 9px; }

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgb(255 255 255 / 65%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.purchase-card,
.download-card {
  border: 1px solid rgb(205 224 220 / 90%);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.purchase-card { padding: clamp(26px, 4vw, 38px); }

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.price {
  display: flex;
  color: var(--teal-deep);
  font-size: 33px;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.price span { margin: 3px 2px 0 0; font-size: 17px; }

.card-copy { margin: 19px 0 25px; color: var(--muted); font-size: 14px; }

label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }

input {
  width: 100%;
  min-height: 51px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfdfd;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input:hover { border-color: #b8ceca; background: #fff; }
input:focus { border-color: var(--teal); background: #fff; outline: none; box-shadow: 0 0 0 4px rgb(15 118 110 / 10%); }
input[aria-invalid="true"] { border-color: var(--danger); }

.field-help,
.form-status { margin: 7px 1px 0; font-size: 12px; }
.field-help { color: var(--muted); }
.form-status { min-height: 19px; color: var(--danger); font-weight: 700; }

button,
.download-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 13px;
  padding: 13px 19px;
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  box-shadow: 0 13px 28px rgb(15 118 110 / 22%);
  color: #fff;
  cursor: pointer;
  font: 800 15px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

button:hover,
.download-button:hover { transform: translateY(-1px); box-shadow: 0 16px 31px rgb(15 118 110 / 28%); }
button:active,
.download-button:active { transform: translateY(0); }
button:disabled { cursor: wait; opacity: 0.72; }

button svg,
.download-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.stripe-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 12px;
}

footer p { margin: 0; }
footer a { color: var(--teal-dark); font-weight: 750; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.download-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 190px);
  padding: 38px 0 70px;
}

.download-card {
  width: 100%;
  max-width: 620px;
  min-width: 0;
  padding: clamp(32px, 6vw, 54px);
  text-align: center;
}

.success-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 10px rgb(231 244 241 / 55%);
  color: var(--teal);
  font-size: 29px;
  font-weight: 900;
}

.download-card h1 { font-size: clamp(38px, 6vw, 54px); }
.download-card > p:not(.eyebrow) { max-width: 480px; margin: 20px auto 29px; color: var(--muted); }
.download-card .download-button { width: min(330px, 100%); margin: 0 auto; }
.download-card .download-help { font-size: 12px; }

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 48px;
    padding-top: 37px;
  }

  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .benefits { width: fit-content; margin-inline: auto; text-align: left; }
  .trust-row { justify-content: center; }
  .purchase-card { width: min(520px, 100%); margin-inline: auto; }
}

@media (max-width: 520px) {
  .site-header, footer, main { width: min(calc(100% - 28px), 1120px); }
  .site-header { min-height: 80px; }
  .brand img { width: 145px; }
  .secure-note { font-size: 0; }
  .secure-note svg { width: 20px; }
  .hero { padding: 31px 0 55px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .card-heading { display: block; }
  .price { margin-top: 20px; }
  footer { align-items: center; flex-direction: column; text-align: center; }
}

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