@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #141414;
  --panel: #191919;
  --text: #dededb;
  --muted: #989894;
  --border: #2b2b29;
  --accent: #b1a0e5;
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --app-icon-size: 40px;
  --masthead-padding: 20px;
  --platform-row-height: 24px;
  --masthead-extra-height: 0px;
  --masthead-height: calc(var(--app-icon-size) + 2 * var(--masthead-padding) + var(--masthead-extra-height) + 1px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 12px/1.8 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, video:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { color: inherit; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #654887; color: #fff; }
.wrap { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 20; padding: 10px 16px; background: var(--accent); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); color: var(--bg); }

.masthead { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: var(--masthead-padding); border-bottom: 1px solid #ffffff0d; }
.identity { display: flex; align-items: center; justify-self: start; gap: 10px; min-width: 0; }
.app-icon { display: block; width: var(--app-icon-size); height: var(--app-icon-size); flex-shrink: 0; border-radius: 10px; object-fit: contain; }
.identity strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.4px; line-height: 1.2; }
.platforms { display: flex; align-items: center; justify-self: center; gap: 16px; height: var(--platform-row-height); }
.platform-group { display: flex; align-items: center; gap: 8px; }
.platform-item { display: grid; place-items: center; width: 24px; height: var(--platform-row-height); }
.platform-item img { display: block; width: 18px; height: 18px; filter: invert(1); opacity: .65; }
.platform-later { padding-left: 16px; border-left: 1px solid var(--border); }
.platform-later img { opacity: .45; }
.platform-label { color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.header-links { display: flex; align-items: center; justify-self: end; gap: 24px; color: #b4b4b0; font-size: 12px; font-weight: 500; }
.header-links a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 8px; }
.mobile-nav { position: relative; display: none; }
.mobile-nav summary { display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary:hover { border-color: var(--accent); color: var(--accent); }
.mobile-nav summary svg { grid-area: 1 / 1; width: 18px; height: 18px; }
.mobile-nav .menu-close-icon, .mobile-nav[open] .menu-open-icon { display: none; }
.mobile-nav[open] .menu-close-icon { display: block; }
.mobile-nav nav { position: absolute; top: calc(100% + 10px); right: 0; display: flex; flex-direction: column; gap: 2px; width: 188px; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: #191919f5; box-shadow: 0 12px 36px #0006; backdrop-filter: blur(12px); }
.mobile-nav nav a { display: flex; align-items: center; min-height: 40px; padding: 9px 12px; border-radius: 7px; font-size: 12px; }
.mobile-nav nav a:hover { background: #b1a0e50d; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 44px; padding: 12px 17px; border: 1px solid #45453f; border-radius: 3px; font-size: 11px; line-height: 1.5; transition: border-color .2s, background .2s, color .2s; }
.button:hover { border-color: var(--accent); background: #24202f; color: var(--accent); }
.button svg { width: 16px; height: 16px; flex-shrink: 0; }
.button-primary { background: var(--accent); border-color: var(--accent); color: #1c1728; }
.button-primary:hover { background: #c5b6f4; color: #1c1728; }

.hero-stage { position: relative; isolation: isolate; }
/* Extend the artwork into the masthead without changing landmark order or layout. */
.hero-backdrop { position: absolute; inset: calc(0px - var(--masthead-height)) 0 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero-stage::before { position: absolute; inset: calc(0px - var(--masthead-height)) 0 0; z-index: -1; background: linear-gradient(180deg, #141414e6, #141414f5 14%, #141414f5 30%, #14141499 54%, #14141480 76%, var(--bg)), linear-gradient(90deg, #141414b3, transparent 50%, #14141473); content: ""; pointer-events: none; }
.hero { padding-block: 48px 64px; }
.hero-copy { min-width: 0; }
.hero-stage .hero-description { color: #b4b4b0; }
.hero-details { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 26px; }
.hero-details .button { flex-shrink: 0; }
.launch-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.hero-preview { min-width: 0; margin: 52px 0 0; }
.hero-shot { position: relative; display: block; border-radius: 16px; outline: 1px solid #ffffff1a; outline-offset: -1px; box-shadow: 0 32px 80px #0006; }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: inherit; }
.hero-slide { opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; }
.hero-slide:not(:first-child) { position: absolute; inset: 0; height: 100%; object-fit: contain; }
.hero-watch { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid #45453f; border-radius: 999px; background: #141414eb; color: var(--text); font-size: 10px; box-shadow: 0 4px 20px #0004; opacity: 0; transition: opacity .2s; }
.hero-watch svg { width: 16px; height: 16px; color: var(--accent); }
.hero-shot:hover .hero-watch, .hero-shot:focus-visible .hero-watch { border-color: var(--accent); opacity: 1; }
.hero-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.hero-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: #171717; }
.hero-tabs button { min-width: 66px; min-height: 36px; padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 10px var(--font); }
.hero-tabs button:hover { color: var(--text); }
.hero-tabs button[aria-pressed="true"] { background: #2c2738; color: var(--accent); }
.hero-pause { display: grid; place-items: center; width: 40px; height: 40px; padding: 11px; border: 1px solid var(--border); border-radius: 50%; background: #171717; color: var(--muted); }
.hero-pause:hover { border-color: var(--accent); color: var(--accent); }
.hero-pause svg { width: 16px; height: 16px; }
.hero-pause .resume-icon, .hero-pause[data-paused] .pause-icon { display: none; }
.hero-pause[data-paused] .resume-icon { display: block; }
.eyebrow { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.8; letter-spacing: 1.4px; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--font); font-weight: 400; }
h1 { max-width: 1120px; font-size: clamp(42px, 5.4vw, 82px); line-height: 1.04; letter-spacing: -2.8px; text-wrap: balance; }
h1 span, h2 span { color: var(--accent); }
.hero-description { max-width: 780px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
video { display: block; width: 100%; height: auto; border-radius: 1px; background: #0b0b0b; }
.section { padding-top: 95px; }
h2 { font-size: clamp(32px, 3.1vw, 48px); line-height: 1.1; letter-spacing: -1.8px; }
.demo-credits { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--border); color: var(--muted); font-size: 9px; line-height: 1.9; }
.demo-credits summary { width: fit-content; cursor: pointer; }
.demo-credits summary:hover { color: var(--accent); }
.demo-credits p { max-width: 900px; overflow-wrap: anywhere; }
.demo-credits a { text-decoration: underline; text-underline-offset: 3px; }

.dialog-open { overflow: hidden; }
.demo-dialog { width: min(1280px, calc(100vw - 64px), calc((100dvh - 240px) * var(--demo-aspect, 1.6))); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 56px 0 0; border: 0; background: transparent; color: var(--text); overflow: auto; }
.demo-dialog::backdrop { background: #08090deb; backdrop-filter: blur(10px); }
.dialog-close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 1px solid #ffffff26; border-radius: 50%; background: #202024; color: var(--text); }
.dialog-close:hover { border-color: var(--accent); background: #2a2535; color: var(--accent); }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-media { aspect-ratio: var(--demo-aspect, 1.6); overflow: hidden; border-radius: 16px; outline: 1px solid #ffffff1f; outline-offset: -1px; background: #090909; box-shadow: 0 24px 100px #0008; }
.dialog-media video { width: 100%; height: 100%; object-fit: contain; }
.dialog-caption { margin-top: 22px; }
.dialog-copy h2 { color: #f3f3f1; font-size: 26px; line-height: 1.2; letter-spacing: -.7px; }
#dialog-description { max-width: 900px; margin: 10px 0 0; color: #aaaab0; font-size: 12px; line-height: 1.85; }

.site-footer { display: flex; align-items: center; gap: 30px; padding-block: 28px 30px; border-top: 1px solid var(--border); color: var(--muted); }
.footer-brand { display: block; flex-shrink: 0; }
.footer-brand img { display: block; width: 152px; height: auto; }
.site-footer > p { margin: 0; padding-left: 30px; border-left: 1px solid var(--border); font-size: 9px; }
.footer-copyright { display: block; margin-top: 4px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer-links > nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.footer-links .footer-socials { flex-wrap: nowrap; gap: 0; }
.footer-socials a { justify-content: center; width: 44px; border-radius: 8px; }
.footer-socials a:hover { background: #b1a0e50a; }
.footer-socials .social-icon { width: 18px; height: 18px; }

@media (min-width: 1800px) {
  .hero { padding-block: 64px 80px; }
  .section { padding-top: 110px; }
}

@media (max-width: 1150px) {
  .wrap { width: calc(100% - 56px); }
  .hero { padding-block: 40px 60px; }
  .hero-details { gap: 32px; }
  .hero-description { font-size: 12px; }
  .section { padding-top: 75px; }
  .site-footer { gap: 22px; }
  .site-footer > p { padding-left: 22px; }
}

@media (max-width: 900px) {
  .site-footer { flex-wrap: wrap; }
  .footer-links { width: 100%; margin-left: 0; }
}

@media (max-width: 760px) {
  :root { --masthead-extra-height: calc(var(--platform-row-height) + 12px); }
  .masthead { grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 12px; }
  .platforms { grid-column: 1 / -1; grid-row: 2; }
  .header-links { display: none; }
  .mobile-nav { display: block; grid-column: 2; grid-row: 1; }
  .hero-details { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  :root { --masthead-padding: 18px; }
  .masthead { column-gap: 10px; }
  .identity { gap: 8px; }
  .identity strong { font-size: 14px; letter-spacing: -.3px; }
  .hero-stage::before { background: linear-gradient(180deg, #141414e6, #141414f5 16%, #141414f5 38%, #14141499 68%, var(--bg)); }
  .hero-backdrop img { object-position: center 54%; }
  .hero { padding-block: 24px 42px; }
  h1 { font-size: clamp(34px, 8.6vw, 44px); line-height: 1.08; letter-spacing: -1.2px; }
  .hero-details { margin-top: 20px; }
  .hero-description { font-size: 11px; line-height: 1.9; }
  .hero-details .button { padding: 11px 13px; font-size: 10px; }
  .hero-preview { margin-top: 32px; }
  .hero-shot { border-radius: 8px; }
  .hero-watch { left: 10px; bottom: 10px; gap: 6px; padding: 8px 10px; font-size: 8px; }
  .hero-controls { margin-top: 12px; }
  .hero-tabs { gap: 0; }
  .hero-tabs button { min-height: 44px; padding-inline: 10px; }
  .hero-pause { width: 44px; height: 44px; }
  .section { padding-top: 59px; }
  h2 { font-size: 35px; letter-spacing: -1.4px; }
  .demo-dialog { width: calc(100vw - 32px); padding-top: 60px; }
  .dialog-close { width: 44px; height: 44px; }
  .dialog-media { border-radius: 12px; }
  .dialog-caption { margin-top: 18px; }
  .dialog-copy h2 { font-size: 24px; }
  #dialog-description { font-size: 11px; }
  .site-footer { gap: 20px; padding-block: 25px; }
  .footer-brand img { width: 128px; }
  .site-footer > p { flex: 1; min-width: 145px; padding-left: 20px; font-size: 8px; }
  .footer-links, .footer-links > nav { gap: 8px 21px; }
}

@media (max-width: 360px) {
  .site-footer > p { padding-left: 0; border-left: 0; }
}

@media (max-height: 560px) and (min-width: 601px) {
  .demo-dialog { width: min(1100px, calc(100vw - 48px), calc((100dvh - 144px) * var(--demo-aspect, 1.6))); padding-top: 44px; }
  .dialog-close { width: 36px; height: 36px; }
  .dialog-caption { margin-top: 12px; }
  .dialog-copy h2 { font-size: 18px; }
  #dialog-description { display: none; }
}

@keyframes hero-fade-in {
  from { opacity: 0; filter: blur(var(--hero-enter-blur, 6px)); transform: translateY(var(--hero-enter-rise, 12px)); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1 { animation: hero-fade-in .75s cubic-bezier(.22, 1, .36, 1) .08s backwards; }
  .hero-details, .launch-note { --hero-enter-blur: 4px; --hero-enter-rise: 10px; animation: hero-fade-in .75s cubic-bezier(.22, 1, .36, 1) .18s backwards; }
  .launch-note { animation-delay: .25s; }
  .hero-preview { --hero-enter-rise: 18px; animation: hero-fade-in 1s cubic-bezier(.22, 1, .36, 1) .32s backwards; }
  .hero-preview[data-hero-loading] { animation: none; opacity: 0; }
  .hero-details:focus-within, .hero-preview:focus-within { animation: none; opacity: 1; filter: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
