:root {
  --ink: #000;
  --surface: #101012;
  --line: #29292d;
  --text: #f5f5f7;
  --muted: #b2b2bd;
  --accent: #a7ceff;
}
html { background: var(--ink); color: var(--text); scroll-padding-top: 22px; }
body { overflow-wrap: anywhere; }
.wrap { width: min(1280px, calc(100% - 96px)); }
.nav { height: 78px; }
.nav .brand img { width: 63px; }
.nav-links { gap: 25px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(180deg, #1d2431b8, #151923bd); }
.nav-links a, .lang { color: var(--muted); }
.button { border-radius: 30px; background: #f4f6fa; color: #111822; }
.button:hover { background: #d3e6ff; }
.nav .button { color: var(--text); border: 1px solid var(--line); background: transparent; }
.nav .button:hover { background: var(--surface); }

.hero-scene {
  position: relative;
  isolation: isolate;
  background: #10151f;
  overflow: hidden;
}
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 74% 44%, #2c416481, transparent 61%),
    radial-gradient(ellipse at 93% 58%, #35304451, transparent 44%),
    linear-gradient(0deg, #000 0%, #10151f 71%, #0c1018 100%);
}
.hero { min-height: 645px; padding: 55px 0 49px; grid-template-columns: .83fr 1.17fr; gap: 18px; }
.hero-copy { position: relative; z-index: 1; }
.release { color: #e3d8dc; margin-bottom: 22px; }
.dot { background: var(--accent); box-shadow: 0 0 15px #a7ceff88; }
.hero h1 { font-size: clamp(76px, 6.6vw, 101px); line-height: .94; letter-spacing: -.072em; font-weight: 740; }
.hero .lead { color: #ded7de; font-size: 18px; max-width: 345px; margin-top: 27px; }
.hero-actions { gap: 19px 25px; margin: 28px 0 0; }
.trailer-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 620; }
.mini-play { display: grid; place-items: center; border: 1px solid #b4c9e271; border-radius: 50%; width: 35px; aspect-ratio: 1; font-size: 10px; padding-left: 2px; }
.hero-stage { height: auto; aspect-ratio: 1.4; align-items: center; padding: 0 4% 6% 0; }
.hero-stage .tv-frame { width: 96%; border: 5px solid #21202d; outline-color: #a9bfd183; border-radius: 13px; transform: perspective(1150px) rotateY(-8deg) rotateZ(-2deg); box-shadow: 0 39px 80px #07080dcf, 10px 0 62px #749ce229; }
.hero-stage .phone-frame { width: 25%; right: 0; bottom: 1%; border: 4px solid #282633; outline-color: #a9bfd19c; border-radius: 23px; transform: rotate(7deg); box-shadow: 8px 25px 65px #07080de0; }
.hero-specs { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 18px; border-top: 1px solid #a39eb040; color: #d4ccd5; font-size: 13px; }
.hero-specs a { display:flex; align-items:center; gap: 11px; }
.hero-specs a span:first-child { color: var(--accent); font-variant-numeric: tabular-nums; }

.section { padding-top: 98px; padding-bottom: 24px; }
.section-head { align-items: end; margin-bottom: 30px; }
.section-head h2, .tv-copy h2 { font-weight: 690; letter-spacing: -.064em; }
.section-head > :last-child:not(:first-child) { justify-self: end; }
.section-head p, .tv-copy > p:not(.platform-label) { color: var(--muted); }
.premiere-frame { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--surface); }
.premiere-poster { position: relative; display: block; }
.premiere-poster img { width: 100%; height: auto; }
.poster-play { display: inline-flex; align-items: center; gap: 12px; position: absolute; left: 50%; bottom: 8%; translate: -50%; white-space: nowrap; padding: 11px 19px; border: 1px solid #f5f5f766; border-radius: 9px; background: #10151fea; color: var(--text); font-size: 14px; }
.poster-play span:first-child { color: var(--accent); }
.poster-play span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.premiere-poster:hover .poster-play { background: var(--accent); color: var(--ink); }
.premiere-poster:hover .poster-play span { color: inherit; }
.premiere-poster:focus-visible { outline-offset: -5px; }
.mini-play::before, .play-glyph::before { content: ""; display: block; width: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.promo-dialog { padding: 0; border: 1px solid var(--line); border-radius: 15px; width: min(1020px, calc(100% - 22px)); max-height: 95dvh; background: var(--ink); color: var(--text); }
.promo-dialog::backdrop { background: #080910ed; }
.promo-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 13px 8px 20px; }
.promo-bar h2 { font-size: 17px; letter-spacing: 0; }
.promo-bar button { min-width: 42px; min-height: 42px; background: var(--surface); border-radius: 8px; font-size: 24px; }
.promo-dialog video { width: 100%; max-height: calc(90dvh - 60px); display: block; background: #000; }

.tv-section { padding-block: 65px; background: #121720; border-block: 1px solid var(--line); }
.tv-showcase { display:grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: 42px; }
.platform-label { color: var(--accent); font-size: 14px; font-weight: 650; margin-bottom: 14px; }
.tv-copy > p:not(.platform-label) { margin-top: 20px; max-width: 35ch; }
.size-proof { display:flex; flex-direction: column; gap: 4px; margin: 22px 0 19px; }
.size-proof strong { color: var(--accent); font-size: clamp(42px,5.5vw,82px); line-height: 1; letter-spacing: -.075em; font-weight: 660; }
.size-proof span { color: var(--muted); font-size: 13px; }
.inline-link { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.cinema .zoom { border-radius: 12px; border-color: #aaa0b561; }
.cinema figcaption { color: var(--muted); }
.segmented { margin: 0; border-color: var(--line); border-radius: 9px; }
.segmented button { border-radius: 6px; }
.segmented [aria-pressed=true] { background: var(--text); }
.gallery img { border-color: var(--line); border-radius: 15px; }
.gallery button:hover img, .cinema .zoom:hover { border-color: var(--accent); }
.gallery.is-tv { grid-template-columns: repeat(3,minmax(0,1fr)); }
.faq-list, .faq-list details { border-color: var(--line); }
.release-title { display: flex; align-items: baseline; gap: clamp(18px,5vw,65px); }
.release-title b { color: var(--accent); font-variant-numeric: tabular-nums; }
.changelog { margin-bottom: 72px; }
.download-section { background: var(--surface); border-block: 1px solid var(--line); }
.download-card { background: var(--ink); border-color: var(--line); border-radius: 14px; }
.download-intro h2 { letter-spacing: -.07em; }
.r { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.reviews { padding-bottom: 65px; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 58px); }
  .hero { min-height: 565px; }
  .hero h1 { font-size: clamp(62px,8vw,91px); }
  .hero-stage .phone-frame { width: 26%; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav { height: 69px; }
  .nav .brand img { width: 48px; }
  .nav .button { padding: 8px 12px; min-height: 38px; }
  .hero { padding: 43px 0 25px; gap: 0; }
  .hero h1 { font-size: clamp(58px,12vw,86px); }
  .hero .lead { font-size: 16px; margin-top: 20px; }
  .hero-actions { margin-top: 20px; }
  .hero-stage { width: calc(100% - 10px); margin: 28px 0 0; padding: 0 4% 6% 0; aspect-ratio: 1.46; }
  .hero-stage .phone-frame { bottom: 3%; border-radius: 13px; border-width: 3px; }
  .hero-stage .tv-frame { border-width: 3px; }
  .hero-specs { font-size: 11px; }
  .hero-specs a { gap: 6px; }
  .section { padding-top: 65px; }
  .section-head { gap: 14px; margin-bottom: 24px; }
  .section-head > :last-child:not(:first-child) { justify-self: start; }
  .tv-section { padding-block: 48px; }
  .tv-showcase { grid-template-columns: 1fr; gap: 29px; }
  .gallery.is-tv { grid-template-columns: 1fr; }
  .changelog { margin-bottom: 42px; }
  .poster-play { font-size: 12px; padding: 7px 11px; gap: 8px; left: auto; right: 5%; translate: none; }
}

/* A single turn brings the real device screens into view. */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage { animation: stage-enter 650ms cubic-bezier(.18,.75,.3,1) both; }
  @keyframes stage-enter {
    from { opacity: .45; transform: translateY(14px) scale(.982); }
    to { opacity: 1; transform: none; }
  }
}

/* Product launch layout */
:root {
  --ink: #000;
  --surface: #101012;
  --line: #29292d;
  --text: #f5f5f7;
  --muted: #b2b2bd;
  --accent: #a7ceff;
}
html { color-scheme: dark; }
.nav-links { background: transparent; border-color: transparent; }
.nav .button { background: #f5f5f7; color: #070708; }
.nav .button:hover { background: #e7e7eb; }
.button { background: #f5f5f7; color: #070708; }
.button:hover { background: #e7e7eb; color: #070708; }
.hero-scene { background: var(--ink); }
.hero-scene::before { display: none; }
.hero { display: flex; flex-direction: column; min-height: 0; gap: 21px; padding-block: 62px 15px; align-items:center; }
.hero-copy { text-align: center; }
.hero h1 { color: var(--text); font-size: clamp(66px,9vw,128px); line-height: .96; letter-spacing: -.069em; }
.hero .lead { color: var(--muted); font-size: clamp(17px,2.1vw,24px); max-width: none; margin-top: 15px; }
.hero-actions { justify-content: center; margin-top: 21px; }
.hero-stage { width: min(980px,100%); aspect-ratio: 2.07; padding: 2% 5% 1% 6%; justify-content: center; }
.hero-stage .tv-frame { width: 89%; border-color: #242426; outline-color: #77777b8a; transform: perspective(1400px) rotateY(-5deg) rotateZ(-1deg); box-shadow: 0 20px 36px #0009; }
.hero-stage .phone-frame { right: 4%; bottom: 5%; width: 22%; border-color: #242426; outline-color: #77777b96; box-shadow: 8px 12px 25px #0009; transform: rotate(6deg); }
.hero-specs { color: var(--muted); border-color: var(--line); }
.tv-section { background: #0b0b0d; }
.trailer-credit { font-size: 13px; color: var(--muted); padding-top: 11px; }
.trailer-credit a,.download-extras,.write summary { color: var(--accent); }
.quiet,.faq-list details p,.download-intro p,.download-card>p,.download-card ol,.tracker-grid div>span,.tracker-heading>span:last-child,.gallery button>span,footer p,footer .legal,.footer-top nav,.r small { color: var(--muted); }
.gallery img,.cinema .zoom { background: #101012; }
.cinema .zoom { border-color: #4a4a4f; }
.segmented button { color: var(--muted); }
.segmented [aria-pressed=true] { background: #f5f5f7; color: #111113; }
.r .s,.stars input:checked~label,.stars label:hover,.stars label:hover~label,.msg { color: var(--accent); }
.form-grid input,.form-grid textarea { background: #101012; border-color: #45454a; }
.promo-dialog,.promo-bar button { background: #101012; color: var(--text); }
.poster-play { background: #111113; color: var(--text); border-color: #545459; }
.poster-play span:first-child { color: var(--accent); }
.phone-frame img { height: auto; }
.quick-showcase { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.7fr); align-items: center; gap: clamp(28px,7vw,100px); padding: clamp(30px,6vw,82px); margin-top: 82px; border: 1px solid var(--line); border-radius: 22px; background: #0b0b0d; }
.quick-copy p { margin-top: 24px; color: var(--muted); font-size: 18px; max-width: 37ch; }
.quick-link { min-height: 44px; margin-top: 19px; padding: 7px 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.quick-figure { width: min(100%,310px); justify-self:center; overflow: hidden; border: 1px solid #45454a; border-radius: 26px; background: var(--ink); }
.quick-figure img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .hero { gap: 18px; padding-top: 49px; padding-bottom: 15px; }
  .hero h1 { font-size: clamp(61px,13vw,97px); }
  .hero-stage { margin-top: 12px; width: calc(100% - 2px); aspect-ratio: 1.61; }
  .hero-stage .tv-frame { width: 100%; }
  .hero-stage .phone-frame { width: 25%; right: 1%; bottom: 3%; }
  .quick-showcase { grid-template-columns: 1fr; margin-top: 55px; padding: 26px 20px; }
  .quick-copy p { font-size: 16px; }
}

.hero-release {font-size:13px;color:#b2b2bd;margin:0 auto 17px;letter-spacing:0}
.hero h1 {font-size:clamp(62px,8.3vw,116px)}
.hero .lead {font-size:clamp(17px,2vw,23px)}
.hero-stage {width:min(1020px,100%);aspect-ratio:2.15}
.gallery {display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:1px 1px 22px;scrollbar-color:#5a5a60 #101012;scrollbar-width:thin}
.gallery button {flex:0 0 calc((100% - 72px)/4);scroll-snap-align:start}
.gallery img {border-radius:22px;border:1px solid #414146;aspect-ratio:9/20;object-fit:contain}
.gallery.is-tv {display:flex}
.gallery.is-tv button {flex-basis:78%}
.gallery.is-tv img {aspect-ratio:16/9;border-radius:12px}
.gallery-hint {color:#a9a9b3;font-size:13px;margin-top:9px}
.gallery button>span {font-size:15px;font-weight:550}
.manga-showcase {display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);align-items:center;gap:clamp(30px,9vw,130px);padding-block:85px}
.manga-showcase figure {justify-self:center;width:min(100%,300px)}
.manga-showcase button {display:block;padding:0;background:#111;border:1px solid #444448;border-radius:27px;overflow:hidden;cursor:zoom-in}
.manga-showcase img {width:100%;height:auto}
.manga-showcase h2 {letter-spacing:-.065em}
.manga-showcase p {margin:25px 0;color:#b2b2bd;max-width:39ch;font-size:18px}
.quick-showcase {border-radius:24px}
@media(max-width:760px){
 .hero-stage{aspect-ratio:1.61}
 .gallery{gap:16px}
 .gallery button{flex-basis:65%}
 .gallery.is-tv button{flex-basis:95%}
 .manga-showcase{grid-template-columns:1fr;gap:30px;padding-block:55px}
 .manga-showcase figure{grid-row:2;width:250px}
 .manga-showcase p{font-size:16px}
}
