:root {
  --white: #ffffff;
  --grey: #f2f2f2;
  --black: #000000;
  --blue: #00aeff;
  --max: 1180px;
  font-family: "Wix Madefor Display", "Arial", sans-serif;
  color: var(--black);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Wix Madefor Display", "Arial", sans-serif;
  line-height: 1.45;
}

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

button,
input,
select {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--grey);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 18px clamp(18px, 4vw, 52px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand img,
.site-footer img {
  width: 132px;
}

.top-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.nav-link {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.nav-cta,
.button,
.text-cta {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-cta,
.button.primary {
  background: var(--blue);
  color: var(--black);
}

.nav-cta {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
}

.button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  text-align: center;
}

.button.secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.button.secondary-dark {
  background: var(--black);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.text-cta {
  background: transparent;
  border-bottom: 3px solid var(--blue);
  color: var(--black);
  min-height: 44px;
  padding: 0;
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 88px clamp(18px, 4vw, 48px);
}

.section-white {
  background: var(--white);
}

.section-grey {
  background: var(--grey);
}

.section-black {
  background: var(--black);
  color: var(--white);
}

.hero {
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background: url("assets/hero-open-home.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.58);
}

.hero-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: 720px;
  padding: 96px clamp(18px, 4vw, 48px) 84px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--black);
}

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

h1 {
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  margin-bottom: 26px;
  max-width: 790px;
}

h1 span,
.final-cta h2 span {
  color: var(--blue);
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  margin-bottom: 22px;
}

p {
  font-size: 18px;
}

.hero-lede {
  font-size: clamp(19px, 2.2vw, 25px);
  max-width: 720px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.centered {
  justify-content: center;
}

.microcopy {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 0;
}

.guide-panel {
  align-self: end;
  background: var(--white);
  color: var(--black);
  padding: 18px;
}

.guide-cover {
  border: 3px solid var(--black);
  min-height: 420px;
  padding: 34px;
}

.guide-cover p {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-cover h2 {
  font-size: 46px;
  margin: 58px 0 22px;
}

.guide-cover span {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.split-grid,
.inside-grid,
.form-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-grid p,
.inside-grid p,
.form-copy p {
  max-width: 610px;
}

.image-block {
  margin: 0;
}

.image-block img {
  aspect-ratio: 4 / 3;
  border: 0;
  object-fit: cover;
  width: 100%;
}

.takeaway {
  background: var(--black);
  color: var(--white);
  font-size: 25px;
  font-weight: 900;
  margin: 28px 0 16px;
  padding: 22px;
}

.section-heading {
  max-width: 780px;
}

.benefit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 42px 0 30px;
}

.benefit-grid article {
  background: var(--grey);
  border-left: 5px solid var(--blue);
  min-height: 250px;
  padding: 24px;
}

.benefit-grid strong,
.chapter-list strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.benefit-grid p,
.chapter-list span {
  display: block;
  font-size: 16px;
  margin: 0;
}

.feature-list {
  columns: 2;
  gap: 28px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.feature-list li {
  break-inside: avoid;
  border-top: 2px solid var(--black);
  font-weight: 700;
  margin-bottom: 12px;
  padding-top: 12px;
}

.chapter-list {
  display: grid;
  gap: 12px;
}

.chapter-list article {
  border-left: 5px solid var(--blue);
  background: var(--grey);
  padding: 20px;
}

.form-section {
  background: var(--blue);
}

.form-copy {
  color: var(--black);
}

.form-copy .eyebrow {
  color: var(--black);
}

.form-note {
  background: var(--black);
  color: var(--white);
  display: inline-block;
  font-weight: 800;
  margin-top: 20px;
  padding: 18px;
}

.lead-form {
  background: var(--white);
  display: grid;
  gap: 16px;
  padding: 30px;
}

.cta-panel strong {
  font-size: 24px;
  line-height: 1.15;
}

.cta-panel p {
  font-size: 16px;
  margin-bottom: 8px;
}

.field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

label {
  display: grid;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
}

input,
select {
  background: var(--grey);
  border: 2px solid var(--black);
  border-radius: 0;
  min-height: 48px;
  padding: 0 12px;
}

.consent {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  line-height: 1.35;
}

.consent input {
  min-height: auto;
  margin-top: 2px;
}

.success-state {
  background: var(--grey);
  display: none;
  gap: 10px;
  padding: 20px;
}

.form-message {
  display: none;
  font-size: 14px;
  font-weight: 800;
  padding: 14px;
}

.form-message[data-type="error"] {
  background: #fff1f1;
  border: 2px solid #b00020;
  color: #7b0016;
  display: block;
}

.success-state.is-visible {
  display: grid;
}

.success-state strong {
  font-size: 22px;
}

.final-cta {
  text-align: center;
}

.final-cta .section-inner {
  max-width: 880px;
}

.site-footer {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 34px clamp(18px, 4vw, 52px);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .top-nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-inner,
  .split-grid,
  .inside-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .reverse .image-block {
    order: 2;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list {
    columns: 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 112px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .section-inner,
  .hero-inner {
    padding: 64px 18px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  p {
    font-size: 16px;
  }

  .guide-cover {
    min-height: 320px;
    padding: 24px;
  }

  .guide-cover h2 {
    font-size: 36px;
  }

  .benefit-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
