/* Landing — mega emerald-gradient hero, address bar as the single action. */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; padding: 22px 34px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 500; color: #fff; }
.brand .mk { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.brand .mk svg { width: 16px; height: 16px; stroke: #fff; }
.nav .links { margin-left: auto; display: flex; gap: 26px; }
.nav .links a { color: var(--emerald-sub); font-size: 14px; text-decoration: none; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0A4E3A 0%, #0E7A57 52%, #16A578 100%); padding: 72px 34px 90px; }
.hero .inner { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 56px; }
.hcopy { flex: none; max-width: 560px; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--emerald-light); background: rgba(255,255,255,.1); padding: 6px 13px; border-radius: 20px; margin-bottom: 22px; }
.eyebrow svg { width: 14px; height: 14px; stroke: var(--emerald-light); }
h1 { font-size: 54px; line-height: 1.05; font-weight: 500; color: #fff; letter-spacing: -0.03em; }
h1 .hl { color: #BDEBD6; }
.sub { font-size: 17px; line-height: 1.6; color: var(--emerald-sub); margin-top: 20px; max-width: 480px; }

.addrbar { display: flex; gap: 8px; margin-top: 30px; background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow); max-width: 520px; }
.addrbar .field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-width: 0; }
.addrbar .field svg { width: 18px; height: 18px; stroke: var(--emerald); flex: none; }
.addrbar .field:focus-within { outline: 2px solid var(--emerald); outline-offset: 2px; border-radius: 10px; }
.addrbar input { border: none; outline: none; font-family: var(--font); font-size: 15px; color: var(--ink); width: 100%; background: transparent; }
.addrbar input::placeholder { color: var(--ink-faint); }
.addrbar button { border: none; background: linear-gradient(135deg, var(--emerald-deep), var(--emerald)); color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 600; padding: 14px 22px; border-radius: 12px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 7px; transition: transform .1s ease, box-shadow .15s ease; }
.addrbar button:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(11,92,68,.55); }
.addrbar button:active { transform: scale(.98); }
.addrbar button svg { width: 16px; height: 16px; stroke: #fff; }
.addrbar button[disabled] { opacity: .75; cursor: default; }

.trust { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.trust span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--emerald-sub); }
.trust svg { width: 14px; height: 14px; stroke: var(--emerald-light); }
.errline { margin-top: 14px; font-size: 14px; color: #FFD9D2; min-height: 18px; }

.preview { flex: .95; position: relative; z-index: 2; }
.pvcard { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; transform: rotate(1.4deg); }
.pvtag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--emerald-deep); background: var(--emerald-tint); border-radius: 999px; padding: 3px 10px; margin-bottom: 11px; }
.pvhero { background: linear-gradient(120deg, #0B5C44, #16A578); border-radius: 14px; padding: 18px; color: #fff; }
.pvhero .e { font-size: 11px; color: var(--emerald-light); }
.pvhero .n { font-size: 38px; font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; }
.pvhero .n .p { font-size: 15px; color: var(--emerald-light); font-weight: 500; }
.pvhero .s { font-size: 11px; color: #DFF3EA; margin-top: 7px; }
.pvrow { display: flex; gap: 9px; margin-top: 11px; }
.pvstat { flex: 1; background: #F7F6F1; border-radius: 11px; padding: 11px; }
.pvstat .k { font-size: 10px; color: var(--ink-faint); }
.pvstat .v { font-size: 17px; font-weight: 500; margin-top: 3px; }
.pvstat .v.em { color: var(--emerald); }
.pvbars { display: flex; height: 11px; border-radius: 6px; overflow: hidden; gap: 2px; margin-top: 11px; }

.how { max-width: 1040px; margin: 0 auto; padding: 64px 34px; }
.how h2 { font-size: 13px; color: var(--emerald); font-weight: 500; text-align: center; margin-bottom: 8px; }
.how .ht { font-size: 28px; font-weight: 500; text-align: center; letter-spacing: -0.02em; margin-bottom: 38px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.step .num { width: 38px; height: 38px; border-radius: 11px; background: var(--emerald-tint); color: var(--emerald-deep); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 16px; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.footer { background: #0A4E3A; color: var(--emerald-sub); padding: 36px 34px; }
.footer .fin { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer .disc { margin-left: auto; font-size: 12px; color: #9FC9B9; max-width: 520px; line-height: 1.5; }
.footer .disc a { color: #BDEBD6; }

.scan-overlay { position: fixed; inset: 0; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 50; }
.scan-overlay.show { opacity: 1; pointer-events: auto; }
.scan-ring { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--emerald-tint); border-top-color: var(--emerald); animation: spin .8s linear infinite; }
.scan-overlay p { font-size: 14px; color: var(--ink-soft); }
.scan-overlay p b { font-weight: 500; color: var(--ink); }

/* cross-band — the Sell vs. Rent placement after "how it works" (question-led) */
.cross-band { max-width: 1040px; margin: 0 auto; padding: 0 34px 56px; }
.cross-band .cb-inner { background: var(--surface); border: 1.5px solid var(--line); border-left: 4px solid var(--amber); border-radius: 0 18px 18px 0; padding: 28px 30px; box-shadow: var(--shadow); }
.cross-band .cb-eyebrow { font-size: 13px; font-weight: 500; color: var(--amber-tint-ink); background: var(--amber-tint); display: inline-block; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.cross-band h2 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.cross-band p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 10px 0 18px; max-width: 68ch; }
.cross-band .cb-cta { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--emerald-deep), var(--emerald)); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 15px; border-radius: 14px; padding: 14px 24px; box-shadow: 0 12px 28px -10px rgba(11,92,68,.5); transition: transform .1s ease, box-shadow .15s ease; }
.cross-band .cb-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(11,92,68,.6); }

@media (max-width: 920px) {
  .hero { padding: 48px 20px 60px; }
  .hero .inner { flex-direction: column; gap: 40px; }
  h1 { font-size: 38px; }
  .addrbar { flex-direction: column; max-width: none; }
  .addrbar button { justify-content: center; padding: 14px; }
  .preview { width: 100%; max-width: 420px; }
  .steps { grid-template-columns: 1fr; }
  .footer .disc { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .scan-ring { animation: none; } }

/* family-of-sites line (hub link pending) */
.footer .fam { flex-basis: 100%; font-size: 12px; color: #9FC9B9; }

/* a11y: focus on the emerald hero nav needs a light ring */
.nav .links a:focus-visible { outline-color: #fff; }

/* Hero video (family standard) — layered behind the existing hero copy.
   The emerald gradient on .hero stays as the ultimate fallback. Scrim opacity
   is MEASURED (canvas-sampled over the actual poster crop), not guessed. */
.hero .lp-hero-poster, .hero .lp-hero-vid { z-index: 0; }
.hero .lp-hero-poster img, .hero .lp-hero-vid { object-position: 68% center; }
.hero .lp-hero-scrim { z-index: 1; background: linear-gradient(96deg, rgba(7,54,41,.95) 0%, rgba(7,54,41,.89) 34%, rgba(7,54,41,.66) 62%, rgba(7,54,41,.28) 100%); }
.hero .inner { position: relative; z-index: 2; }
.lp-hero-pause { width: 40px; height: 40px; }
.lp-hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 920px) {
  .hero .lp-hero-poster img, .hero .lp-hero-vid { object-position: 76% center; }
  .hero .lp-hero-scrim { background: linear-gradient(180deg, rgba(7,54,41,.90) 0%, rgba(7,54,41,.88) 50%, rgba(7,54,41,.5) 100%); }
}

/* "Did you mean?" address confirmation — shown only when RentCast's matched
   address differs from what was typed, so a report is never rendered for the
   wrong home without an explicit OK. */
.addr-confirm[hidden] { display: none; }
.addr-confirm {
  margin-top: 14px; padding: 16px 18px; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); max-width: 520px;
}
.addr-confirm .ac-q { margin: 0 0 6px; font-weight: 600; color: var(--ink); font-size: 15px; }
.addr-confirm .ac-match {
  margin: 0 0 14px; color: var(--emerald-deep); font-weight: 600;
  font-size: 16px; line-height: 1.35;
}
.addr-confirm .ac-row { display: flex; flex-wrap: wrap; gap: 10px; }
.addr-confirm .ac-yes, .addr-confirm .ac-no {
  font: inherit; font-weight: 600; padding: 10px 16px; border-radius: 10px;
  cursor: pointer; border: 1px solid transparent;
}
.addr-confirm .ac-yes { background: var(--emerald); color: #fff; }
.addr-confirm .ac-yes:hover { background: var(--emerald-deep); }
.addr-confirm .ac-no { background: transparent; color: var(--ink); border-color: var(--line); }
.addr-confirm .ac-no:hover { background: var(--paper); }
.addr-confirm .ac-yes:focus-visible, .addr-confirm .ac-no:focus-visible {
  outline: 2px solid var(--emerald-deep); outline-offset: 2px;
}

/* Sample report: show the value before asking for an address, so the first
   action on the page does not have to be handing over where you live. */
.samplelink { margin: 12px 0 0; }
.samplelink a {
  color: #fff; font-weight: 600; font-size: 14px;
  text-decoration: underline; text-underline-offset: 3px;
}
.samplelink a:hover { color: var(--emerald-light); }

.sample { background: var(--paper); padding: 56px 18px 10px; }
.sample-inner { max-width: 1040px; margin: 0 auto; }
.sample-tag {
  display: inline-block; background: var(--emerald-tint); color: var(--emerald-tint-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.sample h2 {
  font-family: Fraunces, Georgia, serif; font-size: 30px; font-weight: 600;
  color: var(--ink); margin: 14px 0 6px; line-height: 1.2;
}
.sample-lead { color: var(--ink-soft); margin: 0 0 22px; max-width: 640px; line-height: 1.55; }
.sample-card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow); max-width: 820px;
}
.sc-hero { background: linear-gradient(135deg, var(--emerald-deep), var(--emerald)); color: #fff; padding: 22px 24px; }
.sc-eyebrow { font-size: 12.5px; opacity: .88; }
.sc-total { font-family: Fraunces, Georgia, serif; font-size: 44px; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.sc-total .per { font-size: 18px; font-weight: 400; opacity: .82; }
.sc-sub { font-size: 14.5px; opacity: .94; margin-top: 4px; }
.sc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.sc-stat { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.sc-stat .k { font-size: 12px; color: var(--ink-faint); }
.sc-stat .v { font-size: 19px; font-weight: 600; color: var(--ink); }
.sc-stat .v.em { color: var(--emerald); }
.sc-list { list-style: none; margin: 0; padding: 18px 24px 4px; }
.sc-list li { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 12px; }
.sc-list li b { color: var(--ink); }
.sc-cta {
  display: inline-block; margin: 6px 24px 0; background: var(--emerald); color: #fff;
  font-weight: 600; padding: 11px 18px; border-radius: 10px; text-decoration: none;
}
.sc-cta:hover { background: var(--emerald-deep); }
.sc-cta:focus-visible { outline: 2px solid var(--emerald-deep); outline-offset: 2px; }
.sc-included { border-top: 1px solid var(--line); margin: 6px 24px 0; padding: 16px 0 0; }
.sc-inc-head { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.sc-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sc-chips li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; margin: 0;
}
.sc-chips li b { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.sc-chips li span { font-size: 11px; color: var(--ink-faint); }
.sc-inc-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.sc-note { margin: 12px 24px 20px; font-size: 12.5px; color: var(--ink-faint); }
@media (max-width: 860px) { .sc-chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .sc-chips { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .sc-stats { grid-template-columns: 1fr; }
  .sample h2 { font-size: 24px; }
  .sc-total { font-size: 36px; }
}
