:root {
  --ink: #050b18;
  --muted: #5c6677;
  --line: #e6ebf2;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --blue: #0454ff;
  --blue-dark: #07308f;
  --cyan: #1eb7ff;
  --orange: #ff7a1a;
  --yellow: #ffd15c;
  --green: #16a06b;
  --shadow: 0 24px 70px rgba(6, 31, 78, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

main {
  overflow: hidden;
}

.site-header,
.hero,
.band,
.shift,
.solution,
.conversion,
.testimonials,
.lead-capture,
.faq,
.final-cta,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 226, 240, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(18, 40, 80, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
  min-width: 0;
}

.brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.header-cta {
  justify-self: end;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(4, 84, 255, 0);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover {
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(4, 84, 255, 0.28);
  transform: translateY(-1px);
}

.header-cta:focus-visible {
  outline: 3px solid rgba(4, 84, 255, 0.34);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 98px);
  padding: 70px 0 86px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(4, 84, 255, 0.17);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.1rem, 4.3vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.lead {
  max-width: 690px;
  margin-top: 24px;
  color: #344056;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(4, 84, 255, 0.25);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.45);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 750;
}

.trust-line::before,
.check-list li::before,
.fit-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: var(--green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.2 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-panel {
  position: relative;
}

.hero-collage {
  position: relative;
  min-height: 600px;
}

.hero-photo {
  position: absolute;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-photo-senior {
  top: 12px;
  right: 14px;
  width: 72%;
  height: 330px;
  object-position: center;
}

.hero-photo-agent {
  left: 0;
  bottom: 34px;
  width: 66%;
  height: 300px;
  object-position: center;
}

.band {
  padding: 64px;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
}

.problem {
  background: #d92d20;
}

.problem .pain-grid div {
  background: rgba(255, 255, 255, 0.16);
}

.band .eyebrow,
.final-cta .eyebrow,
.strategy .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.pain-grid,
.benefit-grid,
.fit-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
  padding: 0;
  list-style: none;
}

.pain-grid div,
.benefit-grid div,
.fit-list li {
  min-height: 118px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
}

.pain-grid div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.pain-grid i {
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
}

.statement {
  max-width: 840px;
  margin-top: 34px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 900;
}

.shift,
.conversion,
.testimonials,
.faq {
  padding: 96px 0;
}

.shift {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 44px;
  align-items: center;
}

.shift > p {
  grid-column: 2;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.6;
}

.shift-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.shift-points span {
  min-height: 150px;
  display: grid;
  align-content: center;
  place-items: center;
  gap: 14px;
  border-radius: 28px;
  color: #fff;
  background: #00b050;
  font-size: 1.2rem;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 18px 42px rgba(0, 176, 80, 0.2);
}

.shift-points i {
  font-size: 2.35rem;
  line-height: 1;
}

.solution {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 38px;
  align-items: center;
  padding: 32px 0 96px;
}

.solution-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.solution-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

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

.check-list li,
.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.steps {
  background:
    linear-gradient(135deg, rgba(4, 84, 255, 0.96), rgba(30, 183, 255, 0.82) 55%, rgba(7, 48, 143, 0.88)),
    var(--blue);
}

.step-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.step-grid article,
.testimonial-grid figure {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 3.1rem;
  line-height: 1;
  font-weight: 950;
}

.step-grid p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.conversion .section-head {
  max-width: 860px;
}

.conversion .benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.conversion .benefit-grid div {
  min-height: 104px;
  display: flex;
  align-items: center;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 1.08rem;
  line-height: 1.28;
}

.fit {
  background: #101829;
}

.fit-list {
  grid-template-columns: repeat(5, 1fr);
}

.fit-list li {
  background: rgba(255, 255, 255, 0.09);
}

.fit-list li::before {
  background: currentColor;
}

.testimonial-grid figure {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 16px 48px rgba(6, 31, 78, 0.08);
}

blockquote {
  margin: 0;
  color: #263246;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 750;
}

figcaption {
  margin-top: 24px;
  font-weight: 950;
}

figcaption span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.lead-capture {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 70px;
  border-radius: 34px;
  background: linear-gradient(135deg, #f6f9ff, #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-copy {
  display: grid;
  align-content: start;
}

.founder-photo {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 14px 34px rgba(6, 31, 78, 0.14);
}

.founder-quote {
  position: relative;
  margin: 0;
  display: grid;
  gap: 18px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  line-height: 1.42;
  font-weight: 650;
}

.founder-credit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.founder-credit strong {
  display: block;
  font-size: 1.08rem;
}

.founder-credit span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #29354b;
  font-size: 0.92rem;
  font-weight: 850;
}

.lead-form label:first-child,
.lead-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #d8e0eb;
  border-radius: 14px;
  background: #f9fbfe;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(4, 84, 255, 0.12);
}

input.is-invalid,
select.is-invalid {
  border-color: #d92d20;
  background: #fff8f7;
}

input.is-invalid:focus,
select.is-invalid:focus {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12);
}

.field-error {
  color: #b42318;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.form-note.success {
  color: #0c7a52;
  font-weight: 800;
}

.form-note.error {
  color: #b42318;
  font-weight: 800;
}

.strategy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 96px;
  background:
    linear-gradient(135deg, rgba(4, 84, 255, 0.96), rgba(30, 183, 255, 0.82) 55%, rgba(7, 48, 143, 0.88)),
    var(--blue);
}

.strategy h2 {
  max-width: 720px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 42px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}

summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta {
  margin-bottom: 30px;
  padding: 80px 40px;
  border-radius: 36px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(5, 11, 24, 0.52), rgba(5, 11, 24, 0.66)),
    url("assets/final-cta-bg.webp") center / cover;
}

.final-cta .eyebrow {
  margin-inline: auto;
}

.final-cta p:not(.eyebrow) {
  margin: 18px auto 28px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 46px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 750;
}

.submission-response {
  display: grid;
  place-items: start;
  gap: 18px;
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  margin-inline: auto;
  padding: 120px 0;
}

.submission-response p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

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

  .site-header nav {
    display: none;
  }

  .hero,
  .shift,
  .solution,
  .lead-capture {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    padding-top: 56px;
  }

  .hero-collage {
    min-height: 500px;
  }

  .shift > p {
    grid-column: auto;
  }

  .pain-grid,
  .benefit-grid,
  .fit-list,
  .conversion .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .band,
  .shift,
  .solution,
  .conversion,
  .testimonials,
  .lead-capture,
  .faq,
  .final-cta,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    max-width: 132px;
    font-size: 0.92rem;
  }

  .site-header {
    gap: 8px;
    padding-inline: 10px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 64px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-collage {
    min-height: 560px;
  }

  .hero-photo {
    border-width: 6px;
    border-radius: 22px;
  }

  .hero-photo-senior {
    top: 0;
    right: 0;
    width: 88%;
    height: 280px;
  }

  .hero-photo-agent {
    bottom: 76px;
    width: 82%;
    height: 250px;
  }

  .band,
  .lead-capture {
    padding: 30px 20px;
    border-radius: 26px;
  }

  .pain-grid,
  .benefit-grid,
  .fit-list,
  .shift-points,
  .mini-stats,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .pain-grid div,
  .benefit-grid div,
  .fit-list li {
    min-height: auto;
  }

  .shift,
  .conversion,
  .testimonials,
  .faq {
    padding: 66px 0;
  }

  .solution {
    padding-bottom: 66px;
  }

  .lead-form label,
  .lead-form label:first-child {
    grid-column: 1 / -1;
  }

  .final-cta {
    padding: 58px 20px;
  }

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