/* PropertyDX public site: the home page, pricing and the invite form.
   The application keeps its own styles in base.html; nothing here reaches it.
   No web fonts and no scripts: system typefaces, and native <details> for
   the menu and the questions, so the page is fast and private by default. */

:root {
  --ink: #14201a;
  --ink-2: #33423a;
  --muted: #5d6a63;
  --paper: #fbfaf7;
  --sand: #f3efe6;
  --sand-2: #ebe5d8;
  --line: #e2ddd1;
  --green: #3d6b1f;
  --green-dark: #2b4d14;
  --green-tint: #edf3e6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 26, .06), 0 12px 32px rgba(20, 32, 26, .10);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline: 3px solid #9cc47a; outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0; }
.eyebrow { font: 600 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 38em; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--sans); padding: 15px 22px; border-radius: 999px;
       text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-small { padding: 10px 16px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(251, 250, 247, .92); backdrop-filter: saturate(1.4) blur(10px);
               -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 20px/1 var(--sans); letter-spacing: -.01em; }
.logo svg { flex: none; }
.logo b { color: var(--green); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.current { color: var(--ink); font-weight: 600; }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #fff; }
.menu { display: none; }
@media (max-width: 880px) {
  .site-nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-panel { display: grid; }
  .menu-panel { display: none; position: absolute; right: 0; top: 52px; background: var(--white); border: 1px solid var(--line);
                border-radius: 12px; box-shadow: var(--shadow); padding: 10px; min-width: 230px; gap: 2px; }
  .menu-panel a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
  .menu-panel a:hover { background: var(--sand); }
}

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: #2a2a24; }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero::after { content: ""; position: absolute; inset: 0;
               background: linear-gradient(90deg, rgba(12, 20, 16, .82) 0%, rgba(12, 20, 16, .62) 38%, rgba(12, 20, 16, .10) 72%, rgba(12, 20, 16, 0) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center;
              min-height: min(760px, 88vh); padding-top: 72px; padding-bottom: 72px; }
.hero h1 { max-width: 12.5em; }
.hero .lede { color: rgba(255,255,255,.9); margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.75); }
@media (max-width: 960px) {
  .hero::after { background: linear-gradient(180deg, rgba(12,20,16,.55) 0%, rgba(12,20,16,.78) 60%, rgba(12,20,16,.9) 100%); }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; padding-bottom: 56px; }
}

/* The sample report card */
.sample { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; max-width: 460px; justify-self: end; width: 100%; }
.sample-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sample-head .tag { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: var(--green-tint); padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.sample-head b { display: block; font-size: 16px; }
.sample-head span { font-size: 13px; color: var(--muted); }
.sample ul { list-style: none; margin: 0; padding: 6px 0; }
.sample li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 11px 20px; }
.sample li + li { border-top: 1px solid #f0ece3; }
.sample li svg { margin-top: 2px; color: var(--green); }
.sample li b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.sample li div > span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sample-foot { background: var(--sand); padding: 12px 20px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 960px) { .sample { justify-self: start; } }

/* Sections */
section { padding: 104px 0; }
section.tight { padding: 56px 0; }
.sand { background: var(--sand); }
.ink { background: var(--ink); color: #fff; }
.ink .lede, .ink .muted { color: rgba(255,255,255,.78); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .lede { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Sources strip */
.sources { border-bottom: 1px solid var(--line); background: var(--white); }
.sources .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; justify-content: center; padding-top: 26px; padding-bottom: 26px; }
.sources p { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sources ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.sources li { font: 600 17px/1 var(--serif); color: var(--ink-2); }

/* How it works */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.steps .n { width: 48px; height: 48px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font: 700 18px/1 var(--serif); }
.steps h3 { margin: 4px 0 6px; }
.steps p { color: var(--ink-2); }

/* What's in a report */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-2); }
.cards-note { margin-top: 26px; color: var(--muted); font-size: 15.5px; }

/* The lot */
.lot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
/* Cropped to the frame, and the outline cropped with it: "cover" and the SVG's
   "slice" scale and centre the same way, so the dashed lot stays on its lot. */
.lot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.lot svg.outline { position: absolute; inset: 0; width: 100%; height: 100%; }
.lot figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(20,32,26,.82); color: #fff; font-size: 13px; padding: 8px 12px; border-radius: 8px; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.checks svg { color: var(--green); margin-top: 3px; }
.ink .checks li { color: rgba(255,255,255,.88); }
.ink .checks svg { color: #9cc47a; }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 960px) { .audiences { grid-template-columns: 1fr; } }
.audience { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.audience img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.audience .body { padding: 24px 24px 28px; }
.audience h3 { margin-bottom: 10px; }
.audience p { color: var(--ink-2); font-size: 16px; }
.audience .plain { display: grid; place-items: center; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--green-tint), var(--sand-2)); color: var(--green); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principles h3 { font-size: 20px; margin: 16px 0 8px; }
.principles p { color: rgba(255,255,255,.78); font-size: 16px; }
.principles svg { color: #9cc47a; }

/* Coverage */
.coverage .states { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.coverage .states span { background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 960px) { .plans, .plans.two { grid-template-columns: 1fr; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--green); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .who { color: var(--muted); font-size: 15px; margin-top: 6px; }
.plan .price { margin: 22px 0 4px; font: 600 46px/1 var(--serif); letter-spacing: -.02em; }
.plan .price small { font: 500 16px/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { color: var(--green); margin-top: 4px; }
.plan .btn { margin-top: auto; justify-content: center; }
.terms-box { margin-top: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; font-size: 15px; color: var(--ink-2); max-width: 860px; }
.terms-box h3 { font-size: 18px; margin-bottom: 8px; }
.beta-note { display: flex; gap: 14px; align-items: flex-start; background: var(--green-tint); border: 1px solid #cfe0bf; border-radius: var(--radius); padding: 18px 22px; margin: 0 0 44px; max-width: 860px; color: var(--ink-2); }
.beta-note svg { color: var(--green); flex: none; margin-top: 3px; }

/* Questions */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 600 19px/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 26px/1 var(--sans); color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* Invite */
.invite { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .invite { grid-template-columns: 1fr; gap: 36px; } }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
.form label:first-of-type { margin-top: 0; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font: 16px/1.3 var(--sans); background: var(--paper); color: var(--ink); }
.form textarea { resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form .btn { width: 100%; justify-content: center; margin-top: 22px; }
.form .small { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; }
.notice.error { background: #fbe9e7; color: #8f1d17; border: 1px solid #f1b8b2; }
.notice.done { background: var(--green-tint); color: var(--green-dark); border: 1px solid #cfe0bf; }

/* Page intro (pricing, invite) */
.page-intro { padding: 88px 0 48px; }
.page-intro .lede { margin-top: 18px; }

/* Footer */
.site-footer { background: #0f1914; color: rgba(255,255,255,.72); padding: 64px 0 36px; font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .logo { color: #fff; }
.site-footer .logo b { color: #9cc47a; }
.site-footer h4 { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-top: 16px; line-height: 1.6; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* A detail removed from the sample, drawn as a blank bar (the sample PDF does the same). */
.redact { display: inline-block; height: .9em; vertical-align: -.08em; background: #cfd4da; border-radius: 3px; margin: 0 2px; }
.sample-head .hidden-line { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.sample-foot a { color: var(--green-dark); font-weight: 600; }

/* "Keep me posted": launch notices by state, its own band under Coverage. */
.elsewhere { background: var(--green-tint); padding: 88px 0; }
.form label.tick { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 15px; margin-top: 16px; color: var(--ink-2); }
.form label.tick input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }

/* Sign in, reset, sign-up, confirmation, invitations (site/auth.html). The
   pages keep the application's markup -- .card, form.stack, .error, .note --
   and this dresses it in the site's look. */
.auth { background: var(--sand); padding: 72px 0 110px; min-height: 60vh; }
.auth .panel { max-width: 480px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px 36px 34px; }
.auth h1 { font-size: 34px; margin-bottom: 8px; }
.auth .sub { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.auth .card { background: none; border: 0; padding: 0; margin: 0; max-width: none; }
.auth p { margin: 12px 0 0; }
.auth form.stack label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; color: var(--ink); }
.auth form.stack input[type=text], .auth form.stack input[type=email], .auth form.stack input[type=password],
.auth form.stack select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: 16px/1.3 var(--sans); background: var(--paper); color: var(--ink); display: block; max-width: none; }
.auth .btn { background: var(--green); color: #fff; }
.auth .btn:hover { background: var(--green-dark); }
.auth .btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.auth .btn.secondary:hover { border-color: var(--ink); }
.auth .btn.small { padding: 10px 16px; font-size: 15px; }
.auth button.btn[type=submit]:not(.small) { width: 100%; justify-content: center; margin-top: 8px; }
.auth .note { font-size: 14px; color: var(--muted); }
.auth .error { background: #fbe9e7; color: #8f1d17; border: 1px solid #f1b8b2; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-size: 15px; }
.auth .flash { background: var(--green-tint); color: var(--green-dark); border: 1px solid #cfe0bf; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-size: 15px; }
.auth .below { max-width: 480px; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.auth form.stack p > a.note { display: block; text-align: center; margin: 14px 0 0 !important; }
