/* Homeowner-facing pages. Calm and trustworthy: navy + cream, RE/MAX red only on actions. */
:root {
  --navy: #0f2050; --navy-deep: #000e35; --ink: #1b2337; --muted: #5a6478;
  --cream: #f7f5ee; --paper: #ffffff; --line: #e4e0d4;
  --red: #d40e00; --red-dark: #b80c00; --sky: #eef1f8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body.pub { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--sans); }
.pub a { color: var(--navy); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow-pub { max-width: 640px; }
.pub h1, .pub h2, .pub h3 { font-family: var(--serif); color: var(--navy-deep); line-height: 1.2; font-weight: 600; }
.pub h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; color: var(--red); margin: 0 0 0.75rem; }

/* header */
.pub-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.pub-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy-deep); text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.wordmark span { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-signin { font-weight: 600; text-decoration: none; white-space: nowrap; background: var(--navy); color: #fff !important; border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; }
.header-signin:hover { background: var(--navy-deep); }
.header-call { font-weight: 600; text-decoration: none; white-space: nowrap; border: 1.5px solid var(--navy); border-radius: 999px; padding: 7px 16px; }

/* buttons */
.btn-primary, .btn-ghost { display: inline-block; font: 600 1rem var(--sans); border-radius: 999px; padding: 14px 26px; text-decoration: none; cursor: pointer; border: 0; text-align: center; }
.btn-primary { background: var(--red); color: #fff !important; box-shadow: 0 4px 18px rgba(212, 14, 0, 0.25); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 1.5px solid var(--navy); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5rem 0; }

/* hero */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); padding: clamp(48px, 9vw, 104px) 0 56px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); max-width: 16ch; margin: 0 0 1.25rem; letter-spacing: -0.01em; }
.hero-sub { font-size: 1.15rem; max-width: 60ch; color: var(--muted); margin: 0; }
.trust { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; gap: 10px 28px; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); margin-right: 9px; vertical-align: middle; }

/* options */
.options { padding: 64px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.option { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.option h3 { font-size: 1.35rem; margin: 0 0 0.6rem; }
.option p { margin: 0; color: var(--muted); }
.option .num { font-family: var(--serif); color: var(--red); font-size: 1rem; margin-bottom: 0.75rem; }
.option.featured { background: var(--navy-deep); border-color: var(--navy-deep); }
.option.featured h3 { color: #fff; }
.option.featured p { color: #c9d1e4; }
.option.featured .num { color: #ff5347; }

/* steps */
.steps { padding: 64px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { counter-increment: step; color: var(--muted); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--navy); font: 600 1.15rem var(--serif); margin-bottom: 14px; }
.steps li b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

/* hero photo, and the agent's About section before the form */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center bottom; border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 14, 53, 0.18); }
.about { padding: 64px 0; }
.agent-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 36px; align-items: center; background: var(--navy-deep); color: #dfe5f2; border-radius: 24px; padding: 36px; }
.agent-card .eyebrow { color: #8fb0ff; }
.agent-card h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 4px; }
.agent-card p { margin: 0; color: #b9c3dc; line-height: 1.5; }
.agent-card .cred { font-size: 0.95rem; }
.agent-card .quote { font-style: italic; white-space: pre-line; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 14px; margin: 16px 0; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.agent-line { color: #fff !important; text-decoration: none; font-weight: 600; padding: 6px 0; }
.agent-line:hover { color: #8fb0ff !important; }
.headshot { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.85); }
.headshot.initials { display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 3rem var(--serif); }

/* form */
.talk { padding: 64px 0; background: var(--navy-deep); color: #dfe5f2; }
.talk h2 { color: #fff; margin-bottom: 0.5rem; }
.pub-form { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 28px; margin-top: 1.5rem; }
.pub-form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.pub-form input, .pub-form textarea { display: block; width: 100%; margin-top: 5px; font: 400 1rem var(--sans); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.pub-form input:focus, .pub-form textarea:focus { outline: none; border-color: var(--navy); }
.pub-form .btn-primary { width: 100%; margin-top: 6px; }
.thanks { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 28px; }
.thanks h2 { color: var(--navy-deep); }
.hp { position: absolute; left: -9999px; }

/* faq */
.faq { padding: 64px 0; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; max-width: 760px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { color: var(--muted); margin: 0.75rem 0 0; }

/* footer */
.pub-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.85rem; }
.broker-logo { height: 40px; width: auto; margin-bottom: 12px; }
.link-quiet { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font: inherit; cursor: pointer; }
.team-link { margin-top: 18px; }
.team-link a { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 700px) {
  .agent-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 22px; gap: 20px; }
  .headshot { width: 140px; height: 140px; }
  .about-actions { justify-content: center; }
  .about-actions .btn-primary { width: 100%; }
}
@media (max-width: 640px) {
  .header-call { display: none; }
  .wordmark span { display: none; }
  .header-signin { padding: 7px 14px; font-size: 0.9rem; }
  .btn-primary, .btn-ghost { width: 100%; }
}
