/* =====================================================================
   KHAIEL — Roblox growth studio
   Roblox-native look: the Roblox app's dark-theme greys, the green Play button,
   game windows, chat, leaderboards and game tiles. Montserrat stands in for Gotham.
   Mobile-first. Breakpoints: 760px, 1000px, 1200px.
   ===================================================================== */

:root {
  --bg: #111214;
  --bg-2: #17181b;
  --card: #1e2023;
  --card-2: #26282c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-2: #bdbec1;
  --text-3: #8c8f94;
  --green: #00b06f;
  --green-hi: #12d68b;
  --green-rgb: 0, 176, 111;
  --red: #ff5a4a;
  --red-rgb: 255, 90, 74;
  --gold: #ffc83d;
  --silver: #c7d0da;
  --bronze: #e0915a;
  --blue: #3b7bff;
  --orange: #f68802;
  --caution: #ffd60a;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 64px;
  --gutter: clamp(18px, 5vw, 48px);
  --maxw: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 1000px) { :root { --header-h: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1000px) { body { font-size: 1.0625rem; } }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(44px, 5.2vw, 66px); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 900; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-hi);
}
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--green-hi); transform: rotate(-8deg); }
.sub { margin-top: 16px; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--text-2); text-wrap: pretty; }
.head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.head--center { margin-inline: auto; text-align: center; }
.opt { margin-left: 6px; font-size: 0.76rem; font-weight: 600; color: var(--text-3); }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--play { fill: currentColor; stroke: none; width: 1.15em; height: 1.15em; }

/* ---------- buttons (Roblox-style chunky rounded rects) ---------- */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.btn:active { transform: translateY(2px); }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), 0 10px 28px -10px rgba(var(--green-rgb), 0.75);
}
.btn--primary:active { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22), 0 6px 18px -10px rgba(var(--green-rgb), 0.75); }
.btn--primary .i:not(.i--play) { transition: transform 0.3s var(--ease); }
.btn--ghost { background: var(--card-2); color: var(--text); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), inset 0 0 0 1px var(--line); }
.btn--quiet { background: transparent; color: var(--text-2); padding-inline: 12px; }
@media (hover: hover) {
  .btn--primary:hover { background: #00c27a; transform: translateY(-2px); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), 0 16px 36px -10px rgba(var(--green-rgb), 0.9); }
  .btn--primary:hover .i:not(.i--play) { transform: translateX(3px); }
  .btn--ghost:hover { background: #303338; }
  .btn--quiet:hover { color: var(--text); }
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--line-2);
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: var(--green-hi); border-color: var(--green-hi); }

/* ---------- presence & live dots (Roblox colors) ---------- */
.presence { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.22); }
.live { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-hi); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--red { background: var(--red); box-shadow: 0 0 10px var(--red); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.header.is-scrolled, .header.is-open { background: rgba(17, 18, 20, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 900; font-size: 1.08rem; letter-spacing: 0.04em; }
.logo__mark { width: 28px; height: 28px; color: var(--green); transition: transform 0.4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.05); }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 0.94rem; font-weight: 700; color: var(--text-2); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.nav a:hover, .nav a.is-current { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.header__cta { display: none; }
.menu-btn { position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--text); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; display: flex; flex-direction: column; gap: 28px; padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: rgba(17, 18, 20, 0.98); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 18px 2px; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; text-decoration: none; animation: rise 0.45s var(--ease) both; }
.menu nav a:nth-child(2) { animation-delay: 0.04s; }
.menu nav a:nth-child(3) { animation-delay: 0.08s; }
.menu nav a:nth-child(4) { animation-delay: 0.12s; }
.menu nav a:nth-child(5) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (min-width: 1000px) {
  .nav, .header__cta { display: inline-flex; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(24px, 4vh, 48px) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 60% at 78% 45%, rgba(var(--green-rgb), 0.10), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 90%, rgba(255, 140, 60, 0.07), transparent 70%);
}
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__copy { max-width: 620px; }
.creator { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: background-color 0.2s; }
.creator:hover { background: var(--card-2); }
.creator__avatar, .profile__avatar { position: relative; display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: #2d2f33; }
.creator__avatar { width: 40px; height: 40px; }
.creator__avatar img, .profile__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creator__text { display: grid; line-height: 1.25; }
.creator__text b { font-size: 0.95rem; font-weight: 800; }
.creator__text span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.creator__text .presence { width: 7px; height: 7px; box-shadow: 0 0 0 2px rgba(var(--green-rgb), 0.25); }
.hero__title { font-size: clamp(2.5rem, 10vw, 4.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; }
.hero__title span { display: block; color: var(--green-hi); }
.hero__lede { margin-top: 20px; max-width: 33rem; font-size: clamp(1.04rem, 1.6vw, 1.18rem); color: var(--text-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 0.9rem; font-weight: 600; color: var(--text-2); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before {
  content: "";
  width: 18px; height: 18px; flex: none; border-radius: 6px;
  background: rgba(var(--green-rgb), 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.6l4.5-5' fill='none' stroke='%2312d68b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.assure--center { justify-content: center; margin-top: 28px; }
.js .hero-in { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 80ms); }

/* live showcase: the real games, straight from Roblox */
.livecard {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(var(--green-rgb), 0.35);
}
.live__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.live__badge { display: inline-flex; align-items: center; gap: 9px; padding: 5px 11px 5px 10px; border-radius: 8px; background: rgba(var(--green-rgb), 0.14); color: var(--green-hi); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.live__updated { font-size: 0.76rem; font-weight: 600; color: var(--text-3); }
.live__count { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 14px; }
.live__count b { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; color: var(--green-hi); font-variant-numeric: tabular-nums; }
.live__count span { max-width: 16rem; font-size: 0.92rem; font-weight: 700; line-height: 1.3; color: var(--text-2); }
.live__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #0d0e10; box-shadow: 0 0 0 1px var(--line); }
.slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; text-decoration: none; transition: opacity 0.8s var(--ease), visibility 0.8s; }
.slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.slide__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 7s linear; }
.slide.is-on .slide__img { transform: scale(1); }
.slide__info { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 48px 14px 12px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88)); }
.slide__icon { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18); }
.slide__name { min-width: 0; }
.slide__name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.slide__name small { display: block; font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.slide__stat { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.6); color: var(--green-hi); font-size: 0.86rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slide__stat .live::after { display: none; }
@media (hover: hover) { .slide:hover .slide__name b { color: var(--green-hi); } }
@media (max-width: 559px) {
  .slide__info { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "icon name" "icon stat"; gap: 4px 10px; padding: 34px 12px 10px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.9)); }
  .slide__icon { grid-area: icon; width: 40px; height: 40px; }
  .slide__name { grid-area: name; }
  .slide__name b { font-size: 0.92rem; }
  .slide__name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.72rem; }
  .slide__stat { grid-area: stat; justify-self: start; padding: 2px 8px; font-size: 0.76rem; }
}
.live__strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.live__strip button { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; overflow: hidden; border-radius: 10px; background: var(--card-2); box-shadow: 0 0 0 1px var(--line); opacity: 0.5; cursor: pointer; transition: opacity 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; -webkit-tap-highlight-color: transparent; }
.live__strip button img { width: 100%; height: 100%; object-fit: cover; }
.live__strip button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--green-hi); }
.live__strip button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--green-hi); }
.live__strip button.is-on::after { animation: progress var(--dur, 5s) linear forwards; }
.livecard.is-paused .live__strip button.is-on::after { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
@media (hover: hover) { .live__strip button:hover { opacity: 1; transform: translateY(-2px); } }
@media (min-width: 760px) { .hero__grid > .livecard { width: 640px; max-width: 100%; justify-self: center; } }
@media (min-width: 1200px) {
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; }
  .hero__grid > .livecard { width: auto; justify-self: stretch; padding: 22px; }
}

/* ---------- my games ---------- */
.games { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.games__grid { display: grid; gap: 36px; align-items: start; }
.profile { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.profile__avatar { width: 96px; height: 96px; overflow: visible; box-shadow: 0 0 0 4px var(--card), 0 0 0 6px var(--green); }
.profile__avatar img { border-radius: 50%; }
.presence--lg { position: absolute; right: 2px; bottom: 4px; width: 20px; height: 20px; border: 4px solid var(--bg-2); box-shadow: none; }
.profile .eyebrow { margin-bottom: 8px; }
.profile h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.games__bio { max-width: 34rem; color: var(--text-2); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 22px; }
.stat { --acc: 255, 255, 255; position: relative; isolation: isolate; display: grid; gap: 2px; padding: 16px 16px 14px; overflow: hidden; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(var(--acc), 0.16), inset 0 -3px 0 rgba(0, 0, 0, 0.25); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.stat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 100% at 0% 0%, rgba(var(--acc), 0.13), transparent 62%); transition: opacity 0.3s; }
.stat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 38%, rgba(var(--acc), 0.1) 50%, transparent 62%); transform: translateX(-120%); }
.stats.is-counted .stat::after { animation: stat-sheen 1.3s var(--ease) both; animation-delay: calc(var(--n, 0) * 120ms); }
@keyframes stat-sheen { to { transform: translateX(120%); } }
.stat__label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; color: var(--text-3); }
.stat__num { font-size: clamp(1.9rem, 3.8vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; color: rgb(var(--acc)); text-shadow: 0 0 18px rgba(var(--acc), 0.5), 0 0 44px rgba(var(--acc), 0.28); }
.stat__sub { font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.stat[data-stat-for="visits"] { --acc: 236, 240, 255; }
.stat[data-stat-for="peak"] { --acc: 255, 200, 61; }
.stat[data-stat-for="playing"] { --acc: 18, 214, 139; }
.stat[data-stat-for="count"] { --acc: 130, 170, 255; }
.stat[data-stat-for="visits"] .stat__num { text-shadow: 0 0 18px rgba(var(--acc), 0.32), 0 0 44px rgba(var(--acc), 0.16); }
@media (hover: hover) {
  .stat:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(var(--acc), 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 18px 40px -22px rgba(var(--acc), 0.6); }
  .stat:hover .stat__num { text-shadow: 0 0 22px rgba(var(--acc), 0.7), 0 0 60px rgba(var(--acc), 0.4); }
}

/* leaderboard, styled after the in-game player list */
.board { position: relative; overflow: hidden; border-radius: 18px; background: rgba(30, 32, 35, 0.92); box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -50px rgba(0, 0, 0, 0.9); }
.board__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line); }
.board__title { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1rem; }
.board__title svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.board__cols { display: flex; gap: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.board__cols span { width: 72px; text-align: right; }
.board__rows { margin: 0; padding: 6px; list-style: none; }
.row { position: relative; border-radius: 12px; animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.row::before { content: ""; position: absolute; inset: 4px auto 4px 4px; width: calc(var(--share, 0) * (100% - 8px)); border-radius: 9px; background: linear-gradient(90deg, rgba(var(--green-rgb), 0.16), rgba(var(--green-rgb), 0.02)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) calc(var(--i) * 90ms + 200ms); }
.board.is-in .row::before { transform: scaleX(1); }
.row__link { position: relative; display: grid; grid-template-columns: 26px 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: background-color 0.2s; }
.row__link:hover, .row.is-hot .row__link { background: rgba(255, 255, 255, 0.05); }
.row__rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); font-size: 0.82rem; font-weight: 900; color: var(--text-2); }
.row:nth-child(1) .row__rank { background: var(--gold); color: #3a2a00; }
.row:nth-child(2) .row__rank { background: var(--silver); color: #23282e; }
.row:nth-child(3) .row__rank { background: var(--bronze); color: #3a1d08; }
.row__icon { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--card-2); box-shadow: 0 0 0 1px var(--line); }
.row__name { min-width: 0; display: grid; gap: 2px; }
.row__name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 0.98rem; }
.row__name small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.row__name small span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.row__name .live { width: 7px; height: 7px; }
.row__name .live::after { display: none; }
.row__stats { display: flex; font-variant-numeric: tabular-nums; }
.row__stats span { width: 72px; text-align: right; font-weight: 800; font-size: 0.95rem; }
.row__stats span + span { color: var(--gold); }
.row__stats .is-live { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--green-hi); }
.row__stats .is-live .live { width: 7px; height: 7px; }
.row:nth-child(n+2) .row__stats .is-live .live::after { display: none; }
.row__studio { overflow: hidden; text-overflow: ellipsis; color: var(--text-3); }


.board__foot { padding: 12px 18px 16px; font-size: 0.8rem; font-weight: 600; color: var(--text-3); border-top: 1px solid var(--line); }
.board__example { order: -1; padding: 7px 18px; background: var(--caution); color: #1c1700; font-size: 0.74rem; font-weight: 800; text-align: center; }
.board__example code { font-size: inherit; }
.board { display: flex; flex-direction: column; }
.board__head { order: -2; }
@media (max-width: 480px) {
  .row__link { grid-template-columns: 22px 42px minmax(0, 1fr) auto; gap: 10px; padding: 9px 8px; }
  .row__icon { width: 42px; height: 42px; }
  .row__stats { flex-direction: column; align-items: flex-end; gap: 3px; }
  .row__stats span { width: auto; font-size: 0.9rem; line-height: 1.1; }
  .board__cols { display: none; }
  .row__name b { line-height: 1.25; font-size: 0.92rem; }
  .row__name small { gap: 2px 8px; font-size: 0.72rem; }
  .board__cols span { width: 58px; }
}
@media (min-width: 1000px) {
  .games__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
  .board { position: sticky; top: calc(var(--header-h) + 24px); }
}
/* live site with no real games yet: show the intro on its own */
.games.is-intro-only .games__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.games.is-intro-only .stats, .games.is-intro-only .board { display: none; }

/* ---------- how it works ---------- */
.how .head { max-width: 900px; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 22px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.step__n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 900; font-size: 1.15rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22); }
.step p { grid-column: 2; margin-top: 6px; color: var(--text-2); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .step { display: block; padding: 28px 26px; }
  .step__n { margin-bottom: 20px; }
  .step p { margin-top: 10px; }
}
/* ---------- small print under the services ---------- */
.pricing__note { margin-top: 28px; text-align: center; color: var(--text-2); }
.pricing__note a { color: var(--text); font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--green); }
.pricing__note a:hover { color: var(--green-hi); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 8px; }
.qa-list { display: grid; gap: 8px; }
.qa { border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.qa h3 { margin: 0; }
.qa button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 18px 18px 18px 20px; border: 0; background: none; text-align: left; font-size: 1.02rem; font-weight: 800; line-height: 1.35; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.qa button i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); transition: transform 0.45s var(--ease), background-color 0.25s; }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; border-radius: 2px; background: currentColor; }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded="true"] i { transform: rotate(45deg); background: var(--green); color: #fff; }
@media (hover: hover) { .qa button:hover { color: var(--green-hi); } }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa.is-open .qa__a, .no-js .qa__a { grid-template-rows: 1fr; }
.qa__a p { padding: 0 60px 20px 20px; color: var(--text-2); }
@media (min-width: 1000px) {
  .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .faq__grid .head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- send ---------- */
.send { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(80px, 10vw, 130px); overflow: hidden; isolation: isolate; }
.send__head { position: relative; max-width: 680px; scroll-margin-top: 24px; margin: clamp(-48px, -3vw, -16px) auto 32px; text-align: center; }
.send__head h2 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.035em; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); }
.send__card { position: relative; max-width: 680px; margin: 0 auto; padding: 26px 20px 22px; border-radius: 20px; background: rgba(30, 32, 35, 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line-2), 0 60px 120px -50px rgba(0, 0, 0, 0.9); }
@media (min-width: 760px) { .send__card { padding: 34px 38px 30px; } }
/* one question per screen, with a progress bar on top */
.form__top { display: grid; gap: 10px; margin-bottom: 22px; }
.form__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.form__steps li { display: grid; gap: 8px; font-size: 0.8rem; font-weight: 800; color: var(--text-3); transition: color 0.3s; }
.form__steps li i { position: relative; height: 5px; overflow: hidden; border-radius: 3px; background: var(--line-2); }
.form__steps li i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green-hi); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.form__steps li.is-on i::after, .form__steps li.is-done i::after { transform: scaleX(1); }
.form__steps li.is-done i::after { background: rgba(var(--green-rgb), 0.6); }
.form__steps li.is-on { color: var(--text); }
.form__count { display: none; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.form__body { position: relative; transition: height 0.45s var(--ease); }
.fstep { margin: 0; padding: 0; border: 0; min-width: 0; }
.js .fstep:not(.is-on) { display: none; }
.js .fstep.is-on { animation: step-in 0.45s var(--ease) both; }
.js .form.is-back .fstep.is-on { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(26px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-26px); } }
.no-js .fstep + .fstep { margin-top: 32px; }
.fstep__q { float: none; display: block; width: 100%; margin: 0 0 6px; padding: 0; font-size: clamp(1.4rem, 4.8vw, 1.7rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; }
.fstep__sub { margin-bottom: 18px; font-size: 0.92rem; font-weight: 600; color: var(--text-3); }
.fstep__sub b { margin-left: 4px; color: var(--green-hi); font-weight: 800; }
.fstep__q + .seg { margin-top: 14px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label, .label { font-size: 0.96rem; font-weight: 800; }
.field__hint { font-size: 0.84rem; font-weight: 600; color: var(--text-3); }
.field__hint.is-ok { color: var(--green-hi); }
.field__hint.is-warn { color: #ff9b8f; }
input[type="text"], input[type="url"], input[type="email"], input:not([type]), textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 0; border-radius: 12px;
  background: #141518; box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text); font-family: var(--font); font-size: 1rem; font-weight: 600; line-height: 1.4;
  transition: box-shadow 0.2s, background-color 0.2s; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #61656c; font-weight: 500; }
input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--green); background: #101114; }
input.is-invalid { box-shadow: inset 0 0 0 2px var(--red); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; border-radius: 10px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(0, 0, 0, 0.25); font-size: 0.93rem; font-weight: 700; line-height: 1.25; transition: background-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.chip input:checked + span { background: rgba(var(--green-rgb), 0.2); box-shadow: inset 0 0 0 2px var(--green), inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.chip input:focus-visible + span { outline: 2px solid var(--green-hi); outline-offset: 2px; }
.chip:active span { transform: translateY(1px); }
@media (hover: hover) { .chip:hover span { background: #303338; } }
.numbers__hint { margin-bottom: 14px; font-size: 0.84rem; color: var(--text-3); }
.numbers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.numbers__grid .field { margin-bottom: 14px; }
.numbers__grid label { font-size: 0.84rem; color: var(--text-2); }
.field--wide { grid-column: 1 / -1; }
.form__error { min-height: 1.4em; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: #ff9b8f; }
.form__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.form__nav [data-next], .form__nav [data-submit] { margin-left: auto; min-width: 170px; }
.btn.is-loading { pointer-events: none; opacity: 0.7; }
.done { text-align: center; padding: 10px 0; animation: rise 0.5s var(--ease) both; }
.done:focus { outline: none; }
.done__mark svg { width: 64px; height: 64px; margin: 0 auto 20px; fill: none; stroke: var(--green-hi); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done__mark circle { stroke-dasharray: 132; stroke-dashoffset: 132; animation: draw 0.9s var(--ease) 0.1s forwards; }
.done__mark path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 0.6s var(--ease) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; }
.done p { margin: 14px auto 0; max-width: 30rem; color: var(--text-2); }
.done p b { color: var(--text); }
.done__fallback { margin-top: 24px; padding: 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), 0.45); }
.done__fallback p { margin-top: 0; }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.noscript { color: var(--text-2); }

/* ---------- service illustrations sit on a Roblox baseplate ---------- */
.vig {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 18px;
  background-color: #1b1d20;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.10) 0 3.4px, rgba(0, 0, 0, 0.25) 3.6px 4.4px, transparent 4.6px),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(var(--green-rgb), 0.10), transparent 70%);
  background-size: 22px 22px, 100% 100%;
}
/* ---------- closing: a moving wall of the real game thumbnails ---------- */
.wall {
  position: relative;
  z-index: -1;
  display: grid;
  align-content: center;
  height: clamp(240px, 32vw, 460px);
  overflow: hidden;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 48%, transparent 88%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 48%, transparent 88%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.wall__tilt { display: grid; gap: 14px; width: 130%; margin-left: -15%; transform: rotate(-3deg); }
.wall__row { display: flex; gap: 14px; width: max-content; animation: wall 90s linear infinite; }
.wall__row--rev { animation-duration: 110s; animation-direction: reverse; }
.wall__row img { flex: none; width: clamp(200px, 22vw, 340px); aspect-ratio: 16 / 9; border-radius: 12px; object-fit: cover; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
@keyframes wall { to { translate: -50% 0; } }
.wall[hidden] + .wrap .send__head { margin-top: 0; }
@media (max-width: 559px) {
  .wall__tilt, .wall__row { gap: 10px; }
  .wall__row img { width: 168px; border-radius: 10px; }
}

/* ---------- the story: words light up as you scroll ---------- */
.creed { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 3.5vw, 48px); background: radial-gradient(ellipse 55% 65% at 50% 50%, rgba(var(--green-rgb), 0.07), transparent 70%); }
.creed__text { max-width: 1020px; font-size: clamp(2.1rem, 5.6vw, 4.4rem); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; text-wrap: pretty; }
.creed__text em { font-style: normal; color: var(--green-hi); }
.js .creed__text .w { color: #35383d; transition: color 0.4s var(--ease); }
.js .creed__text .w.is-lit { color: var(--text); }
.js .creed__text em .w.is-lit { color: var(--green-hi); text-shadow: 0 0 28px rgba(var(--green-rgb), 0.45); }
.creed__sign { display: flex; align-items: center; gap: 14px; margin-top: clamp(26px, 4vw, 40px); }
.creed__face { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--green); }
.creed__sign > span:last-child { display: grid; line-height: 1.3; }
.creed__sign b { font-size: 1rem; font-weight: 800; }
.creed__sign small { font-size: 0.86rem; font-weight: 600; color: var(--text-3); }

/* ---------- live demo: bring a dying game back to life ----------
   A simulated game's analytics, laid out like Creator Hub's benchmarks. Red is a leak, green is fixed. */
@property --c { syntax: "<color>"; inherits: true; initial-value: #ff5a4a; }
.lab { padding-top: clamp(36px, 4.5vw, 64px); background: radial-gradient(ellipse 70% 55% at 50% 55%, rgba(var(--green-rgb), 0.07), transparent 70%); }
.lab .head { margin-bottom: clamp(28px, 4vw, 44px); }
.dash {
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 24px;
  background: #0d0e10;
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 0 140px -50px rgba(var(--red-rgb), 0.45);
  transition: box-shadow 1.4s var(--ease);
}
.js .dash.rv { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), box-shadow 1.4s var(--ease); }
.dash.is-good { box-shadow: 0 0 0 1px rgba(var(--green-rgb), 0.35), 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 0 140px -50px rgba(var(--green-rgb), 0.5); }
.dash.is-max { box-shadow: 0 0 0 1.5px rgba(var(--green-rgb), 0.7), 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 0 160px -30px rgba(var(--green-rgb), 0.7); }
.dash__bar { display: flex; align-items: center; gap: 14px; padding: 6px 8px 12px; }
.dash__game { display: inline-flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; line-height: 1.2; white-space: nowrap; }
.dash__game b { display: block; font-size: 0.98rem; font-weight: 800; }
.dash__game small { display: block; font-size: 0.74rem; font-weight: 600; color: var(--text-3); }
.dash__icon { position: relative; flex: none; width: 36px; height: 36px; overflow: hidden; border-radius: 9px; background: linear-gradient(135deg, #ff9a3d, #ff3d6e 55%, #7b4dff); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.14); }
.dash__icon i { position: absolute; inset: 9px; border-radius: 4px; background: rgba(255, 255, 255, 0.92) radial-gradient(circle, #ff3d6e 0 2.4px, transparent 2.8px) center / 9px 9px; transform: rotate(-8deg); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); }
.dash__tabs { display: none; gap: 2px; padding: 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.dash__tabs span { padding: 6px 12px; border-radius: 7px; font-size: 0.8rem; font-weight: 700; color: var(--text-3); }
.dash__tabs .is-on { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.dash__sim { flex: none; padding: 4px 9px; border-radius: 7px; background: rgba(255, 214, 10, 0.12); color: var(--caution); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.dash__range { display: none; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 700; color: var(--text-2); }
@media (min-width: 760px) { .dash__tabs { display: inline-flex; } .dash { padding: 12px; } }
@media (min-width: 1000px) { .dash__range { display: inline-flex; } }

.dash__top { display: grid; gap: 10px; }
@media (min-width: 1000px) {
  .dash__top { grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); }
  /* the analyst sizes to the chart beside it, never the other way round */
  .ai { contain: size; }
}
.ccu, .ai, .bm { border-radius: 16px; background: #17181b; box-shadow: inset 0 0 0 1px var(--line); }

/* concurrent users: a live chart that answers every switch */
.ccu { position: relative; display: flex; flex-direction: column; padding: 18px 18px 0; overflow: hidden; }
.ccu__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.ccu__label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 700; color: var(--text-2); }
.ccu__rec { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; background: rgba(var(--red-rgb), 0.13); color: #ff8b7f; font-size: 0.74rem; font-weight: 800; transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.ccu__rec i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.ccu__rec.is-mid { background: rgba(255, 200, 61, 0.13); color: var(--gold); }
.ccu__rec.is-on { background: rgba(var(--green-rgb), 0.18); color: var(--green-hi); animation: rec-glow 2.2s ease-in-out infinite; }
@keyframes rec-glow { 50% { box-shadow: 0 0 26px -2px rgba(var(--green-rgb), 0.75); } }
.ccu__big { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; }
.ccu__big > b { font-size: clamp(2.5rem, 5.4vw, 3.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ccu__vs { font-size: 0.76rem; font-weight: 600; color: var(--text-3); }
.delta { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); color: var(--text-2); font-size: 0.84rem; font-weight: 800; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color 0.3s, color 0.3s; }
.delta:empty { display: none; }
.delta svg { width: 12px; height: 12px; flex: none; }
.delta.is-up { background: rgba(var(--green-rgb), 0.17); color: var(--green-hi); }
.delta.is-down { background: rgba(var(--red-rgb), 0.15); color: #ff8b7f; }
/* "+1,204 players" pops off the number, and studs fly when every leak is plugged */
.ccu__fx { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.pop { position: absolute; left: 0; top: -14px; padding: 4px 9px; border-radius: 8px; font-size: 0.86rem; font-weight: 900; white-space: nowrap; animation: pop 1.7s var(--ease) forwards; }
.pop.is-up { background: rgba(var(--green-rgb), 0.22); color: var(--green-hi); box-shadow: 0 8px 24px -8px rgba(var(--green-rgb), 0.8); }
.pop.is-down { background: rgba(var(--red-rgb), 0.2); color: #ff8b7f; }
@keyframes pop { 0% { opacity: 0; transform: translateY(14px) scale(0.85); } 14% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }
.stud { position: absolute; left: 60px; top: 30px; width: 10px; height: 10px; border-radius: 2.5px; background: var(--k); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25); animation: stud 1.3s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
@keyframes stud { from { transform: translate(0, 0) rotate(0) scale(1.1); opacity: 1; } 70% { opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.5); opacity: 0; } }

.ccu__chart { position: relative; height: clamp(150px, 19vw, 196px); margin: 16px -18px 0; }
.ccu__chart, .hud { --c: #ff5a4a; transition: --c 0.9s; }
.ccu__chart.is-up { --c: #12d68b; }
.ccu__plot { position: absolute; inset: 12px 54px 0 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 50%; }
.ccu__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ccu__line { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 7px var(--c)); }
.ccu__stop { stop-color: var(--c); stop-opacity: 0.32; }
.ccu__stop--end { stop-opacity: 0; }
.ccu__dot { position: absolute; left: 100%; top: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 0 16px var(--c); }
.ccu__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--c); animation: ping 1.6s var(--ease) infinite; }
.ccu__y { position: absolute; top: 12px; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; width: 54px; padding: 0 14px 0 8px; font-size: 0.66rem; font-weight: 700; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.ccu__y span { transform: translateY(-50%); }
.ccu__y span:last-child { transform: translateY(-100%); }
/* each fix leaves a marker on the timeline */
.ccu__marks { position: absolute; inset: 0; pointer-events: none; }
.mark { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed rgba(var(--green-rgb), 0.55); }
.mark span { position: absolute; top: calc(2px + var(--lane, 0) * 24px); right: 5px; padding: 3px 7px; border-radius: 6px; background: rgba(var(--green-rgb), 0.18); color: var(--green-hi); font-size: 0.64rem; font-weight: 800; white-space: nowrap; animation: rise 0.4s var(--ease) both; }
.mark.is-off { border-color: rgba(var(--red-rgb), 0.55); }
.mark.is-off span { background: rgba(var(--red-rgb), 0.18); color: #ff8b7f; }
.ccu__banner { position: absolute; left: 14px; top: 34px; display: grid; gap: 2px; padding: 9px 13px; border-radius: 12px; background: rgba(13, 14, 16, 0.86); box-shadow: 0 0 0 1px rgba(var(--green-rgb), 0.5), 0 14px 40px -10px rgba(var(--green-rgb), 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px) scale(0.92); transition: opacity 0.4s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; }
.ccu__banner b { font-size: 0.95rem; font-weight: 900; color: var(--gold); }
.ccu__banner span { font-size: 0.74rem; font-weight: 800; color: var(--green-hi); }
.dash.is-max .ccu__banner { opacity: 1; transform: none; }
.ccu__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 -18px; border-top: 1px solid var(--line); }
.kpi { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 12px 18px 14px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74rem; font-weight: 700; color: var(--text-3); }
.kpi b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(1rem, 2.4vw, 1.2rem); font-weight: 900; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) { .kpi { padding: 11px 12px 13px; } .ccu__plot { right: 46px; } .ccu__y { width: 46px; padding-right: 10px; } }

/* the AI analyst: reads the dashboard and answers questions (scripted, like the rest of the demo) */
.ai { display: flex; flex-direction: column; min-height: 0; padding: 14px; }
.ai__head { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ai__av { position: relative; flex: none; width: 42px; height: 42px; }
.ai__av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #17181b, 0 0 0 4px var(--green); }
.ai__av i { position: absolute; right: -5px; bottom: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--green-hi), #3b7bff); box-shadow: 0 0 0 3px #17181b; color: #fff; }
.ai__av svg { width: 12px; height: 12px; }
.ai.is-thinking .ai__av i { animation: spark 1.2s ease-in-out infinite; }
@keyframes spark { 50% { transform: rotate(90deg) scale(1.15); } }
.ai__who { display: grid; min-width: 0; margin-right: auto; line-height: 1.25; }
.ai__who b { font-size: 0.98rem; font-weight: 800; }
.ai__who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.76rem; font-weight: 600; color: var(--text-3); }
.ai.is-thinking .ai__who small { background: linear-gradient(90deg, var(--text-3) 30%, #fff 50%, var(--text-3) 70%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 2s linear infinite; }
.ai__score { --sc: var(--red); position: relative; display: grid; place-items: center; align-content: center; flex: none; width: 56px; height: 56px; line-height: 1; }
.ai__score svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ai__score circle { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 4.5; }
.ai__score .ai__arc { stroke: var(--sc); stroke-linecap: round; stroke-dasharray: 138.23; stroke-dashoffset: 138.23; filter: drop-shadow(0 0 4px var(--sc)); transition: stroke 0.5s; }
.ai__score b { font-size: 1rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.ai__score small { margin-top: 2px; font-size: 0.46rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.ai__score.is-mid { --sc: var(--gold); }
.ai__score.is-good { --sc: var(--green-hi); }
.ai__feed { display: flex; flex-direction: column; gap: 8px; height: 270px; margin: 0; padding: 14px 2px 12px; overflow-y: auto; list-style: none; scrollbar-width: none; overscroll-behavior: contain; -webkit-mask-image: linear-gradient(180deg, transparent, #000 26px); mask-image: linear-gradient(180deg, transparent, #000 26px); }
.ai__feed::-webkit-scrollbar { display: none; }
.ai__feed > :first-child { margin-top: auto; }
@media (max-width: 999px) { .ai__feed { height: 236px; } }
@media (min-width: 1000px) { .ai__feed { flex: 1; height: auto; min-height: 0; } }
.ai__msg { align-self: flex-start; flex: none; max-width: 94%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #222428; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.88rem; font-weight: 600; line-height: 1.45; color: var(--text-2); animation: rise 0.35s var(--ease) both; }
.ai__msg b { font-weight: 800; color: var(--text); }
.ai__msg--me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: rgba(var(--green-rgb), 0.2); box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), 0.4); color: var(--text); }
.ai__msg.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: var(--green-hi); animation: blink 0.9s steps(1) infinite; }
.ai__msg.is-typing .ai__go { display: none; }
.ai__dots { display: inline-flex; gap: 4px; padding: 5px 2px; }
.ai__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: typing 1.1s ease-in-out infinite; }
.ai__dots i:nth-child(2) { animation-delay: 0.15s; }
.ai__dots i:nth-child(3) { animation-delay: 0.3s; }
.ai__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 12px; border-radius: 9px; background: var(--green); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22); color: #fff; font-size: 0.84rem; font-weight: 800; text-decoration: none; transition: background-color 0.2s; }
.ai__go svg { width: 13px; height: 13px; }
.ai__go:hover { background: #00c27a; }
.ai__chips { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.ai__asks { display: flex; gap: 6px; margin: -3px -14px; padding: 3px 14px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 22px), transparent); }
.ai__asks::-webkit-scrollbar { display: none; }
.ai__chips button { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 6px 11px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8rem; font-weight: 700; color: var(--text-2); white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease); -webkit-tap-highlight-color: transparent; }
.ai__chips .ai__all { position: relative; min-height: 44px; overflow: hidden; border-radius: 12px; background: var(--green); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22), 0 10px 26px -10px rgba(var(--green-rgb), 0.9); font-size: 0.92rem; font-weight: 800; color: #fff; }
.ai__all svg { width: 16px; height: 16px; }
.ai__all::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.3) 50%, transparent 65%); transform: translateX(-120%); animation: btn-sheen 3.4s var(--ease) infinite; }
.ai__chips button:active { transform: translateY(1px); }
@media (hover: hover) {
  .ai__asks button:hover { background: rgba(255, 255, 255, 0.11); color: var(--text); transform: translateY(-1px); }
  .ai__chips .ai__all:hover { background: #00c27a; transform: translateY(-1px); }
}

/* the six benchmark cards */
.dash__grid { position: relative; display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 640px) { .dash__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .dash__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dash__grid.is-scanning::after { content: ""; position: absolute; left: -4px; right: -4px; height: 110px; border-bottom: 2px solid var(--green-hi); background: linear-gradient(180deg, transparent, rgba(var(--green-rgb), 0.16)); box-shadow: 0 10px 30px -6px rgba(var(--green-rgb), 0.7); animation: beam 1.5s var(--ease) forwards; pointer-events: none; }
@keyframes beam { from { top: -110px; opacity: 1; } 85% { opacity: 1; } to { top: 100%; opacity: 0; } }
.bm { --a: 0; --b: 0; --c2: 0; --ga: 0; --gb: 0; --edge: transparent; position: relative; display: flex; flex-direction: column; padding: 18px 20px 14px; overflow: hidden; transition: box-shadow 0.6s, transform 0.4s var(--ease); }
.bm::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 90% 70% at 50% 0%, var(--edge), transparent 70%); transition: opacity 0.6s; pointer-events: none; }
.bm.is-bad { --edge: rgba(var(--red-rgb), 0.13); box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), 0.38); }
.bm.is-fixed { --edge: rgba(var(--green-rgb), 0.17); box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), 0.55), 0 18px 50px -30px rgba(var(--green-rgb), 0.8); }
.bm > * { position: relative; }
.bm__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bm__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.92rem; font-weight: 700; letter-spacing: 0; color: var(--text-2); }
.bm__flag { flex: none; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--text-3); font-size: 0.6rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.4s, color 0.4s; }
.bm.is-bad .bm__flag { background: rgba(var(--red-rgb), 0.16); color: #ff8b7f; animation: flag 1.8s ease-in-out infinite; }
.bm.is-fixed .bm__flag { background: rgba(var(--green-rgb), 0.18); color: var(--green-hi); }
@keyframes flag { 50% { box-shadow: 0 0 18px rgba(var(--red-rgb), 0.55); } }
.bm__val { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.bm__val b { display: inline-flex; align-items: center; gap: 6px; min-width: 2ch; font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.bm__val b svg { width: 0.8em; height: 0.8em; }
.bm__track { position: relative; display: flex; gap: 6px; height: 10px; margin-top: 38px; }
.bm__seg { position: relative; height: 10px; overflow: hidden; border-radius: 6px; background: #34363b; }
.bm__seg:nth-of-type(1) { flex: 50 1 0; }
.bm__seg:nth-of-type(2) { flex: 40 1 0; }
.bm__seg:nth-of-type(3) { flex: 10 1 0; }
.bm__seg i { position: absolute; inset: 0 auto 0 0; width: calc(var(--f) * 100%); border-radius: inherit; background: var(--red); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); transition: background-color 0.5s; }
.bm__seg:nth-of-type(1) i { --f: var(--a); }
.bm__seg:nth-of-type(2) i { --f: var(--b); }
.bm__seg:nth-of-type(3) i { --f: var(--c2); }
.bm.is-above .bm__seg i { background: var(--green-hi); }
.bm__knob, .bm__pct { position: absolute; left: calc((100% - 12px) * (var(--a) * 0.5 + var(--b) * 0.4 + var(--c2) * 0.1) + 6px * var(--ga) + 6px * var(--gb)); }
.bm__knob { top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #eceef0; box-shadow: 0 0 0 3px #17181b, 0 0 0 5px rgba(255, 255, 255, 0.16), 0 4px 12px rgba(0, 0, 0, 0.55); }
.bm.is-fixed .bm__knob { box-shadow: 0 0 0 3px #17181b, 0 0 0 5px rgba(var(--green-rgb), 0.6), 0 0 22px rgba(var(--green-rgb), 0.7); }
.bm__pct { bottom: calc(100% + 12px); font-size: 0.92rem; font-weight: 800; white-space: nowrap; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.bm__marks { position: relative; height: 50px; margin-top: 12px; }
.bm__mark { position: absolute; top: 4px; display: grid; justify-items: center; padding: 5px 9px; border-radius: 7px; background: #2a2c30; font-size: 0.7rem; font-weight: 700; line-height: 1.25; color: var(--text-2); white-space: nowrap; transform: translateX(-50%); }
.bm__mark::before { content: ""; position: absolute; top: -5px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top: 0; border-bottom-color: #2a2c30; }
.bm__mark b { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; color: var(--text); }
.bm__mark b svg { width: 0.9em; height: 0.9em; }
.bm__mark--50 { left: calc((100% - 12px) * 0.5 + 3px); }
.bm__mark--90 { left: calc((100% - 12px) * 0.9 + 9px); }
/* the switch: Khaiel's fix for this leak */
.bm__fix { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color 0.3s, box-shadow 0.3s; -webkit-tap-highlight-color: transparent; }
.bm__fix input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sw { position: relative; flex: none; width: 46px; height: 27px; border-radius: 999px; background: #3a3c41; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35); transition: background-color 0.3s, box-shadow 0.3s; }
.sw::after { content: ""; position: absolute; top: 3.5px; left: 3.5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bm__fix input:checked + .sw { background: var(--green); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 18px rgba(var(--green-rgb), 0.65); }
.bm__fix input:checked + .sw::after { transform: translateX(19px); }
.bm__fix input:focus-visible + .sw { outline: 2px solid var(--green-hi); outline-offset: 3px; }
.dash:not(.has-fixed) .bm.is-bad .sw { animation: invite 2.4s ease-in-out infinite; }
@keyframes invite { 0%, 70%, 100% { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(var(--green-rgb), 0); } 35% { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 0 5px rgba(var(--green-rgb), 0.28); } }
.bm__fixtext { display: grid; min-width: 0; line-height: 1.25; }
.bm__fixtext small { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); transition: color 0.3s; }
.bm__fixtext b { font-size: 0.9rem; font-weight: 800; }
.bm.is-fixed .bm__fix { background: rgba(var(--green-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), 0.38); }
.bm.is-fixed .bm__fixtext small { color: var(--green-hi); }
@media (hover: hover) { .bm__fix:hover { background: rgba(255, 255, 255, 0.07); } }
/* while the scan runs, and when the analyst points at a card */
.bm.is-scan .bm__val b, .bm.is-scan .bm__pct { color: transparent; border-radius: 6px; background: linear-gradient(90deg, #26282c 25%, #383b40 50%, #26282c 75%) 0 0 / 200% 100%; animation: skel 1s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.bm.is-ping { animation: ping-card 1.8s var(--ease); }
@keyframes ping-card { 0%, 100% { transform: none; } 18%, 60% { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--gold), 0 0 44px -8px rgba(255, 200, 61, 0.65); } }

.dash__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 8px 4px; }
.dash__foot p { font-size: 0.84rem; font-weight: 600; color: var(--text-3); }
.dash__foot p b { color: var(--text); font-weight: 800; }
.dash__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* on long scrolls, the numbers that matter ride along at the top */
.hud { position: fixed; left: 50%; top: calc(var(--header-h) + 10px); z-index: 55; display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(23, 24, 27, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px rgba(0, 0, 0, 0.6); font-size: 0.84rem; font-weight: 700; color: var(--text-2); white-space: nowrap; opacity: 0; transform: translate(-50%, -14px); transition: opacity 0.3s, transform 0.45s var(--ease); pointer-events: none; }
.hud.is-on { opacity: 1; transform: translate(-50%, 0); }
.hud > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.hud b { color: var(--text); font-weight: 900; font-variant-numeric: tabular-nums; }
.hud .v-rbx { padding-right: 6px; font-weight: 700; }
.hud .pop { left: 50%; top: calc(100% + 8px); margin-left: -60px; min-width: 120px; text-align: center; }

/* ---------- services ---------- */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-2) 35%, var(--bg-2) 75%, var(--bg)); }
.shine {
  background: linear-gradient(110deg, var(--green-hi) 38%, #d4ffeb 50%, var(--green-hi) 62%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

.svc, .audit-card, .dm-card { --mx: 50%; --my: 0%; position: relative; isolation: isolate; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 rgba(0, 0, 0, 0.25); }
.js .svc.rv, .js .audit-card.rv, .js .dm-card.rv {
  transition-property: opacity, transform, translate, box-shadow;
  transition-duration: 0.8s, 0.8s, 0.5s, 0.3s;
  transition-timing-function: var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms), calc(var(--d, 0) * 80ms), 0s, 0s;
}
/* a soft spotlight follows the pointer around the card's edge */
.svc::before, .audit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.5px;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(18, 214, 139, 0.95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.svc::after, .audit-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--green-rgb), 0.08), transparent 60%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
@media (hover: hover) {
  .svc:hover, .audit-card:hover, .dm-card:hover { translate: 0 -6px; }
  .svc:hover::before, .svc:hover::after, .audit-card:hover::before, .audit-card:hover::after { opacity: 1; }
}
.svc { display: flex; flex-direction: column; overflow: hidden; }
.svc--star { box-shadow: inset 0 0 0 2px rgba(var(--green-rgb), 0.75), inset 0 -4px 0 rgba(0, 0, 0, 0.25), 0 30px 80px -44px rgba(var(--green-rgb), 0.7); }
.svc__vis { position: relative; z-index: 1; height: 216px; margin: 8px 8px 0; overflow: hidden; border-radius: 12px; }
.svc__body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 20px; }
.svc__tag { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-hi); }
.svc__tag span { display: grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgba(var(--green-rgb), 0.16); letter-spacing: 0.02em; }
.svc h3, .audit-card h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.025em; }
.svc__pitch { font-weight: 600; color: var(--text-2); }
.svc__list { display: grid; gap: 8px; margin: 4px 0 8px; padding: 0; list-style: none; font-size: 0.9rem; line-height: 1.45; color: var(--text-2); }
.svc__list li { position: relative; padding-left: 20px; }
.svc__list b { font-weight: 800; color: var(--text); }
.svc__list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 8px; border-radius: 2px; background: var(--green-hi); box-shadow: 0 0 10px rgba(var(--green-rgb), 0.6); transform: rotate(-8deg); }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.svc__price { display: grid; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.svc__price small { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-hi); }
.svc__price > span { display: inline-flex; align-items: baseline; gap: 2px; font-size: 1.4rem; }
.svc__price em { font-style: normal; font-size: 0.8rem; font-weight: 700; letter-spacing: 0; color: var(--text-3); }
.svc__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 10px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(0, 0, 0, 0.25); font-size: 0.9rem; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease); -webkit-tap-highlight-color: transparent; }
.svc__cta .i { transition: transform 0.3s var(--ease); }
.svc__cta:active { transform: translateY(2px); }
.svc--star .svc__cta { background: var(--green); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22); }
@media (hover: hover) {
  .svc:hover .svc__cta { background: var(--green); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22); }
  .svc__cta:hover .i { transform: translateX(3px); }
}

/* the illustrations: only animate while on screen */
[data-vis]:not(.is-live) *, [data-vis]:not(.is-live) *::before, [data-vis]:not(.is-live) *::after { animation-play-state: paused !important; }
.v-win { position: relative; width: min(100%, 300px); overflow: hidden; border-radius: 12px; background: rgba(20, 21, 24, 0.95); box-shadow: 0 0 0 1px var(--line-2), 0 24px 40px -14px rgba(0, 0, 0, 0.8); }
.v-win__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-size: 0.72rem; font-weight: 800; color: var(--text-2); }
.v-win__bar em { font-style: normal; font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.v-win__bar .v-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.6rem; letter-spacing: 0.08em; color: var(--green-hi); }
.v-win__bar .v-live .live { width: 6px; height: 6px; }
.v-rbx { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v-rbx svg { width: 0.95em; height: 0.95em; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 01 build: a real thumbnail drops in brick by brick, then goes live */
.v-mosaic { padding: 14px; }
.v-mosaic__frame { position: relative; width: min(100%, 320px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #15171a; box-shadow: 0 0 0 1px var(--line-2), 0 24px 40px -14px rgba(0, 0, 0, 0.8); }
.v-mosaic__tiles { display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr); width: 100%; height: 100%; }
.v-mosaic__tiles i { position: relative; background-image: var(--img); background-size: calc(var(--cols) * 100%) calc(var(--rows) * 100%); opacity: 0; transform: translateY(-40px) scale(0.7); transition: opacity 0.25s, transform 0.25s; }
.v-mosaic__tiles i::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.32) 0 2.6px, rgba(0, 0, 0, 0.25) 3px 3.8px, transparent 4.2px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.3), inset 0 -1.5px 0 rgba(0, 0, 0, 0.35), inset 1px 0 0 rgba(255, 255, 255, 0.12), inset -1px 0 0 rgba(0, 0, 0, 0.25); transition: opacity 0.6s var(--ease); }
.v-mosaic.is-built .v-mosaic__tiles i { opacity: 1; transform: none; transition: opacity 0.25s var(--ease) calc(var(--k) * 26ms), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--k) * 26ms); }
.v-mosaic.is-done .v-mosaic__tiles i::after { opacity: 0; }
.v-pill { position: absolute; top: 9px; left: 9px; z-index: 2; display: inline-grid; align-items: center; height: 26px; padding: 0 10px; overflow: hidden; border-radius: 8px; background: rgba(17, 18, 20, 0.88); box-shadow: 0 0 0 1px var(--line-2); font-size: 0.68rem; font-weight: 800; color: var(--text-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.v-pill > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; transition: opacity 0.3s, transform 0.4s var(--ease); }
.v-pill__a::before { content: ""; width: 9px; height: 9px; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--green-hi); border-radius: 50%; animation: spin 0.8s linear infinite; }
.v-pill__b { opacity: 0; transform: translateY(10px); color: var(--green-hi); }
.v-pill__b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.3); }
.v-pill i { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--green-hi); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.v-mosaic.is-built .v-pill i { transform: scaleX(1); transition: transform 2.8s linear; }
.v-mosaic.is-done .v-pill__a { opacity: 0; transform: translateY(-10px); }
.v-mosaic.is-done .v-pill__b { opacity: 1; transform: none; }
.v-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 22px 9px 8px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85)); opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.v-cap img { width: 30px; height: 30px; flex: none; border-radius: 7px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.v-cap > span { display: grid; min-width: 0; line-height: 1.2; }
.v-cap b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74rem; font-weight: 800; }
.v-cap small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.6rem; font-weight: 700; color: rgba(255, 255, 255, 0.72); }
.v-mosaic.is-done .v-cap { opacity: 1; transform: none; transition-delay: 0.2s; }

/* 02 grow: the games sort themselves by who's playing right now */
.v-rank__list { --row: 31px; position: relative; height: calc(var(--n, 5) * var(--row) - 3px); margin: 8px; padding: 0; list-style: none; transition: opacity 0.3s; }
.v-rank__list.is-fading { opacity: 0; }
.v-rank__list li { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 14px 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 28px; padding: 0 8px 0 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.035); transform: translateY(calc(var(--p) * var(--row))); transition: transform 0.6s var(--ease), background-color 0.3s, box-shadow 0.3s; }
.v-rank__list.is-reset li { transition: none; }
.v-rank__list li b { font-size: 0.66rem; font-weight: 900; text-align: center; color: var(--text-3); }
.v-rank__list li img { width: 24px; height: 24px; border-radius: 6px; }
.v-rank__name { display: grid; min-width: 0; line-height: 1.15; }
.v-rank__name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.66rem; font-weight: 800; }
.v-rank__name small { display: inline-flex; align-items: center; gap: 3px; font-size: 0.56rem; font-weight: 700; color: var(--text-3); }
.v-rank__name small svg { width: 9px; height: 9px; }
.v-rank__n { display: inline-flex; align-items: center; gap: 4px; font-size: 0.66rem; font-weight: 900; color: var(--green-hi); font-variant-numeric: tabular-nums; }
.v-rank__n svg { width: 10px; height: 10px; }
.v-rank__list li.is-up { z-index: 1; background: rgba(var(--green-rgb), 0.16); box-shadow: inset 0 0 0 1.5px var(--green-hi), 0 8px 20px -8px rgba(var(--green-rgb), 0.8); }
.v-rank__list li.is-up b { color: var(--green-hi); }
.v-rank__list li.is-top { background: rgba(255, 200, 61, 0.14); box-shadow: inset 0 0 0 1.5px var(--gold), 0 8px 26px -8px rgba(255, 200, 61, 0.75); }
.v-rank__list li.is-top b { color: var(--gold); }

/* 03 creative: two real thumbnails of the same game */
.v-ab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.v-ab__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 310px); }
.v-ab__card { position: relative; padding: 5px 5px 7px; border-radius: 11px; background: rgba(20, 21, 24, 0.95); box-shadow: 0 0 0 1px var(--line-2), 0 18px 30px -14px rgba(0, 0, 0, 0.8); opacity: 0; transform: translateY(10px) rotate(-2deg); transition: opacity 0.4s, transform 0.6s var(--ease), box-shadow 0.4s, filter 0.4s; }
.v-ab__card.is-b { transform: translateY(10px) rotate(2deg); }
.v-ab__pair.is-in .v-ab__card { opacity: 1; transform: none; }
.v-ab__pair.is-in .v-ab__card.is-b { transition-delay: 0.12s; }
.v-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; background: #0d0e10; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%); transform: translateX(-120%); }
.v-ab__pair.is-in:not(.is-done) .v-thumb::after { animation: sheen 1.3s var(--ease) 0.45s; }
@keyframes sheen { to { transform: translateX(120%); } }
.v-ab__meta { display: flex; align-items: center; gap: 7px; margin: 6px 2px 0; }
.v-ab__meta span { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); font-size: 0.6rem; font-weight: 900; color: var(--text-2); }
.v-ab__meta i { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.07); }
.v-ab__meta i::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: var(--text-3); transform: scaleX(0); transform-origin: left; }
.v-ab__pair.is-in .v-ab__meta i::after { transform: scaleX(1); transition: transform 1.6s var(--ease) 0.3s; }
.v-ab__pair.is-done .is-b .v-ab__meta i::after { background: var(--green-hi); }
.v-ab__win { position: absolute; top: -10px; right: -6px; padding: 3px 8px; border-radius: 6px; background: var(--gold); box-shadow: 0 6px 16px -4px rgba(255, 200, 61, 0.6); color: #3a2a00; font-size: 0.56rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: scale(0.6) rotate(-8deg); transition: opacity 0.3s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.v-ab__pair.is-done .v-ab__win { opacity: 1; transform: rotate(5deg); }
.v-ab__pair.is-done .is-b { box-shadow: 0 0 0 2px var(--green-hi), 0 18px 34px -12px rgba(var(--green-rgb), 0.7); transform: translateY(-4px) scale(1.03); }
.v-ab__pair.is-done .v-ab__card:not(.is-b) { filter: saturate(0.5) brightness(0.7); }
.v-ab__label { display: flex; align-items: center; gap: 7px; max-width: 100%; padding: 4px 10px 4px 4px; border-radius: 8px; background: rgba(20, 21, 24, 0.9); box-shadow: 0 0 0 1px var(--line); font-size: 0.66rem; font-weight: 800; color: var(--text-2); }
.v-ab__label img { width: 18px; height: 18px; flex: none; border-radius: 5px; }
.v-ab__label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 04 earn: the game's real store, and Roblox's purchase prompt */
.v-shop { place-items: center; padding: 12px; }
.v-store { width: min(100%, 310px); transition: opacity 0.3s; }
.v-shop.is-switch .v-store { opacity: 0; }
.v-store__title { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.v-store__title img { width: 18px; height: 18px; flex: none; border-radius: 5px; }
.v-store__title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-store .v-win__bar em { flex: none; }
.v-store__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 10px; }
.v-pass { display: grid; justify-items: center; gap: 4px; padding: 7px 5px 8px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: background-color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease); }
.v-pass__art { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 7px; background: rgba(255, 255, 255, 0.04); }
.v-pass__art img { width: 100%; height: 100%; object-fit: cover; }
.v-pass b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.4em; font-size: 0.58rem; font-weight: 800; line-height: 1.2; }
.v-pass .v-rbx { font-size: 0.66rem; color: #fff; }
.v-pass.is-hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.v-prompt { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(86%, 230px); padding: 12px; border-radius: 12px; background: #232527; box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px rgba(0, 0, 0, 0.7); opacity: 0; transform: translate(-50%, -44%) scale(0.92); pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
.v-shop.is-prompt .v-prompt { opacity: 1; transform: translate(-50%, -50%); }
.v-shop.is-prompt .v-store__grid { filter: brightness(0.45); transition: filter 0.25s; }
.v-prompt__head { margin-bottom: 9px; font-size: 0.72rem; font-weight: 900; text-align: center; }
.v-prompt__item { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.v-prompt__item img { width: 44px; height: 44px; flex: none; border-radius: 8px; }
.v-prompt__item > span { display: grid; gap: 2px; min-width: 0; }
.v-prompt__item b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.7rem; font-weight: 800; }
.v-prompt__item .v-rbx { font-size: 0.72rem; }
.v-prompt__btn { position: relative; display: grid; place-items: center; height: 30px; border-radius: 8px; background: #fff; color: #111214; font-size: 0.72rem; font-weight: 900; transition: background-color 0.25s, color 0.25s, transform 0.15s; }
.v-prompt__btn > span { grid-area: 1 / 1; transition: opacity 0.2s; }
.v-prompt__b { opacity: 0; }
.v-shop.is-bought .v-prompt__btn { background: var(--green); color: #fff; }
.v-shop.is-bought .v-prompt__a { opacity: 0; }
.v-shop.is-bought .v-prompt__b { opacity: 1; }
.v-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 20px; height: 20px; fill: #fff; stroke: #111214; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); opacity: 0; transform: translate(70%, 110%); transition: transform 0.55s var(--ease), opacity 0.3s; pointer-events: none; }
.v-cursor.is-on { opacity: 1; }
.v-cursor.is-click { scale: 0.82; }

/* 05 code: Roblox Studio, and a real badge from one of the games */
.v-code { padding: 10px; }
.v-studio { width: min(100%, 320px); overflow: hidden; border-radius: 10px; background: #2e2e2e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 40px -14px rgba(0, 0, 0, 0.8); }
.v-studio__tabs { display: flex; background: #232323; border-bottom: 1px solid #1a1a1a; font-size: 0.58rem; font-weight: 600; color: #a7a7a7; }
.v-studio__tabs span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-right: 1px solid #1a1a1a; }
.v-studio__tabs span.is-on { background: #2e2e2e; color: #e6e6e6; box-shadow: inset 0 2px 0 #00a2ff; }
.v-studio__tabs i { width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, #8fd0ff, #3b82f6); }
.v-code__src { margin: 0; padding: 8px 8px 8px 0; overflow: hidden; counter-reset: ln; font: 500 0.58rem/1.62 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cccccc; }
.v-code__src .ln { position: relative; display: block; width: fit-content; padding-left: 24px; white-space: pre; counter-increment: ln; clip-path: inset(0 calc(100% - 24px) 0 0); }
.v-code__src .ln::before { content: counter(ln); position: absolute; left: 0; width: 15px; text-align: right; color: #6e6e6e; }
.v-code__src .ln.is-on { clip-path: inset(0 -4px 0 0); transition: clip-path calc(var(--n) * 14ms) steps(var(--n), end); }
.v-code__src .ln.is-cur::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: #e6e6e6; animation: blink 1s steps(1) infinite; }
.v-code.is-done .ln.is-cur::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.v-code__src .k { color: #f86d7c; }
.v-code__src .s { color: #adf195; }
.v-code__src .g { color: #84d6f7; }
.v-code__src .f { color: #fdfbac; }
.v-badge { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 28px); padding: 8px 12px 8px 8px; border-radius: 12px; background: rgba(25, 27, 29, 0.97); box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(14px) scale(0.95); transition: opacity 0.35s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.v-code.is-done .v-badge { opacity: 1; transform: none; }
.v-badge img { width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(255, 200, 61, 0.45); }
.v-badge > span { display: grid; min-width: 0; line-height: 1.25; }
.v-badge small { font-size: 0.54rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.v-badge b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74rem; font-weight: 900; }
.v-badge em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-size: 0.58rem; font-weight: 700; color: var(--text-3); }

/* 06 partner: the games that were updated in the last 7 days */
.v-upd { padding: 14px; }
.v-upd .v-win { width: min(100%, 310px); }
.v-upd__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; padding: 9px 8px 4px; }
.v-upd__col { position: relative; display: grid; grid-template-rows: 84px auto; justify-items: center; gap: 5px; padding: 6px 0 5px; border-radius: 7px; transition: background-color 0.3s; }
.v-upd__col.is-now { background: rgba(255, 255, 255, 0.07); }
.v-upd__icons { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; }
.v-upd__icons img { width: 24px; height: 24px; margin-top: -6px; border-radius: 6px; box-shadow: 0 0 0 2px #17181b; opacity: 0; transform: scale(0.3) translateY(10px); transition: opacity 0.3s, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.v-upd__icons img:last-child { margin-top: 0; }
.v-upd__col.is-on .v-upd__icons img { opacity: 1; transform: none; }
.v-upd__col.is-now .v-upd__icons img { box-shadow: 0 0 0 2px var(--green-hi), 0 0 14px rgba(var(--green-rgb), 0.6); }
.v-upd__day { font-size: 0.56rem; font-weight: 800; color: var(--text-3); transition: color 0.3s; }
.v-upd__col.is-on .v-upd__day { color: var(--text-2); }
.v-upd__col.is-now .v-upd__day { color: #fff; }
.v-upd__foot { display: flex; align-items: center; gap: 7px; min-height: 34px; margin: 0; padding: 7px 10px 9px; border-top: 1px solid var(--line); font-size: 0.64rem; font-weight: 800; color: var(--text-2); }
.v-upd__foot img { width: 18px; height: 18px; flex: none; border-radius: 5px; }
.v-upd__foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* "…and a lot more" */
.more { margin-top: clamp(32px, 5vw, 52px); }
.more__title { margin-bottom: 16px; text-align: center; font-weight: 600; color: var(--text-2); }
.more__title b { font-size: 1.15rem; font-weight: 900; color: var(--text); }
.more__rows { display: grid; gap: 10px; margin-inline: calc(var(--gutter) * -1); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.more__row { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: wall 70s linear infinite; }
.more__row--rev { animation-duration: 84s; animation-direction: reverse; }
.more__row:not(.is-live), .more__rows:hover .more__row { animation-play-state: paused; }
.more__row li { flex: none; display: inline-flex; align-items: center; gap: 9px; margin-right: 10px; padding: 10px 16px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(0, 0, 0, 0.25); font-size: 0.9rem; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.more__row li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--green-hi); transform: rotate(-8deg); }

/* the audit, and "don't see it? message me anyway" */
.svc-extra { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 52px); }
@media (min-width: 1000px) { .svc-extra { grid-template-columns: minmax(300px, 1fr) minmax(0, 2.4fr); gap: 18px; } }
.audit-card { display: flex; flex-direction: column; overflow: hidden; }
.audit-card__vis { position: relative; z-index: 1; height: 216px; margin: 8px 8px 0; padding: 12px; overflow: hidden; border-radius: 12px; }
.audit-card__body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.audit-card__hook { font-size: 1.04rem; font-weight: 800; line-height: 1.35; color: var(--text); text-wrap: pretty; }
.audit-card__pitch { font-size: 0.95rem; color: var(--text-2); }
.audit-card__free { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: rgba(var(--green-rgb), 0.14); font-size: 0.92rem; font-weight: 800; color: var(--green-hi); }
.audit-card__free b { font-weight: 900; }
.audit-card__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 8px; }
.audit-opt { position: relative; display: grid; align-content: start; gap: 2px; padding: 10px 12px 11px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.audit-opt small { font-size: 0.74rem; font-weight: 700; color: var(--text-3); }
.audit-opt b { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.audit-opt s { font-size: 0.92rem; font-weight: 700; color: var(--text-3); text-decoration-thickness: 2px; text-decoration-color: rgba(var(--red-rgb), 0.85); }
.audit-opt.is-deal { background: rgba(var(--green-rgb), 0.08); box-shadow: inset 0 0 0 1.5px rgba(var(--green-rgb), 0.55); }
.audit-opt.is-deal b { color: var(--green-hi); }
.audit-opt em { position: absolute; top: -9px; right: 8px; padding: 2px 7px; border-radius: 6px; background: var(--gold); box-shadow: 0 6px 16px -4px rgba(255, 200, 61, 0.6); color: #3a2a00; font-style: normal; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; animation: deal 2.4s ease-in-out infinite; }
@keyframes deal { 50% { transform: translateY(-2px) rotate(-3deg); } }
.audit-card .btn { margin-top: auto; }

/* the audit: a Creator Hub-style scan finds the leaks, ranks the fixes, then shows them applied */
.v-hub { width: min(100%, 300px); transition: opacity 0.35s; }
.v-audit.is-out .v-hub { opacity: 0; }
.v-hub__title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.v-hub__title i { flex: none; width: 10px; height: 10px; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--green-hi); border-radius: 50%; animation: spin 0.8s linear infinite; }
.v-audit.is-plan .v-hub__title i { border-color: var(--green-hi); background: var(--green-hi); box-shadow: 0 0 10px rgba(var(--green-rgb), 0.8); animation: none; }
.v-hub__title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-hub__chart { position: relative; height: 48px; margin: 12px 12px 4px; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 50%; }
.v-hub__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v-hub__chart path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.v-hub__before { stroke: var(--red); filter: drop-shadow(0 0 4px rgba(var(--red-rgb), 0.8)); }
.v-hub__after { stroke: var(--green-hi); filter: drop-shadow(0 0 5px rgba(var(--green-rgb), 0.9)); }
.v-audit.is-r1 .v-hub__before { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.v-audit.is-after .v-hub__before { opacity: 0.22; transition: stroke-dashoffset 1.8s var(--ease), opacity 0.6s; }
.v-audit.is-after .v-hub__after { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.v-hub__ccu { position: absolute; right: 0; top: -6px; z-index: 1; padding: 2px 6px; border-radius: 5px; background: rgba(20, 21, 24, 0.9); font-size: 0.56rem; font-weight: 800; letter-spacing: 0.06em; color: var(--text-3); }
.v-hub__ccu b { font-size: 0.7rem; letter-spacing: 0; color: #ff8b7f; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.v-audit.is-after .v-hub__ccu b { color: var(--green-hi); }
.v-hub__rows { display: grid; gap: 4px; margin: 0; padding: 6px 12px 8px; list-style: none; }
.v-hub__rows li { display: grid; grid-template-columns: 74px minmax(0, 1fr) 42px; align-items: center; gap: 9px; height: 21px; font-size: 0.64rem; font-weight: 800; white-space: nowrap; color: var(--text-2); opacity: 0.3; transition: opacity 0.3s; }
.v-hub__bar { position: relative; height: 6px; border-radius: 4px; background: #33363b; }
.v-hub__bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--red); transition: width 0.9s var(--ease), background-color 0.5s; }
.v-hub__bar::after { content: ""; position: absolute; top: 50%; left: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #eceef0; box-shadow: 0 0 0 2px #141518; opacity: 0; transition: left 0.9s var(--ease), opacity 0.3s; }
.v-hub__rows li.is-ok .v-hub__bar::before { background: var(--green-hi); }
.v-hub__rows em { justify-self: end; padding: 2px 6px; border-radius: 4px; font-style: normal; font-size: 0.54rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s, color 0.4s; }
.v-hub__rows em::before { content: attr(data-a); }
.v-hub__rows .is-leak em { background: rgba(var(--red-rgb), 0.18); color: #ff8b7f; }
.v-hub__rows .is-ok em { background: rgba(var(--green-rgb), 0.18); color: var(--green-hi); }
.v-audit.is-r1 li:nth-child(1), .v-audit.is-r2 li:nth-child(2), .v-audit.is-r3 li:nth-child(3) { opacity: 1; }
.v-hub__rows li { --now: var(--p); }
.v-audit.is-r1 li:nth-child(1) .v-hub__bar::before, .v-audit.is-r2 li:nth-child(2) .v-hub__bar::before, .v-audit.is-r3 li:nth-child(3) .v-hub__bar::before { width: calc(var(--now) * 1%); }
.v-audit.is-r1 li:nth-child(1) .v-hub__bar::after, .v-audit.is-r2 li:nth-child(2) .v-hub__bar::after, .v-audit.is-r3 li:nth-child(3) .v-hub__bar::after { left: calc(var(--now) * 1%); opacity: 1; }
.v-audit.is-r1 li:nth-child(1) em, .v-audit.is-r2 li:nth-child(2) em, .v-audit.is-r3 li:nth-child(3) em { opacity: 1; transform: none; transition-delay: 0.6s; }
.v-audit.is-plan .is-leak em { animation: flag 1.4s ease-in-out infinite; }
.v-audit.is-after .v-hub__rows li { --now: var(--p2); }
.v-audit.is-after .is-leak .v-hub__bar::before { background: var(--green-hi); }
.v-audit.is-after .is-leak em { background: rgba(var(--green-rgb), 0.18); color: var(--green-hi); animation: none; }
.v-audit.is-after .v-hub__rows em::before { content: attr(data-b); }
.v-hub__plan { display: grid; align-items: center; height: 30px; margin: 0; padding: 0 12px; border-top: 1px solid var(--line); font-size: 0.62rem; font-weight: 700; color: var(--text-3); }
.v-hub__plan span { grid-area: 1 / 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.3s, transform 0.4s var(--ease); }
.v-hub__plan b { color: var(--text); font-weight: 900; }
.v-hub__plan span:nth-child(2) b { color: #ff8b7f; }
.v-hub__plan span:nth-child(3) b { color: var(--green-hi); }
.v-hub__plan span:not(:first-child) { opacity: 0; transform: translateY(8px); }
.v-audit.is-plan .v-hub__plan span:first-child, .v-audit.is-after .v-hub__plan span:nth-child(2) { opacity: 0; transform: translateY(-8px); }
.v-audit.is-plan:not(.is-after) .v-hub__plan span:nth-child(2), .v-audit.is-after .v-hub__plan span:nth-child(3) { opacity: 1; transform: none; }

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.dm-card {
  padding: 1.5px;
  background: conic-gradient(from var(--spin), rgba(var(--green-rgb), 0.12), var(--green-hi) 10%, rgba(var(--green-rgb), 0.12) 22%, rgba(var(--green-rgb), 0.12) 52%, var(--gold) 62%, rgba(var(--green-rgb), 0.12) 74%);
  box-shadow: 0 40px 100px -50px rgba(var(--green-rgb), 0.6);
  animation: spin-border 7s linear infinite;
}
@keyframes spin-border { to { --spin: 360deg; } }
.dm-card__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; height: 100%; padding: 28px 22px 24px; border-radius: 16.5px; background: radial-gradient(ellipse 80% 90% at 100% 0%, rgba(var(--green-rgb), 0.14), transparent 60%), var(--card); }
.dm-card__copy .eyebrow { margin-bottom: 12px; }
.dm-card__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; }
.dm-card__copy p:not(.eyebrow) { max-width: 30rem; margin-top: 14px; color: var(--text-2); }
.dm-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 639px) { .dm-card__inbox { display: none; } .dm-card__inner { padding: 24px 20px 22px; } }
@media (min-width: 760px) { .dm-card__inner { grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); align-items: center; gap: 32px; padding: 34px; } }

/* ---------- Discord: the inbox, the button, and the "DM me" card ---------- */
.btn--discord { background: #5865f2; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2), 0 10px 28px -10px rgba(88, 101, 242, 0.8); }
.btn--discord svg { width: 20px; height: 20px; }
@media (hover: hover) { .btn--discord:hover { background: #6b77f5; transform: translateY(-2px); } }

/* a Discord message requests window (dark theme) */
.dcw { justify-self: center; width: 100%; max-width: 360px; overflow: hidden; padding: 0; border-radius: 12px; background: #313338; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.9); font-family: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.dcw__head { display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: #2b2d31; border-bottom: 1px solid #1f2023; font-size: 0.86rem; font-weight: 700; color: #f2f3f5; }
.dcw__head svg { width: 20px; height: 20px; color: #949ba4; }
.dcw__head b { display: grid; place-items: center; min-width: 18px; height: 16px; margin-left: auto; padding: 0 5px; border-radius: 8px; background: #f23f43; font-size: 0.66rem; font-weight: 800; color: #fff; }
.dm-card__asks { display: grid; align-content: start; gap: 2px; height: 272px; margin: 0; padding: 8px 6px; overflow: hidden; list-style: none; }
.dm-card__asks li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 7px 8px; border-radius: 6px; animation: ask-in 0.6s var(--ease) both; }
.dm-card__asks li:first-child { background: rgba(88, 101, 242, 0.1); }
.dcw__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; }
.dcw__av svg { width: 22px; height: 22px; }
.dcw__msg { display: grid; min-width: 0; gap: 1px; }
.dcw__line { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.dcw__line b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.86rem; font-weight: 600; color: #f2f3f5; }
.dcw__line time { flex: none; font-size: 0.66rem; font-weight: 500; color: #949ba4; }
.dcw__txt { font-size: 0.84rem; font-weight: 400; line-height: 1.35; color: #dbdee1; }
@keyframes ask-in { from { opacity: 0; margin-top: -66px; transform: scale(0.97); } }

/* the form and the Discord card, side by side */
.send__grid { display: grid; gap: 18px; justify-content: center; }
.send__grid > .send__card { width: 100%; max-width: 680px; margin: 0; }
.send__or { --dir: 90deg; display: flex; align-items: center; gap: 12px; }
.send__or::before, .send__or::after { content: ""; flex: 1; height: 2px; border-radius: 2px; }
.send__or::before { background: linear-gradient(var(--dir), transparent, rgba(var(--green-rgb), 0.8)); }
.send__or::after { background: linear-gradient(var(--dir), rgba(88, 101, 242, 0.85), transparent); }
.send__or span { position: relative; display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2a2d33, #17181b); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), 0 0 0 6px rgba(var(--green-rgb), 0.08), 0 0 34px -4px rgba(var(--green-rgb), 0.6), 0 0 34px -4px rgba(88, 101, 242, 0.5); font-size: 0.98rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.send__or span::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(var(--green-rgb), 0.55); animation: or-ring 2.6s var(--ease) infinite; }
@keyframes or-ring { 0% { transform: scale(0.9); opacity: 0.9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.dc { order: -2; width: 100%; max-width: 680px; }
.send__or { order: -1; }
@media (min-width: 1000px) {
  .send__grid { grid-template-columns: minmax(0, 640px) auto minmax(320px, 380px); align-items: start; gap: 30px; }
  .dc { order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .send__or { --dir: 180deg; order: 0; flex-direction: column; align-self: stretch; padding-block: 24px; }
  .send__or::before, .send__or::after { width: 2px; height: auto; }
}
.dc__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8f99ff; }
.dc__kicker svg { width: 18px; height: 18px; }
.dc__title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.03em; }
.dc__sub { margin: 8px 0 18px; color: var(--text-2); }

/* the profile card: tilts toward the pointer, with a glare and an orbiting border */
.dc__card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative;
  display: block;
  padding: 1.5px;
  border-radius: 20px;
  background: conic-gradient(from var(--spin), rgba(88, 101, 242, 0.25), #5865f2 12%, #8f99ff 18%, rgba(88, 101, 242, 0.25) 30%, rgba(88, 101, 242, 0.25) 55%, var(--green-hi) 66%, rgba(88, 101, 242, 0.25) 78%);
  color: #fff;
  text-decoration: none;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  box-shadow: 0 40px 90px -40px rgba(88, 101, 242, 0.75);
  transition: transform 0.25s var(--ease), box-shadow 0.3s;
  animation: spin-border 6s linear infinite;
  -webkit-tap-highlight-color: transparent;
}
.dc__card > * { position: relative; }
.dc__card::before { content: ""; position: absolute; inset: 1.5px; border-radius: 18.5px; background: #232428; }
.dc__card:hover { box-shadow: 0 50px 110px -40px rgba(88, 101, 242, 0.95); }
.dc__card:active { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(0.985); }
.dc__glare { position: absolute; inset: 1.5px; z-index: 3; border-radius: 18.5px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.dc__card:hover .dc__glare { opacity: 1; }
.dc__banner { display: block; height: 92px; overflow: hidden; border-radius: 18.5px 18.5px 0 0; background: linear-gradient(120deg, #3c45c5, #5865f2 45%, #7b61ff); }
.dc__banner i { position: absolute; width: 140px; height: 140px; border-radius: 50%; filter: blur(30px); opacity: 0.75; animation: aurora 9s ease-in-out infinite alternate; }
.dc__banner i:nth-child(1) { left: -30px; top: -50px; background: #12d68b; }
.dc__banner i:nth-child(2) { left: 45%; top: -70px; background: #eb459f; animation-delay: -3s; animation-duration: 11s; }
.dc__banner i:nth-child(3) { right: -40px; top: -20px; background: #8f99ff; animation-delay: -6s; }
@keyframes aurora { 50% { transform: translate(40px, 20px) scale(1.2); } 100% { transform: translate(-20px, 30px) scale(0.9); } }
.dc__banner svg { position: absolute; right: 16px; top: 14px; width: 30px; height: 30px; color: rgba(255, 255, 255, 0.9); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); }
.dc__head { display: flex; align-items: flex-end; justify-content: space-between; margin: -40px 18px 0; }
.dc__avatar { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #2d2f33; box-shadow: 0 0 0 6px #232428; font-size: 2rem; font-weight: 900; color: var(--text-2); }
.dc__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dc__avatar i { position: absolute; right: 2px; bottom: 2px; width: 22px; height: 22px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 5px #232428; }
.dc__avatar i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #23a55a; animation: ping 2s var(--ease) infinite; }
.dc__badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(88, 101, 242, 0.18); font-size: 0.72rem; font-weight: 800; color: #c9cdff; }
.dc__badge svg { width: 15px; height: 15px; }
.dc__who { display: grid; margin: 12px 18px 0; line-height: 1.2; }
.dc__who b { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.dc__who small { margin-top: 3px; font-size: 0.95rem; font-weight: 700; color: #b5bac1; }
.dc__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 18px 0; }
.dc__meta > span { display: inline-block; padding: 5px 10px; border-radius: 7px; background: #2b2d31; font-size: 0.76rem; font-weight: 700; color: #dbdee1; }
.dc__dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #23a55a; vertical-align: 0; }
.dc__typing { display: flex; align-items: center; gap: 10px; margin: 16px 18px 0; padding: 10px 12px; border-radius: 10px; background: #383a40; font-size: 0.82rem; font-weight: 600; color: #b5bac1; }
.dc__typing > span { display: inline-flex; gap: 3px; }
.dc__typing i { width: 6px; height: 6px; border-radius: 50%; background: #dbdee1; animation: typing 1.2s ease-in-out infinite; }
.dc__typing i:nth-child(2) { animation-delay: 0.15s; }
.dc__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.dc__btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 18px 18px; height: 52px; overflow: hidden; border-radius: 12px; background: #5865f2; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); font-size: 1rem; font-weight: 800; transition: background-color 0.2s; }
.dc__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%); transform: translateX(-120%); animation: btn-sheen 3.6s var(--ease) infinite; }
@keyframes btn-sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.dc__btn .i { transition: transform 0.3s var(--ease); }
.dc__card:hover .dc__btn { background: #6b77f5; }
.dc__card:hover .dc__btn .i { transform: translate(2px, -2px); }
.dc__copy { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, 0.06); font-size: 0.86rem; font-weight: 700; color: var(--text-2); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.dc__copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dc__copy:hover { background: rgba(88, 101, 242, 0.2); color: #fff; }
.dc__rows { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dc__rows a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 0.2s, padding 0.3s var(--ease); }
.dc__rows a span { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.dc__rows a b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.92rem; font-weight: 700; color: var(--text-2); }
.dc__rows a:hover { padding-inline: 10px; }
.dc__rows a:hover b { color: #fff; }


/* ---------- the send form: big tap targets, nothing to scroll past ---------- */
/* step 1: what you need, as tiles */
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick > span { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; min-height: 56px; padding: 8px 10px 8px 9px; border-radius: 13px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(0, 0, 0, 0.25); font-size: 0.9rem; font-weight: 800; line-height: 1.2; transition: background-color 0.18s, box-shadow 0.18s, transform 0.18s var(--ease); }
.pick i { position: relative; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.pick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pick input:checked + span { background: rgba(var(--green-rgb), 0.15); box-shadow: inset 0 0 0 2px var(--green), inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.pick input:checked + span i { background: var(--green); color: #fff; transform: rotate(-6deg); }
.pick i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.6l4.5-5' fill='none' stroke='%23062b1c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pick svg { transition: opacity 0.15s, transform 0.25s var(--ease); }
.pick input:checked + span i::after { opacity: 1; transform: none; }
.pick input:checked + span svg { opacity: 0; transform: scale(0.5); }
.pick:active > span { transform: scale(0.97); }
.pick input:focus-visible + span { outline: 2px solid var(--green-hi); outline-offset: 2px; }
@media (hover: hover) { .pick:hover > span { background-color: #303338; } .pick:hover input:checked + span { background: rgba(var(--green-rgb), 0.2); } }
@media (max-width: 559px) { .pick--wide { grid-column: 1 / -1; } }

/* step 2: "I have a game" / "Just an idea" */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: 14px; background: #141518; box-shadow: inset 0 0 0 1px var(--line-2); }
.seg label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 8px; border-radius: 10px; font-size: 0.95rem; font-weight: 800; color: var(--text-3); text-align: center; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.seg input:checked + span { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 8px 18px -10px rgba(0, 0, 0, 0.9); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--green-hi); outline-offset: 2px; }
.form.is-idea [data-when="game"], .form:not(.is-idea) [data-when="idea"] { display: none; }
.linkbox { position: relative; }
.linkbox input { padding-right: 92px; }
.linkbox__paste { position: absolute; top: 50%; right: 7px; height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--green); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22); font-size: 0.88rem; font-weight: 800; color: #fff; cursor: pointer; transform: translateY(-50%); -webkit-tap-highlight-color: transparent; transition: transform 0.15s; }
.linkbox__paste:active { transform: translateY(-50%) scale(0.95); }

/* step 3: compact chips in a grid */
.chips--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chips--grid .chip span { justify-content: center; width: 100%; min-height: 46px; padding: 8px 10px; font-size: 0.88rem; text-align: center; }
.chips--budget { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 560px) { .chips--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .chips--budget { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* step 4: Discord box with its logo, and the optional extras folded away */
.iconput { position: relative; }
.iconput svg { position: absolute; top: 50%; left: 15px; width: 20px; height: 20px; margin-top: -10px; color: #8f99ff; pointer-events: none; }
.iconput input { padding-left: 46px; }
.extras { margin: -4px 0 6px; }
.extras summary { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 0.92rem; font-weight: 800; color: var(--text-2); list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); font-size: 1.1rem; line-height: 1; transition: transform 0.3s var(--ease), background-color 0.2s; }
.extras[open] summary::before { background: rgba(var(--green-rgb), 0.2); transform: rotate(45deg); }
.extras > div { padding-top: 10px; animation: rise 0.35s var(--ease) both; }
.extras .numbers__grid .field { margin-bottom: 12px; }

/* back and continue, sized for thumbs */
.form__error:empty { min-height: 0; margin: 0; }
.form__error:not(:empty) { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(var(--red-rgb), 0.12); }
.form__nav { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.form__nav .form__back { flex: none; width: 54px; padding: 0; }
.form__nav [data-next], .form__nav [data-submit] { flex: 1; min-width: 0; margin-left: 0; }
@media (min-width: 560px) { .form__nav [data-next], .form__nav [data-submit] { flex: 0 1 auto; min-width: 200px; margin-left: auto; } }

/* phones: tighter card, step names collapse to "Step 2 of 4" */
@media (max-width: 559px) {
  .send__card { padding: 18px 14px 14px; border-radius: 18px; }
  .form__top { margin-bottom: 18px; }
  .form__steps li { gap: 0; }
  .form__steps li span { display: none; }
  .form__count { display: block; }
  .fstep__sub { margin-bottom: 14px; font-size: 0.88rem; }
  .field { margin-bottom: 16px; }
  .field label, .label { font-size: 0.92rem; }
  .pick > span { min-height: 54px; gap: 9px; padding: 8px 8px 8px 8px; font-size: 0.86rem; }
  .pick i { width: 32px; height: 32px; }
  .form__nav .btn { --h: 54px; }
}

/* ---------- footer ---------- */
.footer { padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; padding-bottom: 32px; }
.footer__brand p { margin-top: 10px; color: var(--text-3); font-weight: 600; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__nav a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.footer__nav a:hover { color: var(--green-hi); }
.footer__legal { font-size: 0.78rem; line-height: 1.6; color: var(--text-3); }
@media (min-width: 1000px) { .footer { padding-bottom: 56px; } }

/* ---------- mobile dock ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 14px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(17, 18, 20, 0), rgba(17, 18, 20, 0.95) 35%); transform: translateY(110%); transition: transform 0.45s var(--ease); pointer-events: none; }
.dock.is-on { transform: none; pointer-events: auto; }
@media (min-width: 1000px) { .dock { display: none; } }

/* ---------- reveals ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- review mode (only you see this; see config.js) ---------- */
.review-pill { position: fixed; left: 14px; bottom: 14px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: #1c1700; box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.5), 0 10px 30px rgba(0, 0, 0, 0.5); color: var(--caution); font-size: 0.78rem; font-weight: 700; }
.review-pill button { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--caution); color: #1c1700; font-size: 0.76rem; font-weight: 800; cursor: pointer; }
@media (max-width: 999px) { .review-pill { bottom: calc(92px + env(safe-area-inset-bottom)); } }
[data-review-show] [data-proposed] { background-image: repeating-linear-gradient(-45deg, rgba(255, 214, 10, 0.28) 0 3px, transparent 3px 7px); outline: 1px dashed rgba(255, 214, 10, 0.9); outline-offset: 2px; border-radius: 4px; }
[data-needs] { display: none !important; }
[data-review-show] [data-needs] { display: revert !important; outline: 1.5px dashed var(--caution); outline-offset: 6px; }
[data-review-show] [data-needs]::before { content: "Needs · " attr(data-needs); display: block; margin-bottom: 10px; padding: 7px 10px; border-radius: 8px; background: var(--caution); color: #1c1700; font-size: 0.74rem; font-weight: 700; line-height: 1.4; text-align: left; }


/* ---------- phones: services swipe, with a tab bar that names each one ---------- */
.svc-tabs { display: flex; gap: 6px; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tabs button { flex: none; min-height: 38px; padding: 0 15px; border: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.86rem; font-weight: 800; color: var(--text-2); white-space: nowrap; cursor: pointer; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; -webkit-tap-highlight-color: transparent; }
.svc-tabs button.is-on { background: var(--green); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22), 0 8px 22px -8px rgba(var(--green-rgb), 0.9); color: #fff; }

@media (max-width: 719px) {
  .svc-grid { display: flex; align-items: flex-start; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc-grid > .svc { flex: 0 0 min(86%, 360px); scroll-snap-align: start; }
  /* each card fits on one phone screen */
  .svc__body { gap: 8px; padding: 16px 18px; }
  .svc h3 { font-size: 1.32rem; }
  .svc__pitch { font-size: 0.95rem; line-height: 1.45; }
  .svc__list { gap: 6px; margin: 2px 0 6px; font-size: 0.85rem; line-height: 1.4; }
  .svc__foot { gap: 8px; margin-top: 4px; padding-top: 12px; }
  .svc__vis { height: 206px; }
  .svc__vis.vig { padding: 10px; }
  .svc__vis > :not(.v-cursor) { scale: 0.92; }
  .svc__tag { display: none; }
  .services .head { margin-bottom: 22px; }
  .services .head h2 { font-size: 1.95rem; }
  .services .sub { margin-top: 10px; font-size: 0.98rem; }
  .svc__cta { gap: 6px; padding: 0 11px; font-size: 0.86rem; }
  .svc__price > span { font-size: 1.24rem; }
  .svc__price em { font-size: 0.74rem; }
}
@media (max-width: 400px) { .svc__cta .i { display: none; } }

/* the live demo on phones: one screen. The chart, the analyst's latest line, six tiles you tap to fix,
   and "Fix everything" right under them */
.bm__short, .ccu__rev { display: none; }
@media (max-width: 639px) {
  .lab .head { margin-bottom: 22px; }
  .dash { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 20px; }
  .dash__top, .ai { display: contents; }
  .dash__bar { order: 0; gap: 10px; padding: 4px 6px 2px; }
  .dash__icon { width: 30px; height: 30px; border-radius: 8px; }
  .dash__icon i { inset: 7px; }
  .dash__game b { font-size: 0.9rem; }
  .dash__game small { display: none; }

  .ccu { order: 1; padding: 12px 14px 0; border-radius: 14px; }
  .ccu__head { row-gap: 6px; }
  .ccu__label { gap: 8px; font-size: 0.76rem; white-space: nowrap; }
  .ccu__label .live { flex: none; }
  .ccu__rec { flex: none; gap: 6px; padding: 4px 8px; font-size: 0.62rem; white-space: nowrap; }
  .ccu__big { gap: 8px; margin-top: 4px; }
  .ccu__big > b { font-size: 2.3rem; }
  .ccu__vs { display: none; }
  .ccu__rev { display: inline-flex; margin-left: auto; font-size: 0.8rem; font-weight: 700; color: var(--text-3); }
  .ccu__rev b { color: var(--text); font-weight: 900; }
  .ccu__rev svg { color: var(--text); }
  .ccu__chart { height: 92px; margin: 8px -14px 0; }
  .ccu__plot { top: 8px; }
  .ccu__y { top: 8px; }
  .ccu__banner { top: 8px; left: 10px; padding: 6px 10px; }
  .ccu__banner b { font-size: 0.8rem; }
  .ccu__banner span { font-size: 0.66rem; }
  .mark span { font-size: 0.58rem; padding: 2px 6px; }
  .ccu__kpis { display: none; }
  .ccu__chart { margin-bottom: 0; }

  /* the analyst: just the latest line, with your face beside it */
  .ai__head { display: none; }
  .ai__feed { order: 2; justify-content: center; height: auto; min-height: 58px; max-height: 96px; margin: 0; padding: 8px 10px; gap: 6px; border-radius: 14px; background: #17181b; box-shadow: inset 0 0 0 1px var(--line); -webkit-mask-image: none; mask-image: none; }
  .ai__msg { position: relative; max-width: 100%; padding: 2px 0 2px 40px; border-radius: 0; background: none; box-shadow: none; font-size: 0.84rem; line-height: 1.4; }
  .ai__msg:not(.ai__msg--me)::before { content: ""; position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: url("../img/khaiel.jpg") center / cover; box-shadow: 0 0 0 2px #17181b, 0 0 0 3.5px var(--green); }
  .ai__feed > :first-child { margin-top: 0; }
  .ai__msg--me, .ai__msg:not(:last-child), .ai__go, .ai__msg br { display: none; }

  /* the six fixes: tap anywhere on a tile */
  .dash__grid { order: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
  .bm { padding: 10px 12px 11px; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
  .bm__head { padding-right: 46px; }
  .bm__name, .bm__flag, .bm__pct, .bm__marks, .bm__val .delta, .bm__fixtext { display: none; }
  .bm__short { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8rem; font-weight: 800; color: var(--text-2); }
  .bm__val { margin-top: 1px; }
  .bm__val b { font-size: 1.22rem; }
  .bm__track { height: 6px; margin-top: 7px; }
  .bm__seg { height: 6px; }
  .bm__knob { width: 14px; height: 14px; margin: -7px 0 0 -7px; box-shadow: 0 0 0 2px #17181b, 0 2px 6px rgba(0, 0, 0, 0.5); }
  .bm.is-fixed .bm__knob { box-shadow: 0 0 0 2px #17181b, 0 0 12px rgba(var(--green-rgb), 0.8); }
  .bm__fix { position: absolute; inset: 0; z-index: 2; justify-content: flex-end; align-items: flex-start; margin: 0; padding: 10px; border-radius: inherit; background: none !important; box-shadow: none !important; }
  .bm:active { transform: scale(0.97); }
  .sw { width: 38px; height: 22px; }
  .sw::after { top: 3px; left: 3px; width: 16px; height: 16px; }
  .bm__fix input:checked + .sw::after { transform: translateX(16px); }

  /* "Fix everything", right where your thumb is */
  .ai__chips { order: 4; padding: 0; border: 0; }
  .ai__asks { display: none; }
  .ai__chips .ai__all { min-height: 50px; border-radius: 14px; font-size: 1rem; }
  .dash__foot { order: 5; flex-direction: column; align-items: stretch; gap: 10px; padding: 6px 4px 4px; }
  .dash__foot p { font-size: 0.74rem; text-align: center; }
  .dash__actions { margin: 0; }
  .dash__actions [data-dash-reset] { display: none; }
  .dash__actions .btn { flex: 1; }
}

/* phones: service cards lead with the headline only */
@media (max-width: 719px) {
  .svc__list li > span { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .wall__row, .more__row, .dm-card, .dc__card, .dc__banner i { animation: none; }
  .more__rows { overflow-x: auto; }
}
