:root {
  --purple-950: #24194f;
  --purple-900: #302269;
  --purple-800: #3b2a7c;
  --purple-700: #4c38a0;
  --purple-100: #eeeafd;
  --purple-50: #f7f5ff;
  --ink: #24222d;
  --muted: #696673;
  --line: #ddd9e5;
  --surface: #ffffff;
  --canvas: #f4f2f7;
  --success: #14765a;
  --error: #b42318;
  --shadow: 0 24px 70px rgba(37, 25, 79, 0.14);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 6%, rgba(76, 56, 160, 0.1), transparent 24rem),
    var(--canvas);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1440px, 100%);
  min-height: calc(100vh - 108px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(560px, 1.25fr);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 86%, rgba(164, 150, 234, 0.2), transparent 21rem),
    linear-gradient(152deg, var(--purple-900), var(--purple-950));
}

.intro-panel::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  right: -13rem;
  top: -10rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255, 255, 255, 0.025),
    0 0 0 88px rgba(255, 255, 255, 0.018);
}

.intro-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: clamp(2rem, 5vw, 4.75rem);
  display: flex;
  flex-direction: column;
}

.brand-logo {
  width: 320px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.intro-copy {
  margin-top: clamp(4rem, 10vh, 7.8rem);
  max-width: 33rem;
}

.eyebrow,
.step-label {
  margin: 0 0 0.8rem;
  font-size: 0.73rem;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intro-copy .eyebrow {
  color: #cfc7fa;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 31rem;
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
  line-height: 1.02;
  font-weight: 560;
  letter-spacing: -0.045em;
}

.intro-lead {
  max-width: 31rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.benefit-list {
  margin: clamp(2.8rem, 7vh, 5.2rem) 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  list-style: none;
}

.main-site-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.main-site-link:hover {
  color: #fff;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 1.65rem 1fr;
  gap: 0.7rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.5;
}

.benefit-list strong {
  color: #fff;
  font-weight: 650;
}

.tick {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  color: var(--purple-950);
  background: #d8d1ff;
  border-radius: 50%;
  font-weight: 900;
}

.form-panel {
  display: grid;
  align-items: center;
  background: #fbfafe;
}

.form-wrap {
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem);
}

.form-heading {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-label {
  color: var(--purple-700);
}

h2 {
  margin-bottom: 0;
  color: var(--purple-950);
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  line-height: 1.15;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.15rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field label {
  margin-bottom: 0.48rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #3b3843;
  font-size: 0.875rem;
  font-weight: 680;
}

.required,
.optional {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.required {
  color: var(--purple-700);
}

.optional {
  color: #96919e;
}

.field input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d4d0da;
  border-radius: 8px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.field input::placeholder {
  color: #aaa6b0;
}

.field input:hover {
  border-color: #aaa3b7;
}

.field input:focus {
  border-color: var(--purple-700);
  box-shadow: 0 0 0 3px rgba(76, 56, 160, 0.14);
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
  background: #fff8f7;
}

.field-error {
  min-height: 0;
  margin: 0.35rem 0 0;
  color: var(--error);
  font-size: 0.76rem;
}

.field-error:empty {
  display: none;
}

.money-input {
  position: relative;
}

.money-input > span {
  position: absolute;
  z-index: 1;
  left: 0.9rem;
  top: 50%;
  color: #6f6b76;
  transform: translateY(-50%);
}

.money-input input {
  padding-left: 2rem;
}

.form-footer {
  margin-top: 1.8rem;
}

.privacy-copy {
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.submit-button {
  width: 100%;
  min-height: 3.6rem;
  padding: 0.9rem 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: var(--purple-800);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(59, 42, 124, 0.2);
  cursor: pointer;
  font-weight: 720;
  transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.submit-button:hover {
  background: var(--purple-700);
  box-shadow: 0 12px 28px rgba(59, 42, 124, 0.28);
  transform: translateY(-1px);
}

.submit-button:focus-visible,
.text-button:focus-visible {
  outline: 3px solid rgba(76, 56, 160, 0.28);
  outline-offset: 3px;
}

.submit-button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.form-message {
  margin: 0.8rem 0 0;
  color: var(--error);
  font-size: 0.82rem;
  text-align: center;
}

.success-panel {
  padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(37, 25, 79, 0.08);
}

.success-panel .eyebrow {
  color: var(--success);
}

.success-panel h2 {
  margin-bottom: 1rem;
}

.success-panel p:not(.eyebrow) {
  max-width: 35rem;
  margin: 0 auto 1.4rem;
  color: var(--muted);
  line-height: 1.65;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.4rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 0 0 9px #e8f5f0;
}

.text-button {
  padding: 0.4rem;
  color: var(--purple-700);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.preview-note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  color: #6b5e2d;
  background: #fff8dd;
  border: 1px solid #eadc9f;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.5;
}

.legal-footer {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 1.4rem clamp(1.5rem, 4vw, 3.4rem);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: #76727d;
  background: var(--canvas);
  font-size: 0.68rem;
  line-height: 1.55;
}

.legal-footer p {
  margin-bottom: 0;
}

.legal-footer p:first-child {
  max-width: 60rem;
}

.legal-footer p:last-child {
  flex: 0 0 auto;
}

[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .page-shell {
    display: block;
  }

  .intro-inner {
    padding: 2rem clamp(1.4rem, 6vw, 4rem) 2.6rem;
  }

  .intro-copy {
    margin-top: 3.5rem;
  }

  h1 {
    max-width: 38rem;
  }

  .benefit-list {
    max-width: 44rem;
    margin-top: 2.5rem;
  }

  .form-wrap {
    padding: 3rem clamp(1.4rem, 6vw, 4rem);
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: 270px;
  }

  .intro-copy {
    margin-top: 3rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .benefit-list {
    margin-bottom: 2rem;
  }

  .form-wrap {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

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

  .field-wide {
    grid-column: auto;
  }

  .form-heading {
    display: block;
  }

  .legal-footer {
    display: block;
  }

  .legal-footer p + p {
    margin-top: 0.8rem;
  }
}

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