:root {
  --bg: #0d1117;
  --raised: #161b22;
  --raised-2: #1b212a;
  --bezel: #21262d;
  --line: #30363d;
  --text: #e6edf3;
  --dim: #9da7b3;
  --faint: #7d8590;
  --mint: #45f1a6;
  --mint-deep: #2ea370;
  --coin: #ffcb47;
  --berry: #ff5d8f;
  --iris: #a78bfa;
  --lcd-dark: #312f28;
  --lcd-light: #b1afa8;
  --accent: var(--mint);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
::selection { background: var(--mint); color: var(--bg); }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.px { image-rendering: pixelated; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

.top { position: sticky; top: 0; z-index: 30; background: rgba(13, 17, 23, .8); border-bottom: 1px solid var(--bezel); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1 var(--mono); letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.brand .cur { color: var(--mint); }
.brand small { font: 500 11px/1 var(--mono); color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; margin-left: 2px; letter-spacing: .04em; text-transform: uppercase; }
.top nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top nav > a { font-size: 14px; font-weight: 500; color: var(--dim); padding: 8px 12px; border-radius: 8px; transition: color .15s ease, background-color .15s ease; }
.top nav > a:hover { color: var(--text); background: var(--raised); }
.find { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 8px 0 12px; margin-left: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--dim); font-size: 14px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.find:hover { border-color: var(--faint); color: var(--text); }
.find svg { width: 16px; height: 16px; flex: none; }
kbd { font: 500 11px/1 var(--mono); color: var(--faint); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 3px 6px; background: var(--bg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 15px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, transform .16s var(--ease-out), box-shadow .2s ease; }
.btn:active { transform: scale(.97); }
.btn.get { background: var(--mint); color: #05140d; }
.btn.get:hover { box-shadow: 0 0 0 4px rgba(69, 241, 166, .18); }
.btn.soon { background: var(--raised-2); color: var(--dim); border: 1px solid var(--line); cursor: default; }
.btn.soon:active { transform: none; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 30px; padding: 0 14px; border-radius: 999px; font: 700 13px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; }
.pill.get { background: var(--mint); color: #05140d; transition: box-shadow .2s ease, transform .16s var(--ease-out); }
.pill.get:hover { box-shadow: 0 0 0 4px rgba(69, 241, 166, .18); }
.pill.get:active { transform: scale(.96); }
.pill.soon { background: var(--raised-2); color: var(--dim); border: 1px solid var(--line); }
.icon { flex: none; border-radius: 22%; image-rendering: pixelated; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); background: var(--lcd-dark); }

.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--bezel); }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto 30%; height: 120%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(69, 241, 166, .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px 64px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font: 800 clamp(38px, 5.4vw, 64px)/1.04 var(--sans); letter-spacing: -.035em; margin: 18px 0 22px; text-wrap: balance; }
.hero h1 span { color: var(--mint); }
.lede { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: var(--dim); max-width: 46ch; text-wrap: pretty; }
.lede b { color: var(--text); font-weight: 600; }

.search { position: relative; display: flex; align-items: center; margin-top: 32px; max-width: 520px; }
.search svg { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 56px; padding: 0 56px 0 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--raised); color: var(--text); font: 500 17px/1 var(--sans); transition: border-color .15s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(69, 241, 166, .15); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search kbd { position: absolute; right: 16px; }
.search .clear { position: absolute; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--faint); cursor: pointer; display: none; place-items: center; }
.search .clear:hover { color: var(--text); background: var(--raised-2); }
.search.has-q kbd { display: none; }
.search.has-q .clear { display: grid; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 560px; }
.chips button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 14px; font-weight: 500; cursor: pointer; transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .16s var(--ease-out); }
.chips button:hover { color: var(--text); border-color: var(--faint); }
.chips button:active { transform: scale(.96); }
.chips button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.spot { position: relative; }
.spot-stage { display: grid; }
.slide { grid-area: 1 / 1; display: block; border-radius: var(--radius); overflow: hidden; background: var(--raised); border: 1px solid var(--bezel); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s, border-color .2s ease; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s, border-color .2s ease; }
.slide:hover { border-color: var(--line); }
.slide .art { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; background: var(--lcd-dark); }
.slide-info { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.slide-info .icon { width: 52px; height: 52px; }
.slide-text { flex: 1; min-width: 0; }
.slide-text > span { display: block; }
.slide-name { font: 700 18px/1.25 var(--sans); letter-spacing: -.01em; margin-top: 2px; }
.slide-line { font-size: 14px; line-height: 1.4; color: var(--dim); text-wrap: pretty; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.dots button { position: relative; width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; background: var(--line); }
.dots button::after { content: ""; position: absolute; left: 0; top: 10px; height: 4px; width: 100%; border-radius: 4px; background: var(--text); transform: scaleX(0); transform-origin: left; }
.dots button[aria-current="true"]::after { transform: scaleX(var(--p, 1)); }

.shelf { padding-top: 64px; scroll-margin-top: 72px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; }
.shelf-head h2 { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--sans); letter-spacing: -.02em; }
.shelf-head .count { font: 500 13px/1 var(--mono); color: var(--faint); white-space: nowrap; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--bezel); overflow: hidden; transition: border-color .2s ease, transform .3s var(--ease-out), box-shadow .3s ease; }
.card[hidden] { display: none; }
.card .art { width: 100%; height: auto; aspect-ratio: 1050 / 465; background: var(--lcd-dark); transition: transform .5s var(--ease-out); }
.card-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; flex: 1; }
.card-row { display: flex; align-items: center; gap: 14px; }
.card-row .icon { width: 56px; height: 56px; }
.card-meta { flex: 1; min-width: 0; }
.card h3 { font: 700 19px/1.25 var(--sans); letter-spacing: -.015em; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card .genre { font-size: 14px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .pill { position: relative; z-index: 2; }
.card .tag { color: var(--dim); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.card .depth { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.card .depth span { font: 500 12px/1 var(--mono); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 6px; padding: 6px 8px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .9); }
  .card:hover .art { transform: scale(1.02); }
}
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--dim); }
.empty[hidden] { display: none; }
.empty b { color: var(--text); font-weight: 600; }
.empty .chips { justify-content: center; margin: 18px auto 0; }

.studio { padding-top: 96px; }
.studio-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 36px; align-items: center; padding: 32px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--bezel); }
.studio-card > img { width: 64px; height: 64px; }
.studio-card h2 { font: 700 22px/1.25 var(--sans); letter-spacing: -.015em; margin-bottom: 8px; }
.studio-card p { color: var(--dim); max-width: 62ch; text-wrap: pretty; }
.contact { display: flex; flex-direction: column; gap: 6px; }
.contact span { font: 500 12px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.contact a { font: 600 18px/1.3 var(--sans); color: var(--mint); }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

footer { margin-top: 96px; border-top: 1px solid var(--bezel); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-block: 28px 40px; font-size: 13px; color: var(--faint); }
footer .fl { display: flex; align-items: center; gap: 10px; color: var(--dim); }
footer .fl img { width: 22px; height: 22px; }
footer a:hover { color: var(--text); }

.detail { position: relative; isolation: isolate; }
.detail::before { content: ""; position: absolute; left: 50%; top: 0; width: 100vw; height: 560px; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(48% 90% at 28% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%); }
.back { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--dim); padding: 6px 0; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.back:hover svg { transform: translateX(-3px); }
.banner { margin-top: 16px; aspect-ratio: 3 / 1; border-radius: var(--radius); overflow: hidden; background: var(--lcd-dark); box-shadow: 0 0 0 1px var(--bezel), 0 40px 80px -48px color-mix(in srgb, var(--accent) 45%, transparent); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.app-head { display: flex; align-items: flex-start; gap: 32px; padding-block: 24px 32px; }
.app-head .icon { margin: -80px 0 0 24px; padding: 8px; border-radius: 12px; background: var(--bg); }
.app-head h1 { margin-top: 4px; }
.app-head .icon { width: 176px; height: 176px; box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--accent) 40%, transparent); }
.app-head h1 { font: 800 clamp(34px, 4.6vw, 52px)/1.05 var(--sans); letter-spacing: -.035em; }
.app-head .tagline { font-size: clamp(16px, 1.6vw, 19px); color: var(--dim); margin-top: 10px; max-width: 52ch; text-wrap: pretty; }
.by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; font-size: 14px; color: var(--faint); }
.by a.g { color: var(--accent); font-weight: 500; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); transition: background-color .15s ease; }
.by a.g:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.actions .note { font-size: 13px; color: var(--faint); }
.actions .kit { font-size: 14px; font-weight: 500; color: var(--dim); }
.actions .kit:hover { color: var(--text); }

.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 18px 0; border-block: 1px solid var(--bezel); }
.facts div { text-align: center; padding: 4px 12px; min-width: 0; }
.facts div + div { border-left: 1px solid var(--bezel); }
.facts dt { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; }
.facts .v { display: block; font: 700 24px/1.2 var(--sans); letter-spacing: -.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.facts .s { display: block; font-size: 13px; line-height: 1.35; color: var(--dim); margin-top: 4px; }

.sec { padding-top: 56px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec h2 { font: 700 clamp(22px, 2.4vw, 26px)/1.2 var(--sans); letter-spacing: -.02em; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); color: var(--text); cursor: pointer; transition: opacity .15s ease, border-color .15s ease, transform .16s var(--ease-out); }
.arrows button:hover { border-color: var(--faint); }
.arrows button:active { transform: scale(.94); }
.arrows button:disabled { opacity: .35; cursor: default; transform: none; }
.arrows svg { width: 18px; height: 18px; }
.strip { --h: 330px; --bleed: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); list-style: none; margin: 0 calc(-1 * var(--bleed)); padding: 4px var(--bleed) 12px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: none; scroll-snap-align: start; }
.strip video { height: var(--h); width: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; border: 1px solid var(--bezel); }
.shot { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; }
.shot img { height: var(--h); width: auto; aspect-ratio: 5 / 3; border-radius: 14px; border: 1px solid var(--bezel); background: var(--lcd-dark); transition: border-color .2s ease; }
.shot:hover img { border-color: var(--line); }
.strip .cap { display: block; font-size: 13px; color: var(--faint); margin-top: 10px; padding-left: 2px; }

.about p { color: var(--dim); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; max-width: 68ch; text-wrap: pretty; }
.about p + p { margin-top: 14px; }
.about p:first-of-type { color: var(--text); }

.howto-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; padding: 20px 20px 20px; border-radius: 16px; background: var(--raised); border: 1px solid var(--bezel); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; margin-bottom: 14px; font: 700 13px/1 var(--mono); color: var(--bg); background: var(--accent); }
.steps b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.steps p { font-size: 14.5px; line-height: 1.55; color: var(--dim); }
.howto-fig { position: sticky; top: 88px; margin: 0; }
.howto-fig img { width: 100%; height: auto; aspect-ratio: 5 / 3; border-radius: 14px; border: 1px solid var(--bezel); background: var(--lcd-dark); }
.howto-fig figcaption { display: flex; gap: 10px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--raised); border: 1px solid var(--bezel); font-size: 14px; line-height: 1.5; color: var(--dim); }
.howto-fig figcaption b { color: var(--text); font-weight: 600; white-space: nowrap; }

.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--bezel); background: var(--raised); transition: border-color .2s ease; }
.more a:hover { border-color: var(--line); }
.more .icon { width: 52px; height: 52px; }
.more div { min-width: 0; }
.more b { display: block; font-weight: 700; }
.more span { display: block; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lb { width: min(1200px, 100vw - 32px); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.lb::backdrop { background: rgba(5, 7, 10, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb[open] { animation: lb-in .25s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lb figure { margin: 0; }
.lb img { width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; aspect-ratio: 5 / 3; border-radius: 12px; background: var(--lcd-dark); }
.lb figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 14px; color: var(--dim); }
.lb .n { font: 500 13px/1 var(--mono); color: var(--faint); margin-left: 10px; }
.lb-nav { display: flex; gap: 8px; }
.lb-nav button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); color: var(--text); cursor: pointer; }
.lb-nav button:hover { border-color: var(--faint); }
.lb-nav svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 56px 64px; }
  .spot { max-width: 680px; }
  .howto-grid { grid-template-columns: minmax(0, 1fr); }
  .howto-fig { position: static; order: -1; max-width: 560px; }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .studio-card { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .facts { grid-template-columns: repeat(5, minmax(128px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .facts::-webkit-scrollbar { display: none; }
  .more ul { grid-template-columns: minmax(0, 1fr); }
  .searching .spot { display: none; }
}
@media (max-width: 640px) {
  .top nav > a:not(.find) { display: none; }
  .find { margin-left: 0; }
  .find kbd { display: none; }
  .brand small { display: none; }
  .hero-grid { padding-block: 40px 48px; gap: 36px; }
  .search kbd { display: none; }
  .search input { height: 52px; font-size: 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .empty .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .slide-info { padding: 14px; gap: 12px; }
  .slide-info .icon { width: 44px; height: 44px; }
  .shelf { padding-top: 48px; }
  .card-body { padding: 16px; }
  .app-head { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 20px 28px; }
  .app-head .icon { width: 106px; height: 106px; margin: -45px 0 0 11px; padding: 5px; border-radius: 9px; }
  .banner { aspect-ratio: 2 / 1; border-radius: 16px; }
  .strip { --h: 186px; gap: 12px; }
  .arrows { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .howto-fig figcaption { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
