/* Cursor-led macOS desktop hero. */
.mobile-notice { display: none; }
@media (max-width: 700px) {
  .mobile-notice { display: block; margin: 4px 8px 12px; color: #756d63; font-size: 13px; line-height: 20px; font-weight: 500; text-align: center; }
}
.room { display: block; height: calc(100svh - 16px); min-height: 0; aspect-ratio: auto; border-radius: 8px; isolation: isolate; }
.scene { position: absolute; inset: 0; min-width: 0; height: 100%; aspect-ratio: auto; z-index: -2; }
.scene-image { transform: scaleX(-1); }
.scene::after { opacity: calc(1 - var(--light-progress)); transform: scaleX(-1); content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(256.27% 100% at 100% 50.03%, rgba(29,25,23,.9) 0%, rgba(29,25,23,.2) 37.13%, rgba(211,207,200,0) 59.13%); background: radial-gradient(256.27% 100% at 100% 50.03%, color(display-p3 .1098 .098 .0902 / .9) 0%, color(display-p3 .1098 .098 .0902 / .2) 37.13%, color(display-p3 .8235 .8118 .7882 / 0) 59.13%); }
.hero-copy { top: 26.5%; left: 16.4%; transform: none; display: block; width: 340px; max-width: 35%; }
.hero-brand { display: block; margin-bottom: 80px; }
.hero-details { margin-top: 20px; }
.hero-description { width: 320px; }
.hero-copy .download-button { margin-top: 42px; min-height: 40px; border-radius: 5px; color: #383129; -webkit-text-fill-color: #383129; background: linear-gradient(#f5ead4, #beb4a1); box-shadow: inset 0 1px 0 #ffffff80, 0 1px 2px #0003; text-decoration: none; }
.mac-menu-bar { position: absolute; z-index: 4; inset: 0 0 auto; height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; color: #fff; background: #ffffff1f; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font: 500 13px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: 0; text-shadow: 0 1px 3px #0005; }
.mac-menu-left, .mac-menu-right { display: flex; align-items: center; gap: 24px; height: 100%; white-space: nowrap; }
.mac-menu-left strong { font-weight: 700; }
.mac-menu-right { gap: 0; }
.mac-status-icon { flex: 0 0 36px; }
.mac-status-icon img { display: block; width: 36px; height: 22px; }
.mac-clock { margin-left: 10px; }
.mac-menu-right > span { display: flex; align-items: center; }
.mac-onlight-icon { justify-content: center; width: 40px; height: 24px; border-radius: 14px; background: #0003; }
.mac-onlight-icon img { width: 18px; height: 18px; }
.mac-onlight-icon.is-open { background: #0006; }
.hero-app { position: absolute; z-index: 3; width: 440px; height: 542px; right: 9.7%; top: 52px; transform-origin: 50% 0; pointer-events: none; }
.hero-app-window { position: absolute; top: 0; left: 0; width: 440px; height: 542px; }
.hero-app-home { position: absolute; inset: 0; }
.hero-app-scroll { height: 488px; overflow: hidden; }
.hero-app .preview-footer { z-index: 2; }
.hero-app .preview-light-name { font-weight: 500; }
.hero-app .preview-toggle-thumb { transition: left 200ms ease; }
.hero-cursor { position: absolute; z-index: 5; left: 0; top: 0; opacity: 0; pointer-events: none; filter: drop-shadow(0 1px 2px #0005); }
.hero-cursor svg { display: block; transform-origin: 10.011px 7.407px; }
.hero-cursor i { position: absolute; left: -.989px; top: -3.593px; width: 22px; height: 22px; border: 1px solid #ffffffb3; border-radius: 50%; opacity: 0; }
@media (max-width: 1100px) and (min-width: 701px) {
  .hero-copy { left: 8%; max-width: 40%; top: 22%; }
  .hero-brand { margin-bottom: 56px; }
  .hero-app { right: 5%; }
  .mac-menu-left { gap: 16px; }
  .mac-status-extra { display: none !important; }
}
@media (max-width: 900px) {
  .room { height: calc(100svh - 16px); min-height: calc(var(--hero-mobile-app-top, 350px) + 558px); }
  .hero-copy { top: 60px; left: 24px; width: calc(100% - 48px); max-width: none; }
  .hero-brand { width: 78px; height: 24px; margin-bottom: 16px; }
  .hero-copy h1 { font-size: 30px; line-height: 34px; }
  .hero-description { width: 320px; font-size: 14px; line-height: 20px; }
  .hero-details { margin-top: 12px; }
  .hero-copy .download-button { margin-top: 16px; min-height: 34px; padding-block: 6px; }
  /* Narrow screens pan across the native-size UI instead of shrinking it. */
  .hero-app { top: var(--hero-mobile-app-top, 350px); bottom: auto; width: min(440px, calc(100% - 32px)); right: max(16px, calc((100% - 440px) / 2)); margin-right: 0; overflow-x: auto; overflow-y: hidden; border-radius: 16px; }
  .mac-menu-bar { padding-inline: 12px; font-size: 11px; }
  .mac-menu-left { gap: 12px; }
  .mac-menu-extra, .mac-status-extra, .mac-clock > span { display: none !important; }
  .mac-onlight-icon { width: 32px; }
  .scene-image { object-position: 55% center; }
}
@media (max-width: 380px) {
  .mac-menu-left > span { display: none; }
  .hero-copy { left: 20px; width: calc(100% - 40px); }
  .hero-copy h1 { font-size: 28px; line-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cursor { display: none; }
  .hero-app .preview-toggle-thumb { transition: none; }
}

.hero-app:focus-visible { outline: 2px solid #f3e7d4; outline-offset: 6px; border-radius: 16px; }

@media (min-width: 701px) and (max-height: 700px) {
  .hero-copy { top: 18%; }
  .hero-brand { margin-bottom: 24px; }
  .hero-copy h1 { font-size: 34px; line-height: 40px; }
  .hero-copy .download-button { margin-top: 24px; }
}
