/* Native screenshots, framed with the same quiet surfaces as the web showcase. */
.app-page [data-app-appearance="dark"] { display: none; }
html[data-theme="dark"] .app-page [data-app-appearance="light"] { display: none; }
html[data-theme="dark"] .app-page [data-app-appearance="dark"] { display: block; }
.app-hero { padding-top: 82px; text-align: center; }
.app-page .app-hero h1 { font-size: clamp(50px, 7.3vw, 96px); }
.app-hero .hero-description { max-width: 580px; }
.app-availability { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.app-page .app-platform-note { display: inline-block; margin: 14px 0 0; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.app-closing .app-platform-note { display: table; margin-inline: auto; }
.app-hero-showcase { position: relative; margin: 66px 0 0; }
.app-hero-showcase::before { content: ''; position: absolute; inset: 14% -2% 0; z-index: -1; background: radial-gradient(ellipse at 50% 56%, #e6dffc 0, #f5f2fc 35%, transparent 70%); }
.app-phone-lineup { display: flex; justify-content: center; align-items: center; gap: 38px; padding: 12px 18px 40px; }
.app-phone { flex: none; padding: 5px; border: 1px solid #d1d0d8; border-radius: 39px; background: #f9f9fb; box-shadow: 0 30px 65px -30px #30235455, 0 2px 4px #25202c18; overflow: hidden; }
.app-phone img { display: block; width: 100%; height: auto; aspect-ratio: 1320 / 2868; border-radius: 33px; }
.app-phone-main { position: relative; z-index: 1; width: 290px; }
.app-phone-side { width: 245px; }
.app-phone-left { transform: translateY(24px) rotate(-5deg); }
.app-phone-right { transform: translateY(24px) rotate(5deg); }
.app-hero-showcase figcaption { margin-top: 18px; }
.app-intro { padding-block: 125px 115px; max-width: 900px; text-align: center; }
.app-intro .large-copy { max-width: 690px; }
.app-explorer { scroll-margin-top: 110px; }
.app-section-heading { text-align: center; }
.app-section-heading > p:last-child { font-size: 18px; color: var(--muted); margin: 25px 0 32px; }
.app-gallery-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 32px; }
.app-gallery-controls button { padding: 12px 18px; min-height: 44px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 500; transition: color .2s, background .2s, border-color .2s; }
.app-gallery-controls button:hover { color: var(--ink); background: var(--surface); }
.app-gallery-controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.app-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 55px 70px; min-height: 800px; border: 1px solid var(--line); border-radius: 32px; background: var(--surface); }
.app-preview-copy { max-width: 440px; }
.app-page .app-preview-copy h3 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.07; letter-spacing: -.04em; font-weight: 600; white-space: pre-line; }
.app-view-description { font-size: 20px; line-height: 1.55; letter-spacing: -.02em; margin: 24px 0 0; color: var(--muted); }
.app-view-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.app-view-tags span { border: 1px solid var(--line); background: var(--raised); padding: 8px 11px; border-radius: 99px; color: var(--muted); font-size: 12px; }
.app-view-plan { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 32px 0 10px; }
.app-preview-copy .text-link { font-size: 15px; }
.app-preview-figure { margin: 0; justify-self: center; }
.app-preview-phone { width: 295px; transition: opacity .2s; }
.app-preview[aria-busy="true"] .app-preview-phone { opacity: .5; }
.app-preview-figure figcaption { text-align: center; font-size: 11px; margin-top: 23px; color: var(--muted); }
.app-gallery-status { min-height: 20px; margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.app-no-script { text-align: center; color: var(--muted); }
.app-no-script a { color: var(--violet); text-decoration: underline; }
.app-everywhere { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 120px; }
.app-everywhere-details { display: grid; gap: 36px; }
.app-everywhere-details h3 { font-size: 22px; letter-spacing: -.025em; margin: 0 0 12px; font-weight: 600; }
.app-everywhere-details p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; }
.app-everywhere-details .text-link { font-size: 15px; margin-top: 15px; }
.app-closing .kicker { font-size: 14px; color: var(--violet); margin: 0 0 22px; }
.app-closing .app-download-note { font-size: 12px; margin: 24px auto 0; max-width: 470px; }
html[data-theme="dark"] .app-hero-showcase::before { background: radial-gradient(ellipse at 50% 56%, #30284e 0, #211d2e 35%, transparent 70%); }
html[data-theme="dark"] .app-phone { background: #292930; border-color: #484750; box-shadow: 0 30px 65px -30px #000a, 0 2px 4px #0004; }
@media (max-width: 1000px) {
  .app-gallery-controls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .app-phone-lineup { gap: 25px; }
  .app-phone-main { width: 260px; }
  .app-phone-side { width: 210px; }
  .app-preview { gap: 30px; padding: 45px 38px; min-height: 750px; }
  .app-preview-phone { width: 270px; }
  .app-everywhere { gap: 50px; }
}
@media (max-width: 760px) {
  .app-hero { padding-top: 56px; }
  .app-page .app-hero h1 { font-size: clamp(44px, 8.7vw, 64px); }
  .app-hero-showcase { margin-top: 45px; }
  .app-phone-lineup { gap: 0; padding: 6px 0 22px; }
  .app-phone-main { width: 43%; border-radius: 25px; }
  .app-phone-side { width: 32%; border-radius: 22px; }
  .app-phone-left { margin-right: -5%; transform: translateY(12px) rotate(-7deg); }
  .app-phone-right { margin-left: -5%; transform: translateY(12px) rotate(7deg); }
  .app-phone-lineup .app-phone { padding: 3px; }
  .app-phone-lineup img { border-radius: 19px; }
  .app-hero-showcase figcaption { font-size: 11px; }
  .app-intro { padding-block: 78px; }
  .app-gallery-controls { display: flex; gap: 7px; margin-bottom: 24px; }
  .app-gallery-controls button { padding: 10px 14px; font-size: 12px; }
  .app-explorer { scroll-margin-top: 132px; }
  .app-preview { grid-template-columns: 1fr; padding: 34px 24px; gap: 34px; border-radius: 25px; min-height: 0; }
  .app-preview-copy { max-width: 100%; }
  .app-page .app-preview-copy h3 { font-size: 36px; }
  .app-view-description { font-size: 18px; min-height: 112px; }
  .app-view-tags { margin-top: 22px; min-height: 70px; align-content: flex-start; }
  .app-view-plan { margin-top: 20px; }
  .app-preview-phone { width: min(275px, 100%); margin: auto; }
  .app-preview-figure { width: 100%; }
  .app-everywhere { grid-template-columns: 1fr; gap: 40px; padding-block: 75px; }
}
