@import url("/site.css");

.product-page { background: linear-gradient(180deg, var(--feature-highlight) 0, var(--background) 36rem) no-repeat, var(--background); }
.product-page .site-header { border-bottom-color: transparent; }
.product-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4rem 0 3rem; }
.product-hero .hero-icon { width: 8rem; height: 8rem; border-radius: 1.75rem; }
.product-hero h1 { font-size: 3rem; margin-top: 1.25rem; }
.product-hero .lead { max-width: 38rem; margin-top: .75rem; font-size: 1.1875rem; color: var(--secondary); }
.product-hero .intro { max-width: 34rem; margin-top: .75rem; }
.product-hero .actions { justify-content: center; margin-top: 1.75rem; }
.product-hero .button { border-radius: 999px; padding-inline: 1.375rem; }
.requirements-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; margin: 0; font-size: .875rem; }
@media (max-width: 700px) {
  .requirements-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .product-hero { padding-top: 2.5rem; }
  .product-hero .hero-icon { width: 6rem; height: 6rem; border-radius: 1.375rem; }
  .product-hero h1 { font-size: 2.25rem; }
}
a.screenshot-placeholder { cursor: zoom-in; }
.showcases { margin-top: 2rem; border-top: 1px solid var(--line); }
.showcase + .showcase { border-top: 1px solid var(--line); }
.screenshots-section:has(.showcases) + .section { margin-top: 0; }
.showcase summary { display: flex; align-items: baseline; gap: .75rem; padding: .875rem 2rem .875rem 0; position: relative; list-style: none; cursor: pointer; }
.showcase[open] summary { flex-wrap: wrap; row-gap: .125rem; }
.showcase summary::-webkit-details-marker { display: none; }
.showcase summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: .5rem; height: .5rem; border-right: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.showcase[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.showcase summary:focus-visible { outline-offset: 2px; }
.showcase-title { flex: none; font-size: .9375rem; font-weight: 600; }
.showcase-detail { min-width: 0; overflow: hidden; color: var(--secondary); font-size: .875rem; white-space: nowrap; text-overflow: ellipsis; }
.showcase[open] .showcase-detail { white-space: normal; }
.showcase .screenshots { margin-top: 0; padding-bottom: 1.5rem; }
@media (prefers-reduced-motion: reduce) {
  .showcase summary::after { transition: none; }
}
.gallery { position: relative; }
.gallery-button { position: absolute; top: calc(.5rem + var(--shot-height, 18rem) / 2); transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 20, 24, .62); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; opacity: 0; transition: opacity .2s; }
.gallery-button svg { display: block; flex-shrink: 0; }
.gallery-button:hover { background: rgba(20, 20, 24, .8); }
.gallery-button:focus-visible { opacity: 1; outline: 2px solid var(--foreground); outline-offset: 2px; border-radius: 50%; }
.gallery:hover .gallery-button { opacity: 1; }
.gallery-button[hidden] { display: none; }
.gallery-previous { left: calc((100cqw - 100vw) / 2 + 1rem); }
.gallery-next { right: calc((100cqw - 100vw) / 2 + 1rem); }
@media (hover: none) {
  .gallery-button { display: none; }
}
@media (max-width: 700px) {
  .gallery-button { top: calc(.5rem + 8rem); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-button { transition: none; }
}
.viewer-open { overflow: hidden; }
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f5f5f7; overflow: hidden; }
.viewer::backdrop { background: rgba(10, 10, 14, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.viewer-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 3.75rem 4.5rem 5rem; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.viewer-image { max-width: 100%; max-height: 100%; border-radius: .5rem; cursor: zoom-in; transform-origin: center; will-change: transform; }
.viewer.is-zoomed .viewer-image { cursor: grab; border-radius: 0; }
.viewer.is-zoomed .viewer-image:active { cursor: grabbing; }
.viewer-bar { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; pointer-events: none; }
.viewer-bar > * { pointer-events: auto; }
.viewer-top { top: 0; }
.viewer-bottom { bottom: 0; padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
.viewer-counter, .viewer-caption { margin: 0; font-size: .9375rem; color: rgba(245, 245, 247, .85); }
.viewer-caption { max-width: 40rem; }
.viewer-zoom { display: flex; gap: .5rem; flex-shrink: 0; }
.viewer-button { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: inherit; cursor: pointer; }
.viewer-button svg { display: block; flex-shrink: 0; }
.viewer-button:hover { background: rgba(255, 255, 255, .24); }
.viewer-button:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 2px; border-radius: 50%; }
.viewer-close { margin-left: auto; }
.viewer-previous, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); }
.viewer-previous { left: 1rem; }
.viewer-next { right: 1rem; }
.viewer-previous[hidden], .viewer-next[hidden] { display: none; }
@media (max-width: 700px) {
  .viewer-stage { padding: 3.5rem .75rem 7rem; }
  .viewer-bottom { flex-direction: column; align-items: stretch; }
  .viewer-zoom { justify-content: center; }
  .viewer-previous, .viewer-next { top: auto; bottom: max(.75rem, env(safe-area-inset-bottom)); transform: none; }
}
