@font-face {
  font-family: "Host Grotesk";
  src: url("assets/host-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #10111b;
  --surface: #191b2a;
  --ink: #fffaf4;
  --muted: #d2cdd8;
  --accent: #ffda9e;
  --line: #ffffff29;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  font-family: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
body { font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { color: var(--accent); }
button, select { font: inherit; }
a, button, select, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: #211711; }
[id] { scroll-margin-top: 1rem; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 82rem); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: var(--gutter); transform: translateY(-150%); z-index: 3; padding: .65rem 1rem; background: var(--background); }
.skip-link:focus-visible { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 65px; display: flex; gap: clamp(.75rem, 2.3vw, 2rem); align-items: center; }
.brand, .nav-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand { gap: .5rem; margin-right: auto; font-weight: 650; white-space: nowrap; }
.brand span { margin-left: -.25rem; color: var(--accent); }
.nav-link { font-size: .9rem; }
.nav-link:last-child { font-weight: 650; color: var(--accent); }
.nav-link:last-child:hover { text-decoration: underline; }
h1, h2 { font-weight: 500; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.6vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); }
.gallery { padding-block: clamp(1.5rem, 4.2vw, 3.5rem) clamp(2.5rem, 7vw, 5rem); }
.gallery-intro { display: flex; justify-content: space-between; align-items: end; gap: .75rem 2rem; margin-bottom: 1.55rem; }
.gallery-intro p { margin-top: .5rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.3rem); }
.scene-stage { position: relative; height: clamp(20rem, 49svh, 37rem); overflow: hidden; border-radius: 14px; background: #292535; }
.scene-stage img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scene-title {
  position: absolute;
  bottom: clamp(.65rem, 2vw, 1.3rem);
  left: clamp(.65rem, 2vw, 1.3rem);
  padding: .28rem .65rem;
  border-radius: 6px;
  background: #10111be8;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
}
.hero[data-enter] .scene-stage { animation: enter .55s var(--ease-out) both; }
@keyframes enter { from { opacity: .65; transform: translateY(8px); } }
.scene-picker { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); margin-top: .8rem; }
.scene-picker button {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 3px;
  text-align: left;
  cursor: pointer;
  transition: transform .2s var(--ease-out), border-color .2s ease;
}
.scene-picker button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.scene-picker button:hover { transform: translateY(-2px); border-color: var(--accent); }
.scene-picker button:active { transform: scale(.985); }
.scene-picker img { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; }
.scene-picker span { padding: .28rem .4rem; font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .6rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #211711;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform .2s var(--ease-out), background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #ffe6bb; color: #211711; }
.button:active { transform: scale(.98); }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); cursor: pointer; }
.button-secondary:hover { background: #28293d; color: var(--ink); }
.app-section { padding-block: clamp(3rem, 7vw, 6rem); background: #161823; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.section-heading p, .features dd, .download p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); text-wrap: pretty; }
.section-heading p { max-width: 35rem; }
.app-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #1c1c1c; }
.app-frame img { width: 100%; max-height: 36rem; object-fit: contain; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.features > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.features dt { font-weight: 700; }
.features dd { margin-top: .35rem; }
.download { position: relative; isolation: isolate; display: grid; min-height: 30rem; align-items: center; background: #21182a; }
.download-art, .download::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.download-art { object-fit: cover; }
.download::after { content: ""; background: linear-gradient(90deg, #10111bf5, #10111bdc 48%, #10111b7a); }
.download-copy { padding-block: clamp(3rem, 8vw, 6rem) 2.2rem; }
.download p { margin: .8rem 0 1.25rem; color: #f1e9f5; }
.requirements { margin-top: 1.7rem; }
.requirements h3 { font-size: 1rem; }
.download .requirements p { margin: .25rem 0 0; font-size: 1rem; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; margin-top: 1.5rem; color: var(--muted); font-size: .875rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
dialog {
  width: min(57rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overscroll-behavior: contain;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
dialog::backdrop { background: #080910e8; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.dialog-header h2 { font-size: clamp(1.45rem, 4vw, 2.25rem); }
.dialog-close, .trailer-language select { min-height: 44px; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--background); cursor: pointer; }
.dialog-close:hover, .trailer-language select:hover { border-color: var(--accent); }
.trailer-language { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; margin-bottom: .75rem; }
dialog video { display: block; width: 100%; height: auto; background: #0a0b14; border-radius: 8px; }
dialog details { margin-top: .75rem; }
dialog summary { cursor: pointer; min-height: 44px; align-content: center; }
dialog details p { color: var(--muted); }
@media (max-width: 840px) {
  .scene-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .section-heading, .features { grid-template-columns: 1fr; }
  .gallery-intro { align-items: start; flex-direction: column; margin-bottom: 1.1rem; }
  .scene-stage { height: auto; aspect-ratio: 4 / 3; }
  .scene-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-link[href^="#"] { display: none; }
  .download { min-height: 0; }
}
@media (max-width: 365px) {
  .nav-inner { gap: .55rem; }
  .brand img { width: 27px; height: 27px; }
  .nav-link { font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
