/* Compact reading rhythm: preserve card geometry; tall windows do not inflate each scene. */
@media (min-width: 761px) {
  .home-page #main > [data-page-section]:not(.home-intro) { min-height: min(calc(100svh - var(--header-row-height, 80px)), 780px); }
  .home-page #main > .home-surface--closing[data-page-section] { min-height: 0; padding-block: 40px 24px; }
  .home-page .closing-section { margin-bottom: 0; }
  .home-page #main > :is(.home-compute-surface, .home-surface) { display: grid; align-content: center; }
  .home-page #main > [data-page-section] > .section-container { width: 100%; }
  .home-page .home-compute,
  .home-page .assistant-section,
  .home-page .services-section { padding-block: 32px; }
  .home-page .assistant-section { margin-top: 0; }
  .home-page .assistant-section .section-heading { margin-bottom: 26px; }
  .home-page .services-section { column-gap: 56px; }
  .home-page .services-section { align-items: start; }
  .home-page .services-intro { padding-top: 26px; }
  .home-page .service-row { padding-block: 12px; }
  .home-page .service-row h3 { margin-block: 8px; }
  .home-page .service-actions { margin-top: 12px; }
  .home-compute-side .home-compute-tasks { margin-top: 18px; padding-top: 16px; gap: 18px; }
  .home-compute-side .home-compute-tasks > div { display: block; }
  .home-compute-side .home-compute-tasks dd { margin-top: 6px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .home-page #main > [data-page-section] > .section-container { width: calc(100% - 52px); margin-inline: auto; }
}

/* Trim decoration on short desktop screens; keep body copy and hardware composition intact. */
@media (min-width: 1051px) and (max-height: 850px) {
  .home-page .assistant-section { padding-block: 24px; }
  .home-page .assistant-section .section-heading { margin-bottom: 22px; }
  .home-page .assistant-workspace,
  .home-page #chatInlineMount { min-height: 460px; }
  .home-page .assistant-main #chatInlineMount > :is(.chat-preview, .chat-preview__moved) { height: 460px; min-height: 460px; }
  .home-page .assistant-sidebar { padding-block: 22px; }
  .home-page .workspace-brand { margin-bottom: 26px; }
  .home-page .sidebar-note:not(.sidebar-note--demo) { display: none; }
  .home-page .sidebar-note--demo { margin-block: 8px 10px; padding-top: 8px; }
  .home-page .sidebar-note--demo > small { margin-top: 0; }
  .home-page .sidebar-note--demo .sidebar-demo-caption { display: none; }
  .home-page .assistant-caption { padding-right: 145px; }
  .home-page .services-section { padding-block: 24px; }
  .home-page .service-row { padding-block: 6px; }
  .home-page .service-row h3 { margin-block: 5px; }
  .home-page .service-actions { margin-top: 10px; }
}
