/* Homepage only: quiet curves, clear copy and comfortable touch targets. */
#main-content .memory-page { --home-ink:#29483b; --home-muted:#536255; --home-line:#d4ddd1; }
#main-content .service-hero { background:linear-gradient(145deg,#fbfaf6,#f3f5ef); }
#main-content .service-hero h1 { color:#344f41; font-weight:700; line-height:1.5; }
#main-content .service-hero__lead { color:var(--home-muted); font-size:16px; line-height:1.85; }
/* The six services remain visible without squeezing or horizontal scrolling. */
#main-content .service-hero__navigation { display:block; margin-bottom:18px; border:0; padding:0; }
#main-content .service-hero__tabs { grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; padding:7px; border:1px solid #e0e6dc; border-radius:24px; background:#edf1e9; overflow:visible; }
#main-content .service-hero__navigation button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; box-sizing:border-box; min-width:0; min-height:76px; padding:12px 8px; border:1px solid transparent; border-radius:18px; background:transparent; color:#435748; box-shadow:none; white-space:normal; word-break:keep-all; overflow-wrap:anywhere; transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease; }
#main-content .service-hero__navigation button span { display:block; max-width:100%; font-size:16px; font-weight:600; line-height:1.5; letter-spacing:-.025em; }
#main-content .service-hero__navigation button small { margin:0; font-size:12px; line-height:1.6; color:#596a5c; }
#main-content .service-hero__navigation button:hover { background:#f8faf5; border-color:#ccd8c8; }
#main-content .service-hero__navigation button:is(.is-active,[aria-selected="true"]) { color:#234d37; background:#fffefb; border-color:#a6bba5; box-shadow:0 2px 7px #304a3510,inset 0 -3px 0 #477054; }
#main-content .service-hero__navigation button:is(.is-active,[aria-selected="true"]) span { color:#234d37; font-weight:700; }
#main-content .service-hero__navigation button:is(.is-active,[aria-selected="true"]) small { color:#3e5e48; opacity:1; }
#main-content .service-hero__navigation button:focus-visible { position:relative; z-index:1; outline:3px solid #97733b; outline-offset:2px; }
#main-content :is(.service-hero__primary,.service-hero__secondary,.mm-button) { min-height:48px; border-radius:18px; padding:12px 20px; font-size:15px; font-weight:650; line-height:1.6; box-shadow:0 3px 10px #2443310c; }
#main-content :is(.service-hero__primary,.mm-button:not(.mm-button-outline)) { color:#fff; background:#28533f; border-color:#28533f; }
#main-content :is(.service-hero__secondary,.mm-button-outline) { color:#31523d; background:#fffef9; border:1px solid #b8c8b5; }
#main-content :is(.service-hero__primary,.service-hero__secondary,.mm-button):hover { box-shadow:0 7px 18px #24433120; transform:translateY(-1px); }
#main-content .service-hero__description { color:#465b4b; font-size:16px; line-height:1.9; }
#main-content :is(.service-hero__eyebrow,.service-hero__status,.service-hero__note,.service-hero__price-note) { color:#536255; font-size:13px; line-height:1.8; }
#main-content .service-hero__shortcuts > a,
#main-content .service-hero__actions > a:not(.service-hero__primary):not(.service-hero__secondary),
#main-content .home-priority-service > a,
#main-content :is(.home-content-more,.home-qr__guide) { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:9px 15px; border-radius:14px; border:1px solid #d8e0d3; background:#f0f4eb; color:#36543f; font-size:14px; font-weight:600; line-height:1.65; text-decoration:none; }
#main-content .home-priority-service > a { align-self:flex-start; margin-top:12px; }
#main-content .home-priority-service > p { font-size:15px; color:#4f5d50; line-height:1.85; }
#main-content .home-priority-service > .home-priority-service__note { font-size:13px; color:#596454; line-height:1.8; }
#main-content .home-priority-service h3 { font-size:19px; color:#304d3d; line-height:1.6; }
#main-content :is(.home-example-card,.home-memory-start__card) { border-radius:22px; border-color:#dce3d7; box-shadow:0 6px 20px #35493208; }
#main-content :is(.home-content-lead,.home-example-card__summary,.home-qr__lead) { color:#4f6050; font-size:15px; line-height:1.85; }
#main-content :is(.home-qr__formats,.home-qr__note,.home-curated-note) { color:#52604e; font-size:13px; line-height:1.8; }
#main-content .home-qr { border-radius:24px; background:linear-gradient(135deg,#f0f3e9,#f7f6ef); }
#main-content .service-hero__controls button { border-radius:16px; min-height:44px; }
#main-content .service-hero summary { border-radius:12px; }
#main-content .memory-page :is(a,button,summary):focus-visible { outline:3px solid #97733b; outline-offset:3px; }
#navbar :is(button,a[aria-haspopup="dialog"]) { border-radius:14px; }
@media (max-width:820px) {
 #main-content .service-hero { padding-inline:18px; }
 #main-content .service-hero__navigation { margin-top:10px; margin-bottom:16px; }
 #main-content .service-hero__tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; padding:6px; border-radius:22px; }
 #main-content .service-hero__navigation button { min-height:50px; padding:10px 6px; border-radius:16px; }
 #main-content .service-hero__navigation button span { font-size:14px; line-height:1.55; }
 #main-content .service-hero__navigation button small { display:none; }
 #main-content :is(.service-hero__lead,.service-hero__description) { font-size:15px; }
 #main-content :is(.service-hero__primary,.service-hero__secondary,.mm-button) { padding-inline:16px; font-size:14px; border-radius:17px; }
 #main-content .home-qr__actions .mm-button { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
 #main-content .memory-page :is(a,button) { transition:none; }
 #main-content :is(.service-hero__primary,.service-hero__secondary,.mm-button):hover { transform:none; }
}
