:root {
  color-scheme: dark;
  --ground: #101111;
  --ink: #f5f3ed;
  --muted: #b4b4ad;
  --gold: #ffd05a;
  --line: #343530;
  --latin: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--ground);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
body { min-width: 280px; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, .downloads:focus-visible { outline: 3px solid #ffe599; outline-offset: 6px; }
::selection { background: var(--gold); color: #151610; }
[hidden], .symbols { display: none !important; }
.wrap { width: min(1280px, 88%); margin-inline: auto; }
.skip { position: absolute; top: .4rem; left: 1rem; padding: .65rem 1rem; background: var(--gold); color: #171711; transform: translateY(-160%); z-index: 9; }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.nav-row { min-height: 76px; display: flex; align-items: center; gap: 2.1rem; }
.brand { display: inline-flex; gap: .72rem; align-items: center; font-size: 1.55rem; letter-spacing: -.055em; line-height: 1; font-weight: 850; }
.brand-light { font-weight: 570; }
.brand-icon { width: 31px; height: 28px; color: var(--gold); }
.nav-row nav { margin-left: auto; display: flex; gap: 2rem; }
.nav-row nav a { padding: .7rem 0; color: var(--muted); font-size: .92rem; }
.nav-row nav a:hover, .domain:hover { color: var(--gold); }
.nav-download { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid #57574f; padding: .58rem 1rem; border-radius: 7px; font-size: .9rem; font-weight: 600; }
.nav-download svg { width: 16px; height: 16px; }
.nav-download:hover { border-color: var(--gold); color: var(--gold); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 73% 43%, #201c11 0, transparent 57%), var(--ground); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(#e1cd92 0.85px, transparent 1px); background-size: 18px 18px; opacity: .12; mask-image: linear-gradient(92deg, transparent 3%, black 58%); }
.hero-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: clamp(565px, 43vw, 695px); padding-block: 3.3rem; position: relative; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-family: var(--mono); font-size: .76rem; font-weight: 650; letter-spacing: .17em; line-height: 1.35; display: flex; align-items: center; gap: .75rem; color: var(--gold); }
.bars { display: inline-block; width: 23px; height: 11px; background: repeating-linear-gradient(to right, var(--gold) 0 4px, transparent 4px 7px); transform: skewX(-20deg); }
h1 { font-size: clamp(4.1rem, 6.4vw, 6.8rem); line-height: 1.13; font-weight: 900; letter-spacing: -.068em; margin: 1.15rem 0 1.45rem; }
h1 em { font-style: normal; color: var(--gold); white-space: nowrap; }
.punct { display: inline-block; margin-left: -.04em; }
.lead { font-size: clamp(1rem, 1.22vw, 1.2rem); line-height: 1.8; color: #c1c1ba; }
.downloads { margin-top: 2rem; width: fit-content; display: flex; flex-wrap: wrap; gap: .8rem; scroll-margin-top: 4rem; }
.store { min-width: 150px; height: 57px; padding: 0 1.1rem; border-radius: 9px; display: inline-flex; align-items: center; justify-content: flex-start; gap: .75rem; transition: transform .18s, border-color .18s; }
.store-ios { background: var(--gold); color: #161711; border: 1px solid var(--gold); }
.store-android { background: #20211d; color: var(--ink); border: 1px solid #57574f; }
.store:hover, .coin-key:hover { transform: translateY(-2px); }
.store-android:hover { border-color: var(--gold); }
.store svg { width: 27px; height: 27px; }
.store span { display: grid; gap: 1px; text-align: left; }
.store small { font-size: .75rem; line-height: 1.3; }
.store b { font-size: 1.18rem; line-height: 1.1; letter-spacing: -.025em; }
.store:disabled { cursor: default; }
.coin-key { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #575342; background: #191a15; color: #e7cf87; border-radius: 20px; padding: .55rem .85rem; font-size: .8rem; transition: transform .18s; }
.coin-key svg { width: 17px; height: 17px; }
.coin-result { font: 650 .85rem var(--mono); color: var(--gold); }
.coin-result:empty { display: none; }
.credit-flash { z-index: 3; pointer-events: none; opacity: 0; position: absolute; left: 58%; top: 22%; color: #fff2a7; font: 900 1.8rem var(--mono); text-shadow: 2px 3px #40320b; }
.credit-flash.active { animation: credit .74s ease-out; }
@keyframes credit { 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(-44px); opacity: 0; } }
footer { background: #141512; border-top: 1px solid var(--line); }
.footer-row { padding-block: 1.9rem; display: flex; align-items: center; gap: 1.3rem; }
footer .brand { font-size: 1.15rem; }
footer .brand-icon { width: 24px; }
footer small, .domain { color: var(--muted); font: .8rem var(--mono); }
.domain { margin-left: auto; }
dialog { width: min(88vw, 380px); margin: auto; padding: 2rem; border: 1px solid #595741; border-radius: 15px; color: var(--ink); background: #20211d; box-shadow: 0 1.5rem 6rem #0009; }
dialog::backdrop { background: #090a0ad1; }
.dialog-symbol svg { color: var(--gold); width: 33px; height: 30px; }
dialog h2 { font-size: 1.6rem; margin: 1rem 0 .6rem; }
dialog p { color: var(--muted); line-height: 1.7; }
dialog button { border: 0; border-radius: 7px; background: var(--gold); color: #171811; font-weight: 700; margin-top: 1.4rem; padding: .7rem 1.5rem; }
@media (max-width: 900px) {
  .wrap { width: 90%; }
  .hero-inner { min-height: 510px; }
  h1 { font-size: clamp(3.5rem, 7.4vw, 4.3rem); }
  .store { min-width: 134px; }
}
@media (max-width: 760px) {
  .wrap { width: min(90%, 580px); }
  .nav-row { min-height: 64px; gap: .8rem; }
  .brand { font-size: 1.27rem; gap: .48rem; }
  .brand-icon { width: 26px; }
  .nav-row nav { display: none; }
  .nav-download { margin-left: auto; padding: .55rem .75rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 2.75rem 0 2.1rem; }
  h1 { font-size: clamp(3.5rem, 10.8vw, 5.2rem); margin: .85rem 0 1rem; }
  .lead { line-height: 1.65; }
  .downloads { margin-top: 1.35rem; }
  .store { min-width: 134px; height: 51px; }
  .footer-row { flex-wrap: wrap; gap: .8rem; }
  footer small { flex-basis: 100%; order: 1; }
}
@media (max-width: 345px) {
  .store { min-width: 112px; gap: .45rem; padding: 0 .65rem; }
  .store svg { width: 22px; }
  .downloads { gap: .45rem; }
  .brand { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The hero uses the same screen designs as the full-size product gallery. */
.showpiece {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.26;
  max-height: 530px;
  background: radial-gradient(ellipse at 52% 54%, #69502766, transparent 66%);
}
.phone {
  position: absolute;
  padding: 4px;
  border: 1px solid #a69c82;
  border-radius: 13% / 6.5%;
  background: linear-gradient(110deg, #c6b897, #494841 26%, #171714 68%, #958b73);
  box-shadow: 4px 6px 0 #37362e, 17px 20px 40px #0009;
}
.phone img, .poster img { display: block; width: 100%; height: auto; border-radius: inherit; }
.phone-front { width: 36%; top: 2%; left: 19%; transform: rotate(-9deg); }
.phone-back { width: 31%; top: 18%; left: 51%; transform: rotate(11deg); filter: brightness(.86); }
.orbit { position: absolute; inset: 35% 0 20%; border: 1px solid #a892564c; border-radius: 50%; transform: rotate(-18deg); z-index: -1; }
.spark { position: absolute; color: #ffd26a; text-shadow: 0 0 22px #ffc55755; }
.spark-a { top: 14%; right: 14%; font-size: clamp(1.5rem, 3vw, 3.1rem); }
.spark-b { bottom: 22%; left: 6%; font-size: 1.8rem; }
.showpiece figcaption { position: absolute; display: flex; gap: .5rem; align-items: center; bottom: 0; right: 8%; }
.previews { padding-block: clamp(3rem, 5vw, 5.5rem); }
.section-heading, .viewer-head, .viewer-nav { display: flex; align-items: center; justify-content: space-between; }
.section-heading { margin-bottom: 1.55rem; }
.block { background: var(--gold); width: .55rem; height: .55rem; }
.section-heading h2 { font-size: clamp(2.2rem, 3.4vw, 3.65rem); line-height: 1.2; letter-spacing: -.05em; margin-top: .55rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.5vw, 1.5rem); }
.gallery:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  align-items: center;
  aspect-ratio: .65;
  border-radius: 18px;
  color: #171a16;
}
.poster::before { content: ""; position: absolute; inset: 40% -40% -65%; z-index: -1; border: 1px solid #ffffff70; border-radius: 50%; box-shadow: 0 0 0 26px #ffffff15, 0 0 0 65px #ffffff16; }
.poster-lobby { background: linear-gradient(145deg, #ffdd83, #e4ad42); }
.poster-detail { background: linear-gradient(145deg, #d2c9ef, #ac9aca); }
.poster-profile { background: linear-gradient(145deg, #c4e3ce, #8eb59e); }
.poster-copy { width: 100%; padding: 8% 9% 5%; }
.poster-copy small { font-size: .86rem; font-weight: 650; }
.poster-copy h3 { font-size: clamp(1.6rem, 2.65vw, 2.7rem); line-height: 1.1; letter-spacing: -.06em; margin-top: .55rem; }
.poster img { width: 68%; margin-top: 1%; border: 4px solid #2d2e29; border-radius: 12% / 6%; box-shadow: 1px 1px 0 1px #787769, 0 10px 25px #2420194a; }
.poster:hover img { transform: translateY(-3px); }
.poster img { transition: transform .2s ease; }
.gallery-controls { display: none; }
.gallery-controls button, .viewer button { border: 1px solid #55564b; background: #282922; color: var(--ink); }
.gallery-controls button { width: 39px; height: 39px; border-radius: 50%; font-size: 1.5rem; }
.gallery-controls button:disabled, .viewer button:disabled { opacity: .36; cursor: default; }
.viewer { width: min(94vw, 450px); padding: .8rem 1rem; }
.viewer-head h2 { margin: 0; font-size: 1.15rem; }
.viewer button { margin: 0; padding: .45rem .8rem; font-size: .88rem; }
.viewer-head button { font-size: 1.25rem; }
.viewer > img { display: block; height: min(69vh, 750px); height: min(69dvh, 750px); max-width: 100%; width: auto; object-fit: contain; margin: .6rem auto; border-radius: 14px; }
.viewer-nav span { font: .84rem var(--mono); color: #ddd8bc; }
@media (max-width: 900px) {
  .showpiece { aspect-ratio: 1.11; }
  .phone-front { width: 40%; left: 13%; }
  .phone-back { width: 35%; left: 51%; }
}
@media (max-width: 760px) {
  .showpiece { width: min(100%, 430px); margin: 1.8rem auto 0; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 3px 2px 12px; gap: .8rem; scrollbar-width: thin; scrollbar-color: #68685e transparent; }
  .poster { flex: 0 0 min(85%, 320px); scroll-snap-align: start; }
  .poster-copy h3 { font-size: clamp(1.6rem, 7.2vw, 2.3rem); }
  .gallery-controls:not([hidden]) { display: flex; gap: .45rem; }
}
