:root {
  --blue: #5d9fb6;
  --blue-dark: #397d96;
  --blue-soft: #e4f6fc;
  --blue-pale: #f3fbfe;
  --purple: #705a8b;
  --beige: #d2ba82;
  --text: #24424e;
  --muted: #647b84;
  --white: #ffffff;
  --border: #cee4ec;
  --danger: #b64242;
  --shadow: 0 24px 70px rgba(42, 105, 128, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 6% 7%, rgba(210, 186, 130, 0.24), transparent 22rem),
    radial-gradient(circle at 93% 90%, rgba(112, 90, 139, 0.12), transparent 25rem),
    linear-gradient(135deg, #f6fcff 0%, #e5f6fc 55%, #f8fbfd 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

body::before {
  width: 260px;
  height: 260px;
  top: -100px;
  right: -70px;
  border: 46px solid rgba(93, 159, 182, 0.12);
}

body::after {
  width: 110px;
  height: 110px;
  bottom: 30px;
  left: 4%;
  background: rgba(210, 186, 130, 0.16);
}

.page-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.hero__content {
  max-width: 650px;
}

.logo {
  display: block;
  width: min(300px, 62%);
  height: auto;
  margin: 0 0 42px;
}

.eyebrow,
.form-card__kicker {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero__text {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}


.hero__quote {
  padding: 20px 22px;
  border-left: 4px solid var(--beige);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  font-weight: 700;
  font-style: italic;
}

.benefits {
  display: grid;
  gap: 15px;
}

.benefit {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #34545f;
  font-weight: 700;
}

.benefit__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 0.83rem;
  box-shadow: 0 7px 20px rgba(93, 159, 182, 0.28);
}

.form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.form-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: -108px;
  right: -80px;
  border-radius: 50%;
  border: 32px solid rgba(93, 159, 182, 0.14);
}

.form-card__header {
  position: relative;
  margin-bottom: 27px;
}

.form-card h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.form-card__header > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.field,
.field-grid {
  position: relative;
}

.field {
  margin-bottom: 17px;
}

.field-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #365661;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 0 15px;
  outline: none;
  color: var(--text);
  background: #fbfeff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input::placeholder {
  color: #9cb0b8;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(93, 159, 182, 0.13);
}

.field.invalid input {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(182, 66, 66, 0.09);
}

.error-message,
.consent-error {
  display: none;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
}

.field.invalid .error-message,
.consent.invalid + .consent-error {
  display: block;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--blue-dark);
}

.submit-button {
  width: 100%;
  min-height: 56px;
  margin-top: 21px;
  border: 0;
  border-radius: 14px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 14px 28px rgba(57, 125, 150, 0.25);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 32px rgba(57, 125, 150, 0.32);
}

.submit-button:focus-visible {
  outline: 3px solid rgba(112, 90, 139, 0.34);
  outline-offset: 3px;
}

.privacy-note {
  margin: 13px 0 0;
  text-align: center;
  color: #8da0a7;
  font-size: 0.75rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 940px) {
  .page-shell {
    width: min(760px, calc(100% - 32px));
    padding: 30px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    max-width: none;
    text-align: center;
  }

  .logo {
    margin: 0 auto 30px;
  }

  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  
.hero__quote {
  padding: 20px 22px;
  border-left: 4px solid var(--beige);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  font-weight: 700;
  font-style: italic;
}

.benefits {
    width: fit-content;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 22px, 520px);
    padding: 18px 0 24px;
  }

  .logo {
    width: min(245px, 74%);
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .hero__text {
    font-size: 1rem;
  }

  .benefit {
    align-items: flex-start;
    font-size: 0.93rem;
  }

  .form-card {
    border-radius: 22px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

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