/* ============================================================
   BUILT — installbuilt.com
   Single shared stylesheet for all pages
   Sections: Base → Router → Page Shell → Components → Agent → Leaders → Forms → Responsive
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --black:        #050505;
  --black-2:      #101010;
  --black-3:      #171717;
  --charcoal:     #141414;
  --ink:          #181818;
  --muted:        #626262;
  --line:         #e3e0dc;
  --soft:         #f7f4ef;
  --white:        #ffffff;
  --soft-white:   rgba(255, 255, 255, 0.84);
  --muted-white:  rgba(255, 255, 255, 0.68);
  --accent:       #C27F3A;
  --border:       rgba(255, 255, 255, 0.18);
  --shadow:       rgba(0, 0, 0, 0.45);
  --radius:       22px;
  --card-shadow:  0 18px 60px rgba(0, 0, 0, 0.12);
}

/* ── Reset ──────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1 {
  font-size: clamp(2.55rem, 5.45vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 42px;
  align-items: center;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Typography helpers ─────────────────────────────────────── */
.eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 850;
  color: var(--accent);
}

.lead {
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.45;
  color: #3c3c3c;
  max-width: 760px;
}

.no-wrap { white-space: nowrap; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  border: 2px solid transparent;
  padding: 16px 25px;
  font-weight: 850;
  font-size: 1rem;
  min-height: 56px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.btn-primary  { background: var(--accent); color: #fff; }
.btn-dark     { background: var(--black); color: #fff; }
.btn-light    { background: #fff; color: var(--black); }
.btn-outline  { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Sections ───────────────────────────────────────────────── */
.section       { padding: 74px 0; }
.section-soft  { background: var(--soft); }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.proof-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 29px;
  color: #fff;
  backdrop-filter: blur(12px);
}

.proof-card h3 { color: #fff; }
.proof-card p  { color: rgba(255, 255, 255, 0.78); }

.quote {
  font-size: clamp(1.35rem, 2.45vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 850;
}


.session-note {
  margin: -8px 0 24px;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}

.session-note strong {
  color: #fff;
  font-weight: 850;
}

.testimonials-section {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.testimonial-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
  margin: 18px 0 0;
  font-size: clamp(1.08rem, 1.4vw, 1.26rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.testimonial-meta {
  display: grid;
  gap: 3px;
}

.testimonial-meta strong {
  font-size: 1.08rem;
  color: var(--black);
}

.testimonial-meta span {
  color: var(--muted);
  font-size: 0.96rem;
}

.featured-testimonial {
  background: var(--black);
  color: #fff;
}

.featured-testimonial .testimonial-meta strong,
.featured-testimonial p {
  color: #fff;
}

.featured-testimonial .testimonial-meta span {
  color: rgba(255, 255, 255, 0.66);
}

/* ── Feature list ───────────────────────────────────────────── */
.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 950;
}

/* ── Timeline ───────────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

/* ── Guarantee band ─────────────────────────────────────────── */
.guarantee {
  background: linear-gradient(140deg, var(--black), #161616);
  color: #fff;
}

.guarantee .lead { color: rgba(255, 255, 255, 0.8); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 19px 21px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--black);
  font-size: 1rem;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  background: radial-gradient(ellipse at top center, rgba(194, 127, 58, 0.2), transparent 42%),
              linear-gradient(140deg, #080808, #000);
  color: #fff;
  text-align: center;
}

.cta-band .lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 32px 0;
  color: #6a7280;
  text-align: center;
  font-size: 0.92rem;
  background: #fff;
}

.footer a {
  font-weight: 800;
  color: var(--black);
}

/* ══════════════════════════════════════════════════════════════
   ROUTER PAGE
   ══════════════════════════════════════════════════════════════ */
body.router-page {
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at center top,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.10) 22%,
      rgba(255, 255, 255, 0.035) 42%,
      rgba(0, 0, 0, 0) 68%
    ),
    linear-gradient(
      180deg,
      #232323 0%,
      #111111 38%,
      #050505 74%,
      #000000 100%
    );
  color: #ffffff;
}

body.router-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.03));
  opacity: 0.85;
}

.router {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 72px);
}

.router-panel {
  width: min(1120px, 100%);
  text-align: center;
}

.router-panel h1 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: var(--white);
  text-wrap: balance;
}

.logo {
  display: block;
  width: min(370px, 60vw);
  height: auto;
  margin: 0 auto clamp(42px, 6vw, 72px);
}

.role-label {
  margin: clamp(24px, 3vw, 34px) 0 clamp(32px, 4vw, 52px);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  color: var(--soft-white);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  width: min(980px, 100%);
  margin: 0 auto;
}

.role-card {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  border: 2px solid var(--accent);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  text-decoration: none;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.1;
  font-weight: 700;
  box-shadow: 0 18px 50px var(--shadow);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.role-card:hover,
.role-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.50);
  outline: none;
}

.role-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(194, 127, 58, 0.22), 0 22px 58px rgba(0, 0, 0, 0.50);
}

.stackwrap-access {
  margin-top: clamp(28px, 4vw, 46px);
  color: var(--muted-white);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.45;
}

.stackwrap-access p {
  margin: 0 0 4px;
  font-weight: 500;
}

.stackwrap-access a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 127, 58, 0.55);
  transition: color 180ms ease, border-color 180ms ease;
}

.stackwrap-access a:hover,
.stackwrap-access a:focus-visible {
  color: var(--white);
  border-color: var(--accent);
  outline: none;
}

/* ══════════════════════════════════════════════════════════════
   PAGE SHELL (agents / leaders / register / thank-you)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.10) 22%, rgba(255, 255, 255, 0.035) 42%, rgba(0, 0, 0, 0) 68%),
    linear-gradient(180deg, #232323 0%, #111111 38%, #050505 74%, #000000 100%);
  padding: 34px 0 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.03));
  opacity: 0.85;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .lead { color: rgba(255, 255, 255, 0.84); }

.compact-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 34px 0 70px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
}

.logo-small { width: 170px; }

.topbar nav {
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
  font-size: 0.95rem;
}

.topbar nav a:hover { color: #fff; }

.hero-kicker {
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
}

/* ══════════════════════════════════════════════════════════════
   AGENT PAGE
   ══════════════════════════════════════════════════════════════ */
.copper-word { color: var(--accent); }

.hero-split {
  position: relative;
  display: block;
  min-height: 560px;
  gap: 0;
  align-items: initial;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(720px, 58vw);
  padding: 55px 0 58px;
  align-self: auto;
}

.hero-copy h1 {
  font-size: clamp(2.415rem, 3.185vw, 3.29rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
  max-width: 720px;
}

.hero-copy .lead {
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.38;
  max-width: 560px;
  margin-bottom: 18px;
}

.hero-copy .btn-row {
  gap: 14px;
  align-items: center;
}

.hero-copy .btn {
  min-height: 54px;
  padding: 15px 24px;
  font-size: 0.96rem;
}

.barry-hero {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 560px;
  min-height: 560px;
  z-index: 2;
}

.barry-hero img {
  position: absolute;
  right: -90px;
  bottom: 0;
  height: 560px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
}

.sean-hero img {
  right: -88px;
  height: 560px;
}

.barry-quote {
  position: absolute;
  left: -135px;
  top: 240px;
  z-index: 3;
  width: 360px;
  max-width: 360px;
  text-align: right;
  background: none;
  border: 0;
  backdrop-filter: none;
}

.barry-quote p {
  font-size: clamp(0.816rem, 0.867vw, 0.884rem);
  line-height: 1.22;
  margin-bottom: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
}

.barry-quote strong { color: #fff; font-weight: 650; }

.barry-quote cite {
  display: block;
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  font-size: 0.82rem;
  white-space: nowrap;
  text-align: right;
}

.sean-quote {
  left: -30px;
  top: 150px;
}

/* ══════════════════════════════════════════════════════════════
   LEADERS PAGE
   ══════════════════════════════════════════════════════════════ */
.leader-title {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
}

.leader-title span:first-child {
  display: block;
  color: #fff;
}

.leader-title span:last-child {
  display: block;
  color: var(--accent);
  font-style: italic;
  text-transform: uppercase;
}

/* Growth Flywheel */
.flywheel-section { background: #fff; }

.flywheel-section .section-intro {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}

.flywheel-section .section-intro .eyebrow { margin-bottom: 14px; }

.flywheel-section .section-intro h2 {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.flywheel-section .section-intro .lead {
  margin: 0 auto;
  color: #4a4a4a;
  max-width: 780px;
}

.flywheel-rows {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.flywheel-row {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
  padding: 0;
}

.flywheel-word {
  font-size: clamp(30px, 4.35vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #767676;
  text-transform: uppercase;
  white-space: nowrap;
}

.flywheel-word.accent {
  color: var(--accent);
  font-style: italic;
}

.flywheel-copy-block {
  max-width: 620px;
  padding-top: 3px;
}

.flywheel-copy-block h3 {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.flywheel-copy-block p {
  margin: 0;
  color: #424242;
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.5;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   FORMS (register / thank-you)
   ══════════════════════════════════════════════════════════════ */
.register-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 48px;
  align-items: center;
}

.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 12px;
}

.form-card label { font-weight: 850; }

.form-card label span {
  font-weight: 650;
  color: var(--muted);
}

.form-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
}

.form-card input:focus {
  outline: 3px solid rgba(194, 127, 58, 0.25);
  border-color: var(--accent);
}

.form-button {
  width: 100%;
  margin-top: 8px;
}

.hidden-field { display: none; }

.thank-you-panel { max-width: 820px; }

.next-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.next-card p { color: var(--muted); }
.next-card .btn { margin-top: auto; }

.disabled-link {
  opacity: 0.75;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

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

  .flywheel-section .section-intro {
    text-align: left;
    margin-bottom: 40px;
  }

  .flywheel-section .section-intro .lead { margin-left: 0; }

  .flywheel-rows { gap: 24px; }

  .flywheel-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .flywheel-word { font-size: clamp(34px, 10vw, 52px); }

  .flywheel-copy-block {
    max-width: 680px;
    padding-top: 0;
  }

  .leader-title { gap: 2px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

  .section { padding: 60px 0; }

  .split,
  .grid-2,
  .grid-3,
  .grid-4,
  .timeline,
  .register-wrap {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    gap: 22px;
    flex-direction: column;
    margin-bottom: 50px;
  }

  .topbar nav { flex-wrap: wrap; }

  .logo { margin-bottom: 34px; }

  h1 { font-size: clamp(2.35rem, 12vw, 3.75rem); }

  .card { padding: 23px; }

  .page-hero { padding-bottom: 68px; }

  .compact-hero { align-items: flex-start; }

  .form-card { padding: 24px; }

  /* Hero image: stack vertically on mobile */
  .hero-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
    z-index: 4;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.75rem);
    line-height: 0.98;
    letter-spacing: -0.052em;
  }

  .barry-hero {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: visible;
  }

  .barry-hero img,
  .sean-hero img {
    position: relative;
    right: auto;
    bottom: auto;
    height: auto;
    width: min(340px, 88vw);
    max-width: 100%;
    margin: 0 auto -8px;
    order: 1;
  }

  .barry-quote,
  .sean-quote {
    position: relative;
    left: auto;
    top: auto;
    z-index: 3;
    width: min(390px, 88vw);
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
    background: none;
    border: 0;
    backdrop-filter: none;
    order: 2;
  }

  .barry-quote p,
  .sean-quote p {
    font-size: 1.02rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 14px;
    max-width: 390px;
    text-align: center;
  }

  .barry-quote cite,
  .sean-quote cite {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 780px) {
  .router {
    align-items: center;
    padding: 32px 22px;
  }

  .logo {
    width: min(330px, 78vw);
    margin-bottom: 42px;
  }

  .role-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .role-card { min-height: 76px; }
}

@media (max-width: 420px) {
  .router-panel h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .role-label { margin-bottom: 28px; }
}

/* ══════════════════════════════════════════════════════════════
   MORTGAGE PAGE
   ══════════════════════════════════════════════════════════════ */
.mortgage-hero { padding-bottom: 78px; }
.mortgage-hero .topbar { margin-bottom: 46px; }

.mortgage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items: center;
  min-height: 575px;
}

.mortgage-copy {
  padding: 0;
  width: auto;
  align-self: center;
}

.mortgage-title {
  font-size: clamp(2.415rem, 3.185vw, 3.29rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
  margin-bottom: 18px;
  max-width: 720px;
}

.mortgage-subtitle {
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 22px;
  max-width: 760px;
}

.mortgage-copy .lead {
  max-width: 720px;
  margin-bottom: 26px;
}

.mortgage-proof {
  display: grid;
  gap: 16px;
  align-self: center;
}

.proof-stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.proof-stat span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 850;
  margin-bottom: 8px;
}

.proof-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 850;
}

.problem-section { background: #fff; }
.problem-card { font-size: 1.15rem; }

.plain-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 850;
  color: var(--black);
}

.problem-card p {
  margin: 0;
  color: #3b3b3b;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.35;
  font-weight: 650;
}

.left-intro {
  max-width: 900px;
  margin: 0 0 36px;
  text-align: left;
}

.left-intro .lead {
  margin: 0;
  color: #4a4a4a;
}

.growth-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.growth-card strong {
  display: block;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
  color: var(--black);
}

.growth-card p { margin: 0; color: #4f4f4f; }

.growth-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 850;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.accent-card {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.accent-card strong { color: #fff; }
.accent-card p { color: rgba(255, 255, 255, 0.78); }

.mortgage-dark {
  background:
    radial-gradient(ellipse at top right, rgba(194, 127, 58, 0.18), transparent 40%),
    linear-gradient(140deg, var(--black), #161616);
}

.mortgage-flywheel .flywheel-row {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.mortgage-flywheel .flywheel-word {
  font-size: clamp(27px, 3.85vw, 48px);
}

@media (max-width: 900px) {

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

  .mortgage-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
  }

  .mortgage-proof {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mortgage-title { font-size: clamp(2.35rem, 12vw, 3.75rem); }

  .growth-cards { grid-template-columns: 1fr; }

  .mortgage-flywheel .flywheel-row { grid-template-columns: 1fr; }
}


/* ── Launch polish fixes ───────────────────────────────────── */
body.agent-page #journey {
  background: #fff;
}

body.leaders-page .hero-copy h1.leader-title {
  font-size: clamp(3.14rem, 4.14vw, 4.28rem);
  line-height: 0.98;
}

body.leaders-page .barry-quote {
  left: -30px;
  top: 150px;
}

.thank-you-hero {
  min-height: 100svh;
  align-items: flex-start;
  padding-bottom: 56px;
}

.thank-you-topbar {
  margin-bottom: 42px;
}

.thank-you-panel {
  max-width: 1040px;
}

.thank-you-panel > h1 {
  max-width: 820px;
}

.thank-you-panel > .lead {
  max-width: 720px;
  margin-bottom: 28px;
}

.thank-you-next {
  margin-top: 30px;
}

.thank-you-next-header {
  margin-bottom: 16px;
}

.thank-you-next-header .eyebrow {
  margin-bottom: 8px;
}

.thank-you-next-header h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 0;
}

.thank-you-hero .next-card {
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 860px) {
  body.leaders-page .hero-copy h1.leader-title {
    font-size: clamp(3.05rem, 15.6vw, 4.88rem);
  }

  .thank-you-hero {
    min-height: auto;
    padding-bottom: 56px;
  }
}


/* ── Final launch color/link copy fixes ───────────────────── */
body.leaders-page .how-built-works-section {
  background: #fff;
  color: var(--ink);
}

body.mortgage-page .middle-section,
body.mortgage-page #included {
  background: #fff;
  color: var(--ink);
}

.thank-you-hero .next-card h3 {
  color: var(--black);
}


/* ── Final mortgage/thank-you corrections ───────────────────── */
body.mortgage-page section.middle-section,
body.mortgage-page section#included,
body.mortgage-page .middle-section,
body.mortgage-page #included {
  background: #ffffff !important;
  color: var(--ink) !important;
}

body.mortgage-page section.middle-section .card,
body.mortgage-page section#included .card {
  background: #ffffff;
}

.thank-you-hero .next-card h3,
.thank-you-hero .next-card h2 {
  color: var(--black) !important;
}

/* ── Auto-generated referral/share kit thank-you experience ───────────────────── */
.micro-note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 14px;
}

.share-kit {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
  color: var(--black);
}

.share-kit-header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.share-kit-header h2 {
  color: var(--black);
  font-size: clamp(1.55rem, 2.7vw, 2.4rem);
  line-height: 1;
  margin: 0;
}

.personal-link-box,
.share-message-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  margin-bottom: 16px;
}

.personal-link-box span,
.share-message-box span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 850;
  color: var(--accent);
  margin-bottom: 8px;
}

.personal-link-box strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--black);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.share-message-box pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  color: #333;
  margin: 0 0 16px;
}

.share-kit-preview {
  margin-top: 18px;
  background: var(--black);
  color: #fff;
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.share-kit-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.share-kit-preview-top strong {
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.share-kit-preview-top span,
.share-kit-url {
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.share-kit-preview h3 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.share-kit-preview p,
.share-kit-preview li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.45;
}

.share-kit-preview ul {
  margin: 18px 0;
  padding-left: 20px;
}

.share-kit-url {
  overflow-wrap: anywhere;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.05rem;
}

body.mortgage-page .middle-section,
body.mortgage-page #included {
  background: #fff !important;
}

@media (max-width: 720px) {
  .share-kit-header { flex-direction: column; }
  .share-kit-header .btn { width: 100%; }
}

/* ── Mortgage Middle 60% center-card text fix ───────────────────── */
body.mortgage-page .middle-section .accent-card {
  background: #ffffff !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

body.mortgage-page .middle-section .accent-card strong {
  color: var(--black) !important;
}

body.mortgage-page .middle-section .accent-card p {
  color: #4f4f4f !important;
}

/* ══════════════════════════════════════════════════════════════
   WELCOME TO BUILT / PURCHASE SUCCESS
   ══════════════════════════════════════════════════════════════ */
.welcome-built-page { background: #fff; }

.welcome-built-hero {
  padding: 34px 0 76px;
}

.welcome-built-topbar {
  margin-bottom: 42px;
}

.welcome-built-panel {
  display: grid;
  gap: 34px;
}

.welcome-built-intro {
  max-width: 850px;
}

.welcome-built-intro h1 {
  max-width: 840px;
}

.welcome-built-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.55;
  max-width: 760px;
  margin-bottom: 0;
}

.soi-booking-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.soi-booking-header {
  padding: clamp(24px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
}

.soi-booking-header h2 {
  color: var(--ink);
  max-width: 780px;
}

.soi-booking-header p:not(.eyebrow) {
  color: var(--muted);
  max-width: 840px;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.55;
  margin-bottom: 0;
}

.calendly-frame-wrap {
  background: #fff;
  min-height: 720px;
}

.calendly-frame-wrap iframe {
  display: block;
  border: 0;
  width: 100%;
}

.centered-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 42px;
}

.centered-intro h2 {
  margin-left: auto;
  margin-right: auto;
}

.welcome-next-section {
  background: #fff;
}

.welcome-step-card {
  min-height: 245px;
}

.welcome-step-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 18px;
}

.welcome-step-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.welcome-share-section {
  background: var(--black);
  color: #fff;
}

.welcome-share-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.welcome-share-card h2 {
  max-width: 650px;
}

.welcome-share-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  max-width: 760px;
  margin-bottom: 12px;
}

.welcome-share-card p:last-child { margin-bottom: 0; }

.welcome-help-section {
  background: var(--soft);
}

.welcome-help-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.welcome-help-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.welcome-help-card a {
  color: var(--ink);
  font-weight: 850;
  border-bottom: 2px solid var(--accent);
}

@media (max-width: 900px) {
  .welcome-step-grid {
    grid-template-columns: 1fr;
  }

  .welcome-share-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .welcome-share-card .btn {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .welcome-built-hero {
    padding-bottom: 50px;
  }

  .calendly-frame-wrap {
    min-height: 700px;
  }

  .calendly-frame-wrap iframe {
    height: 720px;
  }
}
