/* VScripts Release 08 — console storefront */
:root {
  --bg: #0a0b0f;
  --bg-raised: #12141b;
  --surface: rgba(255, 255, 255, .05);
  --surface-strong: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f6f3ee;
  --muted: rgba(246, 243, 238, .64);
  --dim: rgba(246, 243, 238, .42);
  --accent: #ff4b24;
  --accent-warm: #ff8a4c;
  --accent-soft: rgba(255, 75, 36, .14);
  --cream: #f7f2e8;
  --ok: #4bd68b;
  --radius: 14px;
  --radius-sm: 8px;
  --pill: 999px;
  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
kbd { font: 700 11px/1 var(--font); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--pill); background: var(--cream); color: var(--bg); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.eyebrow { color: var(--accent-warm); font: 800 12px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* Backdrop — the stage image behind header, tiles and hero */
.backdrop { position: absolute; inset: 0 0 auto; height: clamp(760px, 100vh, 980px); overflow: hidden; pointer-events: none; z-index: 0; }
.backdrop-layer { position: absolute; inset: 0; background-size: cover; background-position: 70% 30%; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.backdrop-layer.is-active { opacity: .62; transform: scale(1); }
.backdrop-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(10, 11, 15, .88) 30%, rgba(10, 11, 15, .25) 70%, rgba(10, 11, 15, .45) 100%),
  linear-gradient(180deg, rgba(10, 11, 15, .55) 0%, rgba(10, 11, 15, 0) 22%, rgba(10, 11, 15, .2) 60%, var(--bg) 100%),
  radial-gradient(60% 50% at 18% 0%, rgba(255, 75, 36, .16), transparent 70%); }
.backdrop.is-quiet .backdrop-layer.is-active { opacity: .3; }
.page-content { position: relative; z-index: 1; }

/* Announcement bar */
.announce { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: rgba(10, 11, 15, .72); backdrop-filter: blur(10px); font-size: 13px; }
.announce-inner { display: flex; align-items: center; gap: 12px; min-height: 38px; }
.announce-tag { padding: 3px 8px; border-radius: 5px; background: var(--accent); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.announce a { color: var(--cream); font-weight: 700; white-space: nowrap; }
.announce a:hover { color: var(--accent-warm); }
.announce-right { margin-left: auto; color: var(--dim); }
.announce-right b { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(10, 11, 15, .84); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-shell { display: flex; align-items: center; gap: 28px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 30px; height: 30px; }
.brand-name { font: 800 17px/1 var(--display); letter-spacing: .02em; }
.brand-name em { font-style: normal; color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { padding: 8px 12px; border-radius: var(--pill); color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.desktop-nav a:hover { color: var(--text); background: var(--surface); }
.desktop-nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--pill); background: transparent; color: var(--text); transition: background .2s; }
.icon-button:hover { background: var(--surface-strong); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-trigger { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .04); color: var(--muted); font-size: 14px; transition: border-color .2s, color .2s; }
.search-trigger:hover { border-color: var(--line-strong); color: var(--text); }
.search-trigger svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-trigger kbd { padding: 5px 7px; border-radius: 6px; background: var(--surface-strong); color: var(--muted); }
.auth-trigger { height: 40px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 700; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background .2s, border-color .2s; }
.auth-trigger:hover { background: var(--surface-strong); border-color: rgba(255, 255, 255, .3); }
.menu-trigger { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); font-size: 14px; font-weight: 600; }
.menu-trigger span { display: block; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-trigger span + span { margin-left: -22px; transform: translateY(5px); }
.menu-trigger span:first-child { transform: translateY(-3px); }
.mobile-nav { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--pill); font-size: 15px; font-weight: 700; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--cream); color: var(--bg); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 30px rgba(247, 242, 232, .16); }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: var(--line); color: var(--text); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); border-color: var(--line-strong); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #ff5f3b; box-shadow: 0 10px 30px rgba(255, 75, 36, .3); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn b { font-weight: 700; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--text); font-size: 12px; font-weight: 700; }
.chip-accent { border-color: rgba(255, 75, 36, .4); background: var(--accent-soft); color: var(--accent-warm); }
.chip-ok { border-color: rgba(75, 214, 139, .35); background: rgba(75, 214, 139, .1); color: var(--ok); }

/* Tiles — store sections as console tiles */
.tiles { display: flex; align-items: flex-start; gap: 10px; padding-top: 8px; }
.tile { position: relative; display: grid; justify-items: center; gap: 6px; flex: none; color: var(--muted); }
.tile-art { display: grid; place-items: center; width: 58px; height: 52px; border-radius: 10px; border: 1px solid var(--line); background: var(--tile-bg, rgba(255, 255, 255, .07)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.tile-art svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.tile-label { font-size: 11px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.tile-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--pill); background: var(--bg-raised); border: 1px solid var(--line-strong); color: var(--muted); font: 700 10.5px/18px var(--font); text-align: center; }
.tile:hover .tile-art { transform: translateY(-3px); border-color: var(--line-strong); }
.tile:hover { color: var(--text); }
.tile.is-active .tile-art, .tile[aria-pressed="true"] .tile-art { border: 2px solid var(--cream); box-shadow: 0 0 0 4px rgba(247, 242, 232, .12), 0 12px 30px rgba(0, 0, 0, .45); }
.tile.is-active, .tile[aria-pressed="true"] { color: var(--text); }
.tile-home .tile-art { width: 92px; height: 92px; border-radius: 14px; --tile-bg: linear-gradient(145deg, #f7f2e8, #b9b2a6); }
.tile-home .tile-art svg { width: 42px; height: 42px; stroke: var(--bg); stroke-width: 1.6; filter: none; }
.tile-home .tile-art img { width: 50px; height: 50px; }
.tile-row { display: flex; gap: 10px; }
.tiles-current { align-self: flex-end; margin: 0 0 4px 4px; font-size: 15px; font-weight: 600; }
button.tile { border: 0; background: none; padding: 0; }
.t-mlos { --tile-bg: linear-gradient(145deg, #ff8a4c, #c2360f); }
.t-all { --tile-bg: linear-gradient(145deg, #f7f2e8, #a8a196); }
.t-all svg { stroke: var(--bg); filter: none; }
.t-gameplay { --tile-bg: linear-gradient(145deg, #ff6a3d, #b4210b); }
.t-economy { --tile-bg: linear-gradient(145deg, #3ad88f, #127048); }
.t-casino { --tile-bg: linear-gradient(145deg, #ffcc4d, #c27a0c); }
.t-tools { --tile-bg: linear-gradient(145deg, #6aa8ff, #2346b8); }
.t-world { --tile-bg: linear-gradient(145deg, #b384ff, #5a2cc0); }

/* Stage — home hero */
.stage { position: relative; display: grid; align-content: start; gap: clamp(28px, 5vh, 56px); min-height: clamp(500px, 60vh, 580px); padding-top: 10px; }
.stage-copy { max-width: 600px; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.stage-copy.is-changing { opacity: 0; transform: translateY(8px); }
.stage-eyebrow { margin-bottom: 12px; }
.stage-title { font: 800 clamp(40px, 6vw, 68px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.stage-title span { color: var(--accent); }
.stage-lead { margin-top: 16px; max-width: 520px; color: var(--muted); font-size: 16.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stage .chips { margin-top: 18px; }
.stage-price { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.stage-price strong { font: 800 32px/1 var(--display); letter-spacing: -.02em; }
.stage-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(10, 11, 15, .5); color: var(--muted); font-size: 13px; }
.stage-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stage-welcome-sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.stage-welcome-sub b { color: var(--accent-warm); font-weight: 700; }
.stage-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.stage-facts div { display: grid; gap: 2px; }
.stage-facts strong { font: 800 34px/1 var(--display); letter-spacing: -.02em; }
.stage-facts span { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Shelf */
.shelf { position: relative; padding-bottom: 24px; }
.shelf-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.kbd-chip { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--pill); background: rgba(255, 255, 255, .88); color: var(--bg); }
.shelf-tab { flex: none; white-space: nowrap; height: 34px; padding: 0 16px; border: 2px solid transparent; border-radius: var(--pill); background: none; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: color .2s, border-color .2s, background .2s; }
.shelf-tab:hover { color: var(--text); }
.shelf-tab[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.shelf-track { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-card { position: relative; flex: none; width: 196px; aspect-ratio: 16 / 10.5; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); scroll-snap-align: start; outline: none; transition: transform .25s var(--ease), box-shadow .25s; }
.shelf-card img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .25s, transform .4s var(--ease); }
.shelf-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .25s; }
.shelf-card:hover img { opacity: .9; }
.shelf-card.is-selected { transform: scale(1.06); z-index: 2; box-shadow: 0 16px 36px rgba(0, 0, 0, .55), 0 0 0 4px rgba(247, 242, 232, .14); }
.shelf-card.is-selected::after { box-shadow: inset 0 0 0 2px var(--cream); }
.shelf-card.is-selected img { opacity: 1; }
.shelf-card-name { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.shelf-card.is-selected .shelf-card-name, .shelf-card:hover .shelf-card-name { opacity: 1; transform: none; }
.ribbon { position: absolute; top: 0; left: 10px; z-index: 1; padding: 6px 8px 9px; background: var(--accent); color: #fff; font: 800 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.ribbon.is-free { background: var(--ok); color: #062915; }
.ribbon.is-soon { background: var(--cream); color: var(--bg); }
.price-chip { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 4px 8px; border-radius: 6px; background: rgba(10, 11, 15, .72); backdrop-filter: blur(6px); font-size: 12px; font-weight: 800; }

/* Key hints */
.keyhints { position: fixed; left: 50%; bottom: 16px; z-index: 25; display: flex; align-items: center; gap: 18px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(10, 11, 15, .78); backdrop-filter: blur(12px); color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); transition: opacity .3s, transform .3s var(--ease); }
.keyhints.is-hidden { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.keyhints span { display: inline-flex; align-items: center; gap: 6px; }
.keyhints kbd { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: var(--pill); background: rgba(255, 255, 255, .9); color: var(--bg); font-size: 10.5px; }

/* Sections */
.section { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-title { margin-top: 12px; font: 800 clamp(32px, 4.4vw, 52px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.section-lead { max-width: 560px; margin-top: 14px; color: var(--muted); font-size: 17px; }
.inline-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-weight: 700; white-space: nowrap; }
.inline-link:hover { color: var(--accent-warm); }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy p + p { margin-top: 14px; }
.about-copy .section-lead { max-width: none; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; border: 1px solid var(--line); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 11, 15, .8)); }
.about-badge { position: absolute; left: 18px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(10, 11, 15, .7); backdrop-filter: blur(10px); }
.about-badge img { width: 34px; height: 34px; }
.about-badge strong { display: block; font-size: 14px; }
.about-badge span { color: var(--muted); font-size: 12.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.stat { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat strong { display: block; font: 800 40px/1 var(--display); letter-spacing: -.03em; }
.stat strong i { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 8px; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.point { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); transition: border-color .25s, transform .25s var(--ease); }
.point:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.point-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-warm); }
.point-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.point strong { display: block; font-size: 17px; }
.point span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; }

.creator { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-raised); }
.creator-copy { padding: clamp(28px, 5vw, 56px); display: grid; align-content: center; gap: 0; }
.creator-copy .btn { justify-self: start; margin-top: 28px; }
.creator-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.creator-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); font-size: 15px; }
.creator-list li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.creator-list strong { color: var(--text); }
.creator-media { position: relative; min-height: 380px; margin: 0; }
.creator-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creator-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg-raised), transparent 40%); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 48px); border: 1px solid rgba(255, 75, 36, .3); border-radius: 20px; background: radial-gradient(80% 140% at 100% 0%, rgba(255, 75, 36, .28), transparent 60%), var(--bg-raised); }
.cta-band .section-title { font-size: clamp(28px, 3.6vw, 42px); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, background .2s; }
.faq-list details[open] { border-color: var(--line-strong); background: rgba(255, 255, 255, .07); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-strong); font-size: 18px; font-weight: 500; transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); }

/* Footer */
.site-footer { position: relative; z-index: 1; margin-top: clamp(40px, 8vw, 100px); padding-bottom: 100px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-raised), var(--bg)); }
.community { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: -1px; padding-block: clamp(36px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.community-copy { display: flex; align-items: center; gap: 22px; }
.community-mark { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; background: #5865f2; box-shadow: 0 12px 30px rgba(88, 101, 242, .35); }
.community-mark svg { width: 34px; height: 34px; fill: #fff; }
.community h2 { font: 800 clamp(24px, 3vw, 34px)/1.05 var(--display); letter-spacing: -.02em; }
.community p { margin-top: 6px; color: var(--muted); max-width: 540px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.footer-brand p { margin-top: 14px; max-width: 320px; color: var(--muted); font-size: 14.5px; }
.footer-grid h3 { margin-bottom: 14px; color: var(--dim); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a:not(.brand) { display: block; padding: 4px 0; color: var(--muted); font-size: 14.5px; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer-bottom a:hover { color: var(--text); }

/* Catalog */
.page-hero { padding-block: clamp(20px, 4vw, 40px) 28px; }
.page-title { margin-top: 12px; font: 800 clamp(40px, 6vw, 72px)/.98 var(--display); letter-spacing: -.04em; }
.page-hero .tiles { margin-top: 30px; }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.search-field { position: relative; display: flex; align-items: center; flex: 1 1 320px; height: 50px; padding: 0 12px 0 46px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .05); transition: border-color .2s, background .2s; }
.search-field:focus-within { border-color: var(--line-strong); background: rgba(255, 255, 255, .08); }
.search-field svg { position: absolute; left: 17px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 15px; }
.search-field input::placeholder { color: var(--dim); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field kbd { padding: 6px 9px; border-radius: 7px; background: var(--surface-strong); color: var(--muted); }
.select-field { position: relative; }
.select-field select { height: 50px; padding: 0 44px 0 20px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .05); appearance: none; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.select-field select option { background: var(--bg-raised); }
.select-field::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.catalog-count { margin-left: auto; color: var(--dim); font-size: 13.5px; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.product-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 22px 44px rgba(0, 0, 0, .45); }
.product-card-media { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--surface); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px; }
.product-card-body h2 { font: 800 21px/1.1 var(--display); letter-spacing: -.02em; }
.product-card-body p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.product-card-foot strong { font: 800 20px/1 var(--display); }
.product-card-cta { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-strong); transition: background .2s, color .2s, transform .2s var(--ease); }
.product-card:hover .product-card-cta { background: var(--cream); color: var(--bg); transform: rotate(-45deg); }
.product-card.is-coming .product-card-media img { filter: grayscale(.7); }
.catalog-empty { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* Product detail */
.detail-page { padding-top: 12px; }
.back-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 600; transition: background .2s; }
.back-pill:hover { background: var(--surface-strong); }
.crumbs { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 14px; }
.detail-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 24px; }
.detail-info .stage-title { font-size: clamp(38px, 5vw, 58px); }
.detail-info .eyebrow { margin-bottom: 12px; }
.detail-lead { margin-top: 16px; color: var(--muted); font-size: 17px; }
.detail-info .chips { margin-top: 18px; }
.source-switch { display: inline-flex; gap: 4px; margin-top: 20px; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .04); }
.source-switch span { padding: 8px 18px; border-radius: var(--pill); color: var(--dim); font-size: 13.5px; font-weight: 700; }
.source-switch span.is-on { background: var(--cream); color: var(--bg); }
.source-note { margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.detail-buy { display: grid; gap: 4px; margin-top: 24px; }
.detail-price { display: flex; align-items: baseline; gap: 10px; }
.detail-price strong { font: 800 36px/1 var(--display); letter-spacing: -.02em; }
.detail-price small { color: var(--dim); font-size: 13px; }
.detail-media { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media figcaption { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.detail-media figcaption span { padding: 6px 10px; border-radius: 7px; background: rgba(10, 11, 15, .75); backdrop-filter: blur(8px); font: 700 12px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.detail-body { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: clamp(48px, 8vw, 88px); }
.summary-card { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-raised); overflow: hidden; }
.summary-card-media { position: relative; aspect-ratio: 16 / 10; }
.summary-card-media img { width: 100%; height: 100%; object-fit: cover; }
.summary-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--bg-raised)); }
.summary-card-body { position: relative; margin-top: -36px; padding: 0 20px 20px; }
.summary-card-body h2 { font: 800 24px/1.05 var(--display); }
.summary-card-body .eyebrow { margin-bottom: 6px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 18px 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(75, 214, 139, .15); color: var(--ok); font-size: 11px; font-weight: 900; }
.summary-card .btn { width: 100%; }
.detail-blocks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.detail-block { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.detail-block h2 { display: flex; align-items: center; gap: 10px; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; }
.detail-block > p { margin-top: 12px; color: var(--muted); }
.count-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-warm); font: 800 13px/1 var(--font); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.feature-grid li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 11, 15, .45); font-size: 14.5px; font-weight: 600; }
.feature-grid li::before { content: ""; display: block; width: 18px; height: 3px; margin-bottom: 10px; border-radius: 2px; background: var(--accent); }
.spec-list { display: grid; margin: 16px 0 0; padding: 0; list-style: none; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--dim); }
.spec-list b { text-align: right; }
.install-code { margin: 16px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #07080b; overflow-x: auto; color: var(--muted); font: 500 13.5px/1.9 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.install-code b { color: var(--accent); margin-right: 10px; }
.related { margin-top: clamp(56px, 8vw, 96px); }
.related h2 { margin-bottom: 22px; font: 800 30px/1 var(--display); letter-spacing: -.02em; }
.not-found { padding: 80px 0; display: grid; gap: 16px; justify-items: start; }
.not-found h1 { font: 800 56px/1 var(--display); }
.not-found p { color: var(--muted); }

/* Dialogs */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(4, 5, 8, .7); backdrop-filter: blur(6px); }
.notice-dialog, .account-dialog { width: min(480px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--bg-raised); box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.notice-dialog h2, .account-dialog h2 { margin: 10px 0 12px; font: 800 28px/1.05 var(--display); letter-spacing: -.02em; }
.notice-dialog p:not(.eyebrow) { color: var(--muted); }
.notice-dialog .btn { margin-top: 24px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-strong); font-size: 20px; line-height: 1; }
.dialog-close:hover { background: rgba(255, 255, 255, .16); }
.account-kicker { color: var(--accent-warm); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.account-copy, .account-footnote { color: var(--muted); font-size: 14.5px; }
.account-footnote { margin-top: 16px; font-size: 13px; color: var(--dim); }
.account-status { margin-top: 14px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.account-status.is-error { background: rgba(255, 75, 36, .12); color: #ffb39c; }
.account-status.is-success { background: rgba(75, 214, 139, .12); color: var(--ok); }
.account-providers { display: grid; gap: 10px; margin-top: 20px; }
.account-provider { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.account-provider.is-action:hover { border-color: var(--line-strong); background: var(--surface-strong); }
.account-provider.is-unavailable { opacity: .55; }
.account-provider strong { display: block; font-size: 15px; }
.account-provider small { color: var(--muted); font-size: 12.5px; }
.account-provider b { color: var(--muted); font-size: 13px; }
.account-provider.is-connected b { color: var(--ok); }
.provider-glyph { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #5865f2; font-weight: 800; }
.provider-glyph.cfx { background: var(--accent); }
.account-identity { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.account-identity h2 { margin: 0; }
.account-identity p { color: var(--muted); }
.account-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--accent); font-size: 22px; font-weight: 800; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-logout { display: flex; justify-content: space-between; width: 100%; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: none; color: var(--muted); font-weight: 600; }
.account-logout:hover { color: var(--text); border-color: var(--line-strong); }

.palette { width: min(640px, calc(100% - 32px)); max-height: min(560px, calc(100vh - 80px)); margin-top: 10vh; padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg-raised); box-shadow: 0 40px 90px rgba(0, 0, 0, .65); overflow: hidden; }
.palette[open] { display: flex; flex-direction: column; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette-input svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.palette-input input { flex: 1; height: 60px; border: 0; background: none; outline: none; font-size: 17px; }
.palette-input input::placeholder { color: var(--dim); }
.palette-input kbd { padding: 5px 8px; border-radius: 6px; background: var(--surface-strong); color: var(--muted); }
.palette-results { flex: 1; overflow-y: auto; padding: 8px; }
.palette-group { padding: 12px 12px 6px; color: var(--dim); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.palette-item { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 12px; }
.palette-item.is-active { background: var(--surface-strong); }
.palette-thumb { width: 52px; height: 34px; border-radius: 6px; overflow: hidden; background: var(--surface); display: grid; place-items: center; color: var(--muted); }
.palette-thumb img { width: 100%; height: 100%; object-fit: cover; }
.palette-item strong { display: block; font-size: 14.5px; }
.palette-item small { display: block; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item > span:last-child { color: var(--muted); font-size: 13px; font-weight: 700; }
.palette-empty { padding: 30px; color: var(--muted); text-align: center; }
.palette-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.palette-foot kbd { padding: 3px 6px; margin-right: 4px; border-radius: 5px; background: var(--surface-strong); color: var(--muted); }

/* Legal + checkout */
.legal { max-width: 820px; padding-block: 32px 40px; }
.legal h1 { margin: 12px 0 24px; font: 800 clamp(38px, 5vw, 56px)/1 var(--display); letter-spacing: -.03em; }
.legal h2 { margin: 34px 0 10px; font: 800 21px/1.2 var(--display); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal-warning { padding: 16px 18px; border: 1px solid rgba(255, 75, 36, .35); border-radius: 12px; background: var(--accent-soft); color: #ffc7b6 !important; }
.checkout-return { display: grid; place-items: center; min-height: 64vh; padding-block: 40px; }
.checkout-card { width: min(620px, 100%); padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line-strong); border-radius: 22px; background: rgba(18, 20, 27, .85); backdrop-filter: blur(12px); }
.checkout-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--dim); font: 700 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .1em; }
.checkout-mark img { width: 34px; }
.checkout-card h1 { margin: 10px 0 14px; font: 800 clamp(32px, 4vw, 44px)/1.02 var(--display); letter-spacing: -.03em; }
.checkout-card p:not(.eyebrow) { color: var(--muted); }
.checkout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }

/* Responsive */
@media (max-width: 1080px) {
  .points { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .detail-body { grid-template-columns: minmax(0, 1fr); }
  .summary-card { position: static; display: none; }
}
@media (max-width: 980px) {
  .desktop-nav, .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { width: 40px; padding: 0; justify-content: center; }
  .menu-trigger { display: inline-flex; }
  .mobile-nav { position: absolute; top: calc(100% + 6px); right: 0; left: 0; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(18, 20, 27, .97); backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a, .mobile-nav button { display: flex; justify-content: space-between; padding: 14px 16px; border: 0; border-radius: 12px; background: none; font-size: 16px; font-weight: 600; text-align: left; }
  .mobile-nav a:hover, .mobile-nav button:hover { background: var(--surface); }
  .keyhints { display: none; }
  .about, .creator, .faq, .detail-top { grid-template-columns: 1fr; }
  .creator-media { min-height: 240px; order: -1; }
  .creator-media::before { background: linear-gradient(0deg, var(--bg-raised), transparent 50%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band, .community { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .announce-right { display: none; }
  .announce-inner { font-size: 12.5px; gap: 8px; }
  .auth-trigger { padding: 0 14px; max-width: 130px; }
  .menu-trigger b { display: none; }
  .menu-trigger { width: 40px; padding: 0; justify-content: center; }
  .menu-trigger span + span { margin-left: -14px; }
  .brand-name { font-size: 15px; }
  .tiles { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile-home .tile-art { width: 72px; height: 72px; }
  .tiles-current { display: none; }
  .stage { min-height: 0; gap: 28px; padding-bottom: 8px; }
  .stage-actions .btn { flex: 1 1 auto; }
  .shelf-tabs { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .shelf-tab { padding: 0 12px; }
  .announce-tag { display: none; }
  .shelf-tabs .kbd-chip { display: none; }
  .shelf-card { width: 168px; }
  .stats, .points, .feature-grid, .ticks { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .catalog-count { margin-left: 0; width: 100%; }
  .select-field, .select-field select { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .community-copy { flex-direction: column; align-items: flex-start; }
  .detail-buy .btn, .stage-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Release 08.2 — key-art storefront */
:root {
  --bg: #0c0a10;
  --bg-raised: #15121a;
  --glow: radial-gradient(70% 60% at 12% 8%, rgba(255, 75, 36, .16), transparent 70%), radial-gradient(60% 50% at 92% 40%, rgba(150, 60, 190, .12), transparent 70%);
  --heat: linear-gradient(95deg, #ffb27a 0%, #ff7a45 42%, #ff4b24 72%, #ffc27a 100%);
  --condensed-stretch: 62.5%;
}
body { background: var(--glow), var(--bg); background-attachment: fixed; }

/* Backdrop runs at full strength, shaded only where text sits */
.backdrop { height: clamp(760px, 100vh, 1040px); -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.backdrop-layer { background-position: 68% 40%; }
.backdrop-layer.is-active { opacity: 1; }
.backdrop-shade { background:
  linear-gradient(90deg, rgba(12, 10, 16, .92) 0%, rgba(12, 10, 16, .66) 30%, rgba(12, 10, 16, .08) 60%, transparent 100%),
  linear-gradient(180deg, rgba(12, 10, 16, .5) 0%, transparent 18%, transparent 58%, rgba(12, 10, 16, .78) 100%); }
.backdrop.is-quiet .backdrop-layer.is-active { opacity: .46; }

.announce { background: rgba(12, 10, 16, .55); }
.btn-peach { height: 46px; padding: 0 22px; background: linear-gradient(135deg, #ffd6b8, #ffab7f); color: #1b0f0a; }
.btn-peach:hover { background: linear-gradient(135deg, #ffe4cf, #ffbd97); box-shadow: 0 12px 30px rgba(255, 138, 76, .3); }
.btn-peach b { transition: transform .2s var(--ease); }
.btn-peach:hover b { transform: translateX(4px); }

/* Home: first screen holds tiles, promo and shelf */
.home-first { display: flex; flex-direction: column; min-height: calc(100vh - 106px); padding-bottom: 72px; }
.home-first .tiles { padding-top: 0; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.tile-home .tile-art { overflow: hidden; --tile-bg: #e9e3d8; }
.tile:not(.tile-home) .tile-art { width: 62px; height: 62px; overflow: hidden; }
.t-mlos-art { padding: 0; }
.tiles-current { align-self: flex-end; margin-bottom: 2px; }
.home-first .stage-copy { max-width: 620px; margin-top: auto; padding-top: 28px; }
.home-first .shelf { margin-top: 26px; padding-bottom: 0; }

.promo { display: flex; align-items: flex-end; gap: 14px; }
.promo-num { font: 900 clamp(96px, 13vh, 136px)/.86 var(--display); font-stretch: var(--condensed-stretch); letter-spacing: -.01em; background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 28px rgba(255, 75, 36, .35)); }
.promo-side { display: grid; gap: 4px; padding-bottom: 6px; }
.promo-side span { font: 800 34px/1 var(--display); font-stretch: var(--condensed-stretch); letter-spacing: .02em; text-transform: uppercase; }
.promo-side em { padding: 5px 10px; border: 1px solid rgba(255, 178, 122, .35); border-radius: 7px; background: rgba(255, 75, 36, .14); color: #ffc9a6; font: 800 12px/1 var(--font); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.promo-kicker { margin-top: 14px; color: #ffb27a; font-size: 13.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.stage-hello { margin-top: 18px; font: 800 clamp(26px, 3vw, 34px)/1.1 var(--font); letter-spacing: -.02em; }
.home-first .stage-welcome-sub { margin-top: 8px; max-width: 520px; font-size: 16px; }
.home-first .stage-actions { margin-top: 20px; }
.stage-title { font-stretch: 100%; }

/* Shelf cards show the art at full strength */
.shelf-tab[aria-selected="true"] { border-color: #ff7a45; }
.shelf-track { gap: 14px; padding-top: 8px; padding-bottom: 14px; }
.shelf-card { width: 248px; aspect-ratio: 3 / 2; border-radius: 10px; }
.shelf-card img { opacity: 1; }
.shelf-card:hover img { transform: scale(1.04); }
.shelf-card.is-selected { box-shadow: 0 18px 40px rgba(0, 0, 0, .6), 0 0 0 4px rgba(255, 138, 76, .28), 0 0 40px rgba(255, 75, 36, .3); }
.ribbon { background: linear-gradient(180deg, #ffc27a, #ff7a45); color: #2a1206; }
.ribbon.is-soon { background: linear-gradient(180deg, #ffc27a, #ff7a45); color: #2a1206; }
.product-card { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }

/* Compact header once the first screen is left */
.home-page .site-header.is-compact, .home-page .site-header.is-compact.is-scrolled { background: none; border-color: transparent; backdrop-filter: none; pointer-events: none; }
.home-page .site-header.is-compact .brand, .home-page .site-header.is-compact .header-actions { pointer-events: auto; }
.home-page .site-header .desktop-nav, .home-page .site-header .brand-name, .home-page .site-header .search-trigger { transition: opacity .25s; }
.home-page .site-header.is-compact .desktop-nav, .home-page .site-header.is-compact .brand-name, .home-page .site-header.is-compact .search-trigger { opacity: 0; pointer-events: none; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 26; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #ffb27a, #ff5a2e); color: #1b0f0a; box-shadow: 0 12px 30px rgba(255, 75, 36, .4); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* About: full-bleed city */
.about-full { position: relative; display: grid; place-items: center; min-height: 100vh; padding-block: 90px; background: url("../img/story-skyline.webp") center 60% / cover no-repeat; text-align: center; }
.about-full::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(12, 10, 16, .55) 26%, rgba(12, 10, 16, .55) 66%, var(--bg) 100%); }
.about-inner { position: relative; max-width: 960px; }
.statement { margin-top: 18px; font: 800 clamp(26px, 3.3vw, 40px)/1.2 var(--font); letter-spacing: -.02em; background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.stat-row { display: flex; justify-content: center; gap: clamp(20px, 5vw, 56px); margin-top: 36px; }
.stat-row > div { display: grid; gap: 6px; }
.stat-row > div + div { padding-left: clamp(20px, 5vw, 56px); border-left: 1px solid var(--line-strong); }
.stat-row strong { font: 800 46px/1 var(--display); font-stretch: var(--condensed-stretch); }
.stat-row span { color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Feature cards */
.feature-cards { display: grid; gap: 20px; max-width: 980px; }
.feature-card { position: relative; display: flex; align-items: center; min-height: 340px; border-radius: 22px; overflow: hidden; background: var(--bg-raised); scroll-margin-top: 90px; }
.feature-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feature-card:hover > img { transform: scale(1.03); }
.feature-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 10, 16, .9) 0%, rgba(12, 10, 16, .62) 42%, transparent 72%); }
.feature-card.is-right::before { background: linear-gradient(270deg, rgba(12, 10, 16, .9) 0%, rgba(12, 10, 16, .62) 42%, transparent 72%); }
.feature-copy { position: relative; z-index: 2; max-width: 440px; padding: clamp(24px, 4vw, 44px); }
.feature-card.is-right .feature-copy { margin-left: auto; text-align: right; }
.feature-eyebrow { color: #ffb27a; font: 800 15px/1 var(--display); font-stretch: var(--condensed-stretch); letter-spacing: .08em; text-transform: uppercase; }
.feature-copy h2 { margin-top: 8px; font: 800 clamp(36px, 4.4vw, 50px)/1.02 var(--display); font-stretch: var(--condensed-stretch); letter-spacing: 0; }
.feature-copy > p:not(.feature-eyebrow) { margin-top: 12px; color: rgba(246, 243, 238, .84); font-size: 15px; }
.feature-copy .btn { margin-top: 20px; }

/* FAQ panel */
.faq-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 40px); max-width: 980px; margin-inline: auto; align-items: start; }
.faq-title { margin-top: 8px; font: 800 clamp(40px, 5vw, 56px)/1 var(--display); font-stretch: var(--condensed-stretch); letter-spacing: 0; background: linear-gradient(120deg, #fff, #ffc9a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.faq-tabs { display: grid; margin-top: 20px; }
.faq-tabs button { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 13px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--muted); font-size: 14.5px; font-weight: 700; text-align: left; transition: color .2s; }
.faq-tabs button:last-child { border-bottom: 1px solid var(--line); }
.faq-tabs button i { color: var(--dim); font: 800 15px/1 var(--display); font-stretch: var(--condensed-stretch); font-style: normal; }
.faq-tabs button:hover { color: var(--text); }
.faq-tabs button[aria-selected="true"] { color: var(--text); }
.faq-tabs button[aria-selected="true"] i { color: #ffb27a; }
.faq-tabs button[aria-selected="true"]::after { content: ""; order: -1; align-self: center; width: 8px; height: 2px; margin-right: -6px; background: #ffb27a; }
.faq-card { position: relative; min-height: 300px; display: flex; flex-direction: column; padding: 32px 30px 28px; border: 1px solid var(--line-strong); border-radius: 22px; background: radial-gradient(90% 80% at 80% 0%, rgba(255, 75, 36, .14), transparent 70%), rgba(255, 255, 255, .04); overflow: hidden; }
.faq-ghost { position: absolute; top: 10px; right: 26px; color: rgba(255, 255, 255, .055); font: 900 104px/1 var(--display); font-stretch: var(--condensed-stretch); }
.faq-card h3 { position: relative; max-width: 76%; font: 800 22px/1.2 var(--font); letter-spacing: -.01em; }
.faq-card > p[data-faq-answer] { position: relative; margin-top: 12px; color: var(--muted); }
.faq-more { margin-top: auto; padding-top: 24px; color: var(--dim); font-size: 13.5px; }
.faq-more a { color: #ffb27a; font-weight: 700; }
.faq-mark { position: absolute; right: 26px; bottom: 22px; width: 40px; height: 40px; opacity: .22; }

/* Footer */
.site-footer { margin-top: clamp(30px, 6vw, 70px); padding-bottom: 60px; border-top: 0; background: none; }
.footer-center { display: grid; justify-items: center; gap: 20px; text-align: center; }
.footer-mark { width: 56px; height: 56px; }
.footer-thanks { font-size: 19px; font-weight: 600; }
.footer-thanks b { position: relative; color: #ffb27a; font-weight: 800; }
.footer-thanks svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 10px; fill: none; stroke: #ffb27a; stroke-width: 1.6; stroke-linecap: round; }
.discord-pill { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; width: min(760px, 100%); margin-top: 16px; padding: 22px 34px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .03); text-align: left; transition: border-color .2s, background .2s; }
.discord-pill:hover { border-color: rgba(255, 138, 76, .6); background: rgba(255, 138, 76, .08); }
.discord-pill strong { font: 800 16px/1 var(--font); letter-spacing: .02em; }
.discord-pill span { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links a { color: #e3c8b6; font-size: 14.5px; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-legal { max-width: 560px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

@media (max-width: 980px) {
  .faq-panel { grid-template-columns: minmax(0, 1fr); }
  .home-first { min-height: 0; }
  .discord-pill { grid-template-columns: 1fr; gap: 8px; padding: 20px 26px; border-radius: 24px; }
}
@media (max-width: 640px) {
  .feature-card { min-height: 420px; align-items: flex-end; }
  .feature-card::before, .feature-card.is-right::before { background: linear-gradient(0deg, rgba(12, 10, 16, .94) 10%, rgba(12, 10, 16, .55) 55%, transparent 90%); }
  .feature-card.is-right .feature-copy { margin-left: 0; text-align: left; }
  .stat-row { flex-direction: column; gap: 18px; align-items: center; }
  .stat-row > div + div { padding-left: 0; border-left: 0; }
  .shelf-card { width: 208px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
.product-card.is-coming .product-card-media img { filter: none; }
.stage-copy .chips { margin-top: 14px; }

/* Home tile fills its frame; the section label sits under it */
.tile-home .tile-art img { width: 100%; height: 100%; }
#storeTiles { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; }
#storeTiles .tile-home { grid-column: 1; grid-row: 1; }
#storeTiles .tile-row { grid-column: 2; grid-row: 1; }
#storeTiles .tiles-current { display: block; grid-column: 1; grid-row: 2; justify-self: center; align-self: start; margin: 0; font-size: 14px; font-weight: 700; }
.t-scripts { --tile-bg: linear-gradient(145deg, #a78bfa, #5b21b6); }

.desktop-nav a { white-space: nowrap; }
.auth-trigger { flex: none; max-width: 180px; }
.currency-select { flex: none; height: 40px; padding: 0 28px 0 13px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23f7f2e8' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center / 10px 6px; color: var(--text); font: 700 13px var(--body, inherit); appearance: none; cursor: pointer; transition: border-color .2s; }
.currency-select:hover { border-color: var(--line-strong); }
.currency-select option { background: #15121a; color: #f7f2e8; }
@media (max-width: 640px) {
  .currency-select { padding: 0 24px 0 10px; background-position: right 8px center; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
  .header-actions { gap: 6px; }
}
@media (max-width: 1240px) {
  .nav-shell { gap: 14px; }
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding: 8px 9px; font-size: 14px; }
  .search-trigger { width: 40px; padding: 0; justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
}

/* Product gallery + capabilities */
.gallery-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(12, 10, 16, .78); color: #fff; font-size: 26px; line-height: 1; transform: translateY(-50%); transition: background .2s; }
.gallery-arrow:hover { background: rgba(255, 138, 76, .85); }
.gallery-arrow.is-prev { left: 12px; }
.gallery-arrow.is-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 22px; padding: 6px 2px 10px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumb { flex: none; display: grid; gap: 6px; width: 172px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12.5px; font-weight: 700; text-align: left; }
.gallery-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 2px solid transparent; border-radius: 10px; opacity: .72; transition: opacity .2s, border-color .2s; }
.gallery-thumb:hover img { opacity: 1; }
.gallery-thumb[aria-pressed="true"] { color: var(--text); }
.gallery-thumb[aria-pressed="true"] img { border-color: #ff8a4c; opacity: 1; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.capability { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 10, 16, .55); }
.capability:last-child:nth-child(odd) { grid-column: 1 / -1; }
.capability img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.capability:last-child:nth-child(odd) img { aspect-ratio: 21 / 9; }
.capability > div { padding: 16px 18px 18px; }
.capability h3 { font: 800 19px/1.15 var(--display); }
.capability p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.capability ul { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.capability li { position: relative; padding-left: 16px; }
.capability li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #ff8a4c; }
@media (max-width: 640px) {
  .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .capability:last-child:nth-child(odd) img { aspect-ratio: 16 / 10; }
  .gallery-thumb { width: 132px; }
}

/* Page intro */
.intro { display: none; position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; }
html.intro-play .intro { display: block; animation: intro-done .01s linear 2.2s forwards; }
.intro-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #07060a; will-change: transform; }
.intro-panel.is-top { top: 0; animation: intro-open-top .85s cubic-bezier(.76, 0, .24, 1) 1.3s forwards; }
.intro-panel.is-bottom { bottom: 0; animation: intro-open-bottom .85s cubic-bezier(.76, 0, .24, 1) 1.3s forwards; }
.intro-seam { position: absolute; top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, #ff4b24 18%, #ffb27a 42%, #fff6ea 50%, #ffb27a 58%, #ff4b24 82%, transparent); box-shadow: 0 0 18px 2px rgba(255, 110, 50, .75); opacity: 0; transform: scaleX(0); animation: intro-seam .75s cubic-bezier(.3, 0, .2, 1) .95s forwards; }
.intro-glow { position: absolute; top: 50%; left: 50%; width: min(90vw, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 75, 36, .32), rgba(255, 75, 36, .08) 42%, transparent 70%); opacity: 0; transform: translate(-50%, -50%) scale(.6); animation: intro-glow 1.75s ease-out .2s forwards; }
.intro-logo { position: absolute; top: 50%; left: 50%; width: min(52vw, 290px); aspect-ratio: 1; transform: translate(-50%, -50%); animation: intro-logo-out .78s cubic-bezier(.55, 0, .45, 1) 1.25s forwards; }
.intro-logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 42%, #fff 50%, transparent 58%) 130% 0 / 300% 100% no-repeat; -webkit-mask: url("../img/vscripts-intro-mark.png") center / contain no-repeat; mask: url("../img/vscripts-intro-mark.png") center / contain no-repeat; animation: intro-sheen .55s ease-in-out .72s forwards; }
.intro-part { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.intro-part.is-left { transform: translate(-46%, -34%); animation: intro-part .68s cubic-bezier(.16, 1, .3, 1) .08s forwards; }
.intro-part.is-right { transform: translate(46%, -34%); animation: intro-part .68s cubic-bezier(.16, 1, .3, 1) .08s forwards; }
@keyframes intro-part { to { opacity: 1; transform: none; } }
@keyframes intro-sheen { to { background-position: -30% 0; } }
@keyframes intro-glow { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 45% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.7); } }
@keyframes intro-seam { 0% { opacity: 0; transform: scaleX(0); } 45% { opacity: 1; transform: scaleX(1); } 62% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes intro-open-top { to { transform: translateY(-101%); } }
@keyframes intro-open-bottom { to { transform: translateY(101%); } }
@keyframes intro-logo-out { to { opacity: 0; transform: translate(-50%, -50%) scale(.08); } }
@keyframes intro-done { to { visibility: hidden; } }

/* Subscription */
.sub-hero { padding-top: clamp(40px, 8vw, 110px); }
.sub-hero .page-title { font-size: clamp(48px, 8vw, 96px); }
.sub-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sub-facts .chip { height: 32px; padding: 0 14px; border-radius: var(--pill); background: rgba(10, 8, 14, .55); backdrop-filter: blur(8px); }
/* Tier colours: Scripts gold, All Access VScripts heat, MLOs platinum */
.sub-tier { --tier: #f2b33d; --tier-soft: rgba(242, 179, 61, .14); --tier-glow: rgba(242, 179, 61, .16); --tier-ink: linear-gradient(180deg, #fff3c4 10%, #f7c548 55%, #c98a12); --tier-bg: #1d150a; }
.sub-tier.t-all { --tier: #ff6a3d; --tier-soft: rgba(255, 106, 61, .16); --tier-glow: rgba(255, 75, 36, .3); --tier-ink: linear-gradient(180deg, #fff1e4 8%, #ffb27a 45%, #ff4b24); --tier-bg: #221009; }
.sub-tier.t-mlos { --tier: #e9e4da; --tier-soft: rgba(233, 228, 218, .12); --tier-glow: rgba(233, 228, 218, .12); --tier-ink: linear-gradient(180deg, #ffffff 15%, #e7e1d6 55%, #9c968c); --tier-bg: #16151a; }
.sub-tiers { display: grid; grid-template-columns: 1fr 1.08fr 1fr; align-items: center; gap: 22px; margin-top: 34px; }
.sub-tier { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 6px; border: 1px solid color-mix(in srgb, var(--tier) 45%, transparent); border-radius: 22px; background: radial-gradient(120% 60% at 50% 100%, var(--tier-glow), transparent 70%), linear-gradient(180deg, var(--tier-bg), #0d0b10 70%); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.sub-tier.is-featured { border-width: 2px; border-color: var(--tier); box-shadow: 0 0 0 4px rgba(255, 75, 36, .12), 0 30px 90px var(--tier-glow); }
.sub-badge { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--pill); background: rgba(10, 8, 12, .82); color: #fff; font: 800 13px/1 var(--font); backdrop-filter: blur(6px); }
.sub-badge svg { width: 15px; height: 15px; fill: var(--tier); }
.sub-tier-art { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 17px; }
.sub-tier-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sub-tier:hover .sub-tier-art img { transform: scale(1.04); }
.sub-tier-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 6, 10, .45), transparent 45%, transparent 75%, rgba(8, 6, 10, .55)); }
.sub-tier-art strong { position: absolute; inset: 9% 0 auto; z-index: 1; display: grid; justify-items: center; text-align: center; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .7)); }
.sub-tier-art strong span { padding: 0 .12em; background: var(--tier-ink); -webkit-background-clip: text; background-clip: text; color: transparent; font: 400 clamp(56px, 6.4vw, 88px)/.95 "Yellowtail", cursive; transform: rotate(-6deg); }
.sub-tier-art small { margin-top: -.1em; background: var(--tier-ink); -webkit-background-clip: text; background-clip: text; color: transparent; font: 900 clamp(26px, 2.6vw, 36px)/1 var(--display); font-stretch: var(--condensed-stretch, 75%); letter-spacing: .06em; text-transform: uppercase; }
.sub-tier.is-featured .sub-tier-art small::before, .sub-tier.is-featured .sub-tier-art small::after { content: ""; display: inline-block; width: 1.4em; height: 3px; margin: 0 .35em; vertical-align: middle; background: var(--tier); -webkit-background-clip: border-box; background-clip: border-box; }
.sub-tier-body { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 14px; }
.sub-tier-line { color: var(--tier); font-size: 14px; font-weight: 700; }
.sub-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.sub-price b { font: 800 clamp(34px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.sub-price span { color: var(--muted); font-size: 15px; }
.sub-price em, .sub-options em { align-self: center; padding: 3px 7px; border-radius: 6px; background: #ffc83d; color: #1a1206; font: 800 11px/1.2 var(--font); font-style: normal; }
.sub-billed { margin-top: 6px; color: var(--dim); font-size: 13px; }
.sub-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.sub-options button { display: grid; gap: 4px; padding: 10px 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--text); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.sub-options button:hover { border-color: var(--tier); }
.sub-options button span { display: flex; align-items: center; justify-content: space-between; gap: 6px; font: 800 14px var(--font); }
.sub-options small { color: var(--muted); font-size: 12px; }
.sub-options button[aria-checked="true"] { border-color: transparent; background: var(--heat, var(--tier)); color: #1a0d08; }
.sub-options button[aria-checked="true"] small { color: rgba(26, 13, 8, .75); }
.sub-options button[aria-checked="true"] em { background: #1a0d08; color: #fff; }
.sub-perks { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; }
.sub-perks li { position: relative; padding-left: 32px; color: var(--muted); font-size: 14px; }
.sub-perks li::before { content: ""; position: absolute; left: 0; top: -1px; width: 21px; height: 21px; border-radius: 50%; background: var(--tier-soft); }
.sub-perks li::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 9px; border: solid var(--tier); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sub-worth { margin-top: 18px; color: var(--dim); font-size: 13px; }
.sub-worth b { color: var(--tier); }
.sub-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 26px; }
.sub-subscribe { width: 100%; height: 46px; background: #cfcac2; color: #111; }
.sub-subscribe:hover { background: #fff; }
.sub-tier.is-featured .sub-subscribe { height: 50px; background: #fff; }
.sub-see { display: flex; align-items: center; justify-content: center; height: 42px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .02); color: var(--text); font-size: 13px; font-weight: 700; }
.sub-see:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .06); }
.sub-note { margin-top: 22px; color: var(--dim); font-size: 13px; text-align: center; }
.sub-included { padding-top: clamp(70px, 10vw, 130px); }
.sub-browser { display: grid; grid-template-columns: 220px 1fr; align-items: start; gap: 22px; margin-top: 30px; }
.sub-filter { position: sticky; top: 90px; display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.sub-filter button { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--muted); font: 700 14px var(--font); cursor: pointer; }
.sub-filter button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.sub-filter button[aria-pressed="true"] { border-color: rgba(255, 138, 76, .4); background: var(--accent-soft); color: var(--text); }
.sub-filter b { color: var(--dim); font-size: 12px; }
.sub-faq { padding-block: clamp(70px, 10vw, 120px); }
.sub-faq-list { display: grid; gap: 10px; max-width: 820px; margin-top: 26px; }
.sub-faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.sub-faq-list summary { padding: 18px 20px; font-weight: 700; cursor: pointer; }
.sub-faq-list details[open] summary { color: var(--accent-warm); }
.sub-faq-list p { padding: 0 20px 18px; color: var(--muted); }
@media (max-width: 1080px) {
  .sub-options { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .sub-tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .sub-tier.is-featured { order: -1; }
  .sub-options { grid-template-columns: repeat(3, 1fr); }
  .sub-browser { grid-template-columns: 1fr; }
  .sub-filter { position: static; display: flex; overflow-x: auto; }
  .sub-filter button { flex: none; gap: 10px; }
}
@media (max-width: 420px) {
  .sub-options { gap: 6px; }
  .sub-options button { padding: 9px 8px; }
  .sub-options button span { flex-wrap: wrap; font-size: 13px; }
}
