/* ==========================================================================
   We Get Properties 2.0 - public website styles
   Brand: deep blue (from the legacy #4c98e2, darkened for WCAG AA contrast),
   green call-to-action, Plus Jakarta Sans. Mobile first.
   Contrast checked: --ink on --bg 15.9:1, --muted on --bg 5.9:1,
   white on --brand 6.6:1, white on --cta 5.0:1, white on --navy 13.6:1.
   ========================================================================== */

:root {
  --brand: #1a5fb4;
  --brand-dark: #123f78;
  --navy: #10202b;
  --ink: #14212b;
  --muted: #55626e;
  --bg: #ffffff;
  --soft: #f3f6fa;
  --line: #dde3ea;
  --cta: #16803c;
  --cta-dark: #11652f;
  --danger: #b42318;
  --ok-bg: #e7f6ec;
  --err-bg: #fdecea;
  --info-bg: #e8f1fb;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16, 32, 43, 0.10);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #f5b301; outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.85em; }
.mt-lg { margin-top: 2.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; padding: 0.8em 1.4em; border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background 0.15s, transform 0.05s; }
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-dark); color: #fff; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-call { background: var(--brand); color: #fff; padding: 0.6em 1em; }
.btn-call:hover { background: var(--brand-dark); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------------------------------------------------------------- header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { display: block; height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .btn-call { color: #fff; }
.nav-investors { color: var(--brand) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; content: ""; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 10px 4px; }
  .site-nav .btn-call { justify-content: center; }
}

/* ---------------------------------------------------------------- flash */
.flash-stack { margin-top: 16px; }
.flash { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; font-weight: 600; }
.flash-success { background: var(--ok-bg); color: #0b5e2a; }
.flash-error { background: var(--err-bg); color: var(--danger); }
.flash-info { background: var(--info-bg); color: var(--brand-dark); }
.flash-close { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; }

/* ---------------------------------------------------------------- hero */
.hero { background: linear-gradient(160deg, #eef4fc 0%, #ffffff 60%); padding: 48px 0 56px; }
.hero-compact { padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.8rem; color: var(--brand); margin-bottom: 0.6em; }
.lead { font-size: 1.15rem; color: #2c3a46; }
.hero-call { font-weight: 600; }
.hero-call a { font-size: 1.25rem; font-weight: 800; }
.hero-call span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.hero-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--brand-dark) 100%); color: #fff; }
.hero-dark .lead, .hero-dark .muted { color: #d6e2ef; }
.hero-dark a:not(.btn) { color: #9cc8ff; }
.hero-dark .eyebrow { color: #9cc8ff; }
.hero-dark .ticks li::before { color: #7ee2a0; }
.hero-dark .card { color: var(--ink); }
.hero-dark .card a { color: var(--brand); }
@media (max-width: 900px) {
  .hero { padding: 28px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

.ticks, .crosses, .checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li, .crosses li, .checklist li { position: relative; padding-left: 1.8em; margin-bottom: 0.45em; }
.ticks li::before, .checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--cta); font-weight: 800; }
.crosses li::before { content: "\2715"; position: absolute; left: 0; color: var(--danger); font-weight: 800; }
.inline-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-top: 1.2em; }

/* ---------------------------------------------------------------- forms */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.offer-form h2 { font-size: 1.5rem; margin-bottom: 0.2em; }
.form-sub { color: var(--muted); margin-bottom: 1em; }
.form-card { display: block; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row:has(.field-state) { grid-template-columns: 1.4fr 0.8fr 0.9fr; }
@media (max-width: 520px) { .field-row, .field-row:has(.field-state) { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="date"], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.7em 0.8em; border: 1px solid #b9c3ce; border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 3px solid rgba(26, 95, 180, 0.2); outline-offset: 0; }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 12px; }
legend { font-weight: 700; margin-bottom: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 14px; font-size: 0.9rem; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.field-error { display: block; color: var(--danger); font-size: 0.85rem; margin-top: 4px; font-weight: 600; }
.address-bar { display: flex; gap: 10px; max-width: 720px; margin: 24px auto 0; }
.address-bar input { flex: 1; padding: 0.9em 1em; font-size: 1.05rem; }
@media (max-width: 600px) { .address-bar { flex-direction: column; } }
.seller-fields { border: 1px dashed var(--line); border-radius: 8px; padding: 12px 14px 0; }
.area-row { display: grid; grid-template-columns: minmax(170px, 1fr) 1.3fr auto; gap: 10px; align-items: end; }
.area-row .area-remove { margin-bottom: 14px; }
@media (max-width: 520px) { .area-row { grid-template-columns: 1fr; } }
.btn-sm { padding: 0.45em 0.8em; font-size: 0.85rem; }
.btn-secondary { background: var(--soft); color: var(--ink); border-color: var(--line); }
.btn-ghost { background: none; color: var(--brand); }

/* ---------------------------------------------------------------- sections */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-title { text-align: center; margin-bottom: 0.4em; }
.section-lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 2em; }
.page-hero { background: var(--soft); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .section { padding: 44px 0; } }

.trust-bar { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.trust-grid strong { display: block; font-size: 1.35rem; font-weight: 800; }
.trust-grid span { color: #c3d2e0; font-size: 0.9rem; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.steps { list-style: none; padding: 0; margin: 2em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-soft .steps li { box-shadow: var(--shadow); border: 0; }
.step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.situations { list-style: none; padding: 0; margin: 0 0 2em; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.situations li { background: var(--soft); border-radius: 8px; padding: 14px 16px; font-weight: 600; }
@media (max-width: 800px) { .situations { grid-template-columns: 1fr 1fr; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 1.5em; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 12px; font-size: 1.05rem; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { color: var(--muted); }

.faq-list { margin: 1.5em 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--brand); }
.faq[open] summary::after { content: "\2212"; }
.faq-answer { padding-bottom: 12px; color: #2c3a46; }
.hero-note { background: rgba(255, 255, 255, 0.1); border-left: 3px solid #7ee2a0; padding: 8px 12px; border-radius: 4px; }
.terms-box { margin: 10px 0 6px; }
.terms-box summary { cursor: pointer; font-size: 0.9rem; color: var(--brand); }
.terms-box p { max-height: 180px; overflow-y: auto; background: #f6f8fb; padding: 8px 10px; border-radius: 6px; }

.cta-band { background: var(--brand-dark); color: #fff; padding: 40px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 0.2em; }
.cta-band p { margin: 0; color: #d6e2ef; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.thanks { text-align: center; padding: 40px 28px; }
.thanks-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--cta); font-size: 2rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mini-steps { text-align: left; max-width: 420px; margin: 0 auto 1.5em; }
.big-phone a { font-size: 1.6rem; font-weight: 800; text-decoration: none; }
.contact-side h2 { font-size: 1.05rem; margin-top: 1em; }
.contact-side h2:first-child { margin-top: 0; }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose .byline { color: var(--muted); font-weight: 600; }

.post-card { border-bottom: 1px solid var(--line); padding: 20px 0; }
.post-card h2 { font-size: 1.35rem; margin-bottom: 0.2em; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--brand); }

.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0; }
.pager-item { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pager-item.is-current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager-item.is-disabled { color: var(--muted); }

.error-page { padding: 40px 0; }
.error-code { font-size: 4rem; font-weight: 800; color: var(--brand); margin: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #c3d2e0; padding: 48px 0 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 18px; }
.site-footer li { margin-bottom: 6px; }
.site-footer address { font-style: normal; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid img { width: 140px; height: auto; margin-bottom: 12px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 24px; padding-top: 16px; padding-bottom: 24px; font-size: 0.85rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Draft preview banner (staff only) */
.preview-bar { background: #fff4d6; color: #5c4400; border-bottom: 1px solid #f0d27a; text-align: center; font-weight: 600; font-size: 0.9rem; padding: 8px 16px; }
