/* Shared styles for the realtor program pages (/for-agents, /refinish-before-you-list) */
body.lp { font-family: Montserrat, system-ui, sans-serif; color: #0f172a; background: #fff; }
.lp main { display: block; }
.lp [hidden] { display: none !important; }
.lp-hero { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); padding: 56px 20px 48px; }
.lp-in { max-width: 1200px; margin: 0 auto; }
.lp-hero .lp-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; color: #1a4c8b; background: #eff6ff; border: 1px solid #1a4c8b33; border-radius: 50px; padding: 8px 18px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.lp h1 { font-family: "PT Serif", serif; font-weight: 400; font-size: 52px; line-height: 1.08; margin: 0 0 16px; color: #0f172a; }
.lp h1 span { color: #1a4c8b; }
.lp-sub { font-size: 19px; line-height: 1.6; color: #374151; margin: 0 0 24px; max-width: 580px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid #1a4c8b; color: #1a4c8b; background: #fff; cursor: pointer; font-family: inherit; }
.lp-btn.primary { background: #1a4c8b; color: #fff; }
.lp-btn.primary:hover { background: #163f74; }
.lp-btn.orange { background: #fe7a36; border-color: #fe7a36; color: #fff; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14px; color: #475569; font-weight: 600; }
.lp-proof b { color: #0f172a; }
.lp-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-ba figure { margin: 0; position: relative; }
.lp-ba img { width: 100%; height: auto; max-height: 520px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 18px 44px rgba(15, 23, 42, .16); }
.lp-ba figcaption { position: absolute; left: 12px; top: 12px; background: rgba(15, 23, 42, .78); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.lp-ba figure.after figcaption { background: #1a4c8b; }
.lp-ba-note { grid-column: 1 / -1; font-size: 13px; color: #64748b; text-align: center; margin-top: 4px; }
.lp-sec { padding: 56px 20px; }
.lp-sec.alt { background: #f8fafc; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.lp h2 { font-family: "PT Serif", serif; font-weight: 400; font-size: 38px; line-height: 1.15; margin: 0 0 10px; color: #0f172a; }
.lp-lead { font-size: 17px; line-height: 1.6; color: #475569; margin: 0 0 28px; max-width: 760px; }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-cards.four { grid-template-columns: repeat(4, 1fr); }
.lp-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; }
.lp-card .n { width: 40px; height: 40px; border-radius: 50%; background: #1a4c8b; color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.lp-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.lp-card p { margin: 0; color: #475569; line-height: 1.6; font-size: 15px; }
.lp-card .lp-stat { font-family: "PT Serif", serif; font-size: 34px; color: #1a4c8b; margin: 0 0 6px; }
.lp-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #eef2f7; }
.lp-compare thead th { background: #f1f5f9; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #475569; }
.lp-compare tr:last-child td { border-bottom: none; }
.lp-compare td.us { color: #1a4c8b; font-weight: 700; }
.lp-form-wrap { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 36px 32px; box-shadow: 0 8px 32px rgba(15, 23, 42, .06); }
.lp-form label.f { display: block; font-weight: 700; margin: 18px 0 6px; font-size: 14px; }
.lp-form label.f small { font-weight: 500; color: #64748b; }
.lp-form input[type="text"], .lp-form input[type="tel"], .lp-form input[type="email"], .lp-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; }
.lp-form textarea { min-height: 96px; resize: vertical; }
.lp-form input:focus, .lp-form textarea:focus { outline: 2px solid #2563eb; outline-offset: 1px; border-color: #2563eb; }
.lp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lp-chips label { text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 600; font-size: 15px; margin: 0; }
.lp-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-chips label.on { border-color: #1a4c8b; background: #eff6ff; color: #1a4c8b; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-submit { display: block; width: 100%; margin-top: 22px; padding: 16px; font: inherit; font-size: 17px; font-weight: 700; color: #fff; background: #fe7a36; border: none; border-radius: 12px; cursor: pointer; }
.lp-submit:hover { background: #e96a28; }
.lp-submit:disabled { background: #94a3b8; cursor: not-allowed; }
.lp-error { color: #b91c1c; font-weight: 700; margin-top: 12px; min-height: 1.4em; font-size: 14px; }
.lp-fine { text-align: center; font-size: 13px; color: #64748b; margin: 12px 0 0; }
.lp-fine a { color: #1a4c8b; }
.lp-done { text-align: center; padding: 20px 0; }
.lp-done .big { font-size: 44px; }
.lp-done h3 { font-family: "PT Serif", serif; font-weight: 400; font-size: 30px; margin: 10px 0 8px; }
.lp-done p { color: #475569; line-height: 1.6; }
.lp-linkbox { display: flex; gap: 8px; align-items: stretch; margin: 16px 0; }
.lp-linkbox input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid #1a4c8b; border-radius: 10px; background: #eff6ff; color: #0f172a; }
.lp-copy { background: #0f172a; color: #e2e8f0; border-radius: 14px; padding: 46px 20px 18px; font-size: 14px; line-height: 1.6; position: relative; text-align: left; white-space: pre-wrap; }
.lp-copy button, .lp-linkbox button { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 10px; border: none; background: #1a4c8b; color: #fff; cursor: pointer; }
.lp-copy button { position: absolute; top: 12px; right: 12px; background: #1e293b; border: 1px solid #334155; padding: 6px 10px; font-size: 12px; }
.lp-agent { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; padding: 6px 18px 6px 6px; margin-bottom: 18px; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.lp-agent .av { width: 40px; height: 40px; border-radius: 50%; background: #1a4c8b; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.lp-agent .t { font-size: 13px; color: #64748b; line-height: 1.3; }
.lp-agent .t b { display: block; color: #0f172a; font-size: 15px; }
.lp-faq details { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: #1a4c8b; font-size: 20px; flex: none; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { margin: 0 0 16px; color: #374151; line-height: 1.6; }
.lp-foot { background: #0f172a; color: #cbd5e1; padding: 40px 20px; text-align: center; font-size: 14px; }
.lp-foot a { color: #fff; text-decoration: none; margin: 0 10px; display: inline-block; padding: 4px 0; }
.lp-foot p { margin: 8px 0 0; color: #94a3b8; }
.lp p a, .lp-lead a { display: inline; }
@media (max-width: 900px) {
  .lp-hero .lp-in, .lp-cards, .lp-cards.four { grid-template-columns: 1fr; }
  .lp h1 { font-size: 38px; } .lp h2 { font-size: 30px; }
  .lp-hero { padding: 36px 16px 32px; } .lp-sec { padding: 40px 16px; }
  .lp-form-wrap { padding: 24px 18px; } .lp-grid2 { grid-template-columns: 1fr; }
  .lp-compare th, .lp-compare td { padding: 12px 10px; font-size: 14px; }
  .lp-linkbox { flex-direction: column; }
}
/* The site stylesheet forces 24px/20px headings under 480px with !important */
@media (max-width: 479px) {
  body.lp h1 { font-size: 34px !important; }
  body.lp h2 { font-size: 27px !important; }
}

