/* Section 4 only. The first three sections and shared tokens are untouched. */
#family.family-mortgage {
  --fm-paper: #f8f6f0;
  --fm-graphite: #37332f;
  --fm-ink: #f2efe8;
  --fm-muted: #e0e3da;
  --fm-rule: #879487;
  /* Same background as #about.ready-proof. */
  background: #526256;
  color: var(--fm-ink);
  padding: 64px 0 72px;
  font-family: var(--sans);
  scroll-margin-top: 76px;
}
#family .fm-wrap{width:calc(100% - 160px);max-width:1280px;margin:0 auto}
#family .fm-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;margin:0 0 40px}
#family h2{margin:0;font-family:var(--sans);font-size:48px;font-weight:400;line-height:1.08;letter-spacing:-.045em}
#family .fm-subtitle{margin:16px 0 0;font-size:20px;line-height:28px;color:var(--fm-muted)}
#family .fm-offer{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-areas:"plan payment" "plan terms" "plan action";column-gap:64px;row-gap:0;align-items:start}
#family .fm-payment{grid-area:payment;padding:0 0 28px}
#family .fm-payment-label{margin:0 0 8px;color:var(--fm-muted);font-size:16px;line-height:24px}
#family .fm-payment-value{display:flex;align-items:baseline;gap:10px;margin:0;white-space:nowrap}
#family .fm-payment-number{font-size:clamp(64px,5.55vw,80px);font-weight:400;line-height:1;letter-spacing:-.055em;font-variant-numeric:lining-nums tabular-nums}
#family .fm-payment-unit{font-size:24px;line-height:1.2;letter-spacing:-.025em}
#family .fm-plan{grid-area:plan;min-width:0;margin:0}
#family .fm-terms{grid-area:terms;margin:0;border-top:1px solid var(--fm-rule)}
#family .fm-terms>div{display:flex;align-items:baseline;justify-content:space-between;gap:24px;min-height:54px;padding:14px 0;border-bottom:1px solid var(--fm-rule)}
#family .fm-terms dt{margin:0;font-size:16px;line-height:24px;color:var(--fm-muted)}
#family .fm-terms dt span{display:inline-block;margin-left:8px;color:var(--fm-ink);white-space:nowrap}
#family .fm-terms dd{margin:0;font-size:20px;line-height:26px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#family .fm-terms dd span{font-size:16px}
#family .fm-action{grid-area:action;padding-top:28px}
#family .fm-cta{display:flex;align-items:center;justify-content:space-between;gap:32px;width:min(290px,100%);min-height:60px;margin:0;padding:18px 24px;border:0;border-radius:0;background:var(--fm-graphite);color:var(--fm-paper);outline:1px solid #b6c0b5;outline-offset:-1px;font-family:inherit;font-size:16px;line-height:24px;text-align:left;cursor:pointer;transition:background-color .18s}
#family .fm-cta:hover{background:#24221f}
#family .fm-cta span{font-size:23px;line-height:24px}
#family .fm-cta:focus-visible,#family .fm-plan-open:focus-visible{outline:2px solid var(--fm-ink);outline-offset:5px}
#family .fm-disclosure{margin:32px 0 0;padding-top:24px;border-top:1px solid var(--fm-rule)}
#family .fm-warning{max-width:1120px;margin:0 0 12px;font-size:14px;font-weight:400;line-height:22px;letter-spacing:.025em}
#family .fm-calculation-note,#family .fm-confirmation-note{max-width:1120px;margin:0;font-size:14px;line-height:21px;color:var(--fm-muted)}
#family .fm-confirmation-note{margin-top:8px}
#family .fm-plan-open {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  height: 464px;
  padding: 24px;
  background: var(--fm-paper);
  color: var(--fm-graphite);
  text-decoration: none;
  cursor: zoom-in;
  isolation: isolate;
}
#family .fm-drawing {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: darken;
}
#family .fm-enlarge{position:absolute;right:20px;bottom:16px;padding:4px;font-size:14px;line-height:20px}
#family .fm-viewer{width:min(880px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:0;background:var(--fm-paper);color:var(--fm-graphite);overscroll-behavior:contain}
#family .fm-viewer::backdrop{background:#252420b8}
#family .fm-viewer-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
#family .fm-viewer h3{font-size:24px;line-height:30px;font-weight:400}
#family .fm-viewer-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;color:var(--fm-graphite);font-size:28px;cursor:pointer}
#family .fm-viewer-canvas{overflow:auto;overscroll-behavior-x:contain;background:var(--fm-paper);isolation:isolate}
#family .fm-viewer-canvas .fm-drawing{min-width:676px}
#family .fm-viewer-close:focus-visible,#family .fm-viewer-canvas:focus-visible{outline:2px solid var(--fm-graphite);outline-offset:3px}
@media(max-width:1100px){
 #family .fm-wrap{width:calc(100% - 80px)}
 #family .fm-offer{column-gap:40px}
 #family .fm-terms>div{gap:16px}
 #family .fm-terms dt span{margin-left:0}
}
@media(max-width:820px){
 #family.family-mortgage{padding:48px 0 56px}
 #family .fm-wrap{width:calc(100% - 48px)}
 #family .fm-heading{display:block;margin-bottom:28px}
 #family h2{font-size:38px;line-height:1.1}
 #family .fm-subtitle{font-size:18px;line-height:26px;margin-top:12px;max-width:520px}
 #family .fm-offer{grid-template-columns:minmax(0,1fr);grid-template-areas:"payment" "plan" "terms" "action";gap:0}
 #family .fm-payment{padding-bottom:24px}
 #family .fm-payment-number{font-size:64px}
 #family .fm-payment-unit{font-size:23px}
 #family .fm-plan-open{height:300px}
 #family .fm-plan{margin-bottom:28px}
 #family .fm-terms>div{gap:16px;padding:14px 0}
 #family .fm-terms dt span{margin-left:8px}
 #family .fm-action{padding-top:24px}
 #family .fm-disclosure{margin-top:28px;padding-top:24px}
}
@media(max-width:480px){
 #family.family-mortgage{padding:40px 0 48px}
 #family .fm-wrap{width:calc(100% - 40px)}
 #family h2{font-size:36px;letter-spacing:-.04em}
 #family .fm-subtitle{font-size:18px;line-height:26px}
 #family .fm-payment-number{font-size:60px}
 #family .fm-payment-unit{font-size:22px}
 #family .fm-payment-value{gap:8px}
 #family .fm-plan-open{height:270px;padding:14px}
 #family .fm-terms dt{font-size:16px;line-height:23px;max-width:52%}
 #family .fm-terms dt span{display:block;margin:2px 0 0}
 #family .fm-terms dd{font-size:18px;line-height:25px}
 #family .fm-terms dd span{font-size:15px}
 #family .fm-cta{padding-inline:20px;gap:16px}
}
@media(prefers-reduced-motion:reduce){#family .fm-cta{transition:none}}
