/* Shared product photography treatment; the screens are untouched native captures. */
.app-world {
  --portrait-ground: #e8ddcc;
  --portrait-light: #fbf4e8;
  --portrait-floor: #c5ad91;
  --portrait-ink: #24201d;
  --portrait-muted: #53443a;
  --portrait-metal: #978574;
  --portrait-rim: #e6d5c1;
  --portrait-shadow: #3a201f40;
}
.app-world--due {
  --portrait-ground: #e6e2da;
  --portrait-light: #fcfaf3;
  --portrait-floor: #c6b9a9;
  --portrait-muted: #4f4840;
  --portrait-metal: #92908a;
  --portrait-rim: #e5e1d7;
}
:root[data-theme=dark] .app-world {
  --portrait-ground: #24211f;
  --portrait-light: #45403b;
  --portrait-floor: #171514;
  --portrait-ink: #faf5f0;
  --portrait-muted: #d5c9bf;
  --portrait-metal: #5b5350;
  --portrait-rim: #95887d;
  --portrait-shadow: #0009;
}
:root[data-theme=dark] .app-world--due {
  --portrait-ground: #232528;
  --portrait-light: #43484c;
  --portrait-floor: #151719;
  --portrait-muted: #ccd0d2;
  --portrait-metal: #535960;
  --portrait-rim: #8b9093;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .app-world {
    --portrait-ground: #24211f;
    --portrait-light: #45403b;
    --portrait-floor: #171514;
    --portrait-ink: #faf5f0;
    --portrait-muted: #d5c9bf;
    --portrait-metal: #5b5350;
    --portrait-rim: #95887d;
    --portrait-shadow: #0009;
  }
  :root:not([data-theme]) .app-world--due {
    --portrait-ground: #232528;
    --portrait-light: #43484c;
    --portrait-floor: #151719;
    --portrait-muted: #ccd0d2;
    --portrait-metal: #535960;
    --portrait-rim: #8b9093;
  }
}
.app-stage {
  color: var(--portrait-ink);
  background: radial-gradient(ellipse at 78% 23%, var(--portrait-light), transparent 60%),
    linear-gradient(155deg, var(--portrait-ground) 45%, var(--portrait-floor));
}
.app-stage .everpacked-hero {
  min-height: 680px;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 76px);
}
.app-stage .everpacked-copy h1 {
  font-weight: 300;
  font-size: clamp(3.15rem, 7.6vw, 7.75rem);
}
.app-stage .everpacked-copy > p { max-width: 49ch; }
.app-stage .availability { color: var(--portrait-muted); }
.app-stage .button { border-radius: 999px; }
.app-stage .button:hover { background: var(--portrait-ink); color: var(--portrait-ground); }
.app-stage .actions a:not(.button):hover { color: inherit; }
.app-portrait {
  display: grid;
  place-items: center;
  margin: 0;
  min-width: 0;
}
.app-portrait--panel {
  padding: clamp(28px, 4vw, 58px);
  background: radial-gradient(ellipse at 40% 18%, var(--portrait-light), transparent 70%),
    linear-gradient(152deg, var(--portrait-ground), var(--portrait-floor));
}
.app-portrait--tile { aspect-ratio: 1639 / 960; padding: clamp(18px, 3vw, 36px); }
.app-device {
  position: relative;
  isolation: isolate;
  display: block;
  width: min(100%, clamp(226px, 23vw, 332px));
  padding: clamp(5px, .65vw, 9px);
  overflow: hidden;
  border: 1px solid var(--portrait-rim);
  border-radius: 15% / 6.9%;
  background: linear-gradient(128deg, var(--portrait-rim), var(--portrait-metal) 38%, #292524 80%);
  box-shadow: 0 19px 38px -11px var(--portrait-shadow);
}
.app-device::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 1.15%;
  border: 2px solid #161414;
  border-radius: inherit;
  pointer-events: none;
}
.app-device img {
  width: 100%;
  height: auto;
  border-radius: 13% / 6%;
}
.app-portrait--tile .app-device { width: min(24%, 168px); padding: 5px; }
.app-world .everpacked-detail .app-device { width: min(100%, 245px); }
@media (max-width: 1000px) {
  .app-stage .everpacked-hero { min-height: 590px; }
  .app-world .everpacked-detail { gap: 36px; }
}
@media (max-width: 700px) {
  .app-stage {
    background: radial-gradient(ellipse at 63% 75%, var(--portrait-light), transparent 58%),
      linear-gradient(158deg, var(--portrait-ground) 38%, var(--portrait-floor));
  }
  .app-stage .everpacked-hero { min-height: 0; gap: 28px; padding-block: 28px 48px; }
  .app-stage .app-mark { width: 48px; height: 48px; border-radius: 11px; margin-bottom: 16px; }
  .app-stage .everpacked-copy h1 { font-size: clamp(2.65rem, 11.3vw, 4.8rem); }
  .app-stage .everpacked-lead { margin-block: 16px; }
  .app-stage .actions { margin-top: 20px; }
  .app-stage .app-device { width: min(78%, 272px); }
  .app-portrait--tile { aspect-ratio: 4 / 3; }
  .app-portrait--tile .app-device { width: min(31%, 144px); }
  .app-world .everpacked-detail .app-device { width: min(100%, 228px); }
}
