@import url("https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400;700;800;900&display=swap");

:root {
  --blue: #00aeff;
  --black: #000000;
  --white: #ffffff;
  --grey: #f2f2f2;
  --line: #000000;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Wix Madefor Display", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(18px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 140px;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.nav-link,
.nav-cta,
.button {
  border-radius: 0;
  cursor: pointer;
  font-weight: 900;
}

.nav-link {
  border: 0;
  background: transparent;
  font-size: 14px;
}

.nav-link:hover,
.site-footer a:hover {
  color: var(--blue);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  background: transparent;
  text-align: center;
}

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

.button.secondary {
  border-color: var(--white);
  color: var(--white);
}

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

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 94vh;
  padding: 136px clamp(18px, 5vw, 58px) 52px;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background: url("assets/hero-agent-open-home.jpg") center / cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.68));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.48fr);
  align-items: end;
  gap: clamp(32px, 6vw, 76px);
  width: min(var(--max), 100%);
  min-height: calc(94vh - 188px);
}

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

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

.intro .eyebrow.dark,
.comparison .eyebrow.dark,
.proof .eyebrow.dark {
  color: var(--blue);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 1;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4.7vw, 58px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.12;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2.1vw, 23px);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.62);
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: 800;
}

.hero-form-card {
  padding: 28px;
  border: 0;
  background: var(--blue);
  color: var(--white);
}

.hero-form-card h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
}

.hero-form-card p {
  color: var(--white);
}

.hero-form-card .button.primary {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.card-label {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 58px);
}

.section-inner,
.section-heading,
.benefit-grid,
.comparison-table,
.proof-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
}

.section-heading.compact {
  display: block;
  max-width: 840px;
  margin-bottom: 38px;
}

.section-heading p {
  font-size: 19px;
}

.benefit-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.benefit-grid article,
.proof-grid article {
  border: 1px solid var(--black);
  background: var(--white);
  padding: 28px;
}

.benefit-grid article {
  border: 0;
  background: var(--grey);
  min-height: 236px;
}

.proof-grid article {
  border: 0;
  background: var(--white);
}

.benefit-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 900;
}

.value-band,
.lifestyle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--grey);
}

.value-band figure,
.lifestyle figure {
  margin: 0;
}

.value-band img,
.lifestyle img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.value-panel,
.lifestyle-copy {
  align-self: center;
  padding: clamp(42px, 7vw, 88px);
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.02em;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

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

.comparison-table {
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.58fr 1fr 1fr;
}

.comparison-row > div {
  padding: 22px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.comparison-row.header > div {
  background: var(--black);
  color: var(--white);
  font-weight: 900;
}

.comparison-row > div:first-child {
  font-weight: 900;
}

.comparison-row > div:last-child {
  background: var(--grey);
}

.comparison-row.header > div:last-child {
  background: var(--blue);
}

.disclaimer {
  width: min(var(--max), 100%);
  margin: 20px auto 0;
  font-size: 14px;
}

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

.proof-grid article {
  display: grid;
  align-content: start;
  min-height: 280px;
  gap: 12px;
}

.proof-grid p {
  margin-bottom: 0;
  font-size: 17px;
}

.proof-grid span,
blockquote span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lifestyle {
  grid-template-columns: minmax(420px, 0.86fr) minmax(0, 1fr);
  background: var(--black);
  color: var(--white);
}

.lifestyle-copy p {
  font-size: 19px;
}

.form-section {
  background: var(--blue);
  color: var(--white);
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 58px);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.96fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

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

.form-copy p {
  font-size: 19px;
}

blockquote {
  margin: 34px 0 0;
  padding: 24px;
  border-left: 6px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
}

blockquote span {
  margin-top: 18px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 0;
  background: var(--grey);
  color: var(--black);
}

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

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

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

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

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

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

.form-message[data-type="error"] {
  display: block;
  border: 2px solid var(--black);
  background: var(--grey);
  color: var(--black);
}

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

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

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

.final-cta {
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 58px);
  border: 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

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

.final-cta .button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 128px;
}

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

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

  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .section-heading,
  .form-grid,
  .value-band,
  .lifestyle {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 80px;
  }

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

  .lifestyle figure {
    order: -1;
  }

  .value-band img,
  .lifestyle img {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand img {
    width: 112px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: 98px 16px 42px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-form-card,
  .lead-form,
  .benefit-grid article,
  .proof-grid article {
    padding: 22px;
  }

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

  .comparison-table {
    border-left: 0;
  }

  .comparison-row {
    display: block;
    border-left: 1px solid var(--black);
  }

  .comparison-row.header {
    display: none;
  }

  .comparison-row > div:first-child {
    background: var(--black);
    color: var(--white);
  }

  .value-panel,
  .lifestyle-copy,
  .section,
  .form-section,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

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