/* Page CSS: only what sits inside a visual, the logo image and one --p-h per card group. */

.brand-logo { width: 24px; height: auto; display: block; }
.nav__logo { gap: var(--s-3); }

.menu-card .panel { --p-h: 200px; }
.menu-card .panel > .frame__img { object-fit: cover; object-position: left top; }

/* the two text columns' short fact lists */
.facts { margin-bottom: 0; padding: 0; list-style: none; display: grid; }
.facts li { padding: var(--s-3) 0; border-top: 1px solid var(--line); line-height: 1.6; }

/* #hyperv: the app's own screens fill each card panel from its top-left corner */
#hyperv .panel { --p-h: 336px; }
#hyperv .panel > .frame__img { object-fit: cover; object-position: left top; }
#hyperv .panel { box-shadow: inset 0 0 0 1px rgb(239 236 227 / .08); }
@media (max-width: 639px) { #hyperv .panel { --p-h: 200px; } }

/* #hosts: the Remote Assets screen at its true size, cut by the frame's right and bottom */
.hosts-shot { --ax: 48px; --ay: 48px; width: 780px; max-width: none; height: auto; border-radius: 12px;
  box-shadow: 0 0 0 1px rgb(239 236 227 / .1), 0 30px 60px -30px rgb(0 0 0 / .7); }
@media (max-width: 639px) { .hosts-shot { --ax: 16px; --ay: 16px; width: 520px; } }

/* ------------------------------------------------------------------ the hero: the real Multi-View
   Three captures of the app (slot 1, 2 and 3 on screen) stacked; layout.js's steps loop shows them in turn. */
.hero--centred .hero__window { background: radial-gradient(90% 120% at 50% 0%, #3b4455 0%, #262e3c 45%, #181d27 100%); }
.hero-shots { aspect-ratio: 1760 / 1024; border-radius: 12px; overflow: hidden; background: #0e1217;
  box-shadow: 0 0 0 1px rgb(239 236 227 / .1), 0 30px 70px -30px rgb(0 0 0 / .8); }
.hero-shots > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.hero-shots > img:first-child { position: relative; }
.hero-shots__beat { display: none; }
[data-ly-steps].hero-shots > img[data-step] { transition: opacity .3s ease; }
[data-ly-steps].hero-shots > img[data-step].is-off { transform: none; }
/* a phone: the session and the rail, cut from the right of the window */
@media (max-width: 639px) { .hero-shots > img { object-position: 92% top; } .hero-shots { aspect-ratio: auto; height: 100%; } .hero-shots > img:first-child { position: absolute; } }

/* the language word: in the bar from 640px, in the menu sheet below it */
.lang-item { display: none; }
@media (max-width: 639px) { .lang-item { display: block; } .lang-bar { display: none; } }

/* 1024 to 1279: the card group and the hosts frame fit their screens */
@media (min-width: 1024px) and (max-width: 1279px) {
  #hyperv .panel { --p-h: 300px; }
  #hosts .frame--split { --ratio: 100%; }
}

.nowrap { white-space: nowrap; }
/* Korean breaks between words, never inside one */
html[lang="ko"] { word-break: keep-all; overflow-wrap: anywhere; }

/* the hero's sub-line a step under the cream ink: 7:1 on the ground (the app's muted grey reads 5.3:1) */
.hero--centred .hero__lead { color: #b8b5ad; }

/* #switching at rest (640 to 1023: no pinning): each step stacked with its picture, two screens */
@media (min-width: 640px) and (max-width: 1023px) {
  main > #switching[data-moment]:not(.is-live) { min-height: 200svh; }
  #switching:not(.is-live) .mo-pc__step { grid-template-columns: minmax(0, 1fr); }
  #switching:not(.is-live) .mo-pc__step .mo-pc__visual { grid-column: 1; grid-row: auto; margin-top: var(--s-4); }
  #switching:not(.is-live) .mo-pc__visual > img { max-height: none; height: 34svh; object-position: center top; }
  #hyperv .panel { --p-h: min(560px, calc(100svh - 470px)); }
}
/* a phone: the steps take two screens, each picture square */
@media (max-width: 639px) {
  main > #switching[data-moment]:not(.is-live) { min-height: 200lvh; }
  #switching:not(.is-live) .mo-pc__visual > img { aspect-ratio: 1 / 1; max-height: 42svh; object-position: center top; }
  #clients .frame--split { --ratio: 72%; }
}
/* the two splits' frames, shorter where they stack under their text */
@media (min-width: 640px) and (max-width: 1023px) { #clients .frame--split, #hosts .frame--split { --ratio: 58%; } }
@media (max-width: 639px) {
  #clients .frame--split, #hosts .frame--split { --ratio: 60%; }
  #faq .fq-ask { display: none; }  /* the footer's "Report a problem" goes to the same place */
}

/* 320 to 359: the bar keeps the logo and the menu; the main button waits in the sheet */
@media (max-width: 359px) { .nav:not(.is-open) .nav__actions { display: none; } .nav:not(.is-open) .nav__toggle { margin-left: auto; } }
#faq .ic-row { justify-content: space-between; }
