@import url("./family-twin.css");

.home-care {
  --home-ink: #172c30;
  --home-text: #354447;
  --home-teal: #165453;
  --home-rule: #b9c6c0;
  --home-paper: #f5f1e9;
  --home-pad: clamp(22px, 3.1vw, 55px);
  --home-space: clamp(48px, 5.3vw, 94px);
  color: var(--home-ink);
  font: 400 clamp(16px, 1.13vw, 19px)/1.59 var(--ui);
}
.home-care :is(h1, h2, h3, p, figure, ol, dl, dd) { margin: 0; }
.home-care :is(h1, h2, h3) { font-family: var(--reading); font-weight: 400; color: inherit; }
.home-care h2 { max-width: 25ch; font-size: clamp(33px, 3.2vw, 57px); line-height: 1.08; }
.home-care p, .home-care dd { color: var(--home-text); }
.home-care a { color: var(--home-teal); text-underline-offset: .2em; }
.home-care [id] { scroll-margin-top: 96px; }
.home-care :is(a, button, summary, [tabindex="-1"]):focus-visible { outline: 3px solid #976013; outline-offset: 4px; }
.home-care .home-label { color: var(--home-teal); font: 650 .79rem/1.5 var(--ui); letter-spacing: .065em; text-transform: uppercase; }
.home-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0 clamp(24px, 3.6vw, 72px);
  padding: var(--home-pad);
  background: var(--home-paper);
}
.home-masthead { grid-column: 1 / -1; margin-bottom: clamp(23px, 2.5vw, 42px); }
.home-opening h1 { max-width: 27ch; margin-top: .6rem; font-size: clamp(44px, 5vw, 88px); line-height: 1.015; letter-spacing: -.025em; text-wrap: balance; }
.home-opening figure { position: relative; grid-area: 2 / 1 / 4 / 2; margin-block: auto; }
.home-opening img { display: block; width: 100%; height: auto; }
.home-opening figcaption { position: absolute; right: .6rem; bottom: .6rem; padding: .2rem .5rem; background: #23332f; color: #fff; font: 550 .73rem/1.4 var(--ui); }
.home-intro { grid-area: 2 / 2; align-self: end; padding-top: 1rem; }
.home-intro p { color: var(--home-ink); font-size: clamp(19px, 1.44vw, 26px); line-height: 1.43; }
.home-opening-end { grid-area: 3 / 2; align-self: start; padding-block: .9rem 1rem; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.35rem; margin-top: 1.35rem; }
.home-actions a { min-height: 44px; display: inline-flex; align-items: center; gap: .7rem; font: 630 .96rem/1.35 var(--ui); }
.home-actions .home-primary { padding: .65rem 1rem; background: var(--home-teal); color: #fff; text-decoration: none; }
.home-actions .home-primary:hover { background: #0c3d3c; }
.home-care section { margin-top: var(--home-space); }
.home-actions button { font: inherit; cursor: pointer; padding: .65rem 1rem; color: white; background: var(--home-teal); border: 0; }
@media print {
  .print-first-week :is(header, nav, footer, aside), .print-first-week .home-care > :not(#first-week),
  .print-first-week #first-week :is(.home-actions, .home-questions) { display: none !important; }
  .print-first-week #first-week { margin: 0; padding: 0; }
  .print-first-week #first-week dd::after { content: ''; display: block; height: 2em; border-bottom: 1px solid; }
}
.home-offers dl, .home-capabilities dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.3rem clamp(24px, 3.2vw, 55px); margin-top: 1.6rem; }
.home-offers dl > div { border-top: 2px solid var(--home-teal); padding-top: 1rem; }
.home-offers dt { margin-bottom: .5rem; font: 400 clamp(26px, 2.2vw, 37px)/1.15 var(--reading); }
.home-capabilities dl { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-capabilities dl > div { border-top: 1px solid var(--home-rule); padding-top: .8rem; }
.home-capabilities dt { margin-bottom: .4rem; font: 620 1.04rem/1.35 var(--ui); }
.home-foundation { margin-top: 1.6rem; padding: 1.1rem 1.4rem; background: #e7ede7; }
.home-foundation a { display: inline-block; margin-top: .45rem; font-weight: 600; }
.home-visit { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); align-items: center; gap: clamp(24px,4vw,72px); }
.home-visit img { width: 100%; height: auto; display: block; }
.home-visit h2 { margin: .5rem 0 .85rem; }
.home-spread { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.55fr); gap: clamp(24px, 5vw, 90px); }
.home-prose { max-width: 74ch; }
.home-prose p + p { margin-top: .85rem; }
.home-evidence { padding-block: 1.5rem; border-block: 1px solid var(--home-rule); }
.home-pilot { padding: var(--home-pad); background: var(--home-paper); }
.home-equipment-note { margin-top: 1.4rem; border-top: 1px solid var(--home-rule); padding-top: .9rem; font-size: .91em; }
.home-equipment-note a, .home-samples a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 620; }
.home-questions, .home-branch-budget { margin-top: 1.7rem; border-top: 1px solid var(--home-rule); padding-top: 1.35rem; }
.home-questions h3, .home-branch-budget h3 { margin-bottom: .55rem; font-size: clamp(26px,2.2vw,38px); line-height: 1.15; }
.home-questions > p, .home-disclosure > p { max-width: 74ch; }
.home-questions dl, .home-branch-budget dl { display: block; margin: .9rem 0; }
.home-questions dl > div, .home-branch-budget dl > div {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,3fr);
  gap: clamp(12px,2.2vw,40px); border-top: 1px solid var(--home-rule); padding: .7rem 0;
}
.home-questions dt, .home-branch-budget dt { margin: 0; color: var(--home-teal); font: 620 1em/1.45 var(--ui); }
.home-disclosure { border-block: 1px solid var(--home-rule); }
.home-disclosure summary { padding: .75rem 0; min-height: 44px; font-weight: 620; color: var(--home-teal); cursor: pointer; }
.home-disclosure summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.home-disclosure[open] { padding-bottom: .9rem; }
.home-samples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; margin: 1rem 0; }
.home-samples > div { background: var(--home-paper); padding: 1rem; }
.home-samples h4 { margin: 0 0 .45rem; font-size: 1.05rem; }
.home-samples p + p { margin-top: .55rem; }
.home-questions .home-recipient { margin-top: .55rem; font-size: .91em; }
@media (max-width: 960px) {
  .home-capabilities dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .home-opening { grid-template-columns: 1fr; }
  .home-masthead, .home-intro, .home-opening figure, .home-opening-end { grid-area: auto; }
  .home-intro, .home-opening-end { padding: 0; }
  .home-opening figure { margin: 1.2rem 0; }
  .home-opening h1 { font-size: clamp(40px, 7.6vw, 60px); }
  .home-spread { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-care { font-size: 17px; }
  .home-offers dl, .home-capabilities dl, .home-visit { grid-template-columns: 1fr; }
  .home-actions { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .home-pilot { gap: 1rem; }
  .home-questions dl > div, .home-branch-budget dl > div, .home-samples { grid-template-columns: 1fr; gap: .35rem; }
}
@media print {
  .print-first-week #first-week > dl { display: block; }
}

/* Lifelong household intelligence */
.home-lifelong { --home-space:clamp(29px,4.3vw,68px); }
.home-lifelong .home-opening { display:grid; align-items:center; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); gap:0; padding:0; overflow:hidden; background:#093237; color:#f6f7ec; }
.home-cover-copy { padding:var(--home-pad); }
.home-lifelong .home-opening h1 { max-width:16ch; font-size:clamp(39px,4.25vw,77px); text-wrap:initial; }
.home-lifelong .home-opening p,.home-lifelong .home-opening a { color:#eff8f3; }
.home-lifelong .home-opening .home-label { color:#edcf90; }
.home-cover-lead { margin:.8rem 0 .5rem; font:400 clamp(1.24rem,1.65vw,1.9rem)/1.2 var(--reading); }
.home-lifelong .home-opening .home-primary { background:#f4dca0; color:#0b333a; border-radius:.25rem; }
.home-sharing-preview { align-self:stretch; display:flex; flex-direction:column; min-width:0; background:#f0f1e9; color:#173b37; }
.home-sharing-preview img { height:clamp(218px,22vw,390px); min-height:0; flex:1 1 auto; object-fit:cover; object-position:center 53%; }
.home-preview-panes { display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr); padding:clamp(16px,1.6vw,26px); gap:clamp(14px,1.5vw,26px); background:#e4eee7; }
.home-preview-panes .home-clinician-preview h2, .home-preview-panes .home-ride-preview h3 { margin:0 0 .5rem; font:650 clamp(1rem,1.22vw,1.3rem)/1.2 var(--ui); }
.home-lifelong .home-opening .home-preview-panes p, .home-preview-panes dd { color:#2b4740; font:.93rem/1.45 var(--ui); }
.home-preview-panes .home-sharing { border:0; margin:.3rem 0 0; padding:0; }
.home-preview-panes small { display:block; font:.85rem/1.4 var(--ui); color:#38564c; }
.home-preview-panes .home-ride-preview { border-left:1px solid #95aba0; padding-left:clamp(12px,1.3vw,22px); font:.87rem/1.4 var(--ui); }
.home-ride-preview dt { color:#426456; font-weight:600; }
.home-ride-preview dl > div + div { margin-top:.45rem; }
.home-buyer-paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,3vw,52px); margin-top:1rem; }
.home-buyer-paths article { border-top:2px solid var(--home-teal); padding-top:1rem; }
.home-buyer-paths h3 { margin-bottom:.5rem; font:650 clamp(1.25rem,1.7vw,1.7rem)/1.2 var(--ui); }
.home-buyer-paths .home-equipment-note { margin-top:.8rem; }
.home-care [data-doctor-walks][hidden] { display:none; }
.home-model,.home-agent,.home-home-close { border-radius:.35rem; padding:var(--home-pad); background:#052e34; color:#ecf9f4; }
.home-model { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr) minmax(0,.85fr); align-items:center; gap:clamp(1rem,2vw,2.2rem); }
.home-model img { width:100%; height:auto; display:block; border-radius:.4rem; }
.home-model :is(p,dd,a),.home-agent :is(p,dd),.home-home-close p { color:#d6eae4; }
.home-model .home-label,.home-agent .home-label { color:#f0d597; margin-bottom:.5rem; }
.home-model h2,.home-agent h2,.home-home-close h2 { color:#f6faf4; }
.home-model h2+p,.home-agent h2+p,.home-home-close h2+p { margin:.65rem 0; }
.home-model a { display:inline-block; font-weight:650; }
.home-model dl,.home-agent dl { display:grid; gap:.45rem; }
.home-model dl > div,.home-agent dl > div { padding:.6rem .75rem; border:1px solid #528a88; border-radius:.3rem; background:#0a3c42; }
.home-model dt,.home-agent dt { color:#b9f2e7; font-weight:700; }
.home-model dd,.home-agent dd { font-size:.9rem; line-height:1.45; }
.home-agent,.home-home-close { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); gap:1rem 2rem; }
.home-agent dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
.home-lifelong .home-demo { background:#062f35; color:#f2f8f2; border-radius:.35rem; }
.home-lifelong .home-demo .home-label,.home-lifelong .home-demo .home-example { color:#c2e6de; }
.home-lifelong .home-demo .home-view { color:#153436; border-radius:.35rem; overflow:hidden; }
.home-lifelong .home-select { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-lifelong .home-select[hidden],.home-lifelong .home-view[hidden] { display:none; }
.home-lifelong .home-select label { justify-content:center; border-radius:.25rem; color:#153436; }
.home-lifelong .home-select label:has(:checked) { color:#fff; }
.home-service-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1rem; }
.home-service-cards article { border:1px solid var(--home-rule); border-radius:.35rem; overflow:hidden; background:#faf9f2; }
.home-service-cards img { width:100%; height:clamp(80px,9vw,155px); object-fit:cover; display:block; background:#07353a; }
.home-service-cards article div { padding:.85rem 1rem; }
.home-service-cards h3 { font:650 1.03rem var(--ui); margin-bottom:.3rem; }
.home-lifelong .home-visit { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
.home-visit img { border-radius:.35rem; }
.home-lifelong #first-week > dl { grid-template-columns:repeat(4,minmax(0,1fr)); }
.home-lifelong #first-week > dl dt { font:650 1.04rem/1.2 var(--ui); }
.home-household-pilot { padding:var(--home-pad); background:#e5ede7; }
.home-household-pilot .home-questions { border:0; padding:0; margin:0; }
.home-home-close { align-items:center; }
.home-home-close .home-primary { background:#e0f3ea; color:#08353a; border-radius:.25rem; }
.home-home-close .home-primary:hover { background:#ccece0; color:#08353a; }
@media(max-width:980px) {
 .home-model { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-model dl { grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-lifelong #first-week > dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .home-lifelong .home-opening,.home-buyer-paths { grid-template-columns:1fr; }
 .home-sharing-preview img { flex:none; height:auto; aspect-ratio:2.1; }
 .home-cover-copy { width:100%; padding:var(--home-pad); }
 .home-lifelong .home-opening h1 { max-width:20ch; font-size:clamp(36px,8vw,55px); }
 .home-agent,.home-home-close,.home-lifelong .home-visit { grid-template-columns:1fr; }
 .home-service-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:490px) {
 .home-model,.home-model dl,.home-agent dl,.home-lifelong .home-select,.home-service-cards { grid-template-columns:1fr; }
 .home-preview-panes { grid-template-columns:minmax(0,1fr); gap:12px; }
 .home-preview-panes .home-ride-preview { border-left:0; border-top:1px solid #95aba0; padding:12px 0 0; }
 .home-ride-preview dl { display:flex; gap:1.25rem; }
 .home-ride-preview dl > div + div { margin:0; }
}
