/* Native advertorial kit. SellHouseFast default tokens (Kumbh Sans, blue #0070ff) with an
   editorial reading column. One file for index.html and exit.html. */

:root {
  --blue: #0070ff;
  --blue-hover: #005fe6;
  --blue-soft: #e8f1ff;
  --bg: #f5f8fd;
  --panel: #fff;
  --panel-alt: #f6f9fe;
  --ink: #17202e;
  --muted: #5b6b7c;
  --line: #e6ecf3;
  --line-strong: rgba(23, 32, 46, .16);
  --green: #15803d;
  --amber: #b45309;
  --red: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-ctl: 8px;
  --shadow: 0 10px 30px rgba(2, 32, 71, .06);
  --font: 'Kumbh Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--panel);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1:focus, h2:focus, h3:focus, h1:focus-visible, h2:focus-visible, h3:focus-visible { outline: none; }
code { font-family: var(--mono); font-size: .92em; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -120px; z-index: 100; background: #fff; color: var(--blue);
  padding: 10px 14px; border-radius: var(--radius-ctl); box-shadow: var(--shadow); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- demo banner (added by shared.js) ---------- */
.demo-banner {
  position: relative; z-index: 60; display: flex; flex-wrap: wrap; gap: 2px 8px; justify-content: center;
  padding: 7px 14px; font-size: 13px; line-height: 1.35; text-align: center;
  background: #fff7e6; color: #7a3d06; border-bottom: 1px solid #f3d7a8;
}
.demo-banner strong { color: var(--amber); }

/* ---------- the advertisement label: always first on the page ---------- */
.ad-label {
  display: flex; justify-content: center; padding: 6px 16px;
  background: var(--panel-alt); border-bottom: 1px solid var(--line);
}
.ad-label-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}

/* ---------- header ---------- */
.adv-wrap { width: 100%; max-width: 720px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.adv-header { border-bottom: 1px solid var(--line); }
.adv-header-row { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
/* Neutral placeholder for your own logo. Replace the span with your logo image. */
.logo-slot {
  display: inline-flex; align-items: center; justify-content: center; width: 140px; height: 36px; flex: none;
  border: 2px dashed #b9c6d8; border-radius: 8px; background: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b7a8c;
}

/* ---------- article ---------- */
.adv-main { padding-top: 22px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 28px; }
.article { display: flex; flex-direction: column; gap: 16px; }
.sponsor-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-size: 13.5px; line-height: 1.4; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.sponsor-line strong { color: var(--ink); }
.sponsor-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 3px 10px;
}
.article-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.article h1 { font-size: clamp(28px, 6.4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.article-dek { font-size: clamp(17px, 2.6vw, 20px); line-height: 1.5; color: var(--muted); }
.article-art {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #cfe3f6; box-shadow: var(--shadow);
}
.article-body { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; }
.article-body h2 { font-size: clamp(22px, 4.4vw, 27px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; padding-top: 8px; }
@media (min-width: 768px) { .article-body { font-size: 18px; } .adv-main { padding-top: 32px; } }

/* ---------- the inline check ---------- */
.q-card {
  background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: var(--radius); box-shadow: 0 18px 44px rgba(2, 32, 71, .1);
  padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 16px;
  font-size: 16px; line-height: 1.5; scroll-margin-top: 12px;
}
@media (min-width: 560px) { .q-card { padding: 24px 24px 16px; } }
.q-head { display: flex; flex-direction: column; gap: 8px; }
.q-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.q-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
.q-progress { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: auto; white-space: nowrap; }
.q-bar { height: 5px; border-radius: 99px; background: var(--blue-soft); overflow: hidden; }
.q-bar span { display: block; height: 100%; width: 16%; background: var(--blue); border-radius: inherit; transition: width .3s ease; }
.q-step { display: flex; flex-direction: column; gap: 14px; }
.q-step h3 { font-size: clamp(20px, 4.6vw, 24px); line-height: 1.25; font-weight: 700; }
.q-sub { font-size: 15px; color: var(--muted); }
.q-answers { display: flex; flex-direction: column; gap: 10px; }
.q-form { display: flex; flex-direction: column; gap: 12px; }
.q-foot { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; text-align: center; }
.no-thanks { color: var(--muted); font-weight: 500; }
.no-thanks:hover { color: var(--ink); }

.back-btn {
  display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer;
  color: var(--muted); font-size: 14px; font-weight: 600; padding: 4px 2px; min-height: 32px;
}
.back-btn:hover { color: var(--ink); }
.back-btn svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 50px; padding: 12px 18px;
  border-radius: var(--radius-ctl); border: 1px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--secondary { background: var(--panel-alt); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { background: #eef3fa; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--muted); border: 0; width: auto; min-height: 40px; padding: 8px 4px; text-decoration: underline; font-weight: 500; font-size: 15px; align-self: center; }
.btn--ghost:hover { color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Tap-to-answer choices (aria-pressed) */
.choice {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px;
  padding: 13px 16px; text-align: left; cursor: pointer;
  background: var(--panel-alt); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-ctl);
  font-size: 16px; font-weight: 600; line-height: 1.3;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.choice:hover { border-color: var(--blue); background: #fff; }
.choice:active { transform: scale(.99); }
.choice[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice .choice-dot {
  flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(23, 32, 46, .3); background: #fff;
  display: grid; place-items: center;
}
.choice[aria-pressed="true"] .choice-dot { border-color: #fff; }
.choice[aria-pressed="true"] .choice-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

/* ---------- address field + suggestions ---------- */
.field-label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.combo { position: relative; }
.combo-input-wrap { position: relative; }
.combo-input-wrap svg.combo-pin {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #94a3b8; pointer-events: none;
}
.text-input {
  width: 100%; min-height: 50px; padding: 10px 12px 10px 38px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-ctl); background: #fff;
  font-size: 16px; color: var(--ink);
}
.text-input::placeholder { color: #8796a8; }
.text-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 112, 255, .2); }
.text-input[aria-invalid="true"] { border-color: var(--red); }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  list-style: none; padding: 6px; margin: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 18px 40px rgba(2, 32, 71, .16);
  max-height: 280px; overflow-y: auto;
}
.combo-list .combo-head { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8796a8; padding: 6px 10px 4px; }
.combo-opt {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 8px; cursor: pointer; color: var(--ink);
  font-size: 15px; line-height: 1.3;
}
.combo-opt svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #94a3b8; }
.combo-opt small { display: block; color: var(--muted); font-size: 13px; }
.combo-opt[aria-selected="true"], .combo-opt:hover { background: var(--blue-soft); }
.field-hint { font-size: 13px; color: var(--muted); }
.field-hint button { border: 0; background: none; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font-size: 13px; font-weight: 600; text-align: left; }
.field-error { font-size: 14px; color: var(--red); font-weight: 500; }

.coverage-status { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
.mini-spinner { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 3px solid var(--blue-soft); border-top-color: var(--blue); animation: shf-spin .8s linear infinite; }

/* ---------- house confirm ---------- */
.house-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: #cfe3f6; }
.house-scene { position: absolute; inset: 0; overflow: hidden; background: #cfe3f6; }
.house-scene svg { width: 100%; height: 100%; max-width: none; }
.house-scene .house-sample { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 58%; }
.house-scene .house-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; animation: shf-in .5s ease both; }
.illus-tag {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; font-size: 10px; font-weight: 600; letter-spacing: .04em;
  color: rgba(255, 255, 255, .95); background: rgba(15, 23, 42, .45); padding: 3px 8px; border-radius: 99px;
}
.confirm-address { display: flex; flex-direction: column; gap: 2px; font-size: 16px; color: var(--muted); }
.confirm-address strong { font-size: 20px; line-height: 1.25; color: var(--ink); font-weight: 700; }
.coverage-result {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 13.5px; font-weight: 600; color: var(--green); background: #ecf8f0; border-radius: 999px; padding: 5px 12px 5px 10px;
}
.coverage-result svg { width: 16px; height: 16px; flex: none; }
.turnstile-slot { min-height: 65px; font-size: 14px; color: var(--red); }
.confirm-note { font-size: 14px; font-weight: 600; color: var(--amber); background: #fff7e6; border-radius: 8px; padding: 8px 10px; }

/* ---------- hand-off ---------- */
.handoff { display: flex; flex-direction: column; gap: 10px; }
.handoff-top { display: flex; align-items: center; gap: 12px; }
.handoff-icon { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.handoff-spinner { border: 4px solid var(--blue-soft); border-top-color: var(--blue); animation: shf-spin .8s linear infinite; }
.handoff-check { background: var(--green); color: #fff; }
.handoff-check svg { width: 24px; height: 24px; }
.handoff h3 { font-size: clamp(20px, 4.6vw, 24px); line-height: 1.2; font-weight: 700; }
.handoff-addr { font-size: 15px; color: var(--muted); }
.handoff-addr strong { color: var(--ink); font-weight: 600; }
.progress { height: 6px; border-radius: 99px; background: var(--blue-soft); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .3s ease; }
.handoff[data-state="going"] .progress span { animation: shf-fill 1.8s ease-out forwards; }
.handoff[data-state="ready"] .progress span { width: 100%; background: var(--green); }
.handoff-ready { font-size: 15px; color: var(--ink); }

.partner-panel { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel-alt); }
.partner-panel summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--ink);
}
.partner-panel summary::-webkit-details-marker { display: none; }
.partner-panel summary svg { width: 16px; height: 16px; transition: transform .2s ease; flex: none; }
.partner-panel[open] summary svg { transform: rotate(180deg); }
.partner-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.url-box {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.55;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--ink);
  overflow-wrap: anywhere; word-break: break-all;
}
.url-box .p-key { color: var(--blue); font-weight: 700; }
.param-list { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; font-size: 13px; }
.param-list dt { font-family: var(--mono); color: var(--blue); font-weight: 700; }
.param-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.exit-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; justify-content: center; }

/* ---------- demo-only event list ---------- */
.event-log {
  border: 1px dashed #c3d3ea; border-radius: var(--radius-sm); background: var(--panel-alt);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted);
}
.event-log h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.event-log-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.event-log-item { overflow-wrap: anywhere; }
.event-log-item code { color: var(--blue); font-weight: 700; }

/* ---------- legal footer ---------- */
.legal { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.legal p { margin: 0; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.legal-links a { color: inherit; font-weight: 600; }
.adv-footer { border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- exit page ---------- */
.x-page { background: var(--bg); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.x-page .adv-header { background: #fff; }
.x-main { flex: 1; width: 100%; max-width: 600px; margin: 0 auto; padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 22px; }
.x-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.x-card h1 { font-size: clamp(22px, 5vw, 30px); line-height: 1.2; font-weight: 700; }
.x-body { color: var(--muted); font-size: 16px; }
.exit-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.exit-icon svg { width: 26px; height: 26px; }
.alt-path {
  border: 2px dashed #c3d3ea; border-radius: var(--radius-sm); background: var(--panel-alt); padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.alt-path strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.alt-path span { font-size: 15px; color: var(--ink); }
.x-actions { justify-content: flex-start; }
.x-back { width: auto; }
@media (min-width: 768px) { .x-card { padding: 32px; } }

/* ---------- motion ---------- */
@keyframes shf-spin { to { transform: rotate(360deg); } }
@keyframes shf-fill { from { width: 4%; } to { width: 100%; } }
@keyframes shf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.view-enter { animation: shf-in .3s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
