:root {
  --color-text: #4a4e57;
  --color-heading: #212934;
  --color-soft: #f6f8ff;
  --color-line: rgba(33, 41, 52, 0.12);
  --color-purple: #9a12b3;
  --color-cyan: #00afe6;
  --color-pink: #ff004e;
  --color-yellow: #ffb727;
  --color-green: #6bd272;
  --color-dark: #212934;
  --shadow-card: 0 18px 50px rgba(33, 41, 52, 0.18);
  --max-width: 1120px;
  font-family: Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-soft);
  font-family: Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: var(--color-dark);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  color: white;
}

.site-header__inner,
.site-footer__inner,
.hero__inner,
.proof-band__inner,
.content-section__inner,
.final-cta__inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 134px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  font-family: Poppins, Roboto, Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

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

.site-nav__phone {
  padding: 0.62rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px 20px 20px 0;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(100deg, rgba(154, 18, 179, 0.82), rgba(0, 175, 230, 0.74)),
    url("media/hero-background.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -5vw;
  bottom: -1px;
  left: -5vw;
  height: 86px;
  background: var(--color-soft);
  clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  min-height: 760px;
  padding: 150px 0 120px;
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 1.4rem;
}

.eyebrow {
  margin: 0;
  color: inherit;
  font-family: Poppins, Roboto, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Poppins, Roboto, Arial, sans-serif;
  color: var(--color-heading);
}

.hero h1,
.hero h2,
.hero .eyebrow {
  color: white;
  text-shadow: 0 3px 22px rgba(33, 41, 52, 0.24);
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.18;
}

.hero__lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.96);
  font-family: Poppins, Roboto, Arial, sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero__actions,
.final-cta__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 20px 20px 20px 0;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(33, 41, 52, 0.18);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button--primary {
  background: var(--color-purple);
  color: white;
}

.button--primary:hover {
  background: #7f0e94;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.hero__visual {
  width: min(620px, 100%);
  margin-top: 1rem;
}

.hero__visual img {
  width: 100%;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px 20px 20px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.form-shell {
  align-self: center;
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.55rem);
  border: 0;
  border-radius: 20px 20px 20px 0;
  background: white;
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.lead-form__head {
  display: grid;
  gap: 0.4rem;
}

.lead-form__head .eyebrow,
.resource-summary .eyebrow {
  color: var(--color-purple);
  text-shadow: none;
}

.lead-form__head h2 {
  margin-bottom: 0;
  color: var(--color-heading);
  font-size: 1.35rem;
  line-height: 1.2;
  text-shadow: none;
}

.lead-form__head p:last-child,
.lead-form__notice {
  color: var(--color-text);
  font-size: 0.92rem;
}

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

label {
  display: grid;
  gap: 0.35rem;
  color: var(--color-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.required-mark {
  color: var(--color-pink);
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 12px 12px 12px 0;
  padding: 0.72rem 0.78rem;
  color: var(--color-heading);
  background: white;
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(0, 175, 230, 0.2);
  border-color: var(--color-cyan);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 0.65rem;
  color: var(--color-text);
  font-weight: 500;
}

.checkbox-field input {
  min-height: 20px;
  margin-top: 0.15rem;
}

.lead-form__submit {
  width: 100%;
  background: var(--color-pink);
}

.lead-form__submit:hover {
  background: #d90042;
}

.lead-form__notice {
  margin-bottom: 0;
}

.lead-form__status {
  min-height: 24px;
  font-weight: 800;
}

.lead-form__status[data-state="success"] {
  color: #168045;
}

.lead-form__status[data-state="error"] {
  color: var(--color-pink);
}

.proof-band {
  margin-top: -38px;
  background: transparent;
}

.proof-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.proof-item {
  display: grid;
  gap: 0.2rem;
  min-height: 140px;
  padding: 1.35rem;
  border-radius: 20px 20px 20px 0;
  background: white;
  box-shadow: 0 12px 34px rgba(33, 41, 52, 0.12);
}

.proof-item strong {
  font-family: Poppins, Roboto, Arial, sans-serif;
  color: var(--color-purple);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.proof-item:nth-child(2) strong {
  color: var(--color-cyan);
}

.proof-item:nth-child(3) strong {
  color: var(--color-pink);
}

.proof-item span {
  color: var(--color-text);
}

.content-section {
  padding: clamp(3.2rem, 7vw, 6rem) 0;
}

.content-section__inner {
  display: grid;
  gap: 2.2rem;
}

.resource-summary {
  max-width: 760px;
}

.resource-summary p {
  color: var(--color-text);
  font-size: 1.08rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  min-height: 190px;
  padding: 1.25rem;
  border: 0;
  border-radius: 20px 20px 20px 0;
  background: white;
  box-shadow: 0 12px 34px rgba(33, 41, 52, 0.1);
}

.benefit-card h3 {
  color: var(--color-green);
  font-size: 1.35rem;
}

.benefit-card:nth-child(2) h3 {
  color: var(--color-cyan);
}

.benefit-card:nth-child(3) h3 {
  color: var(--color-pink);
}

.benefit-card p,
.markdown-content {
  color: var(--color-text);
}

.markdown-content {
  max-width: 900px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-left: 8px solid var(--color-cyan);
  border-radius: 20px 20px 20px 0;
  background:
    linear-gradient(135deg, rgba(0, 175, 230, 0.08), rgba(154, 18, 179, 0.07)),
    white;
  box-shadow: 0 12px 34px rgba(33, 41, 52, 0.1);
}

.markdown-content h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--color-purple);
  font-size: 1.75rem;
}

.markdown-content h2:first-child {
  margin-top: 0;
}

.markdown-content p {
  font-size: 1.04rem;
}

.markdown-content ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 0;
  list-style: none;
}

.markdown-content li {
  position: relative;
  padding-left: 1.6rem;
}

.markdown-content li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--color-pink);
  content: "";
}

.markdown-content li + li {
  margin-top: 0.45rem;
}

.final-cta {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  color: white;
  background:
    linear-gradient(100deg, rgba(154, 18, 179, 0.96), rgba(0, 175, 230, 0.92)),
    url("media/hero-background.webp") center / cover no-repeat;
}

.final-cta h2 {
  color: white;
}

.final-cta__inner {
  justify-content: space-between;
}

.final-cta p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
}

.final-cta .eyebrow {
  color: var(--color-yellow);
}

.final-cta .button--primary {
  background: var(--color-yellow);
}

.site-footer {
  padding: 2.4rem 0;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer strong {
  color: white;
}

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

.site-footer address {
  display: grid;
  gap: 0.25rem;
  font-style: normal;
}

.site-footer a {
  color: white;
}

@media (max-width: 960px) {
  .hero__inner,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: 0;
  }

  .form-shell {
    align-self: auto;
  }

  .site-nav {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 1rem 0;
  }

  .brand img {
    width: 108px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.82rem;
  }

  .site-nav__phone {
    display: none;
  }

  .hero__inner {
    padding: 132px 0 96px;
  }

  .field-grid,
  .proof-band__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .field-grid,
  .site-footer__inner {
    display: grid;
  }

  .hero__actions,
  .final-cta__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
