/* Blox Academy website. Apple-style: black stage, calm type, one accent, Liquid Glass, and the product moving in 3D. */

:root {
  --black: #000; --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b; --light: #fff; --alt: #f5f5f7;
  --line: rgba(0, 0, 0, 0.1); --dark-ink: #f5f5f7; --dark-ink-2: #a1a1a6; --dark-card: #161617; --dark-line: rgba(255, 255, 255, 0.14);
  --accent: #3b5bfb; --accent-hover: #2f4fe6; --accent-text: #2f4fe6; --accent-light: #7189ff; --green: #30d158; --red: #ff453a;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1); --spring: cubic-bezier(0.2, 0.9, 0.25, 1.05); --out: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--dark-ink); font-family: var(--font); font-size: 17px; line-height: 1.47;
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.wrap.wide { width: min(1240px, calc(100% - 32px)); }
.wrap.narrow { width: min(780px, calc(100% - 32px)); }
.center { text-align: center; }
.svg-defs { position: absolute; width: 0; height: 0; }
section[id] { scroll-margin-top: 90px; }

/* ---------- floating Liquid Glass navigation ---------- */
.nav {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); width: min(1000px, calc(100% - 24px)); height: 58px;
  display: flex; align-items: center; gap: 20px; padding: 0 9px 0 22px; border-radius: 999px; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 55%), rgba(24, 24, 28, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 12px 40px rgba(0, 0, 0, 0.32), 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: width 0.6s var(--out), height 0.6s var(--out), top 0.6s var(--out), background-color 0.4s, color 0.4s;
}
.refract .nav { backdrop-filter: url(#lg-lens) saturate(180%); }
.nav::before { /* specular rim where light catches the edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08) 24%, transparent 46%, transparent 62%, rgba(255, 255, 255, 0.08) 80%, rgba(255, 255, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.nav.scrolled { width: min(880px, calc(100% - 24px)); height: 52px; top: 10px; }
.nav.on-light { color: var(--ink); background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4) 55%), rgba(250, 250, 252, 0.5);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.brand .mark { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 13.5px; padding: 7px 13px; border-radius: 999px; opacity: 0.86; transition: background-color 0.25s, opacity 0.25s; }
.nav-links a:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.nav.on-light .nav-links a:hover { background: rgba(0, 0, 0, 0.06); }
.nav-links a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, 0.14); }
.nav.on-light .nav-links a[aria-current="page"] { background: rgba(0, 0, 0, 0.08); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-signin { text-decoration: none; font-size: 13.5px; padding: 7px 12px; opacity: 0.86; }
.nav-signin:hover { opacity: 1; }
.menu-signin { display: none; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 28px; border-radius: 980px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -0.02em;
  transition: background-color 0.2s var(--ease), transform 0.25s var(--spring); }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gray { background: rgba(255, 255, 255, 0.1); color: var(--dark-ink); }
.btn-gray:hover { background: rgba(255, 255, 255, 0.16); }
.light .btn-gray, .alt .btn-gray, .card-light .btn-gray { background: #e8e8ed; color: var(--ink); }
.btn-danger { background: rgba(255, 69, 58, 0.14); color: var(--red); }
.btn-danger:hover { background: rgba(255, 69, 58, 0.22); }
.link { color: var(--accent-light); text-decoration: none; font-size: 17px; }
.light .link, .alt .link { color: var(--accent-text); }
.link:hover { text-decoration: underline; }
.cta { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- type ---------- */
.eyebrow { font-size: 21px; font-weight: 600; color: var(--accent-light); letter-spacing: -0.01em; margin-bottom: 12px; }
.light .eyebrow, .alt .eyebrow { color: var(--accent-text); }
h1 { font-size: clamp(56px, 9.5vw, 132px); line-height: 1.02; font-weight: 700; letter-spacing: -0.034em; }
h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 650; letter-spacing: -0.021em; }
.lede { font-size: clamp(19px, 2vw, 25px); line-height: 1.4; color: var(--dark-ink-2); max-width: 760px; margin: 24px auto 0; letter-spacing: -0.012em; }
.light .lede, .alt .lede { color: var(--ink-2); }
.note { font-size: 14px; color: var(--dark-ink-2); margin-top: 44px; }
.light .note, .alt .note { color: var(--ink-3); }
.grad-text { color: var(--accent-light); }

/* ---------- sections ---------- */
.section { padding: clamp(110px, 13vw, 190px) 0; position: relative; }
.light { background: var(--light); color: var(--ink); }
.alt { background: var(--alt); color: var(--ink); }
.dark { background: var(--black); color: var(--dark-ink); }
.page-hero { padding: clamp(160px, 18vw, 230px) 0 clamp(70px, 8vw, 110px); text-align: center; position: relative; overflow: hidden; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; position: relative; padding: 120px 0 100px; overflow: hidden; }
/* the copy on the left, the render on the right; stacked and centered on phones */
.hero-inner { width: min(1240px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(20px, 4vw, 64px); }
.hero-copy { text-align: left; }
.hero-copy .hero-title { font-size: clamp(46px, 5.5vw, 88px); }
.hero-copy .hero-title .hero-eyebrow { margin: 18px 0 10px; }
.hero-copy .hero-words > span { display: block; }
.hero-copy .lede { margin-left: 0; max-width: 540px; font-size: clamp(18px, 1.5vw, 21px); }
.hero-copy .cta { justify-content: flex-start; gap: 14px; }
.hero-art { position: relative; perspective: 1400px; }
.hero-tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.7s var(--out); transform-style: preserve-3d; }
.hero-tilt img { width: 100%; height: auto; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
/* an estimate on the render, in a Liquid Glass chip */
.hero-chip { position: absolute; left: -2%; bottom: 3%; display: grid; gap: 1px; padding: 14px 18px 13px; border-radius: 22px; color: var(--dark-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 60%), rgba(28, 28, 34, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22), 0 20px 50px rgba(0, 0, 0, 0.45); }
.hero-chip small { font-size: 12px; color: var(--dark-ink-2); }
.hero-chip b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-chip span { font-size: 12.5px; color: var(--accent-light); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .hero { padding: 110px 0 90px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin: 24px auto 0; }
  .hero-copy .cta { justify-content: center; }
  .hero-art { order: -1; width: min(320px, 76%); margin: 0 auto -6px; }
  .hero-chip { left: -12%; bottom: 6%; padding: 9px 12px 8px; border-radius: 16px; }
  .hero-chip small { font-size: 11px; }
  .hero-chip b { font-size: 22px; }
  .hero-copy .hero-title .hero-eyebrow { margin-top: 6px; }
}
.hero-inner { position: relative; z-index: 1; will-change: transform, opacity; }
.hero-eyebrow { margin-top: 40px; color: var(--dark-ink-2); font-size: 19px; }
.hero-words > span { display: inline-block; }
.hero-words > span:nth-child(3) { color: var(--accent-light); }
.hero-lede { max-width: 700px; }
.hero-price { margin-top: 18px; font-size: 14px; color: var(--dark-ink-2); }
/* A Roblox baseplate, receding into the dark: a grid floor that drifts toward you */
.floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; z-index: 0; pointer-events: none; perspective: 600px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); }
.floor::before { content: ""; position: absolute; inset: -100% 0 0; transform: rotateX(72deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(113, 137, 255, 0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(113, 137, 255, 0.28) 1px, transparent 1px);
  background-size: 64px 64px; animation: floor 6s linear infinite; }
@keyframes floor { to { background-position: 0 64px; } }

/* ---------- the other pages' backdrops: the floor's style (thin brand-blue lines on black, slow), a different idea each ---------- */
.bd { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.auth-page > :not(.bd) { position: relative; z-index: 1; }
/* Pricing: one horizon, with light running along its edge */
.bd-horizon i { position: absolute; left: 50%; top: 86%; width: max(170vw, 1200px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: #05050a; box-shadow: inset 0 1.5px 0 rgba(113, 137, 255, 0.5); }
.bd-horizon i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(rgba(113, 137, 255, 0.24) 1px, transparent 1.6px) center top / 26px 26px;
  -webkit-mask-image: linear-gradient(#000, transparent 14%); mask-image: linear-gradient(#000, transparent 14%); }
.bd-horizon i::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from -8deg, transparent, #c9d2ff 8deg, transparent 16deg);
  -webkit-mask-image: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask-image: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: sweep 11s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: rotate(-30deg); } to { transform: rotate(30deg); } }
/* Features (orbits), FAQ (ripples), Charts (chart lines) and the legal pages (contours): animated drawings in assets/bd, made by build_site.py */
.bd-orbits { background: url(/assets/bd/orbits.svg) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent 100%); mask-image: linear-gradient(to top, #000 40%, transparent 100%); }
.bd-ripples { background: url(/assets/bd/ripples.svg) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent 95%); mask-image: linear-gradient(to top, #000 35%, transparent 95%); }
.bd-lines { background: url(/assets/bd/lines.svg) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 92%); mask-image: linear-gradient(to top, #000 30%, transparent 92%); }
.bd-contours { background: url(/assets/bd/contours.svg) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent 95%); mask-image: linear-gradient(to top, #000 35%, transparent 95%); }
/* Sign in, account and 404: a dot matrix with light passing through it */
.bd-dots { background: radial-gradient(rgba(113, 137, 255, 0.3) 1.1px, transparent 1.7px) center / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 60%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 50% 60%, #000 25%, transparent 78%); }
.bd-dots::after { content: ""; position: absolute; inset: 0; background: radial-gradient(#b4c1ff 1.3px, transparent 1.9px) center / 22px 22px;
  -webkit-mask-image: linear-gradient(105deg, transparent 42%, #000 50%, transparent 58%); mask-image: linear-gradient(105deg, transparent 42%, #000 50%, transparent 58%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: scan 8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes scan { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
/* The forum: a wall of tiles, tilted back like the floor; a few light up at a time (the plugin draws 112, with their own delays) */
.bd-tiles { perspective: 800px; -webkit-mask-image: linear-gradient(to top, #000 25%, transparent 90%); mask-image: linear-gradient(to top, #000 25%, transparent 90%); }
.bd-tiles > div { position: absolute; left: 50%; bottom: -12%; width: max(150vw, 1500px); display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 14px;
  transform: translateX(-50%) rotateX(64deg); transform-origin: 50% 100%; }
.bd-tiles i { aspect-ratio: 1; border-radius: 22%; box-shadow: inset 0 0 0 1.5px rgba(113, 137, 255, 0.22); }
.bd-tiles i[style] { animation: tile 11s ease-in-out var(--d) infinite; }
@keyframes tile { 0%, 80%, 100% { background-color: transparent; } 88% { background-color: rgba(113, 137, 255, 0.6); } }
.scroll-cue { position: absolute; z-index: 1; bottom: 30px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: rgba(255, 255, 255, 0.7); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }


/* ---------- highlights carousel ---------- */
.highlights { padding-top: clamp(70px, 7vw, 100px); }
.hl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hl-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 44px max(16px, calc((100vw - 1240px) / 2)) 20px;
  scrollbar-width: none; overscroll-behavior-x: contain; }
.hl-track::-webkit-scrollbar { display: none; }
.hl-card { flex: 0 0 min(820px, 86vw); scroll-snap-align: center; border-radius: 30px; background: var(--dark-card); overflow: hidden; position: relative;
  display: grid; grid-template-rows: auto minmax(0, 1fr); height: clamp(460px, 64vh, 600px); box-shadow: inset 0 0 0 0.5px var(--dark-line);
  transition: transform 0.6s var(--out), opacity 0.6s var(--out); }
.hl-card:not(.current) { opacity: 0.55; transform: scale(0.96); }
.hl-text { padding: 38px 40px 10px; }
.hl-text p.k { font-size: 15px; font-weight: 600; color: var(--accent-light); margin-bottom: 8px; }
.hl-text h3 { font-size: clamp(26px, 3vw, 38px); max-width: 560px; }
/* Tall shots sit at full width and run off the bottom of the card; wide ones are shown whole */
.hl-media { display: flex; align-items: flex-start; justify-content: center; padding: 22px 40px 0; overflow: hidden; min-height: 0;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hl-media img { width: min(100%, 600px); height: auto; border-radius: 16px 16px 0 0; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9); transform: translateY(24px);
  transition: transform 0.9s var(--out); }
.hl-card.current .hl-media img { transform: none; }
.hl-media.pad { align-items: center; padding-bottom: 34px; -webkit-mask-image: none; mask-image: none; }
.hl-media.pad img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.hl-media.pad img { border-radius: 16px; }
.hl-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.hl-dots { display: flex; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.hl-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: width 0.4s var(--out), background-color 0.3s; }
.hl-dots button.on { width: 28px; background: #fff; }
.hl-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color 0.2s; }
.hl-arrow:hover { background: rgba(255, 255, 255, 0.18); }
.hl-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the product flip (scroll-driven) ---------- */
.scrub { height: 330vh; position: relative; }
.scrub-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr; justify-items: center; padding-top: 104px; overflow: hidden; perspective: 1600px; }
.captions { position: relative; width: min(1000px, calc(100% - 32px)); height: clamp(150px, 20vh, 210px); text-align: center; }
.caption { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.caption.on { opacity: 1; transform: none; }
.caption h2 { font-size: clamp(32px, 4.6vw, 58px); }
.flip3d { position: relative; width: min(840px, calc(100% - 32px), 60vh * 1.152); aspect-ratio: 1600 / 1389; align-self: center; transform-style: preserve-3d; will-change: transform; }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2.6% / 3%; }
.flip-front img { width: 100%; height: 100%; border-radius: inherit; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 50px 120px -30px #000; }
.flip-back { transform: rotateY(180deg); background: var(--dark-card); box-shadow: inset 0 0 0 0.5px var(--dark-line), 0 50px 120px -30px #000;
  padding: clamp(24px, 4.4%, 48px); display: flex; flex-direction: column; justify-content: center; }
.inside { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.6vw, 30px) clamp(18px, 3vw, 40px); }
.inside li { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 0.5px solid var(--dark-line); }
.inside b { font-size: clamp(16px, 1.7vw, 21px); letter-spacing: -0.02em; }
.inside span { font-size: clamp(13px, 1.2vw, 15.5px); color: var(--dark-ink-2); line-height: 1.45; }

/* ---------- big number (earnings) ---------- */
.bignum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.bignum .num { font-size: clamp(72px, 12vw, 168px); font-weight: 700; letter-spacing: -0.042em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.bignum .num small { display: block; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.015em; font-weight: 500; color: var(--dark-ink-2); margin-top: 22px; line-height: 1.4; max-width: 30em; }
.float-shot { position: relative; will-change: transform; }
.float-shot img { width: 100%; border-radius: 22px; box-shadow: 0 40px 100px -30px #000, 0 0 0 0.5px var(--dark-line); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 7vw, 90px); perspective: 1600px; }
.tile { position: relative; border-radius: 30px; background: var(--alt); overflow: hidden; display: flex; flex-direction: column; min-height: 420px;
  transform-style: preserve-3d; transition: transform 0.5s var(--out), box-shadow 0.5s var(--out); }
.tile.dark-tile { background: #0d0d10; color: var(--dark-ink); }
.tile:hover { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.35); }
.tile .t-text { padding: 32px 32px 0; }
.tile .t-text:only-child { padding-bottom: 32px; }
.tile:not(:has(.t-media)) { min-height: 0; }
.tile .t-text .ic { display: grid; margin-bottom: 18px; }
.tile .t-text small { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); }
.tile.dark-tile .t-text small { color: var(--accent-light); }
.tile .t-text h3 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 8px; }
.tile .t-text p { color: var(--ink-2); font-size: 16px; margin-top: 10px; max-width: 460px; }
.tile.dark-tile .t-text p { color: var(--dark-ink-2); }
.tile .t-media { margin-top: auto; padding: 28px 28px 0; display: flex; justify-content: center; }
.tile .t-media img { border-radius: 14px 14px 0 0; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6); }
.tile .t-media.inset { padding-bottom: 28px; }
.tile .t-media.inset img { border-radius: 14px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.row-2 { grid-row: span 2; }
.tall-crop { max-height: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }

/* ---------- numbers ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.stat b { display: block; font-size: clamp(48px, 6.4vw, 88px); font-weight: 700; letter-spacing: -0.034em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; max-width: 230px; margin: 12px auto 0; font-size: 15px; color: var(--dark-ink-2); }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 60px; }
.trust div { padding: 28px 24px; border-radius: 24px; background: var(--dark-card); box-shadow: inset 0 0 0 0.5px var(--dark-line); }
.trust b { display: block; font-size: 18px; margin-top: 18px; letter-spacing: -0.02em; }
.trust b + span { display: block; font-size: 14.5px; color: var(--dark-ink-2); margin-top: 6px; line-height: 1.45; }

/* ---------- feature rows (features page) ---------- */
.subnav { position: sticky; top: 84px; z-index: 20; display: flex; justify-content: center; margin-top: -24px; }
.subnav-inner { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 8px 30px rgba(0, 0, 0, 0.08); overflow-x: auto; max-width: calc(100vw - 24px); scrollbar-width: none; }
.subnav a { text-decoration: none; font-size: 14px; padding: 8px 16px; border-radius: 999px; color: var(--ink); white-space: nowrap; transition: background-color 0.25s; }
.subnav a.on { background: var(--ink); color: #fff; }
.frow { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 84px); align-items: center; margin-top: clamp(80px, 10vw, 140px); }
.frow.flip .ftext { order: 2; }
.ftext small { font-size: 14px; font-weight: 600; color: var(--accent-text); letter-spacing: 0.02em; }
.dark .ftext small { color: var(--accent-light); }
.ftext h3 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 8px; line-height: 1.08; letter-spacing: -0.035em; }
.ftext p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.dark .ftext p { color: var(--dark-ink-2); }
.ftext ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ftext li { position: relative; padding-left: 28px; font-size: 16px; }
.ftext li::before, .checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6L17.5 8.6' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.fmedia { position: relative; }
.fmedia img { border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.55); }
.fmedia .stack { display: grid; gap: 14px; }
.textonly { padding: 34px; border-radius: 26px; background: var(--alt); }
.dark .textonly { background: var(--dark-card); }

/* ---------- flip cards ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 88px); perspective: 1400px; }
.fcard { position: relative; aspect-ratio: 1 / 1.08; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; perspective: 1200px; }
.fcard-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.8s var(--spring); }
.fface { position: absolute; inset: 0; border-radius: 26px; padding: 24px 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; gap: 6px; background: var(--alt); }
.ffront small { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.ffront svg { width: 40px; height: 40px; margin: 18px 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ffront b { font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.ffront span { font-size: 15px; color: var(--ink-2); }
.fback { transform: rotateY(180deg); background: var(--accent); color: #fff; justify-content: flex-end; }
.fback b { font-size: 21px; letter-spacing: -0.02em; }
.fback span { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
.fcard.flipped .fcard-in { transform: rotateY(180deg); }
@media (hover: hover) { .fcard:hover .fcard-in { transform: rotateY(180deg); } }
.fcard:focus-visible { outline: none; }
.fcard:focus-visible .fface { box-shadow: 0 0 0 3px var(--accent-light); }
.js .fcard { opacity: 0; transform: rotateY(-70deg) translateY(30px); transform-origin: 50% 100%; transition: opacity 0.7s var(--ease) calc(var(--i) * 60ms), transform 0.9s var(--spring) calc(var(--i) * 60ms); }
.js .flip-grid.in .fcard { opacity: 1; transform: none; }

/* ---------- countdown flip ---------- */
.cd-stage { width: min(880px, calc(100% - 32px)); margin: clamp(48px, 6vw, 72px) auto 0; perspective: 1800px; }
.cd-card { position: relative; aspect-ratio: 16 / 9; transform-style: preserve-3d; transition: transform 1.1s var(--spring); }
.cd-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 0 0 0.5px var(--dark-line), 0 40px 100px -30px #000; }
.cd-back { transform: rotateY(180deg); }
.cd-steps { list-style: none; padding: 0; margin: 28px 0 0; display: flex; justify-content: center; gap: 10px; }
.cd-steps li { font-size: 14px; color: var(--dark-ink-2); padding: 6px 14px; border-radius: 980px; transition: background-color 0.4s, color 0.4s; }
.cd-steps li.on { background: #2c2c2e; color: var(--dark-ink); }

/* ---------- pricing ---------- */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; margin-top: 60px; align-items: stretch; }
.price-card, .side-card { background: var(--light); color: var(--ink); border-radius: 32px; padding: 48px 44px; }
.price-card { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.app-icon { width: 76px; height: 76px; border-radius: 22.5%; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }
.app-icon.big { width: 116px; height: 116px; margin: 0 auto 30px; box-shadow: 0 30px 60px -20px #000; }
.price-card h3 { margin-top: 18px; font-size: 26px; }
.price { font-size: clamp(64px, 8vw, 92px); font-weight: 700; letter-spacing: -0.038em; line-height: 1; margin-top: 16px; font-variant-numeric: tabular-nums; }
.price small { font-size: 22px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.02em; margin-left: 4px; }
.price-note { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.checks { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 12px; text-align: left; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; }
.price-card .btn { margin-top: auto; }
.side-card h3 { font-size: 24px; margin-bottom: 18px; }
.side-card ul { margin: 0; padding: 0; list-style: none; }
.side-card li { padding: 14px 0; border-bottom: 0.5px solid var(--line); font-size: 16px; }
.side-card li:last-child { border-bottom: 0; }
.side-card li b { display: block; font-weight: 600; }
.side-card li span { color: var(--ink-2); font-size: 15px; }
.stripe-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.stripe-note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- FAQ ---------- */
.faq-group { margin-top: 64px; }
.faq-group > h3 { font-size: 24px; margin-bottom: 8px; }
.faq { border-top: 0.5px solid var(--line); }
.faq details { border-bottom: 0.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.8px solid var(--ink-2); border-bottom: 1.8px solid var(--ink-2); transform: rotate(45deg); transition: transform 0.35s var(--out); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 17px; }

/* ---------- Claude flow ---------- */
.flow { display: flex; align-items: center; justify-content: center; margin-top: 64px; }
.node { min-width: 210px; padding: 22px 26px; border-radius: 24px; background: var(--alt); text-align: center; }
.node b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.node span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.node.accent { background: var(--accent); color: #fff; }
.node.accent span { color: rgba(255, 255, 255, 0.85); }
.wire { position: relative; flex: 0 1 90px; height: 2px; background: rgba(0, 0, 0, 0.12); overflow: hidden; }
.wire i { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--accent); border-radius: 2px; animation: pulse-x 1.8s var(--ease) infinite; }
.wire + .node + .wire i { animation-delay: 0.9s; }
@keyframes pulse-x { to { left: 100%; } }

/* ---------- sign in & account ---------- */
.auth-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px 16px 60px; position: relative; overflow: hidden; }
.auth-card { position: relative; z-index: 1; width: min(440px, 100%); padding: 40px 34px 32px; border-radius: 32px; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 50%), rgba(22, 22, 26, 0.6);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 40px 100px -30px #000; }
.auth-card .mark-big { width: 44px; height: 44px; margin: 0 auto 18px; display: block; color: #fff; }
.auth-card h1 { font-size: 30px; letter-spacing: -0.03em; text-align: center; }
.auth-card .sub { text-align: center; color: var(--dark-ink-2); font-size: 15px; margin-top: 8px; }
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--dark-ink-2); padding-left: 4px; }
.field input { height: 48px; border-radius: 14px; border: 0; padding: 0 16px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 16px; outline: none;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); transition: box-shadow 0.2s, background-color 0.2s; }
.field input:focus { box-shadow: inset 0 0 0 1.5px var(--accent-light), 0 0 0 4px rgba(113, 137, 255, 0.2); background: rgba(255, 255, 255, 0.1); }
.field .hint { font-size: 12.5px; color: var(--dark-ink-2); padding-left: 4px; }
.code-input { letter-spacing: 0.4em; text-align: center; font-size: 22px !important; font-variant-numeric: tabular-nums; }
.msg { font-size: 14px; text-align: center; min-height: 0; }
.msg:empty { display: none; }
.msg.err { color: #ff6961; }
.msg.ok { color: var(--green); }
.auth-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 14.5px; }
.auth-links button, .auth-links a { background: none; border: 0; padding: 0; color: var(--accent-light); cursor: pointer; text-decoration: none; font-size: 14.5px; }
.auth-links button:hover, .auth-links a:hover { text-decoration: underline; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--dark-ink-2); margin-top: 22px; }
.secure-note svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.account { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 130px 0 90px; position: relative; z-index: 1; }
.account h1 { font-size: clamp(40px, 6vw, 56px); }
.account .sub { color: var(--dark-ink-2); margin-top: 6px; }
.panel { margin-top: 26px; border-radius: 24px; background: var(--dark-card); box-shadow: inset 0 0 0 0.5px var(--dark-line); overflow: hidden; }
.panel-head { padding: 22px 24px 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dark-ink-2); }
.prow { display: flex; align-items: center; gap: 16px; padding: 18px 24px; }
.prow + .prow { border-top: 0.5px solid var(--dark-line); }
.prow .ptext { flex: 1; min-width: 0; }
.prow .ptext b { display: block; font-size: 16px; font-weight: 600; }
.prow .ptext span { display: block; font-size: 14px; color: var(--dark-ink-2); margin-top: 2px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.pill.good { background: rgba(48, 209, 88, 0.16); color: var(--green); }
.pill.warn { background: rgba(255, 159, 10, 0.16); color: #ff9f0a; }
.prow .ptext .pill { display: inline-block; margin: 6px 0 4px; color: var(--dark-ink); }
.prow .ptext .pill.good { color: var(--green); }
.prow .ptext .pill.warn { color: #ff9f0a; }
.banner { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px 20px; border-radius: 18px; background: rgba(59, 91, 251, 0.16); box-shadow: inset 0 0 0 0.5px rgba(113, 137, 255, 0.4); }
.banner p { flex: 1; font-size: 15px; }
.qr { display: grid; place-items: center; padding: 14px; background: #fff; border-radius: 18px; width: 210px; margin: 6px auto 0; }
.qr svg { width: 180px; height: 180px; }
.secret { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 14px; letter-spacing: 0.06em; text-align: center; color: var(--dark-ink); word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 15px; text-align: center; }
.codes span { padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.expand { padding: 4px 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.expand[hidden] { display: none; }

/* ---------- closing & footer ---------- */
.closing { text-align: center; }
.footer { background: var(--alt); color: var(--ink-3); padding: 34px 0 44px; font-size: 12.5px; line-height: 1.5; }
.footer .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 0.5px solid var(--line); margin-bottom: 18px; }
.footer .cols nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .cols a { text-decoration: none; color: var(--ink-2); }
.footer .cols a:hover { color: var(--ink); }
.footer p { max-width: 900px; }
.footer .fine { margin-top: 12px; }
.footer .legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: none; }
.footer .legal-links span { margin-right: auto; }
.footer .legal-links a { color: var(--ink-2); text-decoration: none; }
.footer .legal-links a:hover { color: var(--ink); }

/* ---------- legal pages: a readable column with a summary up top ---------- */
.legal-date { margin-top: 18px; font-size: 14px; color: var(--dark-ink-2); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(56px, 7vw, 88px); }
.glance.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-left: auto; margin-right: auto; }
.glance > div { background: var(--alt); border-radius: 24px; padding: 26px 24px 24px; }
.glance svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.glance b { display: block; font-size: 18px; letter-spacing: -0.01em; margin: 16px 0 6px; }
.glance span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.legal { max-width: 760px; margin: 0 auto; }
.legal .short { background: var(--alt); border-radius: 24px; padding: 28px 32px 22px; margin-bottom: 56px; }
.legal .short h2 { font-size: 22px; margin: 0 0 12px; }
.legal .short ul { margin-bottom: 10px; }
.legal .toc-head { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.legal .toc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; list-style: none; padding: 0; margin: 0 0 64px; }
.legal .toc li { margin: 0; padding: 0; border-top: 0.5px solid var(--line); }
.legal .toc a { display: block; padding: 10px 0; font-size: 15px; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.legal .toc a:hover { color: var(--accent-text); }
.legal section { margin-bottom: 52px; scroll-margin-top: 100px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.022em; line-height: 1.15; margin: 0 0 16px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin: 7px 0; padding-left: 2px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-text); }
.drows { border-top: 0.5px solid var(--line); margin: 0 0 18px; }
.drow { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 0.5px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.drow b { font-size: 16px; }
mark.fill { background: rgba(255, 204, 0, 0.34); color: inherit; padding: 0 4px; border-radius: 4px; }
.auth-legal { font-size: 12.5px; line-height: 1.5; color: var(--dark-ink-2); text-align: center; margin: 14px 0 0; }
.auth-legal a { color: var(--accent-light); }

/* ---------- motion: reveal, words ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--out), transform 1.1s var(--out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.zoom { transform: scale(0.92); }
.js .reveal.zoom.in { transform: none; }
.js .hero-words > span, .js .hero-eyebrow, .js .hero-new, .js .hero-lede, .js .hero-cta, .js .hero-price, .js .hero-art { opacity: 0; transform: translateY(26px); }
.js .loaded .hero-words > span, .js .loaded .hero-eyebrow, .js .loaded .hero-new, .js .loaded .hero-lede, .js .loaded .hero-cta, .js .loaded .hero-price, .js .loaded .hero-art {
  opacity: 1; transform: none; transition: opacity 1.1s var(--out), transform 1.3s var(--out); }
.js .loaded .hero-art { transition-delay: 0.45s; }
.js .loaded .hero-eyebrow { transition-delay: 0.35s; }
.js .loaded .hero-words > span:nth-child(1) { transition-delay: 0.5s; }
.js .loaded .hero-words > span:nth-child(2) { transition-delay: 0.68s; }
.js .loaded .hero-words > span:nth-child(3) { transition-delay: 0.86s; }
.js .loaded .hero-lede { transition-delay: 1.05s; }
.js .loaded .hero-cta { transition-delay: 1.2s; }
.js .loaded .hero-price { transition-delay: 1.3s; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .flip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .span-6, .bento .wide-on-small { grid-column: span 2; }
  .row-2 { grid-row: span 1; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .price-wrap, .bignum, .frow, .frow.flip { grid-template-columns: minmax(0, 1fr); }
  .frow.flip .ftext { order: 0; }
  .inside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .glance, .glance.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .legal .toc { grid-template-columns: minmax(0, 1fr); }
  .drow { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .legal .short { padding: 24px 22px 16px; }
  .nav { height: 54px; padding-left: 18px; }
  .nav-links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: 26px;
    background: rgba(24, 24, 28, 0.86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.4);
    visibility: hidden; opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top; transition: opacity 0.3s var(--out), transform 0.3s var(--out), visibility 0.3s; }
  .nav.on-light .nav-links { background: rgba(250, 250, 252, 0.92); box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 20px 50px rgba(0, 0, 0, 0.15); }
  .nav.open .nav-links { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { font-size: 19px; font-weight: 600; padding: 13px 16px; border-radius: 16px; opacity: 1; }
  .nav-signin { display: none; }
  .nav-links .menu-signin { display: block; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: 0 10px; border: 0; background: none; cursor: pointer; }
  .nav-toggle span { display: block; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform 0.3s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fface { padding: 18px 16px; border-radius: 22px; }
  .ffront b, .fback b { font-size: 18px; }
  .ffront span, .fback span { font-size: 13.5px; }
  .ffront svg { width: 32px; height: 32px; margin-top: 12px; }
  .fcard { aspect-ratio: 1 / 1.25; }
  .scrub { height: 260vh; }
  .inside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
  .inside span { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span-6, .bento .wide-on-small { grid-column: span 1; }
  .tile { min-height: 0; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .hl-text { padding: 28px 24px 6px; }
  .hl-media { padding: 20px 20px 0; }
  .hl-card { height: auto; }
  .hl-media { max-height: 380px; }
  .hl-media.pad { max-height: none; }
  .flow { flex-direction: column; }
  .wire { flex: 0 0 34px; width: 2px; height: 34px; }
  .wire i { left: 0; top: -30%; width: 100%; height: 30%; animation-name: pulse-y; }
  @keyframes pulse-y { to { top: 100%; } }
  .node { width: min(320px, 100%); }
  .price-card, .side-card { padding: 38px 24px; }
  .cd-face { border-radius: 12px; }
  .cta { gap: 20px; }
  .subnav { top: 76px; }
  .prow { flex-wrap: wrap; }
  .prow .ptext { flex-basis: 220px; }  /* the buttons drop below the text instead of squeezing it to a word a line */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .fcard, .js .hero-words > span, .js .hero-eyebrow, .js .hero-new, .js .hero-lede, .js .hero-cta, .js .hero-price, .js .hero-art { opacity: 1; transform: none; transition: none; }
  .floor::before, .scroll-cue span, .wire i { animation: none; }
  .bd i, .bd i::before, .bd::before, .bd::after { animation: none !important; }
  .scrub { height: auto; }
  .scrub-stage { position: static; height: auto; padding: 120px 0 60px; grid-template-rows: auto auto; gap: 40px; }
  .captions { height: auto; }
  .caption { position: static; opacity: 1; transform: none; display: none; }
  .caption[data-at="1"] { display: block; }
  .flip3d { transform: none !important; }
  .flip-face.flip-back { display: none; }
}

@media (max-width: 480px) { .glance, .glance.three { grid-template-columns: minmax(0, 1fr); } }

/* ---------- live demo on the home page: today's charts, one big number per view, cards on the page itself ---------- */
.live { padding-bottom: clamp(90px, 10vw, 150px); }
.live-stage { margin-top: 48px; }
.live-seg { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 16px; padding: 4px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.06); isolation: isolate; }
.live-seg button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color 0.25s; }
.live-seg button[aria-selected="true"] { color: var(--ink); }
.live-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.live-lens { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(0, 0, 0, 0.06); transition: transform 0.5s var(--out), width 0.5s var(--out); }
.live-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 40px; font-size: 13px; color: var(--ink-2); }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: lvPulse 2.2s infinite; }
@keyframes lvPulse { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0); } }
.live-body { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }  /* about the tallest view, so switching doesn't jump */
.live-skeleton { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 150px; }
.live-skeleton i { height: 250px; border-radius: 22px; background: linear-gradient(90deg, #ececf0 25%, #f6f6f8 50%, #ececf0 75%); background-size: 200% 100%;
  animation: lvShimmer 1.4s infinite linear; }
@keyframes lvShimmer { to { background-position: -200% 0; } }
.lv-panel { animation: lvIn 0.6s var(--out); }
@keyframes lvIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
.lv-empty { text-align: center; color: var(--ink-2); padding: 60px 20px; font-size: 16px; }
.lv-empty a { color: var(--accent-text); }
.live-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 44px; }
.live-note { margin-top: 18px; }
.lv-more { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; font-size: 14px; color: var(--ink-2); text-align: center; }
.lv-more .lv-lock { flex: none; color: var(--accent-text); }
.lv-lock { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lv-ph { display: block; background: #e8e8ed; }

/* The headline number of each view */
.lv-figure { text-align: center; margin-bottom: 40px; }
.lv-figure small { display: block; font-size: 17px; color: var(--ink-2); }
.lv-figure b { display: block; margin: 4px 0 8px; font-size: clamp(52px, 7.4vw, 92px); font-weight: 700; line-height: 1.04; letter-spacing: -0.034em;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lv-figure span { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-3); }

/* Earnings: the top five, each with its likely range */
.lv-podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lv-podium a, .lv-idea, .lv-card { background: #fff; border-radius: 22px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 8px 26px rgba(0, 0, 0, 0.06); }
.lv-podium a { display: flex; flex-direction: column; height: 100%; padding: 18px 18px 16px; color: inherit; text-decoration: none;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease); }
.lv-podium a:hover { transform: translateY(-4px); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 18px 40px rgba(0, 0, 0, 0.1); }
.lv-podium img, .lv-podium .lv-ph { width: 64px; height: 64px; border-radius: 22.5%; object-fit: cover; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.lv-pos { margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--accent-text); }
.lv-gname { display: -webkit-box; min-height: 2.6em; margin-top: 2px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  font-size: 15px; font-weight: 600; line-height: 1.3; }
.lv-genre { font-size: 12.5px; color: var(--ink-3); }
.lv-amt { margin-top: auto; padding-top: 18px; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lv-amt small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.lv-range { position: relative; height: 4px; margin: 10px 0 7px; border-radius: 2px; background: rgba(0, 0, 0, 0.07); }
.lv-range i { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--accent); opacity: 0.35; }
.lv-range em { position: absolute; top: -3px; width: 3px; height: 10px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); }
.lv-span { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* Ideas: today's sample */
.lv-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lv-idea { display: flex; flex-direction: column; gap: 9px; padding: 22px 22px 18px; }
.lv-kick { font-size: 12.5px; color: var(--ink-2); }
.lv-idea-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lv-idea h3 { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.022em; }
.lv-score { flex: none; text-align: center; font-size: 11px; color: var(--ink-3); }
.lv-score b { display: block; font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.lv-tag { flex: 1; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.lv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0 0; padding-top: 12px; border-top: 0.5px solid var(--line); text-align: center; }
.lv-facts dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.lv-facts dd { display: flex; align-items: center; justify-content: center; height: 24px; margin: 3px 0 0; font-size: 16px; font-weight: 650; }
.lv-facts dd .lv-lock { color: var(--accent-text); }

/* Trends: the top themes and where the players are */
.lv-trends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lv-card { padding: 18px 16px 8px; }
.lv-head { display: flex; justify-content: space-between; gap: 12px; padding: 0 10px 10px; border-bottom: 0.5px solid var(--line);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.lv-themes, .lv-bars { list-style: none; margin: 0; padding: 0; }
.lv-rank { font-size: 14px; font-weight: 600; color: var(--ink-3); text-align: center; font-variant-numeric: tabular-nums; }
.lv-themes li, .lv-bars li { padding: 13px 10px; }
.lv-themes li + li, .lv-bars li + li { border-top: 0.5px solid var(--line); }
.lv-themes li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.lv-themes b { font-size: 16px; font-weight: 600; }
.lv-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.lv-status i { width: 8px; height: 8px; border-radius: 50%; background: #8e8e93; }
.lv-status.hot i { background: #ff9f0a; }
.lv-status.rising i { background: var(--green); }
.lv-status.fading i { background: var(--red); }
.lv-bars li { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 52px; align-items: center; gap: 14px; font-size: 15px; }
.lv-bars b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.lv-bars li > span:last-child { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lv-bar { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.07); overflow: hidden; }
.lv-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; animation: lvGrow 0.9s var(--out); }
@keyframes lvGrow { from { transform: scaleX(0); } }

/* Breakouts: new games with the most players */
.lv-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 180px)); justify-content: center; gap: 34px; }
.lv-game { color: inherit; text-decoration: none; }
.lv-game img, .lv-game .lv-ph { display: block; width: 100%; aspect-ratio: 1; border-radius: 22.5%; object-fit: cover;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 10px 26px rgba(0, 0, 0, 0.12); transition: transform 0.3s var(--spring); }
.lv-game:hover img { transform: scale(1.04); }
.lv-game b { display: -webkit-box; margin-top: 12px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; font-weight: 600; line-height: 1.3; }
.lv-game small { font-size: 13px; color: var(--ink-2); }

@media (max-width: 1100px) {
  .lv-podium { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: -10px -22px; padding: 10px 22px 18px; scrollbar-width: none; }
  .lv-podium li { flex: 0 0 210px; scroll-snap-align: start; }
  .live-skeleton { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .live-stage { margin-top: 36px; }
  .live-seg { width: 100%; }
  .live-seg button { flex: 1; padding: 9px 4px; font-size: 14px; }
  .live-status { margin-bottom: 28px; }
  .live-body { min-height: 0; }
  .live-skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 120px; }
  .live-skeleton i { height: 200px; }
  .lv-figure { margin-bottom: 28px; }
  .lv-figure small { font-size: 15px; }
  .lv-podium { margin: -10px -16px; padding: 10px 16px 18px; }
  .lv-podium li { flex-basis: 74%; }
  .lv-ideas { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .lv-idea { flex: 0 0 86%; scroll-snap-align: center; }
  .lv-trends { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lv-bars li { grid-template-columns: minmax(0, 1fr) 70px 46px; gap: 10px; }
  .lv-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .live-cta { flex-direction: column; gap: 16px; margin-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-lens { transition: none; }
  .lv-panel, .lv-bar i, .live-status i, .live-skeleton i { animation: none; }
}

/* ---------- after-launch tools (#grow): text tiles, white on the gray section ---------- */
.alt .tile:not(.dark-tile) { background: #fff; }
#grow .tile { min-height: 0; padding-bottom: 34px; }

/* ---------- homepage: the new pill, keyword line and outcome-led sections ---------- */
.hero-new { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 0.5px var(--dark-line); color: var(--dark-ink); font-size: 14px; text-decoration: none;
  transition: background-color 0.25s; }
.hero-new:hover { background: rgba(255, 255, 255, 0.14); }
.hero-new b { padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.hero-new span { color: var(--accent-light); }
.hero-title .hero-eyebrow { display: block; margin: 22px 0 14px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--dark-ink-2); }
.hero-words { display: block; }

/* ---------- icons on colored rounded squares, like the rows in Apple's Settings (one color per feature) ---------- */
.ic { --tint: var(--accent); display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 11px; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 65%), var(--tint);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12); }
.ic svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.ic.blue { --tint: #007aff; } .ic.green { --tint: #34c759; } .ic.orange { --tint: #ff9500; } .ic.red { --tint: #ff3b30; } .ic.pink { --tint: #ff2d55; }
.ic.purple { --tint: #af52de; } .ic.indigo { --tint: #5856d6; } .ic.teal { --tint: #30b0c7; } .ic.cyan { --tint: #32ade6; } .ic.gray { --tint: #8e8e93; }
.dark .ic.blue { --tint: #0a84ff; } .dark .ic.green { --tint: #30d158; } .dark .ic.orange { --tint: #ff9f0a; } .dark .ic.red { --tint: #ff453a; }
.dark .ic.pink { --tint: #ff375f; } .dark .ic.purple { --tint: #bf5af2; } .dark .ic.indigo { --tint: #5e5ce6; } .dark .ic.gray { --tint: #636366; }

/* ---------- why games stall: a bento. The big tile shows an earnings estimate, the wide one alerts arriving ---------- */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 7vw, 90px); }
.pain { display: flex; flex-direction: column; gap: 28px; padding: 28px; border-radius: 28px; background: var(--alt); overflow: hidden; }
.pain-big { grid-column: span 2; grid-row: span 2; padding: 36px; }
.pain-wide { grid-column: span 2; flex-direction: row; align-items: center; }
.pain-text { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.pain .ic { margin-bottom: 20px; }
.pain-q { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.005em; }
.pain h3 { margin-top: 6px; font-size: clamp(21px, 1.9vw, 25px); }
.pain-text > p:not(.pain-q) { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; flex: 1; }
.pain .link { margin-top: 18px; font-size: 15px; }
.pain-big .pain-text { flex: none; }
.pain-big h3 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; }
.pain-big .pain-text > p:not(.pain-q) { font-size: 17px; max-width: 32em; }
.ev { margin-top: auto; padding: 20px 24px 16px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 48px -30px rgba(0, 0, 0, 0.3); }
.ev-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--ink-3); }
.ev-head b { font-size: 15px; font-weight: 600; color: var(--ink); }
.ev ul { list-style: none; margin: 10px 0 0; padding: 0; }
.ev li { --d: 0s; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 112px; align-items: center; gap: 18px; padding: 14px 0; border-top: 0.5px solid var(--line); }
.ev li:nth-child(2) { --d: 0.15s; } .ev li:nth-child(3) { --d: 0.3s; }
.ev-l b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.ev-l span, .ev-v span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; font-variant-numeric: tabular-nums; }
.ev-v { text-align: right; }
.ev-v b { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ev-bar { position: relative; height: 6px; border-radius: 3px; background: #ebebf0; }
.ev-bar i { position: absolute; inset: 0 auto 0 calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); border-radius: inherit; background: rgba(59, 91, 251, 0.3);
  transform-origin: left; transform: scaleX(0); transition: transform 1s var(--out) calc(0.25s + var(--d)); }
.ev-bar em { position: absolute; top: 50%; left: calc(var(--m) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px #fff; transform: scale(0); transition: transform 0.5s var(--spring) calc(0.8s + var(--d)); }
.pain-big.in .ev-bar i, .pain-big.in .ev-bar em { transform: none; }
.ev-foot { font-size: 12.5px; color: var(--ink-3); padding-top: 12px; border-top: 0.5px solid var(--line); }
.nt-stack { flex: 1.35 1 0; min-width: 0; display: grid; gap: 8px; }
.pain-wide { gap: 22px; }
.nt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 12px 30px -18px rgba(0, 0, 0, 0.3); opacity: 0; transform: translateY(16px) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--spring); }
.nt:nth-child(2) { transition-delay: 0.15s; } .nt:nth-child(3) { transition-delay: 0.3s; }
.pain-wide.in .nt { opacity: 1; transform: none; }
.nt img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.nt > div { flex: 1; min-width: 0; }
.nt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; letter-spacing: -0.01em; }
.nt-top b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt time { flex: none; font-size: 12.5px; color: var(--ink-3); }
.nt p:not(.nt-top) { margin-top: 1px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }

/* ---------- Live Ops: a double-coins weekend plays out as you scroll (site.js sets the card's data-state) ---------- */
.lo-scroll { position: relative; height: 330vh; margin-top: clamp(8px, 2vw, 24px); }
.lo-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; }
.lo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.lo-days { display: none; }
.lo-steps { --p: 0; list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; display: grid; gap: clamp(20px, 3.4vh, 36px); }
.lo-steps::before, .lo-steps::after { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.12); }
.lo-steps::after { background: var(--accent-light); transform-origin: top; transform: scaleY(var(--p)); }
.lo-steps li { position: relative; opacity: 0.36; transition: opacity 0.45s var(--ease); }
.lo-steps li::before { content: ""; position: absolute; left: -34px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #3a3a3e;
  box-shadow: 0 0 0 5px var(--black); transition: background-color 0.3s; }
.lo-steps li.on { opacity: 1; }
.lo-steps li.on::before, .lo-steps li.past::before { background: var(--accent-light); }
.lo-steps .when { font-size: 14px; font-weight: 600; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.lo-steps h3 { margin-top: 4px; font-size: clamp(24px, 2.4vw, 32px); }
.lo-steps p { margin-top: 6px; max-width: 30em; color: var(--dark-ink-2); font-size: 16px; line-height: 1.5; }
.lo-card { padding: 26px; border-radius: 30px; background: var(--dark-card); box-shadow: inset 0 0 0 0.5px var(--dark-line), 0 40px 100px -40px rgba(0, 0, 0, 0.9); }
.lo-head { display: flex; align-items: center; gap: 14px; }
.lo-head > div { flex: 1; min-width: 0; }
.lo-head b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.lo-head > div span { display: block; margin-top: 2px; font-size: 14px; color: var(--dark-ink-2); }
.lo-pill { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 13px; font-weight: 600; transition: background-color 0.35s, color 0.35s; }
.lo-card[data-state="1"] .lo-pill { background: rgba(48, 209, 88, 0.16); color: var(--green); }
.lo-card[data-state="3"] .lo-pill { background: rgba(113, 137, 255, 0.18); color: var(--accent-light); }
.lo-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: lo-live 1.6s ease-in-out infinite; }
@keyframes lo-live { 50% { opacity: 0.35; } }
.lo-rows { list-style: none; margin: 22px 0 0; padding: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.045); }
.lo-rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 18px; font-size: 15.5px; }
.lo-rows li + li { box-shadow: inset 0 0.5px 0 var(--dark-line); }
.lo-rows li > span:first-child { color: var(--dark-ink-2); }
.lo-val { display: inline-grid; justify-items: end; text-align: right; }
.lo-val > em { grid-area: 1 / 1; font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--out); }
.lo-card[data-state="0"] [data-s~="0"], .lo-card[data-state="1"] [data-s~="1"], .lo-card[data-state="2"] [data-s~="2"], .lo-card[data-state="3"] [data-s~="3"] {
  opacity: 1; transform: none; transition-delay: 0.08s; }
.lo-val small { margin: 0 3px; font-size: 12.5px; color: var(--dark-ink-2); }
.lo-val s { margin-right: 4px; color: var(--dark-ink-2); }
.lo-val strong { font-weight: 650; color: var(--green); }
.lo-sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); transition: background-color 0.35s; }
.lo-sw i { position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); transition: transform 0.45s var(--spring); }
.lo-card[data-state="1"] .lo-sw { background: var(--green); }
.lo-card[data-state="1"] .lo-sw i { transform: translateX(18px); }
.lo-foot { margin-top: 18px; font-size: 14.5px; line-height: 1.45; color: var(--dark-ink-2); }
.lo-foot .lo-val { display: grid; justify-items: start; text-align: left; }
.lo-foot .lo-val > em { white-space: normal; }
@media (max-width: 860px) {
  .lo-scroll { height: 300vh; }
  .lo-stage { align-items: start; padding-top: 86px; }
  .lo-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lo-days { order: 1; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
  .lo-days span { flex: 1; padding: 7px 0; border-radius: 999px; text-align: center; font-size: 14px; font-weight: 600; color: var(--dark-ink-2); transition: background-color 0.3s, color 0.3s; }
  .lo-days span.on { background: rgba(255, 255, 255, 0.16); color: var(--dark-ink); }
  .lo-card { order: 2; padding: 20px; border-radius: 26px; }
  .lo-head { flex-wrap: wrap; row-gap: 10px; }
  .lo-head > div { flex-basis: calc(100% - 58px); }
  .lo-head b { font-size: 17px; }
  .lo-pill { margin-left: 58px; }
  .lo-rows { margin-top: 16px; }
  .lo-rows li { min-height: 50px; padding: 0 14px; font-size: 14.5px; }
  .lo-steps { order: 3; padding: 0; }
  .lo-steps::before, .lo-steps::after, .lo-steps li::before, .lo-steps .when { display: none; }
  .lo-steps li { grid-area: 1 / 1; opacity: 0; }
  .lo-steps li.on { opacity: 1; }
  .lo-steps h3 { font-size: 22px; margin: 0; }
  .lo-steps p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .lo-scroll { height: auto; }
  .lo-stage { position: static; height: auto; }
  .lo-days { display: none; }
  .lo-steps li { grid-area: auto; opacity: 1; }
  .lo-steps::after { transform: none; }
  .ev-bar i, .ev-bar em, .nt { opacity: 1; transform: none; transition: none; }
}
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 0.5px var(--dark-line); font-size: 14.5px; color: var(--dark-ink); }

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 7vw, 90px); }
.stage { padding: 30px 28px; border-radius: 28px; background: var(--alt); }
.stage-top { display: flex; align-items: center; justify-content: space-between; }
.stage-k { font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.stage h3 { margin-top: 18px; font-size: 30px; }
.stage-sub { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.stage ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.stage li b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.stage li span { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
#everything .link { display: inline-block; margin-top: 40px; }

.compare { max-width: 860px; margin-top: clamp(48px, 6vw, 72px); }
.compare table { width: 100%; border-collapse: collapse; background: var(--light); border-radius: 28px; overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 18px 26px; text-align: left; border-bottom: 0.5px solid var(--line); }
.compare thead th { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3); }
.compare tbody th { font-weight: 500; }
.compare td { color: var(--ink-2); }
.compare .us { color: var(--accent-text); font-weight: 600; text-align: right; }
.compare thead .us { color: var(--accent-text); }
.compare tfoot th, .compare tfoot td { border-bottom: 0; font-size: 18px; color: var(--ink); }
.compare tfoot .us b { font-size: 22px; }
.compare .note { color: var(--ink-3); text-align: center; margin-top: 18px; }

.offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.offer-text h2 { font-size: clamp(40px, 5vw, 64px); }
.offer-text .lede { margin-left: 0; }
.offer .price-card { padding: 40px 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08); }
.offer .price { margin-top: 14px; }
#questions .faq-group { margin-top: 36px; }

@media (max-width: 1060px) {
  .pains, .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain-big { grid-row: auto; }
}
@media (max-width: 760px) {
  .pains, .stages { grid-template-columns: minmax(0, 1fr); }
  .pain-big, .pain-wide { grid-column: auto; }
  .pain-big { padding: 28px 22px 22px; }
  .pain-wide { flex-direction: column; align-items: stretch; }
  .ev { padding: 16px 16px 12px; }
  .ev li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .ev-bar { grid-column: 1 / -1; grid-row: 2; }
  .offer { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .offer-text .lede { margin: 20px auto 0; }
  .compare th, .compare td { padding: 14px 16px; font-size: 14.5px; }
  .compare thead th { font-size: 11.5px; }
  .hero-new { font-size: 13px; text-align: left; }
}

/* the phone app: no plan buttons (app stores only allow their own billing) */
.native [data-trial] { display: none; }

/* ---------- the free tools: what anyone can use, no account ---------- */
.free-tools { padding-top: clamp(80px, 9vw, 130px); }
.free-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.free-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 24px; border-radius: 24px; background: var(--alt); color: var(--ink);
  text-decoration: none; transition: transform 0.35s var(--spring), background-color 0.25s; }
.free-card:hover { transform: translateY(-3px); background: #ececf0; }
.free-card .ic { margin-bottom: 12px; }
.free-card b { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
.free-card b + span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 900px) { .free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .free-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .free-card { padding: 20px; } }

/* ---------- into the dashboard: one smooth cross-fade, the logo carried across (the opt-in is inline in each page) ---------- */
.nav .brand svg { view-transition-name: bn-mark; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.38s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ---------- the weekly earnings report (/report, drawn by the server: lib/report.php). Its themes, genre bars and
   breakouts use the live demo's styles above. ---------- */
.rp-title { font-size: clamp(46px, 7.6vw, 104px); }
.rp-hero .legal-date a { color: var(--dark-ink); }
.rp-share { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.rp-share [data-copy] { display: none; }  /* copying needs site.js */
.js .rp-share [data-copy] { display: inline-flex; }
.rp-body { padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 9vw, 130px); }
.rp-figure { text-align: center; }
.rp-kicker { font-size: clamp(17px, 1.8vw, 21px); color: var(--ink-2); }
.rp-big { margin: 8px 0 6px; font-size: clamp(72px, 12vw, 150px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rp-big small { margin-left: 0.18em; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); }
.rp-range { font-size: clamp(20px, 2.2vw, 26px); font-weight: 650; letter-spacing: -0.018em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.rp-sub { margin-top: 10px; font-size: 15px; color: var(--ink-3); }
.rp-section { margin-top: clamp(72px, 9vw, 120px); }
.rp-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.rp-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.rp-head p { margin-top: 12px; color: var(--ink-2); }

/* The top earners: five cards, a list on smaller screens */
.rp-top { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.rp-top a, .rp-stats > div, .rp-method { background: #fff; border-radius: 22px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 8px 26px rgba(0, 0, 0, 0.06); }
.rp-top a { display: flex; flex-direction: column; height: 100%; padding: 18px 18px 16px; color: inherit; text-decoration: none;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease); }
.rp-top a:hover { transform: translateY(-4px); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 18px 40px rgba(0, 0, 0, 0.1); }
.rp-top img, .rp-top .lv-ph { width: 64px; height: 64px; border-radius: 22.5%; object-fit: cover; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.rp-who { display: flex; flex-direction: column; min-width: 0; margin-top: 16px; }
.rp-pos { font-size: 12px; font-weight: 600; color: var(--accent-text); }
.rp-name { display: -webkit-box; min-height: 2.6em; margin-top: 2px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere;
  font-size: 15px; font-weight: 600; line-height: 1.3; }
.rp-genre { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; color: var(--ink-3); }
.rp-amt { margin-top: auto; padding-top: 18px; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-amt small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.rp-span { font-size: 12px; line-height: 1.45; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.rp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rp-stats > div { padding: 24px 22px 22px; }
.rp-stats b { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -0.032em; font-variant-numeric: tabular-nums; }
.rp-stats span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }

.rp-method { max-width: 780px; margin-left: auto; margin-right: auto; padding: 30px 32px 28px; }
.rp-method h2 { font-size: 24px; letter-spacing: -0.02em; }
.rp-method dl { margin: 6px 0 0; }
.rp-method dt { margin-top: 16px; font-size: 16px; font-weight: 600; }
.rp-method dd { margin: 3px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.rp-past { max-width: 780px; margin: 44px auto 0; text-align: center; }
.rp-past h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-3); }
.rp-past ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; }
.rp-past a { display: inline-block; padding: 8px 15px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08);
  font-size: 14px; color: var(--ink); text-decoration: none; }
.rp-past a:hover { background: #ececf0; }
.rp-cta { padding: clamp(90px, 10vw, 150px) 0; }
.rp-cta h2 { font-size: clamp(36px, 5vw, 64px); }
/* Seven links don't fit the bar on narrower windows: the least needed step out (they stay in the footer, and in the phone menu) */
.nav .btn, .nav-signin { white-space: nowrap; }
.nav.scrolled { width: min(960px, calc(100% - 24px)); }
@media (min-width: 761px) and (max-width: 1100px) { .nav-links a[href="/"] { display: none; } }  /* the logo goes home too */
/* Two buttons side by side sit closer than a button and a link */
.cta:has(> .btn + .btn) { gap: 12px; }
/* The forum on the home page: one card per kind of work, white on the gray section */
.forum-home .free-card { background: #fff; }
.forum-home .free-card:hover { background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }
@media (min-width: 761px) and (max-width: 940px) { .nav-links a[href="/charts"] { display: none; } }

@media (max-width: 1000px) {
  .rp-top { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rp-top a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "icon who amt" "bar bar bar" "note note note";
    column-gap: 14px; align-items: center; padding: 14px 16px 13px; }
  .rp-top img, .rp-top .lv-ph { grid-area: icon; width: 52px; height: 52px; }
  .rp-who { grid-area: who; margin-top: 0; }
  .rp-name { min-height: 0; }
  .rp-amt { grid-area: amt; margin-top: 0; padding-top: 0; font-size: 22px; text-align: right; }
  .rp-top .lv-range { grid-area: bar; margin: 12px 0 7px; }
  .rp-span { grid-area: note; }
  .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 760px) {
  .rp-head { margin-bottom: 24px; }
  .rp-head p { font-size: 16px; }
  .rp-stats > div { padding: 18px 16px; }
  .rp-stats span { font-size: 13px; }
  .rp-method { padding: 24px 22px 22px; }
}

/* ---------- textures: each used once, so no two sections look alike ---------- */
.tex-dots, .tex-cols, .tex-grid, .tex-spot { isolation: isolate; }
.tex-dots::before, .tex-cols::before, .tex-grid::before, .tex-spot::before, .tex-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* "Not a stack of tools": a fine dot grid behind the table */
.tex-dots::before { background: radial-gradient(rgba(0, 0, 0, 0.14) 1px, transparent 1.5px) center / 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 55%, #000, transparent 75%); mask-image: radial-gradient(ellipse 62% 58% at 50% 55%, #000, transparent 75%); }
/* the numbers: chart columns */
.tex-cols::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px) center / calc(100% / 12) 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
/* the free tools: graph paper, light mode's version of the floor */
.tex-grid::before { background-image: linear-gradient(rgba(0, 0, 0, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.055) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 0%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 62% at 50% 0%, #000, transparent 72%); }
/* the closing: a soft stage light on the app icon, with film grain */
.tex-spot::before { background: conic-gradient(at 50% -8%, transparent 156deg, rgba(255, 255, 255, 0.08) 170deg, rgba(255, 255, 255, 0.12) 180deg, rgba(255, 255, 255, 0.08) 190deg, transparent 204deg);
  -webkit-mask-image: linear-gradient(#000, transparent 90%); mask-image: linear-gradient(#000, transparent 90%); }
.tex-spot::after { opacity: 0.07; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- transitions between sections ---------- */
/* A light section rises over the dark one before it like a card, its corners squaring off as it reaches the top (site.js) */
.rise { clip-path: inset(0 var(--rx, 0px) 0 var(--rx, 0px) round var(--rr, 0px) var(--rr, 0px) 0 0); }
/* Live Ops to "From first idea": cropped panels straddle the change from dark to light and drift sideways as you scroll */
.ribbon { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 6px 0; background: linear-gradient(var(--black) 64%, var(--light) 64%); }
.rb-row { display: flex; gap: 14px; width: max-content; transform: translateX(-25%); will-change: transform; }
.rb-row span { flex: none; height: clamp(110px, 13vw, 180px); aspect-ratio: var(--r); border-radius: 16px; overflow: hidden; background: #1c1c1e;
  box-shadow: 0 0 0 0.5px rgba(127, 127, 127, 0.25), 0 24px 50px -26px rgba(0, 0, 0, 0.6); }
.rb-row img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.section:has(+ .ribbon) { padding-bottom: clamp(64px, 7vw, 110px); }
.ribbon + .section { padding-top: clamp(80px, 9vw, 140px); }

/* ---------- renders (assets/art: Kenney's CC0 Blocky Characters and Platformer Kit, restyled and lit in Blender) ---------- */
.stage-art { width: 124px; height: 124px; margin: -18px 0 -14px -16px; }
.sec-art { display: block; width: min(330px, 70%); height: auto; margin: 28px auto -18px; }
.offer-art { display: block; width: min(360px, 80%); height: auto; margin: 26px 0 0 -14px; }
.forum-art { display: block; width: min(340px, 76%); height: auto; margin: 30px auto -14px; }
.team-art { display: block; width: min(640px, 100%); height: auto; margin: 0 auto 18px; }
@media (max-width: 760px) { .offer-art { margin: 22px auto 0; } }
@media (prefers-reduced-motion: reduce) { .hero-tilt img { animation: none; } .hero-tilt { transform: none; } }
