@font-face { font-family: 'Pixelify'; src: url(fonts/pixelify-sans-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'JB Mono'; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JB Mono'; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jersey 15'; src: url(fonts/jersey-15-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Departure Mono'; src: url(fonts/DepartureMono-Regular.woff2) format('woff2'); font-display: swap; }
/* colours are registered so a theme change can fade across the whole page */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #0b0e1a; }
@property --panel { syntax: '<color>'; inherits: true; initial-value: #0e1222; }
@property --line { syntax: '<color>'; inherits: true; initial-value: #1d2440; }
@property --text { syntax: '<color>'; inherits: true; initial-value: #d7dcf0; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #7d86a8; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #7859f7; }
@property --accent2 { syntax: '<color>'; inherits: true; initial-value: #3ff3c8; }
@property --pink { syntax: '<color>'; inherits: true; initial-value: #ff7eb6; }
:root {
  --bg: #0b0e1a; --panel: #0e1222; --line: #1d2440; --text: #d7dcf0; --muted: #7d86a8;
  --accent: #7859f7; --accent2: #3ff3c8; --pink: #ff7eb6; --on-accent: #fff;
  --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --pixel: 'Pixelify', var(--display);
  transition: --bg .7s, --panel .7s, --line .7s, --text .7s, --muted .7s, --accent .7s, --accent2 .7s, --pink .7s;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; color: var(--text); font: 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; line-height: 1.02; }
a { color: inherit; }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.skip { position: fixed; left: -999px; top: 8px; z-index: 60; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }
/* a button's ring hugs the button itself */
.btn:focus-visible { outline: none; }
.btn:focus-visible .btn-in { outline: 2px solid var(--accent2); outline-offset: 3px; }

/* the sky */
#aurora { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; image-rendering: pixelated; display: none; }
/* the smooth themes have soft light that drifts; only pixel themes have the pixel aurora */
.glow { position: fixed; inset: 0; z-index: -3; overflow: hidden; }
.glow i { position: absolute; width: 74vmax; height: 74vmax; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 20%, transparent), transparent); will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.glow i:nth-child(1) { --c: var(--accent); left: -26vmax; top: -34vmax; }
.glow i:nth-child(2) { --c: var(--accent2); right: -32vmax; top: -8vmax; animation-duration: 32s; animation-delay: -9s; opacity: .7; }
.glow i:nth-child(3) { --c: var(--pink); left: 12vmax; bottom: -46vmax; animation-duration: 38s; animation-delay: -17s; opacity: .8; }
@keyframes drift { to { transform: translate(12vmax, 9vmax) scale(1.14); } }
[data-mode="light"] .stars { display: none; }
.stars { position: fixed; inset: -40px; z-index: -2; overflow: hidden; pointer-events: none; will-change: translate; transition: translate 1.2s var(--ease); }
.stars i { position: absolute; top: 0; image-rendering: pixelated; will-change: transform, translate; animation: star-drift 100s linear infinite, twinkle 3s ease-in-out infinite alternate; }
@keyframes star-drift { to { transform: translateX(var(--tile)); } }
@keyframes twinkle { from { opacity: .62; } }
.spot { position: fixed; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 66%); z-index: -1; pointer-events: none; will-change: transform; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 40; }
.progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent), var(--accent2), var(--pink)); }

/* the bar */
.top { position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 30; display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); width: min(960px, calc(100% - 24px)); padding: 8px 8px 8px 16px; border-radius: 16px; border: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s, width .5s var(--ease); }
.top.solid { background: color-mix(in srgb, var(--panel) 76%, transparent); backdrop-filter: blur(16px) saturate(1.4); border-color: color-mix(in srgb, var(--line) 80%, transparent); box-shadow: 0 14px 40px -20px #000; width: min(780px, calc(100% - 24px)); }
.brand { display: flex; align-items: center; gap: 9px; font: 600 21px var(--pixel); text-decoration: none; }
.top nav { display: flex; gap: clamp(10px, 2.4vw, 26px); margin-left: auto; font-size: 15px; }
.top nav a { position: relative; text-decoration: none; color: var(--muted); transition: color .2s; }
.top nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--accent2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top nav a:hover { color: var(--text); }
.top nav a:hover::after { transform: scaleX(1); }
.nav-get { padding: 8px 15px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .25s var(--spring); }
.nav-get:hover { transform: scale(1.06); }
.theme-pick { position: relative; flex: none; }
.theme-btn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--text); font: 600 15px var(--sans); cursor: pointer; transition: border-color .2s; }
.theme-btn:hover { border-color: var(--accent); }
.theme-btn svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.theme-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 25%, transparent); }
.theme-menu { position: absolute; right: 0; top: calc(100% + 12px); width: 440px; max-width: calc(100vw - 32px); max-height: min(74vh, 520px); overflow: auto; padding: 8px 12px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 30px 70px -24px #000; animation: menu-in .28s var(--ease); }
.theme-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.tm-h { margin: 8px 4px 6px; font: 600 15px var(--pixel); color: var(--accent2); letter-spacing: .04em; }
.tm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.tm-row { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 8px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--text); font: 600 14.5px var(--sans); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.tm-row.px { font-family: 'Jersey 15', var(--pixel); font-size: 18px; font-weight: 400; letter-spacing: .03em; }
.tm-row:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.tm-row[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.tm-sw { flex: none; display: flex; align-items: flex-end; gap: 2px; width: 34px; height: 26px; padding: 3px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); }
.tm-sw i { flex: 1; height: 100%; border-radius: 2px; } .tm-sw i:nth-child(2) { height: 72%; } .tm-sw i:nth-child(3) { height: 46%; }
.tm-row.px .tm-sw, .tm-row.px .tm-sw i { border-radius: 0; }

/* the top of the page */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: clamp(116px, 15vh, 170px) 16px 0; }
@keyframes blink { 50% { opacity: .3; } }
h1 { font-size: clamp(48px, 9.6vw, 128px); font-weight: 700; }
.h-line { display: block; }
.muted-w { color: var(--muted); }
.rotor { display: inline-block; position: relative; color: var(--accent2); padding-bottom: .1em; perspective: 500px; text-align: left; white-space: nowrap; vertical-align: baseline; transition: width .5s var(--ease); }
.rotor span { display: inline-block; }
.rotor .ch { display: inline-block; animation: ch-in .55s var(--ease) both; }
@keyframes ch-in { from { opacity: 0; transform: translateY(.5em) rotateX(-70deg); filter: blur(4px); } }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--muted); max-width: 640px; margin-inline: auto; line-height: 1.5; }
.lead b { color: var(--text); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.meta { font-size: 14px; color: var(--muted); }
.rise { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } }

.btn { position: relative; display: inline-flex; border-radius: 15px; text-decoration: none; font-weight: 700; font-size: 17px; color: var(--on-accent); isolation: isolate; transition: transform .35s var(--ease); }
.btn-fx { position: absolute; z-index: -2; overflow: hidden; pointer-events: none; }
/* the colours turn by rotating a square behind a clipped window: the graphics card does it, nothing is redrawn */
.btn-fx i { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%; background: conic-gradient(var(--accent), var(--accent2), var(--pink), var(--accent)); animation: turn 4s linear infinite; }
.btn-fx.ring { inset: -2px; border-radius: 17px; }
.btn-fx.glow { inset: -14px; z-index: -3; border-radius: 26px; filter: blur(22px); opacity: .45; transition: opacity .3s; }
.btn:hover .btn-fx.glow { opacity: .8; }
@keyframes turn { to { rotate: 1turn; } }
/* animations that are off the screen wait */
.paused, .paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.btn-in { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000)); }
.btn-in svg { fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.btn:hover .btn-in svg { transform: translateY(3px); }
.btn:active { scale: .97; }
.btn.ghost { color: var(--text); }
.btn.ghost .btn-in { background: color-mix(in srgb, var(--panel) 60%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: border-color .2s, background .2s; }
.btn.ghost:hover .btn-in { border-color: var(--accent2); }

/* three windows that open out as you scroll */
.fan { position: relative; width: min(1120px, 94vw); aspect-ratio: 1600 / 860; margin-top: clamp(30px, 5vh, 56px); perspective: 1800px; --p: 0; animation: rise 1.3s var(--ease) .45s both; }
.fan img { position: absolute; inset: 0; width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 50px 110px -40px #000; will-change: transform; }
.f-c { z-index: 3; transform: translateY(calc((1 - var(--p)) * 7%)) rotateX(calc((1 - var(--p)) * 16deg)) scale(calc(.86 + var(--p) * .14)); }
.f-l { z-index: 1; opacity: .75; transform: translateX(calc(-16% - var(--p) * 30%)) translateY(calc(5% + var(--p) * 10%)) rotateY(calc(26deg + var(--p) * 12deg)) scale(.74); }
.f-r { z-index: 1; opacity: .75; transform: translateX(calc(16% + var(--p) * 30%)) translateY(calc(5% + var(--p) * 10%)) rotateY(calc(-26deg - var(--p) * 12deg)) scale(.74); }
/* the screenshot under the mouse comes to the front, and the others step back */
@media (hover: hover) {
  .fan img { transition: opacity .35s, filter .35s, scale .45s var(--ease), rotate .45s var(--ease); }
  .fan:has(img:hover) img:not(:hover) { opacity: .35; filter: saturate(.6) brightness(.75); }
  .fan img:hover { z-index: 4; opacity: 1; scale: 1.04; outline: 2px solid var(--accent); outline-offset: 3px; }
  .f-l:hover { rotate: y -20deg; }
  .f-r:hover { rotate: y 20deg; }
}

.ticker { margin-top: clamp(50px, 8vw, 96px); overflow: hidden; padding: 14px 0; border-block: 1px solid color-mix(in srgb, var(--line) 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tick-track { display: flex; gap: 46px; width: max-content; animation: slide 34s linear infinite; font: 600 21px var(--pixel); color: var(--muted); }
.tick-track span { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.tick-track img { width: 24px; height: 24px; flex: none; }
[data-mode="dark"] .tick-track img.ink { filter: invert(1) hue-rotate(180deg) brightness(1.05); }
.tick-track span:nth-child(3n) { color: var(--accent2); }
.ticker:hover .tick-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* the tour: the window stays, the words go by */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(20px, 4vw, 60px); max-width: 1240px; margin: clamp(50px, 8vw, 90px) auto 0; padding: 0 24px; }
.story-pin { grid-column: 2; grid-row: 1; position: sticky; top: 15vh; height: 70vh; display: flex; align-items: center; }
.story-steps { grid-column: 1; grid-row: 1; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .22; transform: translateX(-14px); transition: opacity .5s, transform .6s var(--ease); }
.step.on { opacity: 1; transform: none; }
.step .no { font: 600 17px var(--pixel); color: var(--accent2); }
.step h3 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; }
.step p { color: var(--muted); font-size: 19px; max-width: 420px; }
.step img { display: none; }
.story-win { width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 50px 120px -46px #000, 0 0 90px -40px var(--accent); transition: box-shadow .6s; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar i:first-child { background: var(--pink); } .win-bar i:nth-child(2) { background: var(--accent); } .win-bar i:nth-child(3) { background: var(--accent2); }
.win-bar b { margin-left: 8px; font: 600 15px var(--pixel); color: var(--muted); }
.win-view { position: relative; aspect-ratio: 1600 / 850; overflow: hidden; }
.win-view img { position: absolute; inset: 0; width: 100%; opacity: 0; transform: scale(1.05) translateY(14px); clip-path: inset(0 0 100% 0); transition: opacity .35s, transform .9s var(--ease), clip-path .8s var(--ease); }
.win-view img.on { opacity: 1; transform: none; clip-path: inset(0); z-index: 1; }

/* section heads */
section { padding-inline: 16px; }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 40px; }
.eyebrow { font: 600 16px var(--pixel); color: var(--accent2); letter-spacing: .04em; }
h2 { font-size: clamp(36px, 6.4vw, 78px); font-weight: 700; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--n) * 55ms); }
.split.in .w i { transform: none; }
.live, .market, .get { padding-top: clamp(80px, 12vw, 150px); }

/* the working tools */
.bento { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { --mx: 50%; --my: 0%; position: relative; grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 300px; padding: 18px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(170deg, color-mix(in srgb, var(--panel) 92%, var(--accent)), var(--panel)); opacity: 0; transform: translateY(36px) scale(.97); transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .25s; transition-delay: calc(var(--n, 0) * 60ms); }
.tile.in { opacity: 1; transform: none; }
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); transition-delay: 0s; }
.tile:hover::before { opacity: 1; }
.tile-words { position: relative; }
.tile h3 { font-size: 23px; margin-bottom: 5px; letter-spacing: -.02em; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.t-game, .t-code { grid-column: span 3; }
.t-game .shot { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 850; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.typer { margin: 0; flex: 1; min-height: 168px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 70%, #000); font: 14.5px/1.65 'JB Mono', ui-monospace, Consolas, monospace; color: var(--text); white-space: pre-wrap; overflow: hidden; }
.typer .k { color: var(--accent); } .typer .f { color: var(--accent2); } .typer .s { color: #ffd479; } .typer .o { color: var(--muted); }
.typer .cur { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--accent2); animation: blink 1s steps(2) infinite; }
.paint { display: grid; grid-template-columns: repeat(14, 1fr); gap: 2px; width: min(210px, 100%); margin: 2px auto 0; }
.paint i { aspect-ratio: 1; background: color-mix(in srgb, var(--text) 5%, transparent); transition: background .12s, transform .2s var(--spring); }
.paint i.on { background: var(--c); transform: scale(1.06); }
.eq { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 150px; }
.eq i { flex: 1; max-width: 14px; height: 100%; transform-origin: bottom; background: linear-gradient(0deg, var(--accent), var(--accent2) 70%, var(--pink)); animation: eq calc(var(--t) * 1s) ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1s); }
@keyframes eq { from { transform: scaleY(.12); } to { transform: scaleY(1); } }
.circuit { width: 100%; }
.c-board { fill: #1d6f8c; stroke: #2a9bc2; } .c-chip { fill: #10242c; } .c-dot { fill: var(--accent2); animation: blink 1.2s steps(2) infinite; }
.c-wire { fill: none; stroke: var(--accent2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 8; animation: flow-wire 1s linear infinite; }
.c-wire.w2 { stroke: var(--pink); }
@keyframes flow-wire { to { stroke-dashoffset: -16; } }
.c-res { fill: #d9b98a; }
.c-led { fill: var(--pink); animation: led 1.8s ease-in-out infinite alternate; }
.c-glow { fill: var(--pink); opacity: .25; filter: blur(9px); animation: led2 1.8s ease-in-out infinite alternate; }
@keyframes led { from { opacity: .35; } }
@keyframes led2 { from { opacity: .02; transform-box: fill-box; } }
.phone { width: 112px; height: 164px; margin: 0 auto; padding: 18px 10px 10px; border-radius: 18px; border: 2px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 34px -18px var(--accent); animation: float 4s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-8px) rotate(1.5deg); } }
.ph-row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 7px; background: var(--panel); }
.ph-row i { width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid var(--muted); animation: tick 6s infinite; }
.ph-row b { flex: 1; height: 5px; border-radius: 3px; background: var(--muted); opacity: .5; }
.ph-row:nth-child(2) i { animation-delay: 1s; } .ph-row:nth-child(3) i { animation-delay: 2s; }
@keyframes tick { 0%, 12% { background: transparent; border-color: var(--muted); } 18%, 85% { background: var(--accent2); border-color: var(--accent2); } }
.ph-btn { margin-top: auto; height: 20px; border-radius: 6px; background: var(--accent); animation: tap 3s infinite; }
@keyframes tap { 50%, 60% { scale: 1; } 55% { scale: .92; } }
.pets-row { display: flex; justify-content: center; align-items: flex-end; gap: 4px; min-height: 120px; }
.pet { display: block; width: 80px; height: 60px; background-size: 640px 60px; image-rendering: pixelated; animation: step .7s steps(8) infinite; }
.pet.cat { background-image: url(img/pet-cat.png); } .pet.fox { background-image: url(img/pet-fox.png); animation-delay: -.2s; } .pet.dog { background-image: url(img/pet-dog.png); animation-delay: -.45s; }
@keyframes step { to { background-position-x: -640px; } }
.paper { width: min(210px, 100%); margin: 0 auto; padding: 16px; border-radius: 6px; background: #f6f3ea; color: #26221a; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 34px -18px #000; transform: rotate(-1.5deg); }
.paper b { width: 62%; height: 9px; background: #26221a; }
.paper i { height: 5px; background: #cfc8b6; } .paper i.s { width: 60%; }
.paper .edit { min-height: 22px; padding: 1px 3px; font: 13.5px 'JB Mono', monospace; border: 1px dashed var(--accent); color: #26221a; }
.paper .edit::after { content: ''; display: inline-block; width: 2px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }

/* the Marketplace */
.rails { display: grid; gap: 12px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rail { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; }
.rail.back { animation-direction: reverse; animation-duration: 70s; }
.chip { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 13px; border: 1px solid var(--line); background: var(--panel); white-space: nowrap; font-weight: 600; font-size: 15px; }
.chip.px { border-radius: 0; font-family: var(--pixel); }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent2); }
.link { color: var(--accent2); text-underline-offset: 3px; }
.market .center { margin-top: 26px; }

/* get it */
.get { padding-bottom: 60px; }
.get-card { position: relative; max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(30px, 6vw, 60px) clamp(20px, 5vw, 56px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), color-mix(in srgb, var(--panel) 84%, transparent); backdrop-filter: blur(6px); overflow: hidden; }
.get-logo { animation: float 4s ease-in-out infinite alternate; filter: drop-shadow(0 12px 30px var(--accent)); }
.steps { width: 100%; text-align: left; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; color: var(--muted); font-size: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; min-height: 30px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--accent2); font: 600 16px var(--pixel); }
.steps b { color: var(--text); }
.foot { text-align: center; padding: 30px 16px 26px; overflow: hidden; }
.foot-word { font: 600 clamp(70px, 21vw, 300px)/.9 var(--pixel); color: transparent; -webkit-text-stroke: 1.5px var(--line); user-select: none; }

@media (max-width: 900px) {
  .story { display: block; }
  .story-pin { display: none; }
  .step { min-height: 0; padding: 30px 0; opacity: 1; transform: none; }
  .step img { display: block; border-radius: 12px; border: 1px solid var(--line); margin-top: 8px; }
  .tile, .t-game, .t-code { grid-column: span 3; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .f-l, .f-r { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .tile, .t-game, .t-code { grid-column: 1 / -1; min-height: 0; }
  .top nav { display: none; }
  .nav-get { margin-left: auto; }
  .theme-btn span { display: none; }
  .tm-list { grid-template-columns: minmax(0, 1fr); }
  .btn-in { padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile, .split .w i { opacity: 1; transform: none; }
  .spot { display: none; }
}

/* a pixel theme: the same rules as Aether's pixel style */
:root[data-style="pixel"] { --display: 'Jersey 15', 'VT323', monospace; --sans: 'Jersey 15', 'VT323', monospace; --pixel: 'Jersey 15', 'VT323', monospace; --ease: steps(7, end); --spring: steps(5, end); }
[data-style="pixel"] *, [data-style="pixel"] *::before, [data-style="pixel"] *::after { border-radius: 0 !important; font-synthesis: none; }
[data-style="pixel"] body { font-size: 20px; letter-spacing: .03em; -webkit-font-smoothing: none; }
[data-style="pixel"] body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: repeating-conic-gradient(color-mix(in srgb, var(--accent) 6%, transparent) 0 25%, transparent 0 50%) 0 0 / 8px 8px; }
[data-style="pixel"] body::after { content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none; background: repeating-linear-gradient(0deg, #0000 0 2px, #00000014 2px 3px); }
[data-style="pixel"] #aurora { display: block; }
[data-style="pixel"] :is(.glow, .spot, .tile::before, .c-glow) { display: none; }
[data-style="pixel"] svg { shape-rendering: crispEdges; }
[data-style="pixel"] :is(.brand img, .get-logo) { content: url(img/logo-pixel.png); image-rendering: auto; }
[data-style="pixel"] .get-logo { filter: none; animation-timing-function: steps(4); }
/* type */
[data-style="pixel"] :is(h1, h2, h3) { letter-spacing: 0; font-weight: 400; line-height: 1; text-shadow: 3px 3px 0 #000; }
/* on a light page a black shadow doubles the dark words */
[data-style="pixel"][data-mode="light"] :is(h1, h2, h3) { text-shadow: none; }
[data-style="pixel"] :focus-visible, [data-style="pixel"] .btn:focus-visible .btn-in { border-radius: 0; }
[data-style="pixel"] .t-game .shot { border: 2px solid var(--line); border-radius: 0; }
[data-style="pixel"] h1 { font-size: clamp(60px, 12vw, 158px); }
[data-style="pixel"] h2 { font-size: clamp(46px, 7.8vw, 96px); }
[data-style="pixel"] .step h3 { font-size: clamp(42px, 5.2vw, 66px); }
[data-style="pixel"] .tile h3 { font-size: 30px; letter-spacing: 0; }
[data-style="pixel"] .tile p { font-size: 20px; line-height: 1.25; }
[data-style="pixel"] .step p { font-size: 23px; line-height: 1.3; }
[data-style="pixel"] .lead { font-size: clamp(22px, 2.5vw, 26px); line-height: 1.3; }
[data-style="pixel"] :is(.brand, .top nav, .theme-btn, .nav-get, .chip, .tick-track, .eyebrow, .win-bar b, .steps li::before) { font-weight: 400; }
[data-style="pixel"] .brand { font-size: 26px; }
[data-style="pixel"] .top nav, [data-style="pixel"] .nav-get, [data-style="pixel"] .theme-btn { font-size: 20px; }
[data-style="pixel"] .tick-track { font-size: 25px; }
[data-style="pixel"] .tick-track img { width: 26px; height: 26px; }
[data-style="pixel"] .eyebrow { font-size: 21px; }
[data-style="pixel"] .tm-row { font-size: 20px; font-weight: 400; }
[data-style="pixel"] .steps { font-size: 21px; line-height: 1.25; }
[data-style="pixel"] :is(.meta, .small) { font-family: 'Departure Mono', monospace; font-size: 11px; letter-spacing: 0; }
[data-style="pixel"] .rotor .ch { color: var(--accent2) !important; animation-name: ch-px; animation-timing-function: steps(4, end); }
@keyframes ch-px { from { opacity: 0; transform: translateY(.3em); } }
[data-style="pixel"] .muted-w { color: var(--text); }
[data-style="pixel"] .split .w { padding-right: 4px; margin-right: -4px; padding-bottom: .16em; }
[data-style="pixel"] .typer { font-weight: 500; letter-spacing: 0; }
[data-style="pixel"] .foot-word { color: var(--line); -webkit-text-stroke: 0; }
/* chunky outlined panels with hard shadows */
[data-style="pixel"] :is(.top.solid, .tile, .story-win, .get-card, .theme-menu, .fan img, .paper, .phone) { border: 3px solid var(--line); box-shadow: 4px 4px 0 #000; backdrop-filter: none; }
[data-style="pixel"] .top.solid { background: var(--panel); }
[data-style="pixel"] .tile { background: var(--panel); transition-duration: .4s; }
[data-style="pixel"] .tile:hover { border-color: var(--accent); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #000; }
[data-style="pixel"] .get-card { background: var(--panel); }
[data-style="pixel"] .win-bar { border-bottom: 3px solid var(--line); }
[data-style="pixel"] .ticker { border-block-width: 3px; }
[data-style="pixel"] .step img { border: 3px solid var(--line); box-shadow: 4px 4px 0 #000; }
/* blocky buttons */
[data-style="pixel"] .btn-fx.ring { inset: -5px; border-radius: 0; }
[data-style="pixel"] .btn-fx.glow { inset: -16px; border-radius: 0; filter: blur(18px); }
[data-style="pixel"] .btn-fx i { animation-timing-function: steps(32); } /* it turns in steps, like the rest of the pixel look */
[data-style="pixel"] .btn { transform: none !important; }
[data-style="pixel"] .btn-in { background: var(--accent); color: var(--on-accent); border: 2px solid #000; box-shadow: 3px 3px 0 #000; font-weight: 400; font-size: 23px; padding: 12px 22px; }
[data-style="pixel"] .btn.ghost .btn-in { background: var(--panel); color: var(--text); border-color: var(--line); box-shadow: 2px 2px 0 #000; backdrop-filter: none; }
[data-style="pixel"] .btn-in svg { stroke-linecap: square; stroke-linejoin: miter; }
[data-style="pixel"] .btn:active { scale: 1; }
[data-style="pixel"] .btn:active .btn-in { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
[data-style="pixel"] .nav-get { background: var(--accent); color: var(--on-accent); border: 2px solid #000; box-shadow: 3px 3px 0 #000; padding: 4px 14px; }
[data-style="pixel"] .nav-get:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #000; }
[data-style="pixel"] :is(.theme-btn, .chip) { background: var(--panel); border: 2px solid var(--line); box-shadow: 2px 2px 0 #000; }
[data-style="pixel"] .tm-row[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: #000; box-shadow: 2px 2px 0 #000; }
[data-style="pixel"] .tm-sw { border: 2px solid #000; }
/* gradients flatten to solid 8-bit colour */
[data-style="pixel"] .progress i { background: var(--accent2); }
[data-style="pixel"] .eq i { background: var(--accent2); animation-timing-function: steps(6, end); }
[data-style="pixel"] :is(.phone, .get-logo, .c-led) { animation-timing-function: steps(4, end); }
[data-style="pixel"] .ph-btn { box-shadow: 2px 2px 0 #000; }
[data-style="pixel"] .steps li::before { border: 2px solid var(--line); box-shadow: 2px 2px 0 #000; }
