/* Bell Home Buyers: one stylesheet for every page. Mobile first. */
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-var.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo-black-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #1D1D1D;
  --ink-2: #4a4740;
  --sun: #F2C230;
  --sun-2: #e5b41f;
  --paper: #FBF7EC;
  --white: #fff;
  --rule: #e4dcc6;
  --link: #6b4f00;
  --ok: #2E7D46;
  --err: #a12a1c;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, .display { font-family: "Archivo Black", "Arial Black", sans-serif; font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 7.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--ink); color: var(--white); border-bottom: 4px solid var(--sun); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand svg { width: 34px; height: 31px; flex: none; }
.brand span { font-family: "Archivo Black", "Arial Black", sans-serif; font-size: 1.05rem; letter-spacing: .02em; line-height: 1; }
.brand span b { color: var(--sun); font-weight: 400; }
.nav { display: none; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sun); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--white); font-weight: 700; padding: 10px 12px; border: 2px solid #555; border-radius: 8px; font-size: .95rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--sun); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--ink); border: 2px solid var(--sun); border-radius: 10px; padding: 8px; min-width: 210px; z-index: 5; }
.menu nav a { display: block; color: var(--white); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 6px; }
.menu nav a:hover { background: #333; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 14px; }
  .menu { display: none; }
}

/* Buttons */
.btn { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1.05rem; border: 2px solid var(--ink); border-radius: 10px; padding: 14px 22px; text-decoration: none; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn:hover { background: var(--sun-2); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-block { display: block; width: 100%; text-align: center; }
.nav .btn { padding: 9px 14px; font-size: .95rem; border-color: var(--sun); }
.nav .btn:hover { color: var(--ink); }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--rule); }
.hero-photo { margin: 0 -16px; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-body { padding: 22px 0 32px; }
.eyebrow { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.hero-grid { display: grid; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
  .hero-photo { order: 2; margin: 0; position: sticky; top: 20px; }
  .hero-photo img { aspect-ratio: 4 / 5; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.18); transform: rotate(.6deg); }
  .hero-body { padding: 0; }
}

/* Sections */
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section.alt { background: var(--white); }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark a { color: var(--sun); }
.section-head { max-width: 720px; margin-bottom: 26px; }
@media (min-width: 900px) { .section { padding: 72px 0; } }

/* Situation cards */
.cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; }
.card h3 { display: flex; gap: 10px; align-items: center; }
.card h3 svg { width: 26px; height: 26px; flex: none; }
.card p { margin: 0; color: var(--ink-2); }

/* Steps */
.steps { display: grid; gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
.steps img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps .step-body { padding: 18px 20px 20px; }
.steps .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); font-weight: 800; margin-bottom: 10px; }

/* Comparison table */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; font-size: .98rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 14px; border-bottom: 1px solid var(--rule); }
.compare thead th { background: var(--ink); color: var(--white); font-size: .95rem; }
.compare thead th.us { background: var(--sun); color: var(--ink); }
.compare tbody th { font-weight: 800; width: 22%; }
.compare td.us { background: #fffaf0; }
@media (max-width: 639px) {
  table.compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { border-bottom: 6px solid var(--paper); }
  .compare tbody th { background: var(--ink); color: var(--white); padding: 10px 14px; border: 0; width: 100%; }
  .compare td { border: 0; padding: 10px 14px; }
  .compare td::before { content: attr(data-label); display: block; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 2px; }
  .compare td.us { border-top: 1px solid var(--rule); }
}
.callout { background: var(--white); border-left: 6px solid var(--sun); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 22px; }
.callout p:last-child { margin: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 44px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: -2px; width: 3px; background: var(--rule); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 25px; height: 25px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-2); }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.split img { border-radius: 6px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 44px 16px 18px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 18px 16px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }

/* Testimonials (feature-flagged) */
.quotes { display: grid; gap: 14px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quotes blockquote { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; }
.quotes cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; }

/* CTA band */
.cta-band { background: var(--sun); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 36px 0; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .btn { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta-band .btn:hover { background: #333; }

/* Forms */
.form-card { background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 20px 18px 22px; box-shadow: 6px 6px 0 var(--sun); }
.form-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card .hint { margin-bottom: 14px; }
.field { margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--ink-2); font-size: .9rem; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--white);
  border: 2px solid #b9b2a0; border-radius: 8px; padding: 12px 12px; min-height: 50px;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid var(--sun); outline-offset: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; border: 2px solid #b9b2a0; border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; background: var(--white); min-height: 44px; line-height: 22px; }
.choices input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--ink-2); margin: 4px 0 16px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.after-btn { margin: 10px 0 0; font-weight: 700; text-align: center; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 8px; padding: 14px 16px; margin-top: 12px; font-weight: 600; }
.form-msg.err { background: #fbe9e6; color: var(--err); border: 1px solid #e6b5ad; }
.form-panel { text-align: left; }
.form-panel h2 { font-size: 1.35rem; }
.form-panel .check { width: 44px; height: 44px; margin-bottom: 10px; }
.preview-note { background: #fff4cc; border: 1px dashed #b38b00; padding: 8px 10px; border-radius: 6px; font-size: .85rem; }
[hidden] { display: none !important; }

/* Areas / generic content */
.house-types { display: grid; gap: 14px; margin: 0; }
@media (min-width: 760px) { .house-types { grid-template-columns: repeat(3, 1fr); } }
.house-types figure { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.house-types img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.house-types figcaption { padding: 12px 16px; font-weight: 800; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .4em; }
.doc { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 24px 20px; }
@media (min-width: 640px) { .doc { padding: 36px 40px; } }
.todo { background: #fff4cc; border: 2px dashed #b38b00; border-radius: 10px; padding: 16px 18px; color: #4d3b00; }
.todo strong { display: block; margin-bottom: 4px; }
.photo-slot { aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: #d9d4c7; padding: 36px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--white); }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: var(--sun); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.foot-legal { border-top: 1px solid #3a3a3a; margin-top: 24px; padding-top: 16px; font-size: .85rem; color: #b5afa1; }
