/* WealthLink Media — water damage restoration funnel.
   Layout rhythm follows a single-column VSL page: hero, proof cards,
   screenshot wall, portrait video rail, legal footer.
   Palette is deep navy and teal with an amber accent. No red. */

@font-face {
  font-family: "Manrope Local";
  src: local("Manrope"), local("Segoe UI");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #0B1F33;
  --body: #24384A;
  --muted: #3A5164;
  --faint: #4E6576;
  --line: #D5E3EA;
  --line-soft: #E7EFF3;
  --paper: #F4F8F9;
  --white: #FFFFFF;
  --teal: #0C5E72;
  --teal-mid: #12748A;
  --teal-deep: #084556;
  --aqua: #14788A;
  --amber: #F3C15A;
  --amber-ink: #6B4A08;
  --navy: #071828;
  --shadow: rgba(7, 24, 40, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--white); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Manrope", "Segoe UI", "Avenir Next", system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input { font-family: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 20;
  transform: translateY(-140%);
}
.skip:focus { transform: none; }

.hl {
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-size: 100% 0.92em;
  background-position: 0 0.28em;
  padding: 0 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-sm { padding: 0 4px; }

.page {
  min-height: 100vh;
  padding: 56px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark:hover { color: var(--teal); }

.hero {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.hero-sub {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.5;
  color: var(--body);
  text-align: center;
  max-width: 720px;
  text-wrap: pretty;
}

.vsl {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
  padding-top: 56.25%;
}
.vsl > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.vsl-note {
  margin: 0;
  font-size: 18px;
  color: var(--body);
  text-align: center;
}

.form-head {
  width: 100%;
  max-width: 640px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.form-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}
.form-head p {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  text-align: center;
  text-wrap: pretty;
}

.form-shell {
  width: 100%;
  max-width: 640px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 22px 18px;
  background: #fff;
  scroll-margin-top: 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--teal-mid) 0%, var(--teal) 55%, var(--teal-deep) 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 20px 46px;
  border-radius: 10px;
  border: 0;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 2px rgba(7, 24, 40, 0.18),
    0 8px 20px rgba(12, 94, 114, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.cta:hover,
.cta:focus-visible {
  background: linear-gradient(180deg, #0E6A80 0%, #0A5264 55%, #073E4C 100%);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 4px rgba(7, 24, 40, 0.2),
    0 14px 28px rgba(12, 94, 114, 0.34);
}
.cta:focus-visible {
  outline: 3px solid rgba(12, 94, 114, 0.4);
  outline-offset: 3px;
}
.cta:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 5px rgba(4, 28, 36, 0.35),
    0 1px 2px rgba(7, 24, 40, 0.2);
}
button.cta { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover, .cta:focus-visible, .cta:active { transform: none; }
}

.proof {
  width: 100%;
  max-width: 1120px;
  margin-top: 88px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.proof-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 820px;
}
.proof-head .eyebrow { font-size: 13px; }
.proof-head h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}
.proof-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
}
.stats li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 10px 12px;
  text-align: center;
}
.stats strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--teal-deep);
}
.stats span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 600;
}

.proof-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.card-body h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.metric {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  text-wrap: pretty;
}
.quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
.attrib {
  margin: auto 0 0;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.wall {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.tile-shot {
  display: block;
  height: 360px;
  padding: 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.tile-body {
  flex: 1;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tile-head {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.tile-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}
.tile-cap {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}

.media-slot {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 18px 16px;
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, #E5F2F5 0 14px, #F7FBFC 14px 28px);
  border: 2px dashed var(--teal);
}
.card > .media-slot {
  aspect-ratio: 3 / 2;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
}
.media-slot-kicker {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.media-slot strong {
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.media-slot span:last-child {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28em;
}

[hidden] { display: none !important; }

.videos {
  width: 100%;
  max-width: 1120px;
  margin-top: 88px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.videos h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}
.rail,
.videos .testimonial-grid {
  width: 100%;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.vid {
  flex: 0 0 258px;
  scroll-snap-align: start;
}
.vid-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
}
.vid-name {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.vid-biz {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.testimonial-quote {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--body);
}

.legal {
  width: 100%;
  max-width: 860px;
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal p {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: var(--faint);
  text-wrap: pretty;
}
.legal strong { color: var(--muted); font-weight: 700; }
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
}
.legal-links a,
.legal a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-links a:hover,
.legal a:hover { color: var(--ink); }

/* Lead form — same field hooks the windows system expects. */
.lead-form .field {
  display: grid;
  grid-template-rows: 1fr;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.lead-form .field > .field-inner { min-height: 0; overflow: hidden; }
.lead-form .field.is-open > .field-inner { overflow: visible; transform: none; }
.lead-form .field.is-hidden {
  grid-template-rows: 0fr;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}
.lead-form .field[data-step="businessName"] { z-index: 60; }
.lead-form label {
  display: block;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}
.lead-form .field.is-done > .field-inner > label::after {
  content: " ✓";
  color: #1B6B45;
}
.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid #C5D5DE;
  border-radius: 10px;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 94, 114, 0.2);
}
.lead-form .field.has-error input {
  border-color: var(--amber-ink);
  box-shadow: 0 0 0 3px rgba(107, 74, 8, 0.18);
}
.field-error {
  display: none;
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-ink);
}
.field.has-error .field-error { display: block; }
.fine-print {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.form-progress {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 0 18px;
}
.form-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-mid) 60%, var(--amber));
}

.autocomplete-wrapper { position: relative; }
.ac-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(7, 24, 40, 0.14);
  max-height: 264px;
  overflow-y: auto;
  z-index: 100;
}
.ac-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.ac-item.active,
.ac-item:hover { background: #E7F4F7; }
.ac-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal);
}
.ac-text { display: flex; flex-direction: column; min-width: 0; }
.ac-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.ac-addr {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ac-spinner {
  position: absolute;
  right: 12px;
  top: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: acSpin 0.7s linear infinite;
}
@keyframes acSpin { to { transform: rotate(360deg); } }
.autocomplete-wrapper.is-picked input {
  border-color: #1B6B45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B6B45' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
  padding-right: 36px;
}

/* Portrait placeholders and the explainer card. */
.video-card { position: relative; cursor: pointer; }
.vid-frame.video-card { width: 100%; margin: 0; aspect-ratio: 9 / 16; }
.video-card img,
.video-card video,
.video-card .hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card .hover-video {
  opacity: 0;
  pointer-events: none;
}
.video-card.is-previewing .hover-video { opacity: 1; }
.video-card.is-committed .hover-video { pointer-events: auto; }
.video-card.is-previewing img,
.video-card.is-previewing .play-btn { opacity: 0; }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.play-btn svg { width: 20px; height: 20px; fill: var(--navy); margin-left: 3px; }
.video-card .sound-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 24, 40, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}
.video-card.is-muted .sound-hint { opacity: 1; }
.placeholder-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 12px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 24, 40, 0.45)),
    repeating-linear-gradient(135deg, #14596C 0 14px, #0C4554 14px 28px);
}
.placeholder-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--amber);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.placeholder-thumb-label {
  margin: 52px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.video-card.is-placeholder { cursor: default; }

.explainer-video-wrap { width: 100%; margin: 0 auto 8px; }
.explainer-video-wrap .video-card {
  aspect-ratio: 16 / 9;
  max-height: none;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}
.explainer-video-wrap.is-placeholder .video-card {
  border: 2px dashed var(--teal);
  background: var(--navy);
}

/* Inner pages */
.subpage { width: 100%; max-width: 760px; }
.subpage h1 { font-size: 40px; }
.page-copy {
  margin: 8px auto 0;
  max-width: 40em;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}
.page-copy a { color: var(--teal-deep); font-weight: 700; }
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 18px;
}
.contact-card {
  width: 100%;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 20px;
  text-align: center;
  background: var(--paper);
}
.contact-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.contact-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.reach-note {
  margin: 8px 0 0;
  color: var(--body);
  font-size: 16px;
}
.report-heading {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
  text-wrap: balance;
}
.report-subheading {
  margin: 0 0 8px;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
}
.step-bar,
#stepBar.step-heading {
  width: 100%;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
  padding: 14px 16px;
  border-radius: 8px;
  margin: 22px 0 14px;
}
.step2-heading {
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  margin: 22px 0 12px;
}
.calendar-card { width: 100%; margin-bottom: 28px; }
.calendar-loading {
  text-align: center;
  color: var(--navy);
  background: var(--paper);
  border: 2px dashed var(--teal);
  border-radius: 12px;
  padding: 32px 16px;
  font-size: 18px;
  font-weight: 800;
}
.subpage .videos { margin-top: 48px; padding-top: 40px; }
.subpage .videos h2 { font-size: 32px; }

.legal-page {
  width: 100%;
  max-width: 760px;
  align-items: stretch;
}
.legal-page h1 { text-align: left; font-size: 32px; }
.legal-page h2 {
  text-align: left;
  font-size: 20px;
  margin: 28px 0 8px;
}
.legal-page p,
.legal-updated {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 12px;
}
.legal-updated { color: var(--muted); font-size: 14px; }
.legal-page a { color: var(--teal-deep); font-weight: 700; }
.back-link {
  margin: 0 0 12px;
  font-weight: 700;
}
.back-link a { color: var(--teal-deep); text-decoration: none; }
.back-link a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .page { padding: 40px 18px 72px; }
  h1 { font-size: 30px; line-height: 1.36; }
  h1 br { display: none; }
  .hero-sub { font-size: 18px; }
  .vsl-note { font-size: 16px; }
  .form-head h2 { font-size: 26px; }
  .form-head p { font-size: 17px; }
  .form-shell { padding: 16px 14px 14px; }
  .proof { margin-top: 64px; padding-top: 52px; gap: 32px; }
  .proof-head h2,
  .videos h2,
  .subpage h1 { font-size: 30px; }
  .proof-grid { grid-template-columns: 1fr; }
  .wall { grid-template-columns: 1fr; gap: 18px; }
  .tile-shot { height: 240px; }
  .tile-head { font-size: 18px; }
  .legal { margin-top: 56px; padding-top: 26px; }
  .videos { margin-top: 64px; padding-top: 52px; gap: 26px; }
  .vid { flex: 0 0 min(258px, 66vw); }
  .card-body { padding: 22px 22px 24px; }
  .card-body h3 { font-size: 22px; }
  .metric { font-size: 17px; }
  .cta { width: 100%; max-width: 420px; font-size: 18px; padding: 19px 22px; }
  button.cta { max-width: none; }
  .report-heading { font-size: 24px; }
}
