.resources-page { --resource-title:clamp(2.5rem,1.8rem + 2vw,4rem); --space-1:.25rem; }
.resources-page button.secondary { background:var(--bg); color:var(--ink); }
.resources-page button.primary { border:1px solid var(--button); }
.resources-hero { display:grid; grid-template-columns:1.2fr .8fr; gap:var(--space-12); align-items:center; }
.resources-hero h2 { font-size:var(--resource-title); margin-bottom:var(--space-6); }
.resources-hero p:not(.eyebrow) { color:var(--muted); }
.resources-hero img { width:100%; max-height:320px; object-fit:cover; }
.resource-jumps { display:flex; flex-wrap:wrap; margin:var(--space-8) 0; gap:var(--space-3); }
.resource-jumps a { padding:var(--space-3) var(--space-4); border:1px solid var(--line); min-height:44px; }
.next-move-grid,.checklist-columns,.consumer-links { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-6); }
.next-move-grid article { padding:var(--space-6); border-top:2px solid var(--orange); background:var(--surface); }
.next-move-grid h3 { margin-bottom:var(--space-4); }
.next-move-grid p:not(.eyebrow) { color:var(--muted); font-size:var(--text-sm); margin-bottom:var(--space-6); }
.next-move-grid .eyebrow { margin-bottom:var(--space-3); }
.resource-section { margin-top:var(--space-16); scroll-margin-top:120px; }
.resource-section:focus { outline:none; }
.resource-section h3 { margin-bottom:var(--space-4); font-size:var(--text-xl); }
.resource-intro { color:var(--muted); margin-bottom:var(--space-8); }
.calculator-layout { display:grid; grid-template-columns:1.15fr 1fr; gap:var(--space-6); align-items:start; }
.calculator-layout .inquiry-box { grid-column:auto; margin:0; }
.payment-result { padding:var(--space-8); background:var(--surface); border:1px solid var(--line); }
.payment-result output { display:block; font-size:var(--text-xl); font-weight:700; color:var(--ink); line-height:1.3; }
.payment-result dl { margin-block:var(--space-6); }
.payment-result dl>div { display:flex; justify-content:space-between; gap:var(--space-4); padding-block:var(--space-3); border-bottom:1px solid var(--line); font-size:var(--text-sm); }
.payment-result dd { text-align:right; white-space:nowrap; }
.payment-result dt { min-width:0; }
.payment-result .loan-detail { margin-top:var(--space-6); }
.payment-result .cma-fine { margin-top:var(--space-4); }
.resource-source { margin-top:var(--space-4); font-size:var(--text-sm); color:var(--muted); }
.resource-source a,.footer-notices a { text-decoration:underline; }
.resource-section-heading { display:flex; justify-content:space-between; gap:var(--space-6); align-items:start; }
.checklist-columns fieldset { min-width:0; padding:var(--space-6); border:1px solid var(--line); }
.checklist-columns legend { padding-inline:var(--space-3); font-weight:700; }
.checklist-columns label { display:flex; align-items:flex-start; gap:var(--space-3); padding-block:var(--space-3); color:var(--muted); font-size:var(--text-sm); cursor:pointer; }
.checklist-columns input { width:20px; height:20px; flex-shrink:0; accent-color:var(--button); margin-top:var(--space-1); }
#checklist-content>.cma-fine { margin-top:var(--space-4); color:var(--muted); }
.consumer-links a { border:1px solid var(--line); padding:var(--space-6); }
.consumer-links a:hover { background:var(--surface); }
.consumer-links span { display:block; color:var(--muted); font-size:var(--text-sm); margin-top:var(--space-2); }
#consumer-resources>.cma-fine { margin-top:var(--space-6); color:var(--muted); }
.resource-help { margin-top:var(--space-16); padding:var(--space-8); background:var(--surface); display:flex; justify-content:space-between; align-items:center; gap:var(--space-8); }
.resource-help h3 { margin-bottom:var(--space-4); }
.resource-help p:not(.eyebrow) { color:var(--muted); }
.mobile-contact-bar { display:none; }
@media (min-width:761px) and (max-width:1100px) { .header-row { flex-wrap:wrap; padding-block:var(--space-4); gap:var(--space-3); } .header-row nav { order:4; width:100%; justify-content:space-between; } .header-row .theme { margin-left:auto; } }
@media (max-width:760px) {
  .resources-hero,.next-move-grid,.calculator-layout,.checklist-columns,.consumer-links { grid-template-columns:1fr; }
  .resources-hero { gap:var(--space-6); }
  .resources-hero img { max-height:210px; }
  .resource-jumps { display:flex; }
  .resource-section-heading,.resource-help { flex-direction:column; }
  .payment-result { padding:var(--space-6); }
  .resource-section-heading { margin-bottom:var(--space-6); }
  .mobile-contact-bar { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:8; margin:0; background:var(--bg); border-top:1px solid var(--line); padding:var(--space-2) var(--space-4); padding-bottom:max(var(--space-2),env(safe-area-inset-bottom)); gap:var(--space-3); }
  .mobile-contact-bar a { display:flex; justify-content:center; align-items:center; flex:1; min-height:44px; font-size:var(--text-sm); background:var(--button); color:white; }
  body { padding-bottom:84px; }
}
@media print {
  body { background:white!important; color:black!important; padding:0; }
  header,footer,.mobile-contact-bar,dialog,main>*,#resources>* { display:none!important; }
  main,#resources,#moving-checklists,#moving-checklists>* { display:block!important; }
  #resources { padding:0!important; }
  #moving-checklists { margin:0!important; }
  #moving-checklists #print-checklists,#moving-checklists>.resource-intro { display:none!important; }
  .checklist-columns { display:block; }
  .checklist-columns fieldset { margin-bottom:20px; break-inside:avoid; }
  #moving-checklists p,#moving-checklists label { color:black!important; }
}
