/* RealOffers — base stylesheet */
/* Dark is the default theme. Light is opt-in via [data-theme="light"]. */
:root {
    --bg: #0e151e;
    --surface: #161f2b;
    --surface-2: #1e2937;
    --ink: #e7ecf2;
    --text-soft: #b7c2cf;
    --muted: #8a98a9;
    --line: #2a3644;
    --hover: rgba(255, 255, 255, .06);
    --brand: #2f6298;
    --brand-ink: #ffffff;
    --link: #6aa9e0;
    --accent: #41b483;
    --danger: #e06a62;
    --leading-bg: rgba(65, 180, 131, .14);
    --leading-line: rgba(65, 180, 131, .45);
    --slot-bg-a: #1b2632;
    --slot-bg-b: #18222d;
    --slot-border: #33414f;
    --slot-ink: #61707f;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 1px 2px rgba(0, 0, 0, .3);
}

:root[data-theme="light"] {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f0f3f7;
    --ink: #1c2430;
    --text-soft: #44505f;
    --muted: #6b7686;
    --line: #e3e7ed;
    --hover: #eef1f5;
    --brand: #1f4e79;
    --brand-ink: #ffffff;
    --link: #1f4e79;
    --accent: #2e7d57;
    --danger: #b3261e;
    --leading-bg: #f0f8f3;
    --leading-line: #cfe6d8;
    --slot-bg-a: #eef1f5;
    --slot-bg-b: #e9edf2;
    --slot-border: #c4cdd8;
    --slot-ink: #9aa6b4;
    --shadow: 0 1px 3px rgba(20, 30, 45, .08), 0 1px 2px rgba(20, 30, 45, .04);
}

* { box-sizing: border-box; }

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

h1, h2, h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .4em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; margin-top: 0; }
h3 { font-size: 1.2rem; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hint { color: var(--muted); font-size: .9rem; }

/* Layout */
.container { max-width: 1080px; margin: 0 auto; padding: 28px 20px 80px; }
.container.narrow { max-width: 560px; }
.container.wide { max-width: 1440px; }

.page-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.page-head-actions, .hero-actions, .btn-group { display: flex; gap: 10px; flex-wrap: wrap; }

section { margin-bottom: 28px; }

/* Nav */
.nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.nav-brand { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600; color: var(--link); }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a:not(.btn) {
    color: var(--text-soft); font-weight: 500; font-size: .92rem; text-decoration: none;
    transition: color .15s;
}
.nav-links a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 0; cursor: pointer;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--ink); font-size: 1.1rem; line-height: 1;
    transition: background .15s, border-color .15s;
}
.theme-toggle:hover { background: var(--hover); }
.nav-user { color: var(--muted); font-size: .85rem; }
.nav-logout { margin: 0; }

/* Cards */
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px;
}

/* Hero */
.hero { padding: 32px 0; }
.hero .lead { font-size: 1.15rem; max-width: 64ch; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* Stat row */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stat-label { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.stat-value { display: block; font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
    display: inline-block; cursor: pointer; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); padding: 9px 16px;
    border-radius: 8px; font-size: .92rem; font-weight: 500; text-decoration: none;
    transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--hover); text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-danger { color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--hover); }
.btn-small { padding: 5px 10px; font-size: .82rem; }
.btn-text { background: none; border: none; color: var(--muted); padding: 4px 6px; }
.btn-text:hover { background: none; color: var(--ink); text-decoration: underline; }
.btn-lg { padding: 13px 24px; font-size: 1rem; border-radius: 10px; }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-on-dark:hover { background: rgba(255,255,255,.12); }

/* Forms */
.form label, .form-inline label { display: block; margin-bottom: 14px; font-size: .9rem; font-weight: 500; }
.form input, .form select, .form textarea,
.form-inline input {
    display: block; width: 100%; margin-top: 5px; padding: 9px 11px;
    border: 1px solid var(--line); border-radius: 8px; font-size: .95rem;
    background: var(--surface); color: var(--ink); font-family: inherit;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.form-inline input { width: auto; flex: 1 1 160px; margin-top: 0; }
.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.checkbox input { width: auto; margin: 0; }

/* Tables */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
.table th { background: var(--surface-2); font-weight: 600; color: var(--muted); text-transform: uppercase; font-size: .74rem; letter-spacing: .03em; }
.table tr:last-child td { border-bottom: none; }
.row-leading { background: var(--leading-bg); }
.history-legend { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.legend-swatch { display: inline-block; width: 13px; height: 13px; border-radius: 3px; background: var(--leading-bg); border: 1px solid var(--leading-line); flex: 0 0 auto; }
.actions { display: flex; gap: 6px; }
.actions form { margin: 0; }

/* Badges */
.badge {
    display: inline-block; padding: 3px 9px; border-radius: 999px;
    font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
    background: var(--surface-2); color: var(--muted); margin-right: 6px;
}
.badge-active, .badge-approved { background: #e2f3ea; color: #1d7a4d; }
.badge-draft, .badge-pending, .badge-scheduled { background: #fdf2dc; color: #9a6b12; }
.badge-vendor_review, .badge-under_offer { background: #e6eefa; color: #2a548c; }
.badge-closed, .badge-sold { background: #e7e9ed; color: #4a5567; }
.badge-cancelled, .badge-rejected, .badge-revoked, .badge-withdrawn { background: #fbe7e6; color: #a8332b; }

/* Alerts */
.alert { padding: 11px 14px; border-radius: 8px; margin-bottom: 16px; font-size: .92rem; }
.alert-error { background: #fbe7e6; color: #8c241d; border: 1px solid #f0c9c5; }
.alert-notice { background: #e2f3ea; color: #1d6e46; border: 1px solid #c2e6d1; }

/* Two-column campaign layout */
.campaign-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(290px, 1fr);
    gap: 24px;
    align-items: start;
}
.col-property, .col-offer { display: flex; flex-direction: column; gap: 20px; }
.col-history { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 20px; }
.stat-rail { margin-bottom: 0; }
/* medium screens: property spans full width, offer + history sit below it */
@media (max-width: 1100px) {
    .campaign-layout { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
    .col-property { grid-column: 1 / -1; }
    .col-history { position: static; }
}
@media (max-width: 880px) {
    .campaign-layout { grid-template-columns: 1fr; }
    .col-property { grid-column: auto; }
}

/* Offer amount increment buttons */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.btn-inc { text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 460px) { .inc-grid { grid-template-columns: repeat(2, 1fr); } }

/* Settlement days/date toggle */
.settle-toggle { display: flex; gap: 18px; margin: 4px 0 10px; }
.radio-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; }
.radio-inline input { width: auto; margin: 0; }
.settle-field { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.settle-field input { width: auto; flex: 0 1 200px; margin: 0; }
.settle-field[hidden] { display: none; }

/* Fieldset */
.fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0 0 14px; }
.fieldset legend { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding: 0 6px; }

/* Banner */
.banner { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 10px 16px; font-size: .9rem; flex-wrap: wrap; }
.banner-warn { background: #fdf2dc; color: #8a5d12; border-bottom: 1px solid #f0dcae; }
.banner-form { margin: 0; }

/* Media / thumbnails */
.thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); }
.property-hero { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 16px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.media-grid img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.id-thumb { max-width: 240px; border: 1px solid var(--line); border-radius: 8px; margin: 6px 6px 0 0; }

/* Terms block */
.terms { font-size: .9rem; }
.terms h3 { margin-top: 0; }
.terms ul { margin: 0; padding-left: 20px; }
.terms li { margin-bottom: 6px; }
.terms-footnote { background: var(--surface-2); }

/* Campaign browse — tiles, search, pagination */
.browse-section { margin-bottom: 40px; }
.browse-head {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.browse-head h2 { margin: 0; }

.search-wrap { position: relative; flex: 1 1 280px; max-width: 380px; }
.search-wrap i {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 1.05rem; pointer-events: none;
}
.search-wrap input {
    width: 100%; padding: 10px 14px 10px 38px; font-size: .95rem;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
    color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.search-wrap input:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, .12);
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.tile {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    color: var(--ink); text-decoration: none;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tile:hover {
    text-decoration: none; transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .18);
}
.tile-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-media-empty {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: #b6bfca; font-size: 2.4rem;
}
.tile-badge {
    position: absolute; top: 10px; left: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.tile-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.tile-title { margin: 0; font-size: 1.25rem; }
.tile-sub { margin: 0; color: var(--ink); font-size: .92rem; }
.tile-meta {
    margin: 0; color: var(--muted); font-size: .85rem;
    display: flex; align-items: center; gap: 6px;
}
.tile-meta i { font-size: .95rem; flex: 0 0 auto; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 26px; }
.page-btn {
    min-width: 38px; height: 38px; padding: 0 10px; cursor: pointer;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    border-radius: 8px; font-size: .92rem; font-variant-numeric: tabular-nums;
    transition: background .15s, border-color .15s;
}
.page-btn:hover:not(:disabled) { background: var(--hover); border-color: var(--brand); }
.page-btn.active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.page-btn:disabled { opacity: .4; cursor: default; }
.page-dots { display: inline-flex; align-items: center; padding: 0 4px; color: var(--muted); }

@media (max-width: 560px) {
    .tile-grid { grid-template-columns: 1fr; }
    .search-wrap { max-width: none; }
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing { padding-bottom: 0; }
.eyebrow {
    display: inline-block; font-family: "Cormorant SC", "Cormorant Garamond", serif;
    text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 600;
    color: var(--accent); margin-bottom: 10px;
}
.eyebrow-light { color: #8fd3b3; }

/* Hero */
.lp-hero {
    background:
        radial-gradient(1100px 520px at 88% -10%, rgba(65,180,131,.12), transparent 60%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 64px;
}
.lp-hero-inner {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
    padding-top: 56px;
}
.lp-hero-copy h1 {
    font-size: 3.3rem; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 18px;
}
.lp-hero-copy .lead { font-size: 1.22rem; color: var(--text-soft); max-width: 38ch; margin: 0 0 26px; }
.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-cta-center { justify-content: center; }
.lp-hero-note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

.lp-hero-media { position: relative; }
.lp-hero-float {
    position: absolute; left: -22px; bottom: 28px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(20,30,45,.18); padding: 14px 18px; min-width: 220px;
    display: flex; flex-direction: column; gap: 4px;
}
.lp-float-label { font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .05em; }
.lp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(46,125,87,.18); animation: lp-pulse 1.8s infinite; }
@keyframes lp-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.lp-float-amount { font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.lp-float-meta { display: flex; justify-content: space-between; gap: 14px; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.lp-float-time { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }

/* Image slots */
.media-slot {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; text-align: center; color: var(--slot-ink);
    background:
        repeating-linear-gradient(45deg, var(--slot-bg-a) 0 12px, var(--slot-bg-b) 12px 24px);
    border: 1px dashed var(--slot-border); border-radius: var(--radius);
}
.media-slot i { font-size: 2.2rem; }
.media-slot span { font-size: .9rem; font-weight: 500; }
.media-slot small { font-size: .74rem; opacity: .8; }
.media-slot-hero { aspect-ratio: 11 / 8; box-shadow: var(--shadow); }
.media-slot-split { aspect-ratio: 4 / 3; }

/* Real screenshots dropped into the slots */
.lp-shot {
    width: 100%; display: block; object-fit: cover;
    border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2);
}
.lp-shot-hero { aspect-ratio: 11 / 8; box-shadow: var(--shadow); }
.lp-shot-split { aspect-ratio: 4 / 3; }

/* Logos strip */
.lp-logos { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.lp-logos-label { text-align: center; color: var(--muted); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 16px; }
.lp-logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-slot {
    flex: 0 0 auto; width: 150px; height: 44px; display: flex; align-items: center; justify-content: center;
    border: 1px dashed #d3dae2; border-radius: 8px; color: #aab4c0; font-size: .82rem; letter-spacing: .04em;
}

/* Generic section */
.lp-section { padding: 72px 0; }
.lp-section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.lp-section-head h2 { font-size: 2.3rem; margin: 0 0 10px; }
.lp-section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* How it works */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp-step {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; box-shadow: var(--shadow); position: relative;
}
.lp-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
    background: rgba(46,125,87,.12); color: var(--accent);
    font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600;
}
.lp-step h3 { font-size: 1.35rem; margin: 0 0 6px; }
.lp-step p { color: var(--muted); margin: 0; }

/* Split editorial rows */
.lp-split { padding: 64px 0; }
.lp-split-alt { background: var(--surface); border-block: 1px solid var(--line); }
.lp-split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-split-inner.reverse .lp-split-copy { order: 2; }
.lp-split-copy h2 { font-size: 2.1rem; margin: 0 0 14px; }
.lp-split-copy > p { color: var(--text-soft); font-size: 1.08rem; margin: 0 0 18px; }
.lp-check { list-style: none; padding: 0; margin: 0 0 8px; }
.lp-check li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.lp-check li::before {
    content: "\2713"; position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(46,125,87,.14); color: var(--accent); font-size: .72rem; font-weight: 700;
}

/* Feature grid */
.lp-features { background: var(--bg); }
.lp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-feature {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px; box-shadow: var(--shadow);
}
.lp-feature i { font-size: 1.8rem; color: var(--link); display: block; margin-bottom: 12px; }
.lp-feature h3 { font-size: 1.25rem; margin: 0 0 6px; }
.lp-feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Trust / security dark band */
.lp-band { background: var(--brand); color: #eef3f8; padding: 72px 0; }
.lp-band-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lp-band-copy h2 { color: #fff; font-size: 2.2rem; margin: 0 0 12px; }
.lp-band-copy p { color: #c5d4e2; font-size: 1.08rem; margin: 0; }
.lp-band-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.lp-stat-box {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius); padding: 20px 16px; display: flex; flex-direction: column; gap: 4px;
}
.lp-stat-box i { font-size: 1.7rem; color: #8fd3b3; margin-bottom: 6px; }
.lp-stat-h { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 600; color: #fff; }
.lp-stat-p { font-size: .85rem; color: #b6c6d6; }

/* FAQ */
.lp-faq-wrap { max-width: 760px; }
.lp-faq details {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.lp-faq summary {
    cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 1.05rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "\002B"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0 16px; color: var(--text-soft); }

/* Closing CTA band */
.lp-cta-band {
    text-align: center; padding: 80px 0;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(46,125,87,.16), transparent 65%),
        linear-gradient(180deg, #142d44, #0f2436);
    color: #fff;
}
.lp-cta-band h2 { color: #fff; font-size: 2.4rem; margin: 0 0 10px; }
.lp-cta-band p { color: #c5d4e2; font-size: 1.1rem; margin: 0 0 26px; }

/* Landing responsive */
@media (max-width: 900px) {
    .lp-hero-inner, .lp-split-inner, .lp-band-inner { grid-template-columns: 1fr; gap: 36px; }
    .lp-hero-copy h1 { font-size: 2.5rem; }
    .lp-split-inner.reverse .lp-split-copy { order: 0; }
    .lp-steps, .lp-feature-grid, .lp-band-stats { grid-template-columns: 1fr; }
    .lp-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-hero-copy h1 { font-size: 2.1rem; }
    .lp-section-head h2, .lp-band-copy h2, .lp-cta-band h2 { font-size: 1.9rem; }
    .lp-hero-float { left: 8px; right: 8px; }
}

/* Agent branding — account previews */
.brand-preview { display: flex; gap: 22px; margin: 14px 0 18px; flex-wrap: wrap; }
.brand-preview-item { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.brand-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.brand-logo { max-width: 140px; max-height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; }
.brand-empty {
    width: 64px; height: 64px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    border: 1px dashed var(--slot-border); color: var(--slot-ink); font-size: 1.6rem; background: var(--surface-2);
}
.brand-swatch { width: 64px; height: 64px; border-radius: 10px; border: 1px solid var(--line); display: inline-block; }
input[type="color"] { width: 64px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }

/* Agent branding — buyer campaign "Marketed by" card */
.agent-card-row { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.agent-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex: 0 0 auto; }
.agent-logo { max-width: 160px; max-height: 48px; object-fit: contain; display: block; margin-bottom: 4px; }
.agent-agency { display: block; font-size: 1.05rem; }
.agent-name { margin: 2px 0 0; font-size: .92rem; }

footer { padding: 24px 0; }

/* ============================================================
   ADMIN PANEL + CREDITS
   ============================================================ */
.badge-credits { background: #e6eefa; color: #2a548c; }

.admin-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px; margin-bottom: 32px;
}
.stat-card {
    display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none;
    transition: border-color .15s, transform .15s;
}
a.stat-card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); }
.stat-num { font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.stat-label { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
    padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); text-decoration: none; font-size: .85rem;
    text-transform: capitalize; transition: background .15s, border-color .15s;
}
.chip:hover { text-decoration: none; border-color: var(--brand); }
.chip-active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.table-admin td { vertical-align: top; }
.inline-form { display: flex; gap: 6px; align-items: center; margin: 0; flex-wrap: wrap; }
.input-tiny {
    width: 64px; padding: 5px 8px; font-size: .85rem; margin: 0;
    border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink);
}
select.input-tiny { width: auto; text-transform: capitalize; }
.small { font-size: .8rem; }
