/* Compact homepage; shared product details remain available on demand. */
.home-page { --max: 1280px; --home-section: 32px; --home-radius: 16px; }
html:has(body.home-page) { scroll-padding-top: 108px; }
.home-page .header-inner { gap: 24px; }
.home-page .primary-nav { gap: 20px; }
.home-page .brand { font-size: 1.125rem; }
.home-page .header-actions .btn { padding-inline: 14px; }
.home-page .home-hero { display: block; padding-block: 32px 24px; }
.home-page h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -.025em; }
.home-page .home-hero-copy > p { margin-top: 8px; font-size: .9375rem; }
.home-page .section-heading { margin-bottom: 16px; }
.home-page .section-heading h2 { font-size: 1.25rem; }
.home-page .product-grid { gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-page .product-card { padding: 24px; border-radius: var(--home-radius); box-shadow: none; }
.home-page .product-card.product-featured { border-color: #80b795; box-shadow: inset 0 3px 0 #167244; }
.home-page .product-card .card-topline { min-height: 62px; row-gap: 8px; }
.home-page .product-card .tag { font-size: .75rem; padding: 4px 8px; }
.home-page .release-meta .release-updated { justify-self: start; }
.home-page .product-name { font-size: 1.875rem; letter-spacing: -.035em; line-height: 1.2; margin-top: 20px; }
.home-page .featured-badge { font-size: .6875rem; padding: 4px 7px; border-radius: 5px; }
.home-page .product-featured .product-name { gap: 8px; }
.home-page .product-card .desc { font-size: .875rem; line-height: 1.8; min-height: 78px; }
.home-page .main-stat { margin: 16px 0 20px; padding: 14px 0; border-block: 1px solid var(--line); }
.home-page .main-stat .label { font-size: .75rem; margin-bottom: 6px; }
.home-page .main-stat strong { font-size: 1.65rem; }
.home-page .main-stat .unit { font-size: .8125rem; white-space: nowrap; }
.home-page .card-bottom .btn { min-height: 46px; margin-top: 0; }
.home-card-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; margin-top: 4px; }
.home-card-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: .8125rem; }
.home-card-links a:hover { text-decoration: underline; }
.home-page .data-note { margin: 12px 0 0; }
.home-products { margin-bottom: 20px; }
.home-products:not(:has(.product-card)) { display: none; }
.home-guidance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 8px 0; margin-bottom: 24px; font-size: .875rem; color: var(--muted); }
.home-guidance .text-link { min-height: 44px; font-size: .875rem; }
.home-page .feedback-overview { padding: 20px 24px; gap: 12px 24px; border-radius: var(--home-radius); margin-bottom: 24px; }
.home-page .feedback-overview h2 { font-size: 1.125rem; }
.home-page .feedback-overview p { margin-top: 4px; font-size: .875rem; }
.home-page .feedback-overview > .text-link { min-height: 44px; flex: none; font-size: .875rem; }
.home-details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.home-details:not(:has(> section)) { display: none; }
.home-details > summary { padding: 18px 24px; cursor: pointer; font-weight: 600; font-size: .9375rem; }
.home-details > summary::marker { color: var(--blue); }
.home-details > summary > span { float: right; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.home-details[open] > summary > span { display: none; }
.home-details[open] > summary { border-bottom: 1px solid var(--line); }
.home-page .home-details > section { margin: 0; }
.home-page .home-details .usage-section > .section-heading { display: none; }
.home-page .usage-list { border: 0; border-radius: 0 0 12px 12px; }
.home-page .usage-item { grid-template-columns: 160px minmax(0, 1fr); padding: 24px; gap: 32px; }
.home-page .usage-body { max-width: 900px; font-size: .9375rem; line-height: 1.9; }
.home-page .usage-body .text-link { font-size: inherit; }
.home-page .usage-label { gap: 10px; }
.home-page .usage-label .tag { font-size: .75rem; }
.home-page .home-details .setup-overview { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.home-page .home-details #setup { padding: 24px; }
.home-page .guide-card { border-radius: var(--home-radius); }
.home-page .site-footer { margin-top: var(--home-section); }
.home-page .footer-inner { align-items: flex-start; }
.home-page .footer-links { max-width: 680px; justify-content: flex-end; gap: 12px 24px; }
.home-page .footer-links a { min-height: 32px; display: inline-flex; align-items: center; }
@media (min-width: 1051px) {
  .home-page .product-grid:has(> .product-card:last-child:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .product-grid:has(> .product-card:last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .product-grid:has(> .product-card:only-child) { grid-template-columns: minmax(0, 640px); }
}
@media (max-width: 1280px) {
  html:has(body.home-page) { scroll-padding-top: 144px; }
  .home-page .product-card { padding: 20px; }
  .home-page .product-card .desc { min-height: 104px; }
  .home-page .product-name { font-size: 1.75rem; }
}
@media (max-width: 1050px) {
  .home-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .product-card { padding: 24px; }
  .home-page .product-card .desc { min-height: 52px; }
  .home-page .usage-item { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .home-page .home-hero { padding-block: 24px 20px; }
  .home-page .product-grid { grid-template-columns: 1fr; }
  .home-page .product-card { padding: 20px; }
  .home-page .product-card .card-topline { min-height: 0; }
  .home-page .product-card .desc { min-height: 0; }
  .home-page .product-name { margin-top: 16px; }
  .home-page .main-stat { margin: 12px 0 16px; padding-block: 12px; }
  .home-guidance { display: block; margin-bottom: 16px; }
  .home-guidance .text-link { display: flex; width: fit-content; }
  .home-page .feedback-overview { padding: 20px; }
  .home-details > summary { padding: 16px; }
  .home-details > summary > span { display: none; }
  .home-page .usage-item { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .home-page .home-details #setup { padding: 16px; }
  .home-page .footer-links { justify-content: flex-start; gap: 8px 20px; }
}
@media (max-width: 600px) {
  html:has(body.home-page) { scroll-padding-top: 24px; }
  .home-page .site-header { position: static; }
  .home-page .wrap { width: calc(100% - 32px); }
  .home-page .header-inner { gap: 8px; padding-top: 12px; }
  .home-page .header-actions:empty { display: none; }
}
