/* 606 Home Buyers — light, formal. Navy + logo blue, Chicago red only on the star. One typeface (Archivo); the logo digits keep their rounded face. */
:root {
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --surface-2: #F6F8FA;
  --ink: #0F2135;
  --muted: #56667A;
  --line: #DADFE6;
  --navy: #0E2A47;
  --navy-2: #163A5E;
  --brand: #7FBDE4;
  --brand-strong: #1D5E94;
  --brand-tint: #E8F2FA;
  --on-brand: #FFFFFF;
  --star: #E4002B;
  --st-active: #18804F;  --st-active-bg: #E1F3E9;
  --st-pending: #9A6408; --st-pending-bg: #FBEFD6;
  --st-sold: #C2102D;    --st-sold-bg: #FBE3E7;
  --st-closed: #46576A;  --st-closed-bg: #E6EBF0;
  --shadow: 0 1px 2px rgba(15,33,53,.06), 0 8px 24px rgba(15,33,53,.07);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 8px;
  --r-sm: 6px;
  --logo-line: var(--brand);
  --logo-hole: var(--surface);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-strong); }
:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; width: 100%; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }

/* Logo */
.lg-line { fill: none; stroke: var(--logo-line); stroke-width: 2.6; stroke-linejoin: round; }
.lg-fill { fill: var(--logo-line); }
.lg-hole { fill: var(--logo-hole); }
.lg-star { color: var(--star); }
.lg-digit { font-family: "Fredoka", var(--font); font-weight: 700; font-size: 24px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-mark { width: 66px; height: 25px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.brand-text span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: var(--r-sm); font-weight: 600; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) {
  .brand-text, .nav { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-sm); padding: 9px 16px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; white-space: nowrap; text-decoration: none; line-height: 1.3; }
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--navy); border-color: var(--navy); color: var(--on-brand); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-light { background: var(--brand); border-color: var(--brand); color: var(--navy); }
.btn-light:hover { background: #99CBEA; border-color: #99CBEA; }
.btn-outline-light { background: none; border-color: rgba(255,255,255,.35); color: #FFFFFF; }
.btn-outline-light:hover { border-color: #FFFFFF; }
.btn-ghost { background: none; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); border-color: transparent; }
.btn-danger { color: var(--st-sold); }
.btn-danger:hover { border-color: var(--st-sold); }
.btn-danger-solid { background: var(--st-sold); border-color: var(--st-sold); color: #FFFFFF; }
.btn-lg { padding: 13px 22px; font-size: 15px; }
.btn-sm { padding: 6px 11px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.icon-btn { border: 0; background: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); flex-shrink: 0; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.linkish { border: 0; background: none; padding: 0; color: var(--brand-strong); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Hero: full-bleed, newest active deal's photo under a navy wash */
.hero { background: var(--navy); color: #FFFFFF; position: relative; overflow: hidden; text-align: center; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: scale(1.03); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,42,71,.78) 0%, rgba(14,42,71,.86) 60%, rgba(14,42,71,.96) 100%); }
.hero:not(.has-photo)::before { background: radial-gradient(1200px 500px at 50% -10%, var(--navy-2), var(--navy)); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--brand) 0 33.3%, #FFFFFF 33.3% 66.6%, var(--brand) 66.6%); }
.hero-in { padding-block: 96px 104px; display: flex; flex-direction: column; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.eyebrow .star { width: 12px; height: 12px; color: var(--star); flex-shrink: 0; }
.hero .eyebrow { color: var(--brand); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.04; letter-spacing: -.025em; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lede { margin: 22px auto 26px; font-size: 18px; line-height: 1.6; color: #D3DEEA; max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-weight: 600; font-size: 14px; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5FD69B; box-shadow: 0 0 0 0 rgba(95,214,155,.6); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2s infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,214,155,.55); } 70% { box-shadow: 0 0 0 9px rgba(95,214,155,0); } 100% { box-shadow: 0 0 0 0 rgba(95,214,155,0); } }
@media (max-width: 640px) { .hero-in { padding-block: 64px 72px; } .hero-lede { font-size: 16px; } }

/* Stats bar */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { padding: 26px 16px; text-align: center; display: grid; gap: 2px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat b { font-size: 24px; } .stat:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; } }

.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 6px; }
.band { background: var(--surface); border-block: 1px solid var(--line); padding-block: 8px 64px; margin-top: 8px; }
.band-navy { background: var(--navy); color: #FFFFFF; border: 0; }
.band-navy .kicker { color: var(--brand); }
.band-navy .section-head p { color: #C9D6E4; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin-inline: auto; max-width: 60ch; }
.center-cta { display: flex; justify-content: center; padding-top: 28px; }

/* Strategies */
.strat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
@media (max-width: 900px) { .strat-grid { grid-template-columns: 1fr; } }
.strat { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.strat-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; }
.strat-icon svg { width: 22px; height: 22px; }
.strat h3 { font-size: 19px; }
.strat p { margin: 0; color: var(--muted); flex: 1; }
.strat-metric { display: grid; gap: 2px; padding: 14px 0; border-block: 1px solid var(--line); }
.strat-metric b { font-size: 26px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.strat-metric span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.strat .btn { align-self: flex-start; }

/* How it works */
.process { padding-bottom: 64px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { display: grid; gap: 8px; align-content: start; position: relative; }
.steps .n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font-weight: 800; }
.steps b { font-size: 17px; }
.steps span { color: var(--muted); font-size: 14.5px; }
@media (min-width: 901px) { .steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; border-top: 1.5px dashed var(--line); } }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.why div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.why svg { width: 26px; height: 26px; color: var(--brand); }
.why b { font-size: 16px; }
.why span { color: #C9D6E4; font-size: 14px; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* Sold strip + areas */
.sold-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding: 18px 0 8px; scroll-snap-type: x mandatory; }
.sold-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; scroll-snap-align: start; }
.sold-card .media { aspect-ratio: 16 / 10; }
.sold-card img { filter: saturate(.85); }
.sold-badge { position: absolute; top: 10px; left: 10px; background: var(--st-sold); color: #FFFFFF; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.sold-body { padding: 12px 14px; display: grid; gap: 2px; }
.sold-body span { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 12px 8px 10px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip svg { width: 15px; height: 15px; color: var(--brand-strong); }
.chip .count { font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 0 7px; }

.cta-band { margin: 48px 0 64px; background: var(--navy); color: #FFFFFF; border-radius: 12px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(24px, 3vw, 30px); }
.cta-band p { margin: 8px 0 0; color: #C9D6E4; max-width: 56ch; }
.cta-band .hero-cta { justify-content: flex-start; }
@media (max-width: 520px) { .cta-band { padding: 28px 22px; } }

#available, #strategies, #sold, #areas { scroll-margin-top: 76px; }
#available, #process { scroll-margin-top: 76px; }
.section-head { padding-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; }
.section-head h2 { font-size: 28px; }
.section-head p { margin: 4px 0 0; color: var(--muted); }

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 7px 10px 7px 12px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--surface); background: var(--navy); border-color: var(--navy); }
.seg button[aria-pressed="true"] .count { background: rgba(255,255,255,.16); color: #FFFFFF; }
.seg .count { font-variant-numeric: tabular-nums; font-size: 12px; min-width: 22px; padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--muted); text-align: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.toolbar-right { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 9px 12px; min-width: 0; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 3px var(--brand-tint); }
.search .input { padding-left: 36px; width: 250px; }
.toolbar .select { width: auto; }
@media (max-width: 700px) {
  .toolbar-right { margin-left: 0; width: 100%; }
  .search { flex: 1; }
  .search .input { width: 100%; }
}

/* Status */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-active { color: var(--st-active); background: var(--st-active-bg); }
.st-pending { color: var(--st-pending); background: var(--st-pending-bg); }
.st-sold { color: var(--st-sold); background: var(--st-sold-bg); }
.st-closed { color: var(--st-closed); background: var(--st-closed-bg); }
.st-draft { color: var(--muted); background: var(--surface-2); outline: 1px dashed var(--line); }
.dot.st-draft { background: var(--muted); }
.draft-banner { margin-bottom: 16px; }
.dot.st-active { background: var(--st-active); } .dot.st-pending { background: var(--st-pending); }
.dot.st-sold { background: var(--st-sold); } .dot.st-closed { background: var(--st-closed); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; padding-bottom: 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; min-width: 0; color: inherit; text-decoration: none; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.media { position: relative; aspect-ratio: 4 / 3; background: var(--brand-tint); overflow: hidden; max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media .pill { position: absolute; top: 12px; left: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pcount { position: absolute; bottom: 10px; right: 10px; background: rgba(13,23,33,.72); color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 4px; display: inline-flex; gap: 5px; align-items: center; }
.pcount svg { width: 13px; height: 13px; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand); }
.noimg svg { width: 64px; height: 64px; opacity: .8; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.arv { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addr { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.loc { color: var(--muted); font-size: 14px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.tag { font-weight: 700; color: var(--brand-strong); text-transform: uppercase; letter-spacing: .06em; }
.skeleton { min-height: 360px; opacity: .5; }

.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 48px 24px; text-align: center; margin-bottom: 56px; background: var(--surface); }
.empty h2 { font-size: 22px; }
.empty p { color: var(--muted); margin: 8px auto 0; max-width: 52ch; }
.empty .noimg { height: auto; margin-bottom: 12px; }
.notice { padding: 14px 16px; border-radius: var(--r-sm); background: var(--brand-tint); color: var(--ink); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--brand-strong); }

/* Deal page */
.crumb { display: inline-flex; align-items: center; gap: 4px; margin-top: 24px; font-weight: 600; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.crumb svg { width: 16px; height: 16px; }
.deal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-block: 16px 22px; }
.deal-head h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.1; margin-top: 10px; overflow-wrap: anywhere; }
.deal-head .loc { font-size: 16px; margin-top: 4px; }
.deal-head .price { font-size: clamp(28px, 4vw, 38px); text-align: right; }
.deal-head .arv { text-align: right; display: block; font-size: 14px; }
.deal-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 64px; }
@media (max-width: 900px) { .deal-layout { grid-template-columns: 1fr; } .deal-head .price, .deal-head .arv { text-align: left; } }
.gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stage { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--brand-tint); max-width: 100%; }
.stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.nav-arrow svg { width: 20px; height: 20px; }
.nav-arrow.prev { left: 14px; } .nav-arrow.next { right: 14px; }
.stage .pcount { bottom: 14px; right: 14px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 84px; height: 62px; border-radius: 4px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--brand-tint); }
.thumbs button[aria-current="true"] { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 901px) { .side { position: sticky; top: 88px; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.box-private { border-color: var(--brand); background: var(--brand-tint); }
.box h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.box h2 svg { width: 14px; height: 14px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0; }
.kv div { background: var(--surface); padding: 10px 12px; min-width: 0; }
.kv dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.kv dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 420px) { .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.numbers { display: grid; gap: 8px; }
.numbers .line { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.numbers .line span:first-child { color: var(--muted); }
.numbers .line span:last-child { text-align: right; overflow-wrap: anywhere; }
.numbers .line.total { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 700; }
.numbers .line.total span:first-child { color: var(--ink); }
.prose { display: grid; gap: 22px; margin-top: 28px; }
.section-label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.desc { white-space: pre-wrap; margin: 0; max-width: 70ch; line-height: 1.65; }
.hl { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.actions { display: grid; gap: 8px; }
.actions .btn { width: 100%; }

/* Dialogs */
dialog { border: 0; padding: 0; border-radius: 10px; background: var(--surface); color: var(--ink); width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); box-shadow: 0 20px 60px rgba(0,0,0,.25); overflow: hidden; }
dialog.dlg-sm { width: min(460px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(9,18,28,.55); }
dialog[open] { display: flex; flex-direction: column; }
.dlg-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 18px; flex: 1; min-width: 0; }
.dlg-body { overflow: auto; flex: 1; }
.dlg-foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.spacer { flex: 1; }
@media (max-width: 640px) {
  dialog:not(.dlg-sm) { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
}
.contact-body { padding: 20px; display: grid; gap: 12px; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.contact-row svg { width: 20px; height: 20px; color: var(--brand-strong); flex-shrink: 0; }
.contact-row a { font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; flex: 1; }
.contact-row a:hover { text-decoration: underline; }

/* Form */
.form { padding: 4px 24px 24px; }
.fs { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.fs:last-child { border-bottom: 0; }
.fs legend { font-weight: 700; font-size: 16px; padding: 0; float: left; width: 100%; display: flex; align-items: center; gap: 6px; }
.fs legend svg { width: 15px; height: 15px; color: var(--brand-strong); }
.fs-note { clear: both; margin: -8px 0 0; }
.fs-private { background: var(--brand-tint); margin-inline: -24px; padding-inline: 24px; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); clear: both; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); }
.field.wide { grid-column: 1 / -1; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money .input { padding-left: 24px; }
.textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.textarea-sm { min-height: 84px; }
.status-pick { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.status-pick label { cursor: pointer; position: relative; }
.status-pick input { position: absolute; opacity: 0; pointer-events: none; }
.status-pick .pill { padding: 7px 14px; font-size: 12.5px; border: 2px solid transparent; opacity: .5; }
.status-pick input:checked + .pill { opacity: 1; border-color: currentColor; }
.status-pick input:focus-visible + .pill { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
.drop { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 22px; text-align: center; color: var(--muted); background: var(--surface-2); cursor: pointer; clear: both; display: grid; gap: 4px; justify-items: center; }
.drop.over { border-color: var(--brand-strong); background: var(--brand-tint); }
.drop b { color: var(--brand-strong); }
.drop-icon { width: 28px; height: 28px; color: var(--brand-strong); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--brand-tint); max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .cover { position: absolute; top: 6px; left: 6px; background: var(--navy); color: #FFFFFF; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; letter-spacing: .05em; text-transform: uppercase; }
.ph .acts { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 6px; gap: 4px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.ph .acts button { border: 0; border-radius: 4px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 11px; font-weight: 700; padding: 3px 7px; cursor: pointer; }
.ph.loading { display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.err { color: var(--st-sold); font-size: 13px; font-weight: 600; }
.ok { color: var(--st-active); font-size: 13px; font-weight: 600; }

/* Team area */
.auth { max-width: 420px; margin: 64px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; gap: 16px; }
.auth .brand-mark { width: 96px; height: 36px; }
.auth h1 { font-size: 24px; }
.auth p { margin: 0; color: var(--muted); }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 32px 8px; }
.dash-head h1 { font-size: 28px; }
.dash-head p { margin: 2px 0 0; color: var(--muted); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 12px 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--navy); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; margin-bottom: 24px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; }
.panel-body { padding: 20px; display: grid; gap: 14px; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .thumb { width: 64px; height: 48px; border-radius: 4px; object-fit: cover; display: block; background: var(--brand-tint); }
.tbl .thumb.noimg { display: grid; place-items: center; }
.tbl .thumb.noimg svg { width: 24px; height: 24px; }
.tbl .addr { font-size: 14px; }
.tbl .loc { font-size: 13px; }
.tbl .select { width: auto; padding: 5px 8px; font-size: 13px; }
.tbl .row-acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.muted { color: var(--muted); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.badge.on { background: var(--st-active-bg); color: var(--st-active); }
.badge.off { background: var(--st-closed-bg); color: var(--st-closed); }
.grid-form { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.secret { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-sm); background: var(--st-active-bg); }
.secret code { font-size: 16px; font-weight: 700; letter-spacing: .04em; user-select: all; background: var(--surface); padding: 4px 10px; border-radius: 4px; }
.secret p { margin: 0; flex-basis: 100%; font-size: 13px; color: var(--ink); }
.confirm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.confirm span { font-weight: 600; font-size: 13px; }
.narrow { max-width: 560px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: #FFFFFF; padding: 10px 18px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.foot { background: var(--navy); color: #C9D6E4; padding-block: 48px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 14px; --logo-hole: var(--navy); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
.foot .brand { color: #FFFFFF; }
.foot .brand-text span { color: #9FB3C8; }
.foot-about { display: grid; gap: 14px; justify-items: start; }
.foot-about p { margin: 0; max-width: 40ch; }
.foot-about .btn-primary { background: var(--brand); border-color: var(--brand); color: var(--navy); }
.foot h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #FFFFFF; margin-bottom: 12px; }
.foot-grid > div:not(.foot-about) { display: grid; gap: 8px; align-content: start; }
.foot-grid a:not(.btn):not(.brand), .linklike { color: #C9D6E4; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.foot-grid a:not(.btn):not(.brand):hover, .linklike:hover { color: #FFFFFF; }
.foot-grid svg:not(.brand-mark) { width: 14px; height: 14px; flex-shrink: 0; }
#foot-contact { display: grid; gap: 8px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #9FB3C8; }
.foot-legal span:last-child { max-width: 70ch; }

/* Header extras */
.top-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.top-phone svg { width: 16px; height: 16px; color: var(--brand-strong); }
@media (max-width: 980px) { .top-phone span { display: none; } }

/* Cards: discount + equity */
.media-tags { position: absolute; inset: 12px 12px auto 12px; display: flex; justify-content: space-between; gap: 8px; }
.media .media-tags .pill { position: static; }
.disc { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 4px; background: var(--navy); color: #FFFFFF; font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.strat-tag { display: inline-flex; padding: 3px 9px; border-radius: 4px; background: var(--brand-tint); color: var(--brand-strong); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.card .arv { display: block; margin-top: -2px; }
.card .loc { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; }
.card .loc svg, .deal-head .loc svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--brand-strong); }
.equity { margin-top: 8px; padding: 7px 10px; border-radius: var(--r-sm); background: var(--st-active-bg); color: var(--st-active); font-size: 13.5px; font-weight: 600; }
.equity b { font-weight: 800; font-variant-numeric: tabular-nums; }
.facts li { display: inline-flex; align-items: center; gap: 5px; }
.facts svg { width: 16px; height: 16px; color: var(--muted); }

/* Deal page */
.crumb { display: flex; gap: 8px; margin: 22px 0 14px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--brand-strong); font-weight: 600; text-decoration: none; }
.mosaic { position: relative; display: grid; gap: 8px; border-radius: 10px; overflow: hidden; height: clamp(260px, 46vw, 500px); }
.mosaic-0 { background: var(--brand-tint); }
.mosaic-1 { grid-template-columns: 1fr; }
.mosaic-2 { grid-template-columns: 1.6fr 1fr; }
.mosaic-3 { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; }
.mosaic-3 .tile:first-child { grid-row: span 2; }
.mosaic-4, .mosaic-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mosaic-4 .tile:first-child, .mosaic-5 .tile:first-child { grid-row: span 2; }
.mosaic-4 .tile:last-child { grid-column: span 2; }
.tile { border: 0; padding: 0; margin: 0; position: relative; cursor: zoom-in; background: var(--brand-tint); min-height: 0; min-width: 0; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.tile:hover img { transform: scale(1.03); }
.tile .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,42,71,.55); color: #FFFFFF; font-weight: 700; font-size: 18px; }
.all-photos { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); }
@media (max-width: 640px) {
  .mosaic { height: auto; aspect-ratio: 4 / 3; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .mosaic .tile:not(:first-child) { display: none; }
  .mosaic .tile:first-child { grid-row: auto !important; }
}
.deal-head { padding-block: 22px 8px; display: grid; gap: 8px; }
.deal-head .tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.deal-head h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.1; overflow-wrap: anywhere; }
.deal-head .loc { display: flex; gap: 6px; font-size: 16px; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts-lg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.facts-lg li { display: flex; align-items: center; gap: 10px; }
.facts-lg svg { width: 22px; height: 22px; color: var(--brand-strong); }
.facts-lg div { display: grid; line-height: 1.2; }
.facts-lg b { font-weight: 700; font-variant-numeric: tabular-nums; }
.facts-lg span { font-size: 12px; color: var(--muted); }
.deal-layout { padding-top: 24px; }
.deal-main { display: grid; gap: 18px; min-width: 0; align-content: start; }
.box h2 { font-size: 13px; }
.deal-main .box > h2 { font-size: 18px; text-transform: none; letter-spacing: -.01em; color: var(--ink); }
.cond { margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--st-active); flex-shrink: 0; margin-top: 2px; }
.pos { color: var(--st-active); }
.comp-sum { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.comp-sum div { background: var(--surface-2); padding: 12px 14px; display: grid; gap: 2px; flex: 1 1 130px; }
.comp-sum span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.comp-sum b { font-size: 18px; font-variant-numeric: tabular-nums; }
.tbl-comps { min-width: 640px; }
.tbl-comps tr.subject td { background: var(--brand-tint); }
.cstat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; }
.c-sold { background: var(--st-sold-bg); color: var(--st-sold); }
.c-active { background: var(--st-active-bg); color: var(--st-active); }
.c-pending { background: var(--st-pending-bg); color: var(--st-pending); }
.price-card { gap: 16px; box-shadow: var(--shadow); }
.pc-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pc-top .price { font-size: 34px; line-height: 1.1; }
.pc-arv { text-align: right; display: grid; }
.pc-arv b { font-size: 18px; font-variant-numeric: tabular-nums; }
.pc-equity { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); background: var(--st-active-bg); color: var(--st-active); font-weight: 600; font-size: 14px; }
.pc-equity b { font-variant-numeric: tabular-nums; }
.advisor { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-block: 1px solid var(--line); }
.advisor div { flex: 1; display: grid; line-height: 1.25; min-width: 0; }
.advisor div span { font-size: 13px; color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.seg-toggle { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); gap: 4px; }
.seg-toggle button { border: 0; background: none; border-radius: 4px; padding: 8px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg-toggle button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.iq-form { display: grid; gap: 12px; }
.iq-form .btn-lg { width: 100%; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sent { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 18px 8px; }
.sent svg { width: 36px; height: 36px; color: #FFFFFF; background: var(--st-active); border-radius: 50%; padding: 7px; }
.sent b { font-size: 18px; }
.sent span { color: var(--muted); }
.more-deals { padding-block: 24px 40px; }
.more-deals .grid { padding-top: 18px; }
.sticky-offer { display: none; }
@media (max-width: 900px) {
  .sticky-offer { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,33,53,.08); }
  .sticky-offer div { display: grid; line-height: 1.2; }
  .sticky-offer b { font-size: 20px; font-variant-numeric: tabular-nums; }
  .sticky-offer span { font-size: 12.5px; color: var(--muted); }
  #view-deal { padding-bottom: 80px; }
}

/* Photo viewer */
.dlg-photos { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; background: rgba(6,14,24,.96); color: #FFFFFF; }
.dlg-photos::backdrop { background: rgba(6,14,24,.9); }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lb-count { font-weight: 600; }
.lb-close { color: #FFFFFF; }
.lb-close:hover { background: rgba(255,255,255,.12); color: #FFFFFF; }
.lb-stage { flex: 1; position: relative; display: grid; place-items: center; padding: 0 16px 24px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 96px); object-fit: contain; border-radius: 4px; }

/* Buyers list page */
.buyers-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; padding-block: 48px 72px; align-items: start; }
@media (max-width: 900px) { .buyers-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 56px; } }
.buyers-pitch h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.buyers-pitch .lede { font-size: 17px; color: var(--muted); max-width: 52ch; margin: 16px 0 24px; }
.buyers-pitch .checks li { font-size: 16px; }
.buyer-form { gap: 14px; box-shadow: var(--shadow); padding: 28px; }
.buyer-form > h2 { font-size: 20px; text-transform: none; letter-spacing: -.01em; color: var(--ink); }
.field.plain { border: 0; margin: 0; padding: 0; }
.field.plain legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; padding: 0; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: 14px; }
.check:has(input:checked) { border-color: var(--navy); background: var(--brand-tint); }
.check input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }

/* Dashboard extras */
.tab-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--star); color: #FFFFFF; font-size: 11.5px; font-weight: 800; }
.cell-link { display: block; color: var(--brand-strong); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.cell-link:hover { text-decoration: underline; }
.msg { color: var(--muted); font-size: 13px; margin-top: 4px; max-width: 42ch; white-space: pre-wrap; }
.tbl tr.is-new td { background: #FFFBEF; }
.ph-title { display: flex; align-items: baseline; gap: 10px; }
.comps-edit { display: grid; gap: 8px; clear: both; }
.comp-row { display: grid; grid-template-columns: 96px minmax(140px, 2fr) repeat(3, minmax(56px, .6fr)) minmax(90px, 1fr) minmax(60px, .6fr) 36px; gap: 6px; align-items: center; }
.comp-row .input, .comp-row .select { padding: 7px 8px; font-size: 13.5px; }
@media (max-width: 760px) { .comp-row { grid-template-columns: 1fr 1fr 1fr; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); } .comp-row [data-k="address"] { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Simplified home: short header, deal board, buyers list */
.hero-compact .hero-in { padding-block: 64px 56px; }
.hero-compact h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 20px; }
.hero-compact .live-chip { margin-bottom: 24px; }
@media (max-width: 640px) { .hero-compact .hero-in { padding-block: 44px 40px; } }
.join { background: var(--surface); border-top: 1px solid var(--line); margin-top: 16px; scroll-margin-top: 68px; }
.join .buyers-pitch h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.02em; }

/* Buyers-list gate: teasers for visitors, full deals for members */
.buyer-form { display: grid; gap: 14px; box-shadow: none; padding: 0; }
.buyers-layout > .box { padding: 28px; box-shadow: var(--shadow); }
.form-title { font-size: 20px !important; text-transform: none !important; letter-spacing: -.01em !important; color: var(--ink) !important; }
.gate-panel { display: grid; gap: 14px; }
.gate-switch { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.lock-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 10px; border-radius: var(--r-sm); background: var(--brand-tint); color: var(--brand-strong); font-size: 13px; font-weight: 600; }
.lock-note svg { width: 14px; height: 14px; flex-shrink: 0; }
dialog.dlg-gate { width: min(600px, calc(100vw - 32px)); }
.gate-body { padding: 20px 24px 24px; display: grid; gap: 14px; }
.gate-body > .muted { margin: 0; }
.gate-deal { display: flex; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.gate-deal img, .gate-deal .noimg { width: 96px; height: 72px; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: var(--brand-tint); }
.gate-deal div { display: grid; }
.gate-deal b { font-size: 20px; font-variant-numeric: tabular-nums; }
.gate-deal span { color: var(--muted); font-size: 14px; }
.locked-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.locked-cover .all-photos { cursor: default; }
.locked-price { display: grid; text-align: right; }
.locked-price b { font-size: 28px; font-variant-numeric: tabular-nums; }
.locked-price span { color: var(--muted); font-size: 14px; }
.gate-inline { max-width: 640px; margin: 24px 0 64px; padding: 28px; box-shadow: var(--shadow); }
.gate-inline > h2 { font-size: 22px; text-transform: none; letter-spacing: -.01em; color: var(--ink); }
.gate-inline > .muted { margin: 0; }
.member-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 28px 0 48px; }
.member-box > svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--st-active); color: #FFFFFF; flex-shrink: 0; }
.member-box div { display: grid; gap: 2px; flex: 1; min-width: 220px; }
.member-box b { font-size: 18px; }
.member-box span { color: var(--muted); }
.sample-tag { display: inline-flex; padding: 4px 9px; border-radius: 4px; background: #FFF4D6; color: #7A5300; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
