/* Homepage: the existing blue/white system, with green reserved for Nvidia. */
.home-page {
  --max: 1280px;
  --home-section: 56px;
  --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: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 64px;
  padding-block: 48px 32px;
}
.home-page h1 { font-size: clamp(2rem, 3.4vw, 2.875rem); letter-spacing: -.025em; }
.home-page .home-hero-copy > p { max-width: 540px; font-size: 1rem; line-height: 1.85; }
.home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.home-hero-actions .text-link { min-height: 44px; font-size: .875rem; }
.home-start { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--home-radius); }
.home-start h2 { font-size: 1rem; margin-bottom: 12px; }
.home-start ol { list-style: none; margin: 0; padding: 0; }
.home-start li + li { border-top: 1px solid var(--line); }
.home-start a { display: flex; gap: 12px; align-items: center; padding-block: 12px; }
.home-start a:hover strong { color: var(--blue); }
.home-start strong { display: block; font-size: .875rem; }
.home-start small { display: block; color: var(--muted); font-size: .75rem; margin-top: 2px; }
.home-start a > svg { width: 16px; margin-left: auto; color: var(--muted); }
.home-step { color: var(--blue); font: 500 .75rem/1.5 ui-monospace, monospace; }
.home-page main > .download-notice { margin-bottom: 40px; padding: 16px 20px; border-radius: 12px; }
.home-page main > .download-notice .notice-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; width: 100%; }
.home-page main > .download-notice .notice-copy p { grid-column: 1; }
.home-page main > .download-notice .notice-copy .text-link { grid-column: 2; grid-row: 1 / 3; }
.home-page .notice-copy .text-link { min-height: 36px; font-size: .875rem; }
.home-page .section-heading { margin-bottom: 24px; }
.home-page .section-heading h2 { font-size: 1.5rem; }
.home-page .intro-note { display: block; white-space: normal; font-size: .75rem; }
.home-page .intro-note strong { font-size: .875rem; }
.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: 56px; 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: 2rem; letter-spacing: -.035em; line-height: 1.2; margin-top: 16px; }
.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.85; min-height: 78px; }
.home-page .product-card .desc .product-highlight { font-size: .875rem; }
.home-page .main-stat { min-height: 104px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); }
.home-page .main-stat .label { font-size: .75rem; margin-bottom: 6px; }
.home-page .main-stat strong { font-size: 1.875rem; }
.home-page .main-stat .unit { font-size: .8125rem; }
.home-page .simple-feature, .home-page .stat-list { font-size: .8125rem; }
.home-page .stat-list { margin-bottom: 0; }
.home-page .simple-feature { align-items: flex-start; margin-bottom: 10px; gap: 8px; }
.home-page .simple-feature svg { margin-top: 2px; }
.home-page .stat-list div { gap: 4px 8px; }
.home-page .feature-note { margin: 16px 0 8px; padding: 12px; border-radius: 8px; font-size: .8125rem; line-height: 1.8; }
.home-page .feature-note b { font-size: .8125rem; color: var(--ink); margin-bottom: 4px; }
.home-page .card-bottom .manual-link { min-height: 44px; font-size: .8125rem; margin: 0 0 8px; }
.home-page .card-bottom .btn { min-height: 46px; margin-top: 0; }
.home-page .card-video-link { margin-top: 8px; font-size: .8125rem; }
.home-page .data-note { margin: 16px 0 0; }
.home-products { margin-bottom: var(--home-section); }
.home-products:not(:has(.product-card)) { display: none; }
.home-page:not(:has(.product-card)) .home-hero-actions [href="#products"] { display: none; }
.home-page .feedback-overview { padding: 28px 32px; border-radius: var(--home-radius); margin-bottom: var(--home-section); }
.home-page .feedback-overview p { max-width: 920px; line-height: 1.85; }
.home-page .usage-section { margin-bottom: var(--home-section); }
.home-page .usage-list { border-radius: var(--home-radius); }
.home-page .usage-item { grid-template-columns: 190px minmax(0, 1fr); padding: 28px 32px; gap: 40px; }
.home-page .usage-body { max-width: 880px; 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 .setup-overview { border-radius: var(--home-radius); margin-bottom: 32px; }
.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 .home-hero { gap: 32px; }
  .home-page .product-card { padding: 20px; }
  .home-page .product-card .desc { min-height: 128px; }
  .home-page .product-name { font-size: 1.875rem; }
}
@media (max-width: 1050px) {
  .home-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-page .product-card { padding: 24px; }
  .home-page .product-card .desc { min-height: 78px; }
  .home-page .home-hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .home-page .usage-item { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 24px; }
}
@media (max-width: 760px) {
  .home-page { --home-section: 40px; }
  .home-page .home-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 28px 24px; }
  .home-page .home-hero-copy > p { font-size: .9375rem; }
  .home-page .eyebrow { font-size: .6875rem; letter-spacing: .1em; margin-bottom: 12px; }
  .home-hero-actions { gap: 8px 16px; margin-top: 20px; }
  .home-start { padding: 20px; }
  .home-start h2 { margin-bottom: 12px; }
  .home-start ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .home-start li + li { border-top: 0; border-left: 1px solid var(--line); padding-left: 12px; }
  .home-start a { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 4px; min-height: 60px; }
  .home-start strong { font-size: .8125rem; }
  .home-start small, .home-start a > svg { display: none; }
  .home-page main > .download-notice { margin-bottom: 32px; padding: 16px; }
  .home-page main > .download-notice .notice-copy { display: block; }
  .home-page .section-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
  .home-page .section-heading h2 { font-size: 1.375rem; }
  .home-page .intro-note { text-align: left; padding: 0; }
  .home-page .intro-note strong { margin-bottom: 0; }
  .home-page .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-page .product-card { padding: 24px; }
  .home-page .product-card .card-topline { min-height: 0; }
  .home-page .product-card .desc { min-height: 0; }
  .home-page .product-name { font-size: 2rem; }
  .home-page .main-stat { min-height: 0; margin-top: 16px; padding-block: 14px; }
  .home-page .feature-note { margin-top: 12px; }
  .home-page .feedback-overview { padding: 24px; gap: 16px; }
  .home-page .feedback-overview > .btn { width: 100%; }
  .home-page .usage-item { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .home-page .usage-body { font-size: .9375rem; }
  .home-page .footer-links { justify-content: flex-start; gap: 8px 20px; }
}
@media (max-width: 600px) {
  html:has(body.home-page) { scroll-padding-top: 24px; }
  /* On long mobile pages, keep the viewport available for product content. */
  .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; }
}
