.app-content { width: min(1120px, calc(100% - 48px)); margin: auto; }
.app-intro { padding: 54px 0 44px; border-bottom: 1px solid var(--line); }
.product-name { margin-bottom: 15px; color: var(--blue-dark); font-weight: 600; font-size: 18px; }
.product-name span { margin-left: 12px; color: var(--muted); font-size: 14px; font-weight: 400; }
.app-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 23px; }
.app-identity img { border-radius: 15px; }
.app-identity .product-name { margin: 0; }
.app-identity .product-name span { display: block; margin: 3px 0 0; }
.app-intro h1 { margin: 0 0 20px; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.45; letter-spacing: -.025em; }
.intro-copy { color: var(--muted); font-size: 17px; }
.app-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 20px; font-size: 14px; }
.app-meta > span:last-child { margin-left: 6px; }
.tag { padding: 1px 9px; border: 1px solid #dce7f5; border-radius: 4px; background: #f5f9ff; color: #315679; }
.text-link { font-size: 15px; font-weight: 600; }
.demo-section { padding-top: 36px; }
.screenshot-gallery { margin: 0 0 34px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #f7faff, #f8faf8); }
.screenshot-gallery__header, .screenshot-gallery__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.screenshot-gallery__header { margin-bottom: 17px; }
.screenshot-gallery__eyebrow { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; }
.screenshot-gallery__count { min-width: 54px; color: var(--muted); font: 600 12px/1.4 var(--mono); text-align: right; }
.screenshot-gallery__stage { position: relative; margin-inline: -22px; padding-inline: 36px; }
.screenshot-gallery__arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; transform: translateY(-50%); border: 1px solid rgb(213 222 233 / 88%); border-radius: 50%; background: rgb(255 255 255 / 94%); color: #26364a; box-shadow: 0 5px 18px rgb(24 45 74 / 16%); backdrop-filter: blur(6px); cursor: pointer; transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.screenshot-gallery__arrow svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.screenshot-gallery__arrow--previous { left: 0; }
.screenshot-gallery__arrow--next { right: 0; }
.screenshot-gallery__arrow:hover { transform: translateY(-50%) scale(1.06); background: #fff; box-shadow: 0 7px 22px rgb(24 45 74 / 22%); }
.screenshot-gallery__arrow:focus-visible { outline: 3px solid #79aef3; outline-offset: 3px; }
.screenshot-gallery__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c5d5e9 transparent; touch-action: pan-y; }
.screenshot-gallery__viewport.is-enhanced { overflow: hidden; scrollbar-width: none; }
.screenshot-gallery__track { display: flex; gap: 14px; width: 100%; transition: transform 360ms cubic-bezier(.2, .7, .25, 1); will-change: transform; }
.screenshot-gallery__track.no-transition { transition: none; }
.screenshot-gallery__slide { flex: 0 0 calc((100% - 28px) / 3); min-width: 0; margin: 0; scroll-snap-align: start; }
.screenshot-gallery__image { width: 100%; overflow: hidden; aspect-ratio: 9 / 16; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 4px 12px rgb(24 45 74 / 6%); }
.screenshot-gallery__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.screenshot-gallery__slide.is-current .screenshot-gallery__image { border-color: #9abbe8; box-shadow: 0 9px 24px rgb(24 45 74 / 12%); }
.screenshot-gallery__slide figcaption { display: flex; align-items: baseline; gap: 8px; padding: 10px 2px 0; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.screenshot-gallery__slide figcaption span { color: var(--blue-dark); font: 600 11px/1.4 var(--mono); }
.screenshot-gallery__footer { margin-top: 14px; }
.screenshot-gallery__dots { display: flex; align-items: center; gap: 7px; }
.screenshot-gallery__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #c4cfdd; cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.screenshot-gallery__dots button[aria-pressed="true"] { width: 22px; background: var(--blue); }
.screenshot-gallery__swipe-hint { color: var(--muted); font-size: 11px; }
.section-heading h2 { margin: 0 0 10px; font-size: 28px; }
.section-heading p { color: var(--muted); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 64px; align-items: start; margin-top: 30px; }
.demo-menu section + section { margin-top: 30px; }
.demo-menu h3 { margin: 0 0 8px; font-size: 20px; }
.demo-menu section > p { color: var(--muted); margin-bottom: 14px; }
.demo-choice { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 11px; padding: 13px 12px; border: 1px solid transparent; border-bottom-color: var(--line); color: var(--ink); line-height: 1.6; }
.demo-choice > span:first-child, .duration { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.demo-choice small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.demo-choice:hover { background: #f7f9fc; text-decoration: none; }
.demo-choice[aria-current="true"] { background: #f0f6ff; border-color: #a9cbf6; border-radius: 5px; }
.demo-choice[aria-current="true"] > span:nth-child(2) { color: var(--blue-dark); font-weight: 600; }
.demo-choice[aria-current="true"] small { font-weight: 400; }
.demo-viewer { position: sticky; top: 98px; margin: 0; min-width: 0; text-align: center; }
.player-heading { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.demo-viewer video { display: block; width: min(100%, calc(65vh * 9 / 16)); height: auto; margin: auto; aspect-ratio: 9 / 16; background: #111; border: 1px solid var(--line); border-radius: 9px; }
.demo-viewer figcaption h3 { margin: 16px 0 7px; font-size: 18px; }
.demo-viewer figcaption p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.player-note { color: var(--muted); font-size: 12px; }
.player-navigation { display: flex; justify-content: space-between; margin-top: 12px; }
.player-navigation button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--blue-dark); font-size: 14px; cursor: pointer; }
.player-navigation button:hover:enabled { background: #f0f6ff; }
.player-navigation button:disabled { color: #77818e; cursor: default; }
.app-end { border-top: 1px solid var(--line); margin-top: 42px; padding: 30px 0 0; }
.app-end h2 { margin: 0 0 12px; font-size: 25px; }
.app-end p { margin-bottom: 8px; color: var(--muted); }
.app-access { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: 24px; align-items: stretch; margin-top: 25px; }
.platform-downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.qr-item { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 20px 12px; text-align: center; border: 1px solid var(--line); border-radius: 6px; }
.qr-item h3 { font-size: 18px; margin: 0 0 16px; }
.qr-item > a { display: block; margin: auto; }
.qr-item img { display: block; width: min(100%, 192px); height: auto; aspect-ratio: 1; padding: 8px; margin: auto; object-fit: contain; background: white; }
.community-qr { width: min(100%, 360px); justify-self: center; }
.community-qr img { width: min(100%, 240px); aspect-ratio: auto; }
.qr-item figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; }
.platform-label { align-self: center; margin-top: 12px; padding: 4px 10px; border: 1px solid #dce7f5; border-radius: 999px; background: #f5f9ff; color: #315679; font-size: 12px; font-weight: 600; line-height: 1.4; }
.qr-help { font-size: 14px; margin-top: 20px; }
@media (max-width: 860px) {
  .app-access { grid-template-columns: 1fr; gap: 16px; }
  .platform-downloads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .screenshot-gallery__slide { flex-basis: calc((100% - 14px) / 2); }
}
@media (max-width: 860px) {
  .demo-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .demo-viewer { top: 145px; }
}
@media (max-width: 680px) {
  .platform-downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-intro { padding-top: 32px; }
  .desktop-break { display: none; }
  .screenshot-gallery { padding: 16px; border-radius: 15px; }
  .screenshot-gallery__slide { flex-basis: calc(100% - 26px); }
  .screenshot-gallery__header { align-items: center; }
  .demo-layout { display: flex; flex-direction: column; gap: 26px; }
  .demo-menu { width: 100%; }
  .demo-viewer { position: static; order: -1; width: min(100%, 360px); align-self: center; scroll-margin-top: 145px; }
  .demo-viewer video { width: 100%; }
  .section-heading h2 { font-size: 25px; }
}
@media (max-width: 480px) {
  .app-access { grid-template-columns: 1fr; }
  .platform-downloads { grid-template-columns: 1fr; gap: 16px; }
  .app-content { width: calc(100% - 40px); }
  .screenshot-gallery { margin-inline: -4px; padding: 13px; }
  .screenshot-gallery__header { gap: 8px; }
  .screenshot-gallery__eyebrow { font-size: 15px; }
  .screenshot-gallery__stage { margin-inline: -13px; padding-inline: 29px; }
  .screenshot-gallery__arrow { width: 44px; height: 44px; }
  .screenshot-gallery__arrow svg { width: 21px; height: 21px; }
  .screenshot-gallery__count { min-width: 48px; font-size: 11px; }
  .screenshot-gallery__swipe-hint { font-size: 10px; }
  .app-meta > span:last-child { flex-basis: 100%; margin-left: 0; }
  .demo-choice { gap: 7px; padding-inline: 8px; font-size: 15px; }
  .demo-choice small { font-size: 13px; }
}
