:root {
  --bg: #f7f5ef;
  --surface: #fffefa;
  --ink: #1c2430;
  --muted: #68717d;
  --line: #dcded9;
  --navy: #172b4d;
  --orange: #e45f2b;
  --orange-soft: #f8ded2;
  --green: #0d7b5f;
  --green-soft: #d9f0e8;
  --yellow: #a66a00;
  --yellow-soft: #f8eac9;
  --red: #b73f38;
  --red-soft: #f6d9d6;
  --shadow: 0 18px 50px rgb(23 43 77 / 8%);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.is-locked { overflow: hidden; }
body.is-locked > :not(.password-gate) { visibility: hidden; }

.password-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgb(228 95 43 / 18%), transparent 32%),
    radial-gradient(circle at 85% 80%, rgb(13 123 95 / 15%), transparent 35%),
    var(--navy);
}

.password-gate[hidden] { display: none; }

.password-card {
  width: min(100%, 480px);
  padding: 42px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 20px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 28px 80px rgb(0 0 0 / 28%);
}

.password-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--orange);
  font-size: 23px;
  font-weight: 850;
}

.password-card h1 { margin: 5px 0 10px; font-size: clamp(32px, 7vw, 48px); }
.password-intro { margin: 0 0 28px; color: var(--muted); }
.password-card label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 12px; font-weight: 800; }
.password-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.password-field input {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: white;
  font: inherit;
}
.password-field input:focus { border-color: var(--orange); outline: 3px solid rgb(228 95 43 / 16%); }
.password-field button {
  padding: 12px 18px;
  border: 0;
  border-radius: 9px;
  color: white;
  background: var(--orange);
  font-weight: 800;
  cursor: pointer;
}
.password-field button:hover { background: #c94e20; }
.password-error { min-height: 24px; margin: 8px 0 0; color: var(--red); font-size: 12px; font-weight: 700; }

a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgb(220 222 217 / 80%);
  background: rgb(247 245 239 / 92%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--orange);
  font-size: 20px;
  font-weight: 800;
}

.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { color: var(--navy); font-size: 17px; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; }

.top-nav { display: flex; align-items: center; gap: 28px; }
.top-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.top-nav a:hover, .top-nav a.is-active { color: var(--orange); }

.report-link {
  justify-self: end;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.report-link:hover { border-color: var(--orange); color: var(--orange); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
  gap: 70px;
  align-items: center;
  max-width: var(--max);
  min-height: 640px;
  margin: 0 auto;
  padding: 90px 24px;
}

.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(48px, 7vw, 82px); letter-spacing: -.055em; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4.3vw, 52px); letter-spacing: -.042em; }
h3 { font-size: 20px; letter-spacing: -.018em; }

.hero-lead { max-width: 700px; margin-bottom: 34px; color: #4e5968; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: #213d6b; }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-secondary:hover { border-color: var(--orange); color: var(--orange); }

.hero-card {
  padding: 28px;
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card-label { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-card > strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 30px; line-height: 1.2; }
.hero-card > p:not(.card-label) { color: var(--muted); font-size: 14px; }
.headline-verdicts { margin: 22px 0 0; }
.headline-verdicts div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-top: 1px solid var(--line); }
.headline-verdicts dt { color: var(--muted); font-size: 11px; }
.headline-verdicts dd { margin: 0; color: var(--navy); font-size: 11px; font-weight: 800; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.mini-stats dl { min-width: 0; margin: 0; }
.mini-stats dt { color: var(--navy); font-size: 25px; font-weight: 800; line-height: 1; }
.mini-stats dd { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }

.section { padding: 104px max(24px, calc((100vw - var(--max)) / 2)); }
.section-tinted { border-block: 1px solid var(--line); background: #efeee8; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-heading > div { max-width: 720px; }
.section-intro { max-width: 390px; margin-bottom: 4px; color: var(--muted); font-size: 14px; text-align: right; }
.section-heading.compact { margin-bottom: 28px; }

.verdict-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.finding {
  position: relative;
  min-height: 260px;
  padding: 29px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.finding-primary { border-color: #efb49b; background: #fff8f4; }
.finding-number { position: absolute; top: 16px; right: 22px; color: #d9d9d2; font-size: 56px; font-weight: 800; line-height: 1; }
.finding h3 { max-width: 80%; margin: 22px 0 12px; font-size: 25px; }
.finding > p:not(.pill) { max-width: 84%; color: #4f5966; font-size: 14px; }
.finding .finding-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; }
.pill { display: inline-flex; margin: 0; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.pill-high { color: var(--green); background: var(--green-soft); }
.pill-medium { color: var(--yellow); background: var(--yellow-soft); }

.callout { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 18px 22px; border-radius: 12px; background: var(--navy); color: white; }
.callout span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--navy); background: white; font-weight: 900; }
.callout p { margin: 0; font-size: 13px; }
.callout-light { margin-top: 32px; color: var(--ink); background: var(--yellow-soft); }
.callout-light span { color: white; background: var(--yellow); }

.five-source-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 18px; }
.five-source-grid article { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.five-source-grid span, .five-source-grid strong, .five-source-grid small { display: block; }
.five-source-grid span { margin-bottom: 18px; color: var(--orange); font-size: 10px; font-weight: 900; }
.five-source-grid strong { color: var(--navy); font-size: 13px; }
.five-source-grid small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-button span { margin-left: 5px; color: #9a9fa6; }
.filter-button:hover, .filter-button.is-active { border-color: var(--navy); color: white; background: var(--navy); }
.filter-button.is-active span { color: #bec9dc; }

.table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 14px 18px; color: var(--muted); background: #f4f4ef; font-size: 10px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
td { padding: 18px; border-top: 1px solid #e8e9e5; vertical-align: middle; }
tbody tr { transition: opacity .18s ease; }
tbody tr:hover { background: #faf9f5; }
td strong, td small { display: block; }
td strong { color: var(--navy); }
td small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.source-icon { display: inline-grid; width: 24px; height: 24px; margin-right: 7px; place-items: center; border-radius: 7px; color: white; font-size: 10px; font-weight: 900; }
.source-icon.airbnb { background: #ff5a5f; }
.source-icon.rabbu { background: var(--orange); }
.source-icon.redfin { background: #b6282e; }
.source-icon.seller { background: #6e5bb4; }
.source-icon.zillow { background: #146bc1; }
.source-icon.google { background: #4285f4; }
.unknown { color: var(--red); font-weight: 700; }
.confidence { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.confidence.high { color: var(--green); background: var(--green-soft); }
.confidence.mixed { color: var(--yellow); background: var(--yellow-soft); }
.empty-state { margin: 0; padding: 38px; color: var(--muted); text-align: center; }

.evidence-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.evidence-list li { display: grid; grid-template-columns: 54px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.evidence-list li > span { color: var(--orange); font-size: 12px; font-weight: 800; }
.evidence-list h3 { margin: 0 0 4px; font-size: 16px; }
.evidence-list p { margin: 0; color: var(--muted); font-size: 13px; }
.evidence-list a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; font-weight: 750; text-decoration: none; }
.evidence-list a:hover { border-color: var(--orange); color: var(--orange); }

.method-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 52px; }
.method-grid article { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.method-grid h3 { margin: 14px 0 10px; }
.method-grid article > p:last-child { color: var(--muted); font-size: 13px; }
.method-arrow { color: var(--orange); font-size: 24px; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.detail-grid-three { grid-template-columns: repeat(3, 1fr); }
.detail-card { padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.detail-card h3 { margin: 20px 0 12px; font-size: 23px; }
.detail-card > p:not(.pill, .card-label, .fine-print) { color: #4f5966; font-size: 13px; }
.detail-card .fine-print { margin-top: 20px; color: var(--muted); font-size: 11px; }
.warning-card { border-color: #e8b0ab; background: #fff8f7; }
.pill-risk { color: var(--red); background: var(--red-soft); }
.weights { margin: 4px 0 0; }
.weights div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px solid var(--line); }
.weights dt { color: var(--muted); font-size: 12px; }
.weights dd { margin: 0; color: var(--navy); font-size: 12px; font-weight: 850; }
.inline-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.inline-links a, .text-link { display: inline-flex; padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-size: 10px; font-weight: 800; text-decoration: none; }
.inline-links a:hover, .text-link:hover { border-color: var(--orange); color: var(--orange); }
.text-link { margin-top: 12px; }

.proof-stack { border-top: 1px solid var(--line); }
.proof-stack article { display: grid; grid-template-columns: 44px 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.proof-index { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: white; background: var(--navy); font-size: 11px; font-weight: 900; }
.proof-stack h3 { margin: 0 0 5px; font-size: 16px; }
.proof-stack p { margin: 0; color: var(--muted); font-size: 12px; }
.proof-stack a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; font-weight: 800; text-decoration: none; }
.proof-stack a:hover { border-color: var(--orange); color: var(--orange); }
code { padding: 2px 5px; border-radius: 5px; color: #8a3f21; background: var(--orange-soft); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

.negative-findings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.negative-findings li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.negative-findings span { color: var(--orange); font-size: 10px; font-weight: 900; }
.negative-findings p { margin: 0; color: #4f5966; font-size: 12px; }
.negative-findings strong { color: var(--navy); }
.competitor-note { display: grid; grid-template-columns: .8fr 1fr auto; gap: 30px; align-items: center; margin-top: 18px; padding: 24px; border-radius: 14px; color: white; background: var(--navy); }
.competitor-note h3 { margin: 0; color: white; font-size: 19px; }
.competitor-note p:not(.card-label) { margin: 0; color: #c5cede; font-size: 12px; }
.competitor-note a { padding: 8px 10px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 8px; font-size: 10px; font-weight: 800; text-decoration: none; }
.competitor-note a:hover { border-color: #ff9d74; color: #ff9d74; }

.section-dark { color: white; background: var(--navy); }
.section-dark .eyebrow { color: #ff9d74; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .section-intro { color: #afbdd2; }
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.risk-card { padding: 25px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 15px; background: rgb(255 255 255 / 5%); }
.risk-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.risk-top span { padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.risk-high .risk-top span { color: #ffb1ab; background: rgb(183 63 56 / 28%); }
.risk-medium .risk-top span { color: #ffdda0; background: rgb(166 106 0 / 30%); }
.risk-low .risk-top span { color: #9be0cb; background: rgb(13 123 95 / 28%); }
.risk-top strong { font-size: 20px; }
.risk-card p { margin: 24px 0 20px; color: #c5cede; font-size: 13px; }
.risk-card small { color: #8494ad; }
.risk-card a { color: #ffb495; font-size: 10px; font-weight: 800; text-decoration: none; }
.risk-card a:hover { text-decoration: underline; }
.risk-links { display: flex; gap: 14px; margin: -6px 0 14px; }
.risk-source { display: inline-block; margin: -6px 0 14px; }
.questions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; margin-top: 58px; padding-top: 48px; border-top: 1px solid rgb(255 255 255 / 16%); }
.questions h3 { max-width: 330px; font-size: 29px; }
.questions ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; margin: 0; padding: 0; list-style: none; counter-reset: question; }
.questions li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid rgb(255 255 255 / 12%); color: #c7d1e0; font-size: 13px; counter-increment: question; }
.questions li::before { position: absolute; left: 0; color: #ff9d74; content: counter(question, decimal-leading-zero); font-size: 9px; font-weight: 900; }

.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reference-grid a { position: relative; min-height: 125px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); text-decoration: none; }
.reference-grid a:hover { border-color: var(--orange); transform: translateY(-2px); }
.reference-grid span, .reference-grid strong { display: block; }
.reference-grid span { margin-bottom: 18px; color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.reference-grid strong { max-width: 80%; color: var(--navy); font-size: 14px; }
.reference-grid em { position: absolute; right: 18px; bottom: 16px; color: var(--muted); font-style: normal; }
.reference-heading { margin: 46px 0 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 16px; }
.reference-heading:first-of-type { margin-top: 0; }
.method-note { margin-top: 48px; padding: 28px; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; background: #efeee8; }
.method-note h3 { margin-bottom: 10px; }
.method-note p { max-width: 920px; margin-bottom: 8px; color: var(--muted); font-size: 12px; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer p { margin: 0; }
footer a { font-weight: 750; text-decoration: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding-top: 70px; }
  .hero-card { max-width: 520px; }
  .section-heading { display: block; }
  .section-intro { margin-top: 14px; text-align: left; }
  .method-grid { grid-template-columns: 1fr; }
  .method-arrow { transform: rotate(90deg); text-align: center; }
  .questions { grid-template-columns: 1fr; gap: 14px; }
  .five-source-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid-three { grid-template-columns: 1fr; }
  .competitor-note { grid-template-columns: 1fr; gap: 14px; }
  .reference-grid { grid-template-columns: repeat(2, 1fr); }
  .table-wrap { overflow-x: auto; }
  table { min-width: 900px; }
}

@media (max-width: 620px) {
  .password-card { padding: 30px 22px; }
  .password-field { grid-template-columns: 1fr; }
  .site-header { min-height: 66px; padding-inline: 16px; }
  .brand small, .report-link span { display: none; }
  .report-link { padding: 8px 10px; }
  .hero, .section { padding-inline: 18px; }
  .hero { padding-block: 56px 70px; }
  h1 { font-size: 48px; }
  .verdict-grid, .risk-grid, .reference-grid { grid-template-columns: 1fr; }
  .five-source-grid, .detail-grid, .negative-findings { grid-template-columns: 1fr; }
  .finding { min-height: 240px; }
  .finding > p:not(.pill) { max-width: 100%; }
  .section { padding-block: 76px; }
  .section-heading { margin-bottom: 30px; }
  .evidence-list li { grid-template-columns: 34px 1fr; }
  .evidence-list a { grid-column: 2; width: max-content; }
  .proof-stack article { grid-template-columns: 34px 1fr; }
  .proof-stack a { grid-column: 2; width: max-content; }
  .questions ol { grid-template-columns: 1fr; }
  footer { display: block; }
  footer a { display: inline-block; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
