:root {
  color-scheme: dark;
  --bg: #0b0e19;
  --panel: #111624;
  --ink: #f3f5fc;
  --muted: #a9b2c9;
  --line: #2a3249;
  --lime: #d2ff92;
  --mono: "Roboto Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 76% 4%, #202147 0, transparent 42rem), var(--bg);
  color: var(--ink);
  font: 400 1rem/1.5 Inter, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 3; padding: .8rem; background: var(--bg); }
.skip:focus { top: 1rem; }
.top { border-bottom: 1px solid #ffffff13; }
.top-inner, main, footer { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.top-inner { min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { justify-self: start; display: flex; gap: .65rem; align-items: center; }
.brand img { border-radius: 10px; }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: 1.35rem; letter-spacing: -.06em; font-weight: 800; }
.brand-dot { color: var(--lime); }
.brand small { color: var(--muted); font: 500 .55rem var(--mono); letter-spacing: .16em; margin-top: .2rem; }
.top nav { display: flex; gap: .3rem; padding: .24rem; background: #0c1121; border: 1px solid var(--line); border-radius: 10px; }
.top nav a { padding: .43rem .95rem; color: var(--muted); border-radius: 6px; font-size: .85rem; font-weight: 650; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); background: #252b43; }
.share { justify-self: end; display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #3b4561; border-radius: 8px; padding: .54rem .75rem; font-size: .78rem; font-weight: 650; }
.share:hover { background: #252b43; }
.share svg, .shelf-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.library-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1rem; margin: 27px 0 13px; }
.library-heading h1 { margin: 0; font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -.055em; }
.library-heading h1 span { color: #c3c9de; font-weight: 520; }
.library-heading p, .kicker, .spotlight-index, .shelf-heading > span, .tile-meta { margin: 0; font: 600 .69rem/1.5 var(--mono); letter-spacing: .1em; color: var(--muted); }
.library-heading i { display: inline-block; width: 6px; height: 6px; vertical-align: 1px; margin-right: .28rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #c7ff91a8; }
.spotlight {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 440px;
  border: 1px solid #56577b;
  border-radius: 20px;
  background: radial-gradient(ellipse at 83% 37%, #514881 0, transparent 63%), linear-gradient(115deg, #171e35 0%, #222545 58%, #262043);
  box-shadow: 0 20px 70px #03071465;
}
.spotlight::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 39px, #b7bcfc0d 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, #b7bcfc0d 39px 40px); mask-image: linear-gradient(90deg, transparent 10%, #000 65%); }
.spotlight-copy { align-self: center; z-index: 1; padding: clamp(25px, 4.4vw, 54px); }
.feature-label { color: var(--lime); display: inline-flex; align-items: center; gap: .55rem; padding: .32rem .6rem; border: 1px solid #c2f99648; border-radius: 5px; background: #273b34; }
.spotlight h2 { margin: .9rem 0 .5rem; font-size: clamp(4.2rem, 7.6vw, 7rem); line-height: .95; letter-spacing: -.075em; font-weight: 800; color: #f4ddff; }
.spotlight h2 em { font-style: normal; color: var(--lime); }
.spotlight-tagline { margin: 0; font-size: clamp(1rem, 1.7vw, 1.3rem); color: #f2e9ff; letter-spacing: -.025em; }
.estyle-spotlight { background: radial-gradient(ellipse at 79% 32%, #503e7f 0, transparent 62%), linear-gradient(120deg, #1b1d34, #26203e); }
.estyle-spotlight .feature-label { color: #ead3ff; border-color: #caa7ff55; background: #3d2b5480; font-size: .75rem; }
.estyle-spotlight .launch { background: #ead1ff; color: #2a1c36; box-shadow: 0 6px 24px #d9adff25; }
.estyle-spotlight .launch:hover { background: #f4e8ff; }
.concept-link { display: inline-block; margin-top: 1.05rem; padding-block: .2rem; color: #d5c7e5; font-size: .78rem; text-decoration: underline; text-underline-offset: .23rem; }
.concept-link:hover { color: #fff; }
.native-preview { position: relative; min-width: 0; min-height: 360px; align-self: stretch; margin: 38px 35px 42px 0; }
.native-preview figure { position: absolute; overflow: hidden; margin: 0; border: 1px solid #b69fdc88; border-radius: 14px; background: #131629; box-shadow: 0 22px 50px #08091290; }
.native-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-night { aspect-ratio: 9 / 16; height: 100%; right: 5%; top: 0; transform: rotate(3deg); }
.preview-day { aspect-ratio: 9 / 16; height: 81%; left: 6%; bottom: 5px; transform: rotate(-5deg); }
.native-preview figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 30px 14px 11px; background: linear-gradient(transparent, #080b1be8); color: #f5efff; font-size: .8rem; font-weight: 650; }
.preview-night figcaption { text-align: right; }
.preview-night figcaption span { display: block; margin-bottom: 3px; color: #d4c6eb; font: 500 .65rem var(--mono); letter-spacing: .08em; }
.preview-day figcaption { display: flex; justify-content: space-between; font-size: .68rem; }
.preview-label { position: absolute; right: 5%; bottom: -30px; color: #c5b4db; font: 500 .75rem/1.6 var(--mono); letter-spacing: .05em; text-align: right; }
.lead { max-width: 33ch; margin: 1.03rem 0 1.35rem; color: #d7daec; font-size: clamp(.95rem, 1.55vw, 1.12rem); }
.launch { display: inline-flex; align-items: center; gap: .65rem; min-height: 46px; padding: .65rem 1.1rem; border-radius: 8px; background: var(--lime); color: #152018; font-weight: 780; box-shadow: 0 6px 24px #b3ff7430; }
.launch:hover { background: #e8ffc6; }
.launch span { font-size: .82rem; }
.spotlight-note { margin: .8rem 0 0; color: #c4c9de; font-size: .72rem; }
.spotlight-note span { padding: 0 .16rem; color: var(--lime); }
.spotlight-art { position: relative; align-self: stretch; display: grid; place-items: center; min-width: 0; padding: 20px 60px 20px 22px; }
.finance-board { position: relative; width: min(100%, 406px); padding: clamp(15px, 2vw, 23px); border: 1px solid #94a1cc91; border-radius: 17px; background: linear-gradient(145deg,#222c48,#13192e 82%); box-shadow: 0 28px 70px #0b0c235d, inset 0 0 0 4px #ccd2ff08; transform: rotate(-6deg); }
.board-top, .board-data, .board-bottom { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.board-top { font: 680 .66rem var(--mono); letter-spacing: .085em; }
.board-top i, .award i { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: .33rem; border-radius: 8px; background: #d2ff92; color: #223325; font: 800 1rem Inter, sans-serif; }
.board-demo { border: 1px solid #7180ac; border-radius: 5px; padding: .27rem .4rem; color: #d4d9f8; font-size: .57rem; }
.board-data { margin-top: 15px; align-items: end; }
.board-data small, .award small { display: block; color: #aeb8d8; font: 650 .58rem var(--mono); letter-spacing: .075em; }
.board-data strong { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.07em; }
.board-data strong span { font-size: .63em; color: var(--lime); }
.board-up { color: var(--lime); font-size: 1.25rem; }
.chart { display: block; width: 100%; margin-block: 7px; }
.board-bottom span { flex: 1; padding: .35rem .15rem; text-align: center; background: #28314b; border-radius: 5px; color: #d5dbf3; font-size: .65rem; }
.orbit { position: absolute; border: 1px solid #d7d1ff48; border-radius: 50%; transform: rotate(-26deg); width: 99%; height: 54%; pointer-events: none; }
.orbit-two { width: 94%; height: 62%; transform: rotate(28deg); border-color: #ddd6ff22; }
.spark { position: absolute; z-index: 1; color: #edddff; font-size: clamp(1rem, 3vw, 2.2rem); }
.spark-one { top: 12%; right: 17%; }
.spark-two { bottom: 18%; left: 7%; color: var(--lime); }
.award { position: absolute; right: 9%; bottom: 16%; display: flex; align-items: center; gap: .45rem; padding: .6rem .78rem; border: 1px solid #ab95d6; border-radius: 10px; background: #322b53; transform: rotate(5deg); box-shadow: 0 10px 26px #15132988; }
.award i { background: #e1d1ff; color: #3a2d56; margin: 0; }
.award small { color: #d8c9ef; font-size: .49rem; }
.award strong { display: block; font-size: .79rem; }
.spotlight-index { position: absolute; right: 18px; bottom: 11px; color: #d0cbe5; }
.shelf { margin-top: 32px; scroll-margin-top: 1rem; }
.shelf-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; margin-bottom: 14px; }
.shelf-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #3c4869; border-radius: 9px; background: #1b2540; color: #b8c6fd; }
.games .shelf-icon { color: #e2ccff; background: #2c2142; border-color: #4f3a71; }
.shelf-heading h2 { margin: 0; font-size: 1.42rem; line-height: 1.17; letter-spacing: -.045em; }
.shelf-heading p { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.tile { --accent: #c5ccff; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; }
.tile:hover, .tile:focus-visible { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 28px #03050e9e; }
.tile.finance { --accent: var(--lime); }
.tile.estyle { --accent: #dac3ff; border-color: #9378b5; }
.tile.journal { --accent: #ffd8b7; }
.tile.cards { --accent: #ffc59b; }
.tile.hollow { --accent: #cebeff; }
.tile.trials { --accent: #a8f1ed; }
.cover { position: relative; overflow: hidden; height: clamp(115px, 15vw, 170px); }
.rank { position: absolute; z-index: 1; top: 10px; left: 10px; border: 1px solid #ffffff4a; border-radius: 5px; background: #111626e8; color: #f0f2fb; padding: .22rem .36rem; font: 600 .63rem var(--mono); }
.cover-word { position: absolute; z-index: 1; bottom: .55rem; left: .8rem; font-weight: 800; font-size: clamp(.98rem, 2vw, 1.65rem); letter-spacing: .075em; color: #fff; text-shadow: 0 2px 12px #101020; }
.finance-cover { display: grid; place-items: center; background: radial-gradient(circle at 62% 32%, #5c795d, transparent 66%), repeating-linear-gradient(135deg, #bbff9b12 0 1px, transparent 1px 22px), #222f2c; }
.finance-cover .cover-word { color: var(--lime); }
.finance-glyph { display: grid; place-items: center; width: 86px; height: 86px; border: 1px solid #d0ffa788; border-radius: 19px; background: #243b33; transform: rotate(-12deg) translate(26px,-4px); box-shadow: 0 8px 20px #101c19a6, inset 0 0 0 5px #b2ee841c; }
.finance-glyph svg { width: 53px; fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.estyle-cover { background: #18253c; }
.estyle-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.estyle-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #171022c9, transparent 65%); }
.estyle-cover .cover-word { color: #f5d9ff; text-transform: none; font-style: italic; letter-spacing: -.05em; }
.journal-cover { display: grid; place-items: center; background: radial-gradient(ellipse at 55% 43%, #b37769, #694353 75%); }
.paper-book { display: flex; width: min(64%, 220px); min-width: 152px; height: 112px; transform: rotate(-9deg); border-radius: 5px; background: #f5d9ba; color: #5b3438; box-shadow: 0 10px 18px #341e2c8c, 0 4px 0 #a57769; }
.paper-book > div { position: relative; width: 50%; padding: 11px 7px 8px 10px; overflow: hidden; }
.paper-book > div + div { background: linear-gradient(90deg, #b68268, #f1cfb0 9%); border-radius: 0 5px 5px 0; }
.paper-book small { display: block; font: 750 .41rem var(--mono); letter-spacing: .07em; }
.paper-book strong { display: block; margin: 5px 0; font: 650 .8rem/1.05 Literata, Georgia, serif; }
.paper-book i { display: block; width: 83%; height: 1px; margin-top: 10px; background: #ae786c; }
.paper-book span { position: absolute; bottom: 5px; right: 8px; color: #995351; }
@media (min-width: 681px) { .game-cover { height: auto; aspect-ratio: 3 / 2; } }
.game-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#090d1ad9, transparent 72%); }
.cards .cover { background: #3e2937; }
.cards img { object-position: 50% 40%; }
.hollow .cover { background: #252540; }
.hollow img { object-position: 50% 41%; }
.trials .cover { background: #1c3b43; }
.tile-info { flex: 1; display: flex; flex-direction: column; padding: 12px 14px 14px; }
.tile-meta { color: var(--accent); font-size: .62rem; letter-spacing: .065em; }
.tile h3 { margin: .25rem 0 .19rem; font-size: clamp(1.03rem, 2vw, 1.28rem); line-height: 1.2; letter-spacing: -.034em; }
.tile-desc { margin: 0 0 .82rem; color: var(--muted); font-size: .8rem; line-height: 1.42; }
.tile-action { margin-top: auto; padding-top: .55rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--accent); font-size: .77rem; font-weight: 680; }
.contact { margin: 34px 0; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #13182b; }
.contact .kicker { color: #c5b9fa; }
.contact h2 { margin: .21rem 0 .33rem; font-size: 1.45rem; letter-spacing: -.05em; }
.contact p:not(.kicker) { margin: 0; color: var(--muted); font-size: .84rem; }
.contact-options { display: grid; gap: .55rem; }
.contact-options a { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding: .65rem .85rem; border-radius: 8px; border: 1px solid var(--line); background: #1d2540; font-size: .84rem; font-weight: 650; }
.contact-options a:hover { border-color: var(--lime); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.1rem; padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer a { color: var(--ink); }
@media (max-width: 950px) {
  .top-inner, main, footer { width: calc(100% - 48px); }
  .spotlight-art { padding-right: 33px; }
  .native-preview { margin-right: 24px; }
  .preview-day { left: -2%; }
}
@media (max-width: 680px) {
  .top-inner, main, footer { width: calc(100% - 32px); }
  .top-inner { grid-template-columns: 1fr auto; padding: 12px 0 10px; gap: .65rem; }
  .top nav { grid-column: 1/-1; grid-row: 2; }
  .top nav a { text-align: center; flex: 1; }
  .library-heading { margin-top: 17px; }
  .library-heading p { font-size: .57rem; }
  .spotlight { grid-template-columns: 1fr; border-radius: 14px; }
  .spotlight-copy { padding: 26px 22px 0; }
  .spotlight h2 { font-size: clamp(4.2rem, 20vw, 6rem); }
  .native-preview { height: 300px; min-height: 0; margin: 20px 23px 42px 26px; }
  .preview-night { height: 100%; top: 2px; right: 4%; }
  .preview-day { height: 80%; left: 4%; bottom: 0; }
  .spotlight-art { padding: 12px 26px 25px; min-height: 165px; }
  .finance-board { max-width: 270px; transform: rotate(-4deg) scale(.88); }
  .award { bottom: 17%; }
  .spark-one { right: 12%; }
  .shelf-grid { grid-template-columns: 1fr; gap: 10px; }
  .tile { display: grid; grid-template-columns: 36% minmax(0, 1fr); }
  .cover { height: 100%; min-height: 120px; }
  .cover-word { left: .45rem; bottom: .4rem; font-size: .66rem; }
  .finance-glyph { transform: rotate(-12deg) scale(.7); }
  .paper-book { transform: rotate(-9deg) scale(.7); }
  .estyle-cover img { position: absolute; inset: 0; }
  .shelf { margin-top: 25px; }
  .shelf-heading > span { font-size: .54rem; }
  .tile-info { padding: 9px 10px; }
  .contact { grid-template-columns: 1fr; margin-block: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
