/* Homepage layout; no dependency on regenerating the shared utility stylesheet. */
body[data-home-seo] { overflow-x: clip; }
body[data-home-seo] main { min-width: 0; }
body[data-home-seo] section[id] { scroll-margin-top: 150px; }
body[data-home-seo] .home-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
body[data-home-seo] .home-product-grid > * { min-width: 0; }
body[data-home-seo] .home-hero-grid { gap: 44px; }
body[data-home-seo] .hero-title { font-size: clamp(2.15rem, 4.1vw, 3.65rem); line-height: 1.12; }
body[data-home-seo] .hero-subtitle { font-size: 1.05rem; }
body[data-home-seo] .home-tinted { background: rgba(255, 255, 255, 0.58); }
body[data-home-seo] .section-copy { margin-top: 20px; }
body[data-home-seo] .home-steps { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 0; margin: 32px 0 0; list-style: none; }
body[data-home-seo] .home-steps li { padding: 24px; border-top: 2px solid var(--mapple-primary); background: rgba(255,255,255,.65); border-radius: 0 0 16px 16px; }
body[data-home-seo] .home-steps strong, body[data-home-seo] .home-steps span { display: block; }
body[data-home-seo] .home-steps span { margin-top: 12px; line-height: 1.7; color: var(--mapple-muted); }
body[data-home-seo] .home-benefits { padding-left: 22px; margin: 24px 0; line-height: 1.75; list-style: disc; }
body[data-home-seo] .home-benefits li + li { margin-top: 10px; }
body[data-home-seo] .home-card-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: 32px; }
body[data-home-seo] .home-feature-card { padding: 28px; min-width: 0; }
body[data-home-seo] .home-feature-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
body[data-home-seo] .home-feature-card p { margin-top: 14px; color: var(--mapple-muted); line-height: 1.75; }
body[data-home-seo] .home-text-link { display: inline-block; color: #43551f; text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
body[data-home-seo] .home-feature-card .home-text-link { margin-top: 12px; }
body[data-home-seo] .home-note { margin-top: 28px; line-height: 1.75; color: var(--mapple-muted); }
body[data-home-seo] .home-note a, body[data-home-seo] .home-resource-links a { color: #43551f; text-decoration: underline; text-underline-offset: 4px; }
body[data-home-seo] .home-resource-links { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 32px; }
body[data-home-seo] .screenshot-panel { margin: 0; width: 100%; max-width: 100%; }
body[data-home-seo] .screenshot-panel img { border-radius: 12px; }
body[data-home-seo] .screenshot-caption { text-align: center; }
body[data-home-seo] .faq-card + .faq-card { margin-top: 0; }
body[data-home-seo] .brand-link img { width: 92px; height: auto; object-fit: contain; }
body[data-home-seo] .downloads-grid { display: grid; grid-template-columns: minmax(0,1fr); }
.home-skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; background: white; padding: 16px; color: #43551f; }
.home-skip-link:focus { top: 12px; }
body[data-home-seo] :is(a,button,summary):focus-visible { outline: 3px solid #516526; outline-offset: 5px; }
@media (min-width: 768px) {
 body[data-home-seo] .home-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
 body[data-home-seo] .home-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 body[data-home-seo] .downloads-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1024px) {
 body[data-home-seo] .home-product-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
 body[data-home-seo] .home-hero-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
 body[data-home-seo] .home-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 body[data-home-seo] .home-two-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
 body[data-home-seo] section { padding-top: 44px; padding-bottom: 44px; }
 body[data-home-seo] #hero-section { padding-top: 36px; }
 body[data-home-seo] .section-title-display { font-size: clamp(1.75rem,7vw,2.4rem); line-height: 1.18; }
 body[data-home-seo] .home-feature-card { padding: 22px; }
 body[data-home-seo] .home-product-grid { gap: 28px; }
 body[data-home-seo] .hero-panel { padding: 10px; }
 body[data-home-seo] .brand-link img { width: 70px; height: auto; }
 body[data-home-seo] .hero-title { overflow-wrap: break-word; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto !important; }
 body[data-home-seo] *, body[data-home-seo] *::before, body[data-home-seo] *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 1360px) {
 body[data-home-seo] .index-header { gap: 20px; }
 body[data-home-seo] .index-header .brand-copy { display: none; }
}

/* The patient journey: five linked stages, readable without JavaScript. */
body[data-home-seo] .home-story-index { margin-top: 32px; }
body[data-home-seo] .home-story-index ol { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
body[data-home-seo] .home-story-index a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 16px; border: 1px solid var(--mapple-border); border-radius: 16px; background: rgba(255,255,255,.8); color: var(--mapple-text); font-weight: 600; text-decoration: none; }
body[data-home-seo] .home-story-index a:hover { border-color: var(--mapple-primary); background: #f4f6ed; }
body[data-home-seo] .home-story-index span { font-size: .85rem; color: var(--mapple-accent); }
body[data-home-seo] .home-story-result { margin-top: 24px; padding: 20px 22px; border-left: 3px solid var(--mapple-primary); background: rgba(109,132,52,.08); border-radius: 0 14px 14px 0; }
body[data-home-seo] .home-story-result strong { color: #43551f; }
body[data-home-seo] .home-story-result p { margin-top: 8px; line-height: 1.75; color: var(--mapple-muted); }
body[data-home-seo] .home-story-next { margin-top: 24px; line-height: 1.65; }
body[data-home-seo] .home-story-support { margin-top: 32px; line-height: 1.75; color: var(--mapple-muted); }
body[data-home-seo] .home-story-support > .home-text-link { margin-top: 16px; }
body[data-home-seo] .home-story-perspectives { padding: 32px; }
body[data-home-seo] .home-story-perspectives h3 { font-family: 'Poppins',sans-serif; font-size: 1.35rem; font-weight: 600; line-height: 1.45; }
body[data-home-seo] .home-story-perspectives > div { padding-block: 24px; border-bottom: 1px solid var(--mapple-border); }
body[data-home-seo] .home-story-perspectives > div:last-of-type { border-bottom: none; }
body[data-home-seo] .home-story-perspectives p { margin-top: 10px; line-height: 1.75; color: var(--mapple-muted); }
body[data-home-seo] .home-story-role { color: var(--mapple-primary); font-weight: 700; }
body[data-home-seo] .home-story-closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--mapple-border); }
body[data-home-seo] .home-story-closing p { font-family: 'Poppins',sans-serif; font-size: 1.3rem; line-height: 1.5; max-width: 700px; }
@media (max-width: 767px) {
 body[data-home-seo] .home-story-index ol { grid-template-columns: 1fr; gap: 8px; }
 body[data-home-seo] .home-story-index a { flex-direction: row; align-items: center; gap: 16px; padding: 14px 18px; min-height: 52px; }
 body[data-home-seo] .home-story-perspectives { padding: 24px; }
 body[data-home-seo] .home-story-closing { align-items: flex-start; }
}

/* Keep the existing mobile capture at a readable phone-sized width. */
body[data-home-seo] .home-patient-screen { width: min(100%, 280px); margin-inline: auto; }

/* Preserve the complete dashboard composition in the main banner. */
body[data-home-seo] #hero-section .screenshot-panel img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }

/* Separate product screenshots from the light page background. */
body[data-home-seo] .screenshot-panel {
 border-color: rgba(67, 81, 47, .18);
 box-shadow: 0 20px 50px -12px rgba(40, 50, 30, .26), 0 5px 16px rgba(40, 50, 30, .08);
}
body[data-home-seo] .screenshot-panel > [data-screenshot] img {
 box-shadow: 0 3px 12px rgba(40, 50, 30, .1);
 border-radius: 16px;
}

/* Notas Pro is the during-consultation part of the patient journey. */
body[data-home-seo] .home-notes-pro { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--mapple-border); scroll-margin-top: 150px; }
body[data-home-seo] .home-notes-pro ol { list-style: decimal; }
