.buying-power-page { background:#fff; color:var(--text-primary); }
.buying-power-hero { padding:132px 0 82px; background:linear-gradient(135deg,#17243a 0%,#203e67 58%,#1f6ae1 100%); }
.buying-power-hero-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); gap:58px; align-items:center; }
.buying-power-hero-card { padding:30px; border:1px solid rgba(255,255,255,.18); border-radius:24px; background:rgba(255,255,255,.1); box-shadow:0 24px 70px rgba(6,18,38,.18); backdrop-filter:blur(10px); }
.buying-power-card-label { display:inline-flex; margin-bottom:18px; color:#b9d3ff; font-family:'Poppins',sans-serif; font-size:12px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.buying-power-hero-card ul { display:grid; gap:13px; margin:0 0 18px; padding:0; list-style:none; }
.buying-power-hero-card li { display:flex; gap:11px; align-items:center; color:#fff; font-size:15px; }
.buying-power-hero-card li i { width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 24px; border-radius:999px; color:#fff; background:rgba(255,255,255,.15); font-size:10px; }
.buying-power-hero-card p { margin:0; color:rgba(255,255,255,.72); font-size:13px; line-height:1.65; }
.buying-power-alert-strip { background:#f7f9fc; border-bottom:1px solid var(--border); }
.buying-power-alert-inner { display:flex; gap:13px; align-items:flex-start; padding:18px 0; color:#596777; }
.buying-power-alert-inner i { margin-top:4px; color:var(--brand-primary); font-size:17px; }
.buying-power-alert-inner p { margin:0; line-height:1.65; font-size:14px; }
.buying-power-section-heading { max-width:790px; margin-bottom:34px; }
.buying-power-calculator-section { background:#fff; }
.buying-power-calculator-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.9fr); gap:30px; align-items:start; }
.buying-power-form,.buying-power-results { border:1px solid #dfe5ec; border-radius:24px; background:#fff; box-shadow:0 16px 44px rgba(24,33,45,.08); }
.buying-power-form { padding:34px; }
.buying-power-form-heading { margin-bottom:26px; padding-bottom:22px; border-bottom:1px solid #e5eaf0; }
.buying-power-form-heading > span { display:inline-block; margin-bottom:8px; color:var(--brand-primary); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.buying-power-form-heading h3 { margin:0 0 7px; color:#25303c; font-size:28px; }
.buying-power-form-heading p { margin:0; color:#728090; }
.buying-power-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.buying-power-field { min-width:0; }
.buying-power-field label { display:block; margin:0 0 8px; color:#344150; font-size:13px; font-weight:700; }
.buying-power-field label .optional { color:#8a95a1; font-size:11px; font-weight:600; text-transform:uppercase; }
.buying-power-field small { display:block; margin-top:7px; color:#82909e; font-size:11px; line-height:1.5; }
.buying-power-field-credit { grid-column:1 / -1; }
.buying-power-credit-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,.92fr); gap:18px; align-items:start; }
.buying-power-credit-input { min-width:0; }
.buying-power-fico-help { display:flex; gap:12px; align-items:flex-start; padding:15px 16px; border:1px solid color-mix(in srgb,var(--brand-primary) 24%,#dfe5ec); border-radius:14px; background:var(--brand-primary-soft); box-shadow:0 8px 24px rgba(24,33,45,.06); }
.buying-power-fico-help[hidden] { display:none; }
.buying-power-fico-help-icon { width:34px; height:34px; display:flex; align-items:center; justify-content:center; flex:0 0 34px; border-radius:10px; color:#fff; background:var(--brand-primary); font-size:14px; }
.buying-power-fico-help strong { display:block; margin:0 0 4px; color:#2a3744; font-size:12px; line-height:1.4; }
.buying-power-fico-help p { margin:0 0 10px; color:#667584; font-size:10.5px; line-height:1.5; }
.buying-power-fico-help-button { display:inline-flex; align-items:center; gap:6px; color:var(--brand-primary-dark); font-size:11px; font-weight:800; text-decoration:none; }
.buying-power-fico-help-button:hover,.buying-power-fico-help-button:focus { color:var(--brand-primary); text-decoration:underline; text-underline-offset:2px; }
.buying-power-input-wrap { display:flex; min-height:52px; align-items:center; overflow:hidden; border:1px solid #cfd7df; border-radius:11px; background:#fff; transition:border-color .16s ease,box-shadow .16s ease; }
.buying-power-input-wrap:focus-within { border-color:var(--brand-primary); box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-primary) 14%,transparent); }
.buying-power-input-wrap > span { padding:0 0 0 14px; color:#657383; font-weight:700; }
.buying-power-input-wrap > span:last-child { padding:0 14px 0 0; }
.buying-power-input-wrap input { width:100%; min-width:0; height:50px; margin:0; padding:0 13px; border:0; outline:0; color:#25303c; background:transparent; font:600 16px 'Open Sans',sans-serif; box-shadow:none; }
.buying-power-plain-input { width:100%; min-height:52px; margin:0; padding:0 14px; border:1px solid #cfd7df; border-radius:11px; outline:0; color:#25303c; background:#fff; font:600 16px 'Open Sans',sans-serif; }
.buying-power-plain-input:focus { border-color:var(--brand-primary); box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-primary) 14%,transparent); }
.buying-power-label-row { display:flex; align-items:end; justify-content:space-between; gap:12px; }
.buying-power-toggle { display:inline-flex; overflow:hidden; border:1px solid #cfd7df; border-radius:9px; }
.buying-power-toggle button { min-width:38px; height:30px; padding:0 10px; border:0; border-right:1px solid #cfd7df; color:#687686; background:#fff; font-size:12px; font-weight:800; cursor:pointer; }
.buying-power-toggle button:last-child { border-right:0; }
.buying-power-toggle button.is-active { color:#fff; background:var(--brand-primary); }
.buying-power-rate-status { margin-top:24px; padding:12px 14px; border-radius:10px; color:#536477; background:var(--brand-primary-soft); font-size:12px; line-height:1.55; }
.buying-power-rate-status.is-error { color:#8d2935; background:#fff0f2; }
.buying-power-form-error { margin:14px 0 0; padding:12px 14px; border-radius:10px; color:#8b2632; background:#fff0f2; font-size:13px; font-weight:600; }
.buying-power-submit { width:100%; margin-top:18px; border:0; cursor:pointer; }
.buying-power-submit:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.buying-power-form-note { margin:10px 0 0; color:#89939e; font-size:11px; text-align:center; }
.buying-power-results { position:sticky; top:106px; overflow:hidden; }
.buying-power-result-primary { padding:32px 30px 26px; color:#fff; background:linear-gradient(135deg,var(--brand-primary-dark),var(--brand-primary)); }
.buying-power-result-primary > span { display:block; margin-bottom:8px; color:rgba(255,255,255,.8); font-size:12px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }
.buying-power-result-primary > strong { display:block; color:#fff; font-family:'Poppins',sans-serif; font-size:clamp(44px,5vw,64px); font-weight:700; line-height:1.05; letter-spacing:-.04em; }
.buying-power-result-primary p { margin:12px 0 0; color:rgba(255,255,255,.82); font-size:13px; }
.buying-power-payment-total { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 28px; border-bottom:1px solid #e5e9ee; background:#f8fafc; }
.buying-power-payment-total span { color:#5b6877; font-size:13px; font-weight:700; }
.buying-power-payment-total strong { color:#202d3a; font-size:20px; }
.buying-power-breakdown { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-bottom:1px solid #e6eaf0; }
.buying-power-breakdown > div { padding:18px 20px; border-right:1px solid #e6eaf0; border-bottom:1px solid #e6eaf0; }
.buying-power-breakdown > div:nth-child(2n) { border-right:0; }
.buying-power-breakdown > div:nth-last-child(-n+2) { border-bottom:0; }
.buying-power-breakdown span { display:block; margin-bottom:5px; color:#778391; font-size:11px; }
.buying-power-breakdown strong { color:#2a3643; font-size:15px; }
.buying-power-assumptions { padding:25px 28px 20px; }
.buying-power-assumptions h3 { margin:0 0 15px; color:#26323f; font-size:17px; }
.buying-power-assumptions dl { margin:0; }
.buying-power-assumptions dl > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:start; padding:9px 0; border-bottom:1px solid #edf0f3; }
.buying-power-assumptions dt { color:#778391; font-size:12px; font-weight:600; }
.buying-power-assumptions dd { margin:0; color:#2a3643; font-size:12px; font-weight:800; text-align:right; }
.buying-power-assumptions dd small { display:block; margin-top:2px; color:#8a95a1; font-size:10px; font-weight:600; }
.buying-power-rate-explanation { margin:16px 0 0; color:#657382; font-size:11px; line-height:1.65; }
.buying-power-result-disclaimer { margin:0; padding:0 28px 18px; color:#818b96; font-size:10px; line-height:1.6; }
.buying-power-result-cta { width:calc(100% - 56px); margin:0 28px 28px; text-align:center; }
.buying-power-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.buying-power-steps article { padding:25px; border:1px solid #e1e6ec; border-radius:18px; background:#fff; }
.buying-power-steps article > span { display:inline-flex; margin-bottom:18px; color:var(--brand-primary); font-family:'Poppins',sans-serif; font-size:13px; font-weight:800; letter-spacing:.08em; }
.buying-power-steps h3 { margin:0 0 9px; color:#26323e; font-size:18px; line-height:1.35; }
.buying-power-steps p { margin:0; color:#687585; font-size:13px; line-height:1.7; }
.buying-power-example { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr); gap:30px; align-items:center; margin-top:28px; padding:30px; border:1px solid #dce4ee; border-radius:20px; background:#fff; }
.buying-power-example h3 { margin:0 0 8px; font-size:22px; }
.buying-power-example p { margin:0; color:#657382; line-height:1.7; }
.buying-power-equation { display:grid; grid-template-columns:1fr auto; gap:9px 16px; padding:20px; border-radius:15px; color:#4f6073; background:var(--brand-primary-soft); }
.buying-power-equation b { color:var(--brand-primary-dark); }
.buying-power-assumption-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.buying-power-assumption-card { padding:28px; border:1px solid #e0e6ed; border-radius:20px; background:#fff; box-shadow:0 10px 30px rgba(24,33,45,.05); }
.buying-power-assumption-icon { width:48px; height:48px; display:flex; align-items:center; justify-content:center; margin-bottom:17px; border-radius:14px; color:var(--brand-primary); background:var(--brand-primary-soft); font-size:19px; }
.buying-power-assumption-card h3 { margin:0 0 10px; color:#26323f; font-size:20px; }
.buying-power-assumption-card p { margin:0; color:#687585; line-height:1.72; font-size:13px; }
.buying-power-mi-table { display:grid; margin-top:18px; border-top:1px solid #e5e9ee; }
.buying-power-mi-table > div { display:flex; justify-content:space-between; gap:18px; padding:8px 0; border-bottom:1px solid #edf0f3; color:#667482; font-size:12px; }
.buying-power-mi-table strong { color:#2d3945; }
.buying-power-rate-widget-wrap { display:flex; justify-content:center; padding:24px; overflow:hidden; border:1px solid #dfe6ee; border-radius:22px; background:#fff; box-shadow:0 12px 34px rgba(24,33,45,.06); }
.buying-power-rate-widget { width:100%; max-width:750px; height:462px; border:0; }
.buying-power-faq-section .service-faq a { color:var(--brand-primary); font-weight:700; }
.buying-power-cta-actions { display:flex; flex-direction:column; gap:10px; flex:0 0 auto; min-width:270px; }
.buying-power-cta-actions .site-button { text-align:center; }
body[data-site-brand='portland-home-guide'] .buying-power-hero { background:linear-gradient(135deg,#1d2a3a 0%,#405b8d 58%,#5c7cb9 100%); }
body[data-site-brand='portland-home-guide'] .buying-power-card-label { color:#a9eeee; }
body[data-site-brand='portland-home-guide'] .buying-power-result-primary { background:linear-gradient(135deg,#49659a,#5c7cb9); }
body[data-site-brand='portland-home-guide'] .buying-power-assumption-icon { color:var(--brand-primary); background:var(--brand-primary-soft); }
@media (max-width:991.98px) {
  .buying-power-hero-grid,.buying-power-calculator-grid,.buying-power-example { grid-template-columns:1fr; }
  .buying-power-results { position:static; }
  .buying-power-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .buying-power-assumption-grid { grid-template-columns:1fr; }
}
@media (max-width:767.98px) {
  .buying-power-hero { padding-top:110px; }
  .buying-power-form { padding:24px 20px; }
  .buying-power-fields { grid-template-columns:1fr; }
  .buying-power-field-credit { grid-column:auto; }
  .buying-power-credit-layout { grid-template-columns:1fr; }
  .buying-power-steps { grid-template-columns:1fr; }
  .buying-power-result-primary { padding:27px 22px 23px; }
  .buying-power-payment-total { padding:18px 22px; }
  .buying-power-assumptions { padding:22px; }
  .buying-power-result-disclaimer { padding:0 22px 18px; }
  .buying-power-result-cta { width:calc(100% - 44px); margin:0 22px 24px; }
  .buying-power-rate-widget-wrap { padding:10px; overflow-x:auto; justify-content:flex-start; }
  .buying-power-rate-widget { min-width:650px; }
  .buying-power-cta-actions { width:100%; min-width:0; }
  .buying-power-cta-actions .site-button { width:100%; }
}
@media (max-width:480px) {
  .buying-power-breakdown { grid-template-columns:1fr; }
  .buying-power-breakdown > div { border-right:0; border-bottom:1px solid #e6eaf0 !important; }
  .buying-power-breakdown > div:last-child { border-bottom:0 !important; }
  .buying-power-assumptions dl > div { grid-template-columns:1fr; gap:3px; }
  .buying-power-assumptions dd { text-align:left; }
}

.buying-power-legal-disclosure { margin-top:26px; padding:18px 20px; border:1px solid #e1e6ec; border-radius:14px; color:#74808d; background:#fafbfc; font-size:10px; line-height:1.65; }
.buying-power-legal-disclosure p { margin:0 0 9px; }
.buying-power-legal-disclosure p:last-child { margin-bottom:0; }
.buying-power-legal-disclosure strong { color:#5d6976; }
.buying-power-legal-disclosure a { color:var(--brand-primary); font-weight:700; text-decoration:underline; text-underline-offset:2px; }
.buying-power-result-cta { border:0; cursor:pointer; }
body.buying-power-modal-open { overflow:hidden; }
.buying-power-modal { position:fixed; inset:0; z-index:10050; display:flex; align-items:center; justify-content:center; padding:20px; visibility:hidden; opacity:0; transition:opacity .18s ease,visibility .18s ease; }
.buying-power-modal.is-open { visibility:visible; opacity:1; }
.buying-power-modal-backdrop { position:absolute; inset:0; background:rgba(12,20,31,.68); backdrop-filter:blur(4px); }
.buying-power-modal-dialog { position:relative; z-index:1; width:min(100%,520px); padding:34px; border:1px solid rgba(255,255,255,.6); border-radius:22px; background:#fff; box-shadow:0 28px 80px rgba(7,16,28,.32); outline:0; transform:translateY(10px) scale(.985); transition:transform .18s ease; }
.buying-power-modal.is-open .buying-power-modal-dialog { transform:translateY(0) scale(1); }
.buying-power-modal-dialog h2 { margin:5px 42px 10px 0; color:#25313e; font-family:'Poppins',sans-serif; font-size:28px; line-height:1.2; }
.buying-power-modal-dialog > p:not(.buying-power-modal-note) { margin:0; color:#657382; font-size:14px; line-height:1.7; }
.buying-power-modal-close { position:absolute; top:17px; right:17px; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:0; border-radius:50%; color:#667483; background:#f0f3f6; font-size:16px; cursor:pointer; }
.buying-power-modal-close:hover,.buying-power-modal-close:focus { color:var(--brand-primary-dark); background:var(--brand-primary-soft); }
.buying-power-modal-actions { display:grid; gap:11px; margin-top:24px; }
.buying-power-modal-actions .site-button { width:100%; text-align:center; }
.buying-power-email-button { border:1px solid #cfd8e2; color:#263646; background:#fff; }
.buying-power-email-button:hover,.buying-power-email-button:focus { border-color:var(--brand-primary); color:var(--brand-primary-dark); background:var(--brand-primary-soft); }
.buying-power-email-button i { margin-right:7px; }
.buying-power-modal-note { margin:18px 0 0; color:#8a949f; font-size:10px; line-height:1.55; text-align:center; }
@media (max-width:600px) {
  .buying-power-modal { align-items:flex-end; padding:12px; }
  .buying-power-modal-dialog { width:100%; padding:28px 22px 24px; border-radius:20px; }
  .buying-power-modal-dialog h2 { font-size:24px; }
  .buying-power-legal-disclosure { padding:16px; font-size:9.5px; }
}

.buying-power-prequal-start { border:0; cursor:pointer; }
.buying-power-prequal-start i { margin-right:7px; }
.buying-power-schedule-button { border:1px solid color-mix(in srgb,var(--brand-primary) 42%,#cfd8e2); color:var(--brand-primary-dark); background:var(--brand-primary-soft); }
.buying-power-schedule-button:hover,.buying-power-schedule-button:focus { border-color:var(--brand-primary); color:#fff; background:var(--brand-primary); }
.buying-power-prequal-panel > p,.buying-power-prequal-success > p { margin:0; color:#657382; font-size:14px; line-height:1.7; }
.buying-power-prequal-back { display:inline-flex; align-items:center; gap:7px; margin:0 0 4px; padding:0; border:0; color:var(--brand-primary-dark); background:transparent; font-size:12px; font-weight:800; cursor:pointer; }
.buying-power-prequal-back:hover,.buying-power-prequal-back:focus { color:var(--brand-primary); text-decoration:underline; text-underline-offset:2px; }
.buying-power-prequal-form { display:grid; gap:15px; margin-top:22px; }
.buying-power-prequal-name-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.buying-power-prequal-form label { display:grid; gap:7px; color:#344150; font-size:12px; font-weight:800; }
.buying-power-prequal-form input { width:100%; min-height:49px; padding:0 13px; border:1px solid #cfd7df; border-radius:10px; outline:0; color:#25303c; background:#fff; font:600 15px 'Open Sans',sans-serif; }
.buying-power-prequal-form input:focus { border-color:var(--brand-primary); box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-primary) 14%,transparent); }
.buying-power-prequal-submit { width:100%; margin-top:3px; border:0; cursor:pointer; }
.buying-power-prequal-submit:disabled { opacity:.58; cursor:wait; transform:none; }
.buying-power-prequal-error { margin:0; padding:11px 12px; border-radius:10px; color:#8b2632; background:#fff0f2; font-size:12px; font-weight:700; line-height:1.5; }
.buying-power-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.buying-power-prequal-success { text-align:center; }
.buying-power-prequal-success-icon { width:58px; height:58px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; border-radius:50%; color:#fff; background:#15803d; font-size:22px; }
.buying-power-prequal-success h2 { margin-right:0; }
.buying-power-prequal-success .site-button { width:100%; margin-top:22px; border:0; cursor:pointer; }
@media (max-width:520px) {
  .buying-power-prequal-name-row { grid-template-columns:1fr; }
}
