/* PropFit design tokens v1.0 (brand kit, Oct 2026). Build against the variables; never hard-code a hex. */
:root {
  --pf-ink: #1E232E;
  --pf-blue: #0153DB;
  --pf-blue-hover: #0043B4;
  --pf-blue-on-dark: #3D7BFF;
  --pf-navy: #0F1420;
  --pf-body: #2B303B;
  --pf-slate: #5B6474;
  --pf-line: #E3E7EE;
  --pf-soft: #F5F7FB;
  --pf-tint: #E8EFFF;
  --pf-success: #0E7A4F;
  --pf-white: #FFFFFF;
  --pf-on-navy: #C6CEDC;
  --pf-on-navy-2: #9AA5B8;

  --pf-font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --pf-radius-sm: 8px;
  --pf-radius-md: 12px;
  --pf-radius-lg: 20px;
  --pf-shadow-sm: 0 1px 2px rgba(15,20,32,.06), 0 1px 3px rgba(15,20,32,.05);
  --pf-shadow-md: 0 4px 12px rgba(15,20,32,.08), 0 2px 4px rgba(15,20,32,.06);
  --pf-shadow-lg: 0 16px 40px rgba(15,20,32,.13), 0 4px 10px rgba(15,20,32,.06);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--pf-white); color: var(--pf-body); font: 400 17px/1.55 var(--pf-font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--pf-ink); margin: 0; }
h2 { font-weight: 700; font-size: clamp(26px, 4vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--pf-blue); }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--pf-slate); margin-top: 12px; }
.fine { font-size: 12.5px; color: var(--pf-slate); margin-top: 12px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-slate); margin-bottom: 8px; }

/* Logo: SVG lockups in /brand (generated from the brand kit, see brand/README.md) */
.logo { display: inline-flex; }
.logo img { height: 32px; width: auto; display: block; }

/* Buttons */
.btn { display: inline-block; font: 600 16px/1 var(--pf-font); padding: 15px 22px; border-radius: var(--pf-radius-sm); text-decoration: none; border: 1px solid transparent; transition: background .15s; }
.btn-sm { font-size: 14px; padding: 11px 16px; }
.btn-primary { background: var(--pf-blue); color: var(--pf-white); }
.btn-primary:hover { background: var(--pf-blue-hover); }
.btn-white { background: var(--pf-white); color: var(--pf-blue); }
.btn:focus-visible, .toggle button:focus-visible, summary:focus-visible { outline: 3px solid var(--pf-tint); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pf-line); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav-main { display: flex; gap: 24px; margin-right: auto; }
.nav-main a { color: var(--pf-body); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-main a:hover, .nav-main a[aria-current] { color: var(--pf-blue); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-ghost { background: transparent; color: var(--pf-ink); border-color: var(--pf-line); }
.btn-ghost:hover { border-color: var(--pf-ink); }
.btn-outline-dark { background: transparent; color: var(--pf-white); border-color: var(--pf-on-navy-2); }
.btn-outline-dark:hover { border-color: var(--pf-white); }

/* Mobile menu: a <details>, so it works without JavaScript */
.nav .menu { display: none; position: relative; border: 0; margin: 0; background: none; }
.split .actions .btn { margin-top: 0; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--pf-line); border-radius: var(--pf-radius-sm); font-weight: 600; font-size: 15px; color: var(--pf-ink); }
.menu summary::after { content: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; background: var(--pf-ink); border-radius: 2px; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu[open] summary { border-color: var(--pf-ink); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); display: grid; gap: 2px; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); box-shadow: var(--pf-shadow-lg); padding: 10px; }
.menu nav a:not(.btn) { color: var(--pf-ink); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: var(--pf-radius-sm); }
.menu nav a:not(.btn):hover, .menu nav a[aria-current] { background: var(--pf-soft); color: var(--pf-blue); }
.menu nav .btn { margin-top: 8px; text-align: center; }
.menu summary:focus-visible { outline: 3px solid var(--pf-tint); outline-offset: 2px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--pf-tint) 0%, var(--pf-white) 100%); padding: 72px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-blue); margin-bottom: 24px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--pf-success); }
h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
h1 span { color: var(--pf-blue); }
.lede { font-size: 19px; color: var(--pf-slate); margin-top: 22px; max-width: 560px; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--pf-tint); color: var(--pf-blue); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.checks b { color: var(--pf-ink); }

/* Invite card */
.invite { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-lg); box-shadow: var(--pf-shadow-lg); padding: 28px; }
.invite h2 { font-size: 22px; }
.invite > .muted { font-size: 15px; margin-top: 6px; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: 999px; padding: 4px; margin: 20px 0 16px; }
.toggle button { font: 600 15px var(--pf-font); border: 0; border-radius: 999px; padding: 10px 12px; background: transparent; color: var(--pf-slate); cursor: pointer; }
.toggle button[aria-selected="true"] { background: var(--pf-ink); color: var(--pf-white); }
.hint { font-size: 14px; color: var(--pf-slate); margin-bottom: 12px; }
.panel [data-cirqle-form] {
  min-height: 300px;
  --cirqle-font: var(--pf-font); --cirqle-text: var(--pf-ink); --cirqle-label: var(--pf-ink);
  --cirqle-input-bg: var(--pf-white); --cirqle-border: var(--pf-line); --cirqle-brand: var(--pf-blue);
  --cirqle-submit-text: var(--pf-white); --cirqle-radius: 8px; --cirqle-max-width: 100%; --cirqle-success: var(--pf-success);
}
.panel iframe { color-scheme: light; }
.invite .fine { text-align: center; }

/* Bands */
.band { padding: 76px 0; }
.band > .wrap > h2 { margin-bottom: 8px; }
.soft { background: var(--pf-soft); border-block: 1px solid var(--pf-line); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); box-shadow: var(--pf-shadow-sm); padding: 26px; }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pf-ink); color: var(--pf-white); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.steps p { color: var(--pf-slate); margin-top: 8px; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .btn { margin-top: 28px; }

/* Listing cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); overflow: hidden; box-shadow: var(--pf-shadow-sm); background: var(--pf-white); }
.photo { position: relative; aspect-ratio: 4 / 3; background: var(--pf-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--pf-white); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; color: var(--pf-slate); }
.card-body { padding: 18px 20px 20px; }
.card h3 { font-size: 17px; }
.loc { font-size: 14px; color: var(--pf-slate); margin-top: 2px; }
.facts { font-size: 14px; margin-top: 8px; }
.price { margin-top: 8px; font-size: 14px; color: var(--pf-slate); }
.price b { font-size: 18px; font-weight: 800; color: var(--pf-ink); }
#renters .split { align-items: end; }
#renters .checks { margin: 0; }
#renters .fine { margin-top: 16px; }
#renters > .wrap > .btn { margin-top: 24px; }

/* Navy owners band */
.navy { background: var(--pf-navy); color: var(--pf-on-navy); }
.navy h2, .navy h3 { color: var(--pf-white); }
.navy .kicker, .navy .muted, .navy .fine, .navy .loc { color: var(--pf-on-navy-2); }
.navy .checks li::before { background: var(--pf-blue-on-dark); color: var(--pf-white); }
.navy .btn-primary { background: var(--pf-blue-on-dark); }
.navy .btn-primary:hover { background: var(--pf-blue); }
.panel-dark { background: #1A2130; border: 1px solid #2A3345; border-radius: var(--pf-radius-md); overflow: hidden; }
.panel-body { padding: 22px 24px 24px; }
.photo.dark { aspect-ratio: 16 / 9; }
.panel-dark .label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-on-navy-2); margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stats div { background: #232B3B; border-radius: var(--pf-radius-sm); padding: 14px; }
.stats b { display: block; color: var(--pf-white); font-size: 18px; }
.stats span { font-size: 12.5px; color: var(--pf-on-navy-2); }

/* FAQ */
details { border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); margin-top: 12px; background: var(--pf-white); }
details:first-of-type { margin-top: 28px; }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--pf-ink); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--pf-blue); font-weight: 500; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 18px; color: var(--pf-slate); }

/* CTA band + footer */
.cta { background: var(--pf-blue); color: var(--pf-white); padding: 72px 0; }
.cta h2 { color: var(--pf-white); font-size: clamp(28px, 4.4vw, 38px); letter-spacing: -.03em; }
.cta p { margin: 14px 0 28px; color: var(--pf-tint); }
.footer { background: var(--pf-navy); color: var(--pf-on-navy-2); padding: 48px 0 32px; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #232B3B; margin-top: 28px; padding-top: 20px; }
.footer a:not(.logo) { color: var(--pf-on-navy); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin-top: 32px; }
.foot-cols nav { display: grid; gap: 8px; align-content: start; }
.foot-cols h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-white); margin-bottom: 4px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }

/* Two-way choice cards (Get started, Log in) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.choice { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-lg); box-shadow: var(--pf-shadow-md); padding: 28px; display: grid; gap: 12px; align-content: start; }
.choice p { color: var(--pf-slate); }
.choice .btn { justify-self: start; margin-top: 8px; }
.choice .fine { margin-top: 0; }
@media (max-width: 760px) { .choices { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .nav-main, .nav-actions { display: none; }
  .nav .menu { display: block; }
  .nav-row { justify-content: space-between; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
  .band { padding: 56px 0; }
  .invite { padding: 20px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
}

/* Hero: actions + the example fit card */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-outline { background: var(--pf-white); color: var(--pf-ink); border-color: var(--pf-ink); }
.btn-outline:hover { background: var(--pf-soft); }
.hero .fine { margin-top: 16px; }

.fitcard { margin: 0; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-lg); box-shadow: var(--pf-shadow-lg); padding: 24px 26px 20px; }
.fit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--pf-line); }
.fit-title { font-weight: 700; font-size: 19px; color: var(--pf-ink); letter-spacing: -.01em; }
.fit-sub { font-size: 14px; color: var(--pf-slate); margin-top: 2px; }
.tag { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-blue); background: var(--pf-tint); border-radius: 6px; padding: 4px 8px; }
.fit-rows { list-style: none; padding: 0; margin: 6px 0 0; }
.fit-rows li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--pf-line); }
.fit-rows li:last-child { border-bottom: 0; }
.fit-rows i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; margin-top: 1px; }
.fit-rows .ok i { background: #E3F4EC; color: var(--pf-success); }
.fit-rows .ok i::before { content: "✓"; }
.fit-rows .warn i { background: var(--pf-tint); color: var(--pf-blue); }
.fit-rows .warn i::before { content: "!"; }
.fit-rows b { display: block; color: var(--pf-ink); font-weight: 600; font-size: 15.5px; }
.fit-rows span { font-size: 14.5px; color: var(--pf-slate); }
.fit-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; background: var(--pf-soft); border-radius: var(--pf-radius-sm); font-size: 14px; color: var(--pf-body); }
.fit-foot b { color: var(--pf-ink); }
.replay { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--pf-line); background: var(--pf-white); color: var(--pf-slate); font-size: 16px; cursor: pointer; }
.replay:hover { color: var(--pf-blue); border-color: var(--pf-blue); }

/* Check-by-check reveal: each row lands in turn, its badge pops, then the footer. */
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
.fitcard.play .fit-rows li { animation: row-in .45s cubic-bezier(.2,.7,.2,1) both; }
.fitcard.play .fit-rows i { animation: pop .4s cubic-bezier(.2,.7,.2,1) both; }
.fitcard.play .fit-rows li:nth-child(1), .fitcard.play .fit-rows li:nth-child(1) i { animation-delay: .35s; }
.fitcard.play .fit-rows li:nth-child(2), .fitcard.play .fit-rows li:nth-child(2) i { animation-delay: .85s; }
.fitcard.play .fit-rows li:nth-child(3), .fitcard.play .fit-rows li:nth-child(3) i { animation-delay: 1.35s; }
.fitcard.play .fit-rows li:nth-child(4), .fitcard.play .fit-rows li:nth-child(4) i { animation-delay: 1.85s; }
.fitcard.play .fit-foot { animation: row-in .45s cubic-bezier(.2,.7,.2,1) 2.4s both; }

/* Calculator */
.lead-narrow { max-width: 640px; }
.calc { margin-top: 32px; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-lg); box-shadow: var(--pf-shadow-md); padding: 28px; }
.calc-toggle { max-width: 360px; margin: 0 0 24px; }
.calc-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc-inputs { display: grid; gap: 28px; padding-top: 4px; }
.range { display: grid; gap: 12px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--pf-ink); font-size: 15px; }
.range output { font-weight: 800; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.range .hint { margin: -4px 0 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; margin: 6px 0; cursor: pointer;
  background: linear-gradient(var(--pf-blue), var(--pf-blue)) 0 / var(--p, 50%) 100% no-repeat, var(--pf-line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pf-white); border: 2px solid var(--pf-blue); box-shadow: var(--pf-shadow-md); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--pf-white); border: 2px solid var(--pf-blue); box-shadow: var(--pf-shadow-md); }
input[type="range"]:focus-visible { outline: 3px solid var(--pf-tint); outline-offset: 4px; }

.calc-result { background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); padding: 24px; }
.res-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-slate); }
.big { font-weight: 800; font-size: clamp(44px, 6vw, 60px); line-height: 1.05; letter-spacing: -.04em; color: var(--pf-ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.big small { font-size: 20px; font-weight: 600; letter-spacing: 0; color: var(--pf-slate); margin-left: 4px; }
.share { height: 10px; border-radius: 999px; background: var(--pf-line); margin-top: 18px; overflow: hidden; }
.share i { display: block; height: 100%; width: 0; background: var(--pf-blue); border-radius: 999px; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.share-key { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--pf-slate); margin-top: 6px; }
.res-note { font-size: 14px; color: var(--pf-slate); margin-top: 12px; }
.res-rows { margin: 16px 0 20px; border-top: 1px solid var(--pf-line); }
.res-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--pf-line); font-size: 14.5px; }
.res-rows dt { color: var(--pf-body); }
.res-rows dd { margin: 0; font-weight: 700; color: var(--pf-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-result .btn { width: 100%; text-align: center; }

.weeks { display: grid; grid-template-columns: repeat(26, 1fr); gap: 4px; margin-top: 18px; }
.weeks i { aspect-ratio: 1; border-radius: 3px; background: var(--pf-blue); transition: background .25s; }
.weeks i.empty { background: var(--pf-line); box-shadow: inset 0 0 0 1px #C9D0DB; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 6px 0 0; vertical-align: -1px; }
.key.rented { background: var(--pf-blue); }
.key.empty { background: var(--pf-line); box-shadow: inset 0 0 0 1px #C9D0DB; margin-left: 14px; }

.invite-band { background: linear-gradient(180deg, var(--pf-tint) 0%, var(--pf-white) 100%); }
.invite-band .split { align-items: start; }

@media (max-width: 900px) {
  .calc-panel { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .calc { padding: 20px; }
  .calc-result { padding: 20px; }
  .weeks { grid-template-columns: repeat(13, 1fr); }
  .res-rows div { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .fitcard.play * { animation: none !important; }
  .share i, .weeks i { transition: none; }
}

/* Calculator content pages (/rent-affordability-calculator, /40x-rent-rule, /move-in-cost-calculator, /vacancy-cost-calculator) */
.crumbs { font-size: 14px; color: var(--pf-slate); margin-bottom: 14px; }
.crumbs a { color: var(--pf-slate); }
.page-hero { background: linear-gradient(180deg, var(--pf-tint) 0%, var(--pf-white) 100%); padding: 56px 0 8px; }
.page-hero h1 { font-weight: 800; font-size: clamp(34px, 5.2vw, 50px); line-height: 1.08; letter-spacing: -.035em; max-width: 820px; }
.answer { margin-top: 18px; max-width: 760px; font-size: 19px; color: var(--pf-body); }
.answer b { color: var(--pf-ink); }
.updated { font-size: 13px; color: var(--pf-slate); margin-top: 14px; }
.page-hero .calc { margin-bottom: 24px; }

.prose { max-width: 760px; }
.prose h2 { margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose .table-wrap + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose .formula { background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-sm); padding: 14px 18px; margin: 16px 0; font-weight: 600; color: var(--pf-ink); }
.prose .src { font-size: 13.5px; color: var(--pf-slate); }

.table-wrap { overflow-x: auto; margin: 18px 0 6px; border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.table-wrap caption { text-align: left; white-space: normal; padding: 12px 16px; font-size: 13.5px; color: var(--pf-slate); caption-side: bottom; border-top: 1px solid var(--pf-line); }
.table-wrap th, .table-wrap td { padding: 10px 16px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--pf-line); }
.table-wrap th:first-child, .table-wrap td:first-child { text-align: left; }
.table-wrap thead th { background: var(--pf-soft); color: var(--pf-ink); font-weight: 600; font-size: 13.5px; white-space: normal; vertical-align: bottom; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }

.field { display: grid; gap: 8px; font-weight: 600; color: var(--pf-ink); font-size: 15px; }
.field select, .field input[type="number"] { font: 500 16px var(--pf-font); color: var(--pf-ink); padding: 10px 12px; border: 1px solid var(--pf-line); border-radius: var(--pf-radius-sm); background: var(--pf-white); max-width: 220px; }
.field .hint { font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--pf-ink); font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--pf-blue); }
.check input:disabled + span { color: var(--pf-slate); }
.rule-note { font-size: 13.5px; color: var(--pf-slate); font-weight: 400; display: block; margin-top: 2px; }

.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.tools a { display: block; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); box-shadow: var(--pf-shadow-sm); padding: 20px; text-decoration: none; color: var(--pf-body); transition: border-color .15s; }
.tools a:hover { border-color: var(--pf-blue); }
.tools b { display: block; color: var(--pf-ink); font-size: 16.5px; margin-bottom: 4px; }
.tools span { font-size: 14.5px; color: var(--pf-slate); }
.tools [aria-current] { display: none; }
.calc-more { margin-top: 18px; font-size: 15px; color: var(--pf-slate); text-align: center; }
.calc-more a { margin: 0 6px; white-space: nowrap; }

@media (max-width: 520px) { .page-hero { padding-top: 36px; } .answer { font-size: 17.5px; } }
.market { border: 0; padding: 0; margin: 0; }
.market legend { padding: 0; margin-bottom: 8px; }
@media (max-width: 520px) { .table-wrap th, .table-wrap td { padding: 9px 10px; font-size: 14px; } }

/* Content pages: product, about, trust (/renters, /owners, /platform, /orlando, /about, /fair-housing, /faq) */
.page-hero .actions { margin-top: 26px; padding-bottom: 40px; }
.section-lead { max-width: 720px; color: var(--pf-slate); margin-top: 10px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.feature { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); box-shadow: var(--pf-shadow-sm); padding: 22px; }
.feature h3 { font-size: 17px; margin-top: 10px; }
.feature p { color: var(--pf-slate); font-size: 15px; margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; border: 1px solid currentColor; }
.status.live { color: var(--pf-success); }
.status.live::before { content: "✓"; }
.status.soon { color: var(--pf-slate); border-style: dashed; }
.status.soon::before { content: "○"; }
.navy .feature { background: var(--pf-navy); border-color: var(--pf-slate); box-shadow: none; }
.navy .feature p { color: var(--pf-on-navy-2); }
.navy .status.soon { color: var(--pf-on-navy); }
.principles { list-style: none; counter-reset: p; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.principles li { counter-increment: p; background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); padding: 20px 22px 20px 60px; position: relative; }
.principles li::before { content: counter(p); position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--pf-ink); color: var(--pf-white); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.principles b { display: block; color: var(--pf-ink); }
.principles span { color: var(--pf-slate); font-size: 15px; }
.areas { columns: 2 240px; column-gap: 32px; padding-left: 22px; }
.note { background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); padding: 16px 20px; margin-top: 24px; font-size: 14.5px; color: var(--pf-slate); }
.note b { color: var(--pf-ink); }
.faq-group { margin-top: 36px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-slate); }
.faq-group + details { margin-top: 14px; }
.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps-5 li { padding: 22px 20px; }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .steps-5 { grid-template-columns: 1fr; } }
.verdict { margin: 4px 0 18px; font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.verdict::before { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: none; }
.verdict.ok { color: var(--pf-success); }
.verdict.ok::before { content: "✓"; border: 2px solid currentColor; }
.verdict.gap { color: var(--pf-ink); }
.verdict.gap::before { content: "!"; background: var(--pf-tint); color: var(--pf-blue); }
.calc-inputs .field select, .calc-inputs .field input[type="number"] { max-width: 260px; }

/* Blog (/blog, /blog/<slug>) */
.post-list { display: grid; gap: 16px; }
.post-card { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); box-shadow: var(--pf-shadow-sm); padding: 24px 26px; }
.post-card .updated { margin: 0 0 8px; }
.post-card h2 { font-size: 22px; }
.post-card h2 a { color: var(--pf-ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--pf-blue); }
.post-card p:last-child { color: var(--pf-slate); margin-top: 8px; }
.post ol { margin: 12px 0 0; padding-left: 22px; }
.post ol li + li { margin-top: 6px; }
.post .src { margin-top: 40px; }

/* Held drafts (drafts/, never deployed) */
.draft-banner { margin: 16px 0 0; border-style: dashed; }
.todo { background: var(--pf-tint); color: var(--pf-blue); font-weight: 600; border-radius: 4px; padding: 0 4px; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.person { background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-radius-md); padding: 22px; }
.person-photo { aspect-ratio: 1; border-radius: var(--pf-radius-md); background: var(--pf-soft); display: grid; place-items: center; margin-bottom: 14px; }
.person p { margin-top: 8px; color: var(--pf-slate); }

/* Early access (issue #22) */
.preview-bar { margin: 0; background: var(--pf-ink); color: var(--pf-on-navy); font-size: 13px; text-align: center; padding: 6px 16px; }
.preview-bar b { color: var(--pf-white); }
.preview-note { font-size: 13.5px; color: var(--pf-slate); margin-top: 10px; }
.page-hero .preview-note { margin: -28px 0 36px; }
.page-hero .note { max-width: 760px; }
.preview-bar a { color: var(--pf-white); font-weight: 600; white-space: nowrap; }
