/* Showings On Demand
   Layout: sticky white header, photo hero with the booking card,
   then full-width bands (how it works, comparison, red CTA, footer).
   Single light look, red / white / black only. */
:root {
  --red: #D7261E;
  --red-dark: #A3170F;
  --ink: #141211;
  --body: #3B3836;
  --muted: #625E5B;
  --line: #DEDAD7;
  --field: #CFCAC6;
  --tint: #F5F3F1;
  --white: #FFFFFF;
  --dark: #1C1A19;
  --ok: #1E7A3C;

  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --radius: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.02;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--white);
  padding: 10px 14px; border-radius: 8px; z-index: 50;
}
.skip-link:focus { left: 12px; }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 10px; flex-wrap: wrap;
}
.brand img { height: 80px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav a {
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 15px;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a.nav-agents {
  font-size: 13px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 6px 10px;
}
.nav a.nav-agents:hover, .nav a.nav-agents[aria-current="page"] {
  color: var(--ink); border-color: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 10px; border: 0;
  background: var(--red); color: var(--white);
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer;
}
.nav a.btn, .btn:hover { color: var(--white); }
.nav .btn {
  min-height: 36px; padding: 7px 14px;
  font-size: 14px; border-radius: 8px;
}
.btn:hover { background: var(--red-dark); }

@media (max-width: 720px) {
  .brand img { height: 58px; }
  .nav { gap: 16px; }
  .nav .nav-link, .nav .nav-agents { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--tint);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 34%, rgba(255,255,255,0.15) 60%, rgba(255,255,255,0) 75%),
    url("img/hero.jpg");
  background-size: cover;
  background-position: center right;
}
.hero .wrap {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 40px; padding-block: 48px 56px;
}
.hero-copy { flex: 1 1 440px; min-width: 0; padding-top: 24px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
}
.hero h1 { font-size: clamp(48px, 7vw, 82px); margin-top: 18px; }
.hero h1 .red { color: var(--red); display: block; }
.hero-lede { font-size: 19px; color: var(--ink); margin: 22px 0 0; max-width: 31em; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--ink); font-size: 16px;
}
.check-dot {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center;
}
.check-dot svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.86) 45%, rgba(255,255,255,0.55) 100%),
      url("img/hero.jpg");
  }
  .hero-copy { padding-top: 0; }
}

/* ---------- Booking card ---------- */
.book-card {
  flex: 1 1 400px; min-width: 0; max-width: 500px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 18, 17, 0.18);
  padding: 28px;
  scroll-margin-top: 90px;
}
.book-card h2 { font-size: 34px; }
.book-sub { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

.form { display: grid; gap: 18px; margin-top: 20px; }
.field-group { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-label, .field-group legend {
  font-weight: 700; font-size: 15px; color: var(--ink); padding: 0;
}
.field-label .num, legend .num { color: var(--red); }
.field-label .hint, legend .hint { font-weight: 400; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.input-wrap { position: relative; }
.input-wrap > svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--muted); pointer-events: none;
}
.input, select.input {
  width: 100%; height: 50px;
  border: 1.5px solid var(--field); border-radius: 10px;
  padding: 0 12px 0 42px;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--white);
}
select.input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23141211' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 32px;
}
input[type="date"].input { padding-right: 8px; }
.input::placeholder { color: #8B8682; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,18,17,0.12); }
.input[aria-invalid="true"] { border-color: var(--red); background: #FFF6F5; }
.error {
  color: var(--red-dark); font-size: 14px; font-weight: 600; margin: 0;
}

.toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.toggle-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.toggle-3 label { text-align: center; line-height: 1.15; padding: 0 6px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label {
  display: flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 10px; border: 1.5px solid var(--field);
  font-weight: 700; color: var(--ink); cursor: pointer; background: var(--white);
}
.toggle input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--white); }
.toggle input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }

.btn-send {
  height: 58px; width: 100%;
  border: 0; border-radius: 12px;
  background: var(--red); color: var(--white);
  font-family: var(--display); font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--red-dark);
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
}
.btn-send:hover { background: #C21F18; }
.btn-send:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-dark); }
.btn-send[disabled] { opacity: 0.7; cursor: wait; }
.btn-send .arrow {
  width: 28px; height: 28px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center;
}
.btn-send .arrow svg { width: 16px; height: 16px; color: var(--red); }

.secure-note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0;
}
.secure-note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }

.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* code + success steps */
.step-panel { display: grid; gap: 16px; margin-top: 20px; }
.code-input {
  height: 64px; width: 100%;
  border: 2px solid var(--field); border-radius: 12px;
  text-align: center; font-family: var(--sans); font-weight: 700;
  font-size: 32px; letter-spacing: 0.35em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.code-input:focus { outline: none; border-color: var(--ink); }
.text-btn {
  background: none; border: 0; padding: 6px 0; min-height: 44px;
  color: var(--ink); font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: underline; cursor: pointer;
}
.text-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.success-badge {
  width: 84px; height: 84px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; margin: 4px auto 0;
}
.success-badge svg { width: 44px; height: 44px; color: var(--white); }
.center { text-align: center; }
.summary {
  background: var(--tint); border-radius: 12px; padding: 16px;
  display: grid; gap: 12px;
}
.summary dt {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.summary dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.demo-flag {
  font-size: 13px; background: #FFF4D6; color: #5C4300;
  border-radius: 8px; padding: 8px 12px; margin: 0;
}

/* ---------- Sections ---------- */
.band { padding-block: 72px; }
.section-head { text-align: center; display: grid; gap: 10px; justify-items: center; }
.section-head h2 { font-size: clamp(38px, 5vw, 54px); }
.section-head p { margin: 0; font-size: 19px; color: var(--body); max-width: 40em; }
.rule-title { display: flex; align-items: center; gap: 22px; }
.rule-title::before, .rule-title::after {
  content: ""; width: 72px; height: 3px; background: var(--red); border-radius: 2px;
}

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}
.step {
  text-align: center; padding: 8px 28px;
  display: grid; justify-items: center; gap: 8px; align-content: start;
}
.step + .step { border-left: 1px solid var(--line); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-family: var(--display); font-size: 20px; display: grid; place-items: center;
}
.step svg { width: 52px; height: 52px; color: var(--ink); margin: 4px 0; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; letter-spacing: 0.01em; }
.step p { margin: 0; color: var(--muted); max-width: 22em; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
}

/* comparison */
.compare { position: relative; background: var(--tint); overflow: hidden; }
.compare-bg { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.compare-bg .old {
  background: #6E6A67 url("img/open-house.jpg") center / cover;
  filter: grayscale(1);
}
.compare-bg .new { background: #EDE7E1 url("img/living-room.jpg") center / cover; }
.compare-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 22%, rgba(255,255,255,0) 45%);
}
.compare .wrap { position: relative; }
.compare-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px; margin-top: 150px;
}
.compare-card { border-radius: 14px; padding: 26px 28px; display: grid; gap: 12px; align-content: start; }
.compare-card h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.compare-card li svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; }
.card-old { background: rgba(28,26,25,0.94); }
.card-old h3, .card-old li { color: var(--white); }
.card-new { background: var(--white); border: 3px solid var(--red); }
.card-new h3 { color: var(--red); }
.card-new li { color: var(--ink); }
.compare-link { text-align: center; margin-top: 28px; }
.compare-link a { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) {
  .compare-bg { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .compare-bg::after { background: rgba(255,255,255,0.35); }
  .compare-cards { grid-template-columns: 1fr; margin-top: 40px; gap: 24px; }
}

/* CTA band */
.cta { background: var(--red); color: var(--white); }
.cta .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 52px;
}
.cta h2 { color: var(--white); font-size: clamp(38px, 5vw, 56px); }
.cta p { margin: 6px 0 0; font-size: 21px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--white); color: var(--ink); text-decoration: none;
  font-family: var(--display); font-size: 26px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 16px 28px; border-radius: 12px; min-height: 44px;
}
.cta-btn:hover { color: var(--ink); background: var(--tint); }
.cta-btn .arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.cta-btn .arrow svg { width: 16px; height: 16px; color: var(--white); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 20px; padding-block: 32px; font-size: 15px; color: var(--muted);
}
.site-footer strong { color: var(--ink); font-size: 17px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }

/* ---------- Content pages ---------- */
.page-hero { background: var(--ink); color: var(--white); }
.page-hero .wrap { padding-block: 64px 56px; display: grid; gap: 14px; }
.page-hero .eyebrow { color: #F0B8B5; }
.page-hero h1 { color: var(--white); font-size: clamp(42px, 6vw, 68px); }
.page-hero p { margin: 0; font-size: 20px; max-width: 36em; color: #E9E5E2; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 34px; margin-top: 8px; }
.prose p { margin: 10px 0 0; }

.pain-list { display: grid; gap: 40px; }
.pain { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; }
.pain-icon {
  width: 64px; height: 64px; border-radius: 16px; background: var(--tint);
  display: grid; place-items: center;
}
.pain-icon svg { width: 32px; height: 32px; color: var(--red); }
.fix { margin-top: 12px !important; padding: 12px 16px; background: var(--tint); border-radius: 10px; color: var(--ink); }
.fix strong { color: var(--red); }

.table-scroll { overflow-x: auto; margin-top: 24px; }
.vs-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 16px; }
.vs-table th, .vs-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs-table thead th { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.vs-table thead th:last-child { color: var(--red); }
.vs-table td:first-child { font-weight: 700; color: var(--ink); }
.vs-table td:last-child { color: var(--ink); font-weight: 600; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--red);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

.legal h2 { font-size: 26px; margin-top: 28px; }
.legal p, .legal li { color: var(--body); }
.updated { color: var(--muted); font-size: 15px; }

/* ---------- Agents page ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cta-btn-red { background: var(--red); color: var(--white); margin-top: 10px; font-size: 22px; }
.cta-btn-red:hover { background: var(--red-dark); color: var(--white); }
.cta-btn .arrow-white { background: var(--white); }
.cta-btn .arrow-white svg { color: var(--red); }

.agent-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.agent-info { flex: 1 1 360px; min-width: 0; display: grid; gap: 14px; align-content: start; }
.agent-info h2 { font-size: 34px; }
.agent-info h2 + * { margin-top: -4px; }
.agent-list, .agent-steps { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; font-size: 18px; }
.agent-list li::marker { color: var(--red); }
.agent-steps li::marker { color: var(--red); font-weight: 800; }
.agent-card { flex: 1 1 460px; max-width: 560px; border: 1px solid var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 56px; padding: 0 14px;
  border: 1.5px solid var(--field); border-radius: 10px;
  font-weight: 700; color: var(--ink); cursor: pointer; background: var(--white);
}
.chips input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }

.agree { gap: 12px; }
.agree-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; color: var(--ink); }
.agree-row input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); }
.agree-row label { cursor: pointer; }
.life-callout {
  background: var(--ink); color: var(--white);
  border-radius: 16px; padding: 26px 28px; margin-bottom: 18px;
  display: grid; gap: 10px;
}
.life-callout h2 { color: var(--white); font-size: 38px; }
.life-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #F0B8B5; }
.life-callout p { margin: 0; font-size: 18px; color: #EDEAE7; }
.life-callout ul { margin: 4px 0 0; padding-left: 22px; display: grid; gap: 8px; font-size: 17px; }
.life-callout li::marker { color: var(--red); }
.life-callout .life-fine { font-size: 15px; color: #C9C4C0; border-top: 1px solid #3A3634; padding-top: 12px; margin-top: 4px; }
.life-callout .life-fine strong { color: var(--white); }
.free-strip { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.free-strip li { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--white); }
.free-note { color: var(--red); font-size: 16px; }

/* Yes/No buttons: obvious hover, and a check mark on the chosen one */
.toggle label { gap: 8px; transition: border-color .12s ease, background .12s ease; }
.toggle label:hover { border-color: var(--ink); }
.toggle input:checked + label::before {
  content: ""; width: 18px; height: 18px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.toggle input[aria-invalid="true"] + label { border-color: var(--red); }
/* Chosen answer = brand red with a white check */
.toggle input:checked + label,
.chips input:checked + label { background: var(--red); border-color: var(--red); color: var(--white); }
.toggle input:focus-visible + label,
.chips input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.chips label { gap: 8px; }
.chips input:checked + label::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
