.feature-preview { scroll-margin-top: 85px; }
.feature-selector { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 28px auto 24px; }
.feature-selector[hidden] { display: none; }
.feature-selector button { padding: 12px 20px; min-height: 44px; border: 1px solid #deded8; background: transparent; color: #565b52; border-radius: 10px; font: inherit; font-size: 13px; cursor: pointer; transition: background .2s, border-color .2s; }
.feature-selector button:hover { background: #e9ece5; }
.feature-selector button[aria-pressed="true"] { background: #e4e9df; border-color: #7c8b6e; color: #273023; }
.feature-selector button:focus-visible { outline: 2px solid #526c43; outline-offset: 4px; }
.feature-stage { max-width: 1100px; margin: auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #e9e9e3; box-shadow: 0 16px 40px #282c2814; }
.feature-photo { width: 100%; position: relative; aspect-ratio: 2560 / 1441; transform: scale(1.3); transform-origin: 60% 49%; }
.feature-background { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-screen-capture { position: absolute; left: 44.55%; top: 37.6%; width: 28.65%; height: 22.2%; object-fit: fill; border-radius: .25rem; }
.feature-screen-capture[hidden] { display: none; }
.feature-stage[data-background="office"] .feature-screen-capture { left: 44.5%; top: 37.3%; width: 28.65%; height: 22.45%; }
@media (max-width: 700px) {
  .feature-selector { gap: 6px; margin-top: 22px; }
  .feature-selector button { padding: 10px 13px; font-size: 12px; }
  .feature-stage { border-radius: 10px; aspect-ratio: 4 / 3; }
  .feature-photo { width: 133.333%; margin-left: -24%; transform: scale(1.15); transform-origin: 60% 49%; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-selector button { transition: none; }
}
