/* Homepage. Big type, pinned scroll scenes and a lot of small motion. Everything here
   switches off for people who prefer reduced motion (the script checks too). */

body.home { --display-face: var(--wide); overflow-x: hidden; background: var(--void); }
.home h1, .home h2 { font-family: var(--wide); font-weight: 800; letter-spacing: -0.045em; }
.home h2 em, .home h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--lilac); }

#void, #sparks { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
#void { z-index: 0; opacity: 0.85; }
#sparks { z-index: 3; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(8, 7, 10, 0.85) 100%); }
.home main, .home section, .home header, .home footer, .home .marquee { position: relative; z-index: 2; }

/* ---------- Nav ---------- */
.hnav {
  position: fixed !important; top: 12px; left: 50%; z-index: 50 !important; transform: translateX(-50%);
  width: min(1180px, 100% - 24px); height: 56px; padding: 0 8px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid transparent; border-radius: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.45s var(--ease), backdrop-filter 0.3s;
}
.hnav.solid { background: rgba(14, 13, 18, 0.72); border-color: var(--line-2); backdrop-filter: blur(14px) saturate(1.3); }
.hnav.away { transform: translate(-50%, -90px); }
.hnav .wordmark { display: inline-flex; align-items: center; gap: 9px; font: 800 17px var(--wide); letter-spacing: -0.04em; text-decoration: none; }
.hnav .wordmark img { width: 26px; height: 26px; image-rendering: pixelated; transition: transform 0.6s var(--ease); }
.hnav .wordmark:hover img { transform: rotate(-200deg) scale(1.1); }
.hnav nav { display: flex; gap: 2px; }
.hnav nav a { font-size: 13.5px; color: var(--muted); text-decoration: none; padding: 7px 11px; border-radius: 9px; transition: color 0.2s, background 0.2s; }
.hnav nav a:hover, .hnav nav a.on { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.hnav-end { display: flex; align-items: center; gap: 6px; }
.hnav-signin { font-size: 13.5px; color: var(--muted); text-decoration: none; padding: 8px 12px; }
.hnav-signin:hover { color: var(--text); }

.pill-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 16px; border-radius: 12px;
  background: var(--text); color: var(--void); font: 600 13.5px var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.pill-cta i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--void); color: var(--text); transition: transform 0.3s var(--ease); }
.pill-cta:hover { box-shadow: 0 10px 40px -10px rgba(185, 150, 255, 0.6); }
.pill-cta:hover i { transform: rotate(-45deg); }
.big-cta { height: 52px; font-size: 15px; padding-left: 22px; margin-top: 30px; }
.big-cta i { width: 36px; height: 36px; }

/* ---------- Hero ---------- */
.hero2 { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px 0 64px; overflow: hidden; }
.chrome-wrap { flex: 1; display: grid; place-items: center; perspective: 1100px; min-height: 0; }
.chrome {
  margin: 0; font: 800 min(13.4vw, 196px)/0.86 var(--wide) !important; letter-spacing: -0.06em !important;
  white-space: nowrap; transform-style: preserve-3d; user-select: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--hs, 1));
  opacity: var(--ho, 1); filter: blur(var(--hb, 0px));
  transition: transform 0.5s var(--ease);
}
.chrome .ch { position: relative; display: inline-block; transform-style: preserve-3d; }
.chrome .ch > b {
  position: relative; z-index: 1; display: inline-block; font-weight: 800;
  background: linear-gradient(172deg, #fdfcff 0%, #cfc9dc 18%, #6e6880 34%, #f4f1fb 47%, #a7a0b8 56%, #3b3646 70%, #d9d3e6 86%, #8d86a0 100%);
  background-size: 100% 220%; background-position: 50% var(--shine, 30%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: tumble 1.25s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 150ms);
}
/* The extrusion: a dark copy behind each letter, stepped down for depth. */
.chrome .ch::after {
  content: attr(data-c); position: absolute; left: 0; top: 0; z-index: 0; color: #1b1722;
  text-shadow: 0 1px 0 #241f2c, 0 2px 0 #221d2a, 0 3px 0 #201b28, 0 4px 0 #1d1925, 0 5px 0 #1b1722, 0 6px 0 #191520, 0 7px 0 #17131d, 0 12px 26px rgba(0, 0, 0, 0.7), 0 0 60px rgba(139, 62, 211, 0.35);
  animation: tumble 1.25s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 150ms);
}
.chrome .ch.bob > b, .chrome .ch.bob::after { animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.4s); }
.chrome .ch:hover > b, .chrome .ch:hover::after { animation: hop 0.6s var(--ease); }
@keyframes tumble {
  0% { opacity: 0; transform: translateY(-0.9em) rotateX(110deg) rotateZ(calc(var(--r, 8) * 1deg)); filter: blur(10px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.035em); } }
@keyframes hop { 0% { transform: none; } 40% { transform: translateY(-0.12em) rotate(-4deg); } 100% { transform: none; } }

.hero2-foot { width: min(1180px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.tag-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 12px var(--mono); color: var(--muted); background: rgba(14, 13, 18, 0.6); backdrop-filter: blur(8px); }
.tag-pill::before { content: ""; width: 6px; height: 6px; background: var(--lilac); box-shadow: 0 0 10px var(--lilac); animation: blink 2.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.hero2-copy h2 { font-size: clamp(30px, 4vw, 54px); line-height: 0.98; margin-top: 18px; }
.hero2-lede { margin-top: 16px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.hero2-lede b { color: var(--text); font-weight: 500; }

.claim2 { padding: 8px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(14, 13, 18, 0.72); backdrop-filter: blur(16px); transition: border-color 0.3s, box-shadow 0.3s; }
.claim2:focus-within { border-color: rgba(185, 150, 255, 0.55); box-shadow: 0 0 0 6px rgba(139, 62, 211, 0.12), 0 30px 80px -30px rgba(139, 62, 211, 0.6); }
.claim2-row { display: flex; align-items: center; height: 54px; padding-left: 14px; border-radius: 12px; background: var(--surface); }
.claim2 .prefix { font: 15px var(--mono); color: var(--faint); white-space: nowrap; }
.claim2 input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: 500 15px var(--mono); padding: 0 6px 0 1px; }
.claim2 input::placeholder { color: var(--line-2); }
.claim2-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; margin-right: 5px; padding: 0 6px 0 16px; border: 0; border-radius: 10px; background: var(--lilac); color: var(--void); font: 600 14px var(--sans); cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s; }
.claim2-btn i { font-style: normal; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(8, 7, 10, 0.16); }
.claim2-btn:hover { background: #cdb4ff; }
.claim2-hint { padding: 10px 8px 4px; font: 12.5px var(--mono); color: var(--faint); min-height: 1.5em; }
.claim2-hint[data-state="free"] { color: var(--ok); }
.claim2-hint[data-state="taken"], .claim2-hint[data-state="bad"] { color: var(--danger); }
.claim2-live { display: flex; align-items: center; gap: 8px; padding: 2px 8px 6px; font: 12px var(--mono); color: var(--muted); }
.claim2-live a { color: var(--text); text-decoration: none; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(143, 224, 184, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(143, 224, 184, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 224, 184, 0); } }

.scroll-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 10px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); text-decoration: none; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--lilac), transparent); transform-origin: top; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(10, 9, 12, 0.7); overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 38px; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--mono); color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.marquee a:hover { color: var(--text); }
.marquee a img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.marquee a .star { color: var(--lilac); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { width: min(1180px, 100% - 48px); margin: 0 auto; padding: 150px 0; }
.big { font-size: clamp(40px, 6.4vw, 92px); line-height: 0.92; }
.mega { font-size: clamp(90px, 18vw, 250px); line-height: 0.8; }
.sec-lede { margin-top: 22px; color: var(--muted); font-size: 16.5px; max-width: 44ch; }
.fine { margin-top: 18px; font: 11.5px var(--mono); color: var(--faint); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; align-items: start; }

/* Word-by-word rise and generic reveal */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-words .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split-words.in .w > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.split-words[data-reveal] { opacity: 1; transform: none; }

/* ---------- Studio ---------- */
.studio2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 70px; align-items: center; }
.dock2 { margin-top: 34px; display: grid; gap: 14px; }
.dgroup { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; }
.dgroup > span { font: 11px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 11px; background: rgba(17, 16, 21, 0.8); justify-self: start; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 8px; font: 500 13px var(--sans); color: var(--muted); cursor: pointer; text-transform: capitalize; transition: color 0.2s, background 0.25s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--void); }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--sw); cursor: pointer; box-shadow: 0 0 0 2px var(--void), 0 0 0 3px transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.swatches button:hover { transform: scale(1.12); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--void), 0 0 0 4px var(--sw); }

.phone {
  position: relative; width: 380px; height: 760px; border-radius: 54px; padding: 12px;
  background: linear-gradient(145deg, #2a2733, #121117 40%, #26232e); box-shadow: 0 0 0 1px #3a3644, 0 60px 140px -40px rgba(139, 62, 211, 0.55), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  transform: perspective(1400px) rotateY(var(--py, -10deg)) rotateX(var(--px, 4deg)); transition: transform 0.6s var(--ease), opacity 0.9s var(--ease);
}
.phone-notch { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; border-radius: 20px; background: #000; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden auto; background: var(--bg); scrollbar-width: none; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone-screen .page { min-height: 100%; padding: 70px 14px 24px; border-radius: 0; }
.phone-screen .page .box { max-width: none; }
.phone-screen.swap { animation: swap 0.5s var(--ease); }
@keyframes swap { 0% { opacity: 0.4; transform: scale(0.97); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }

/* ---------- Shrinking name ---------- */
.names { height: 440vh; }
.names-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; overflow: hidden; }
.names-domain { font: 500 clamp(14px, 1.6vw, 20px) var(--mono); color: var(--faint); }
.names-word { margin-top: 6px; font: 800 clamp(56px, 13vw, 200px)/0.95 var(--wide); letter-spacing: -0.06em; white-space: nowrap; }
.names-word .l { display: inline-block; transition: transform 0.6s var(--ease), opacity 0.5s, filter 0.5s, max-width 0.6s var(--ease); max-width: 1em; }
.names-word .l.gone { opacity: 0; transform: translateY(0.6em) rotate(25deg) scale(0.6); filter: blur(8px); max-width: 0; }
.names-count { margin-top: 26px; font: 500 clamp(26px, 4vw, 54px) var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--lilac); text-shadow: 0 0 40px rgba(185, 150, 255, 0.4); }
.names-caption { margin-top: 8px; color: var(--muted); font-size: 15px; }
.names-bar { margin-top: 34px; width: min(320px, 70vw); height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.names-bar i { display: block; height: 100%; width: 100%; background: var(--lilac); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- UID ---------- */
.uid-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 60px; align-items: end; }
.uid-digits { font: 800 clamp(84px, 16vw, 250px)/0.8 var(--wide); white-space: nowrap; letter-spacing: -0.07em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--text), #6e6880); -webkit-background-clip: text; background-clip: text; color: transparent; }
.uid-digits .dim { background: linear-gradient(180deg, #3a3644, #1c1a22); -webkit-background-clip: text; background-clip: text; }
.uid-side { color: var(--muted); font-size: 17px; line-height: 1.5; padding-bottom: 20px; }
.uid-side b { color: var(--lilac); font: 500 1em var(--mono); }

/* ---------- Layers ---------- */
.layers { height: 300vh; }
.layers-pin { position: sticky; top: 0; height: 100svh; width: min(1180px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.layer-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; }
.layer-list li { padding: 14px 16px; border-left: 2px solid var(--line-2); transition: border-color 0.4s, background 0.4s, opacity 0.4s; opacity: 0.45; }
.layer-list li b { display: block; font: 600 15px var(--sans); }
.layer-list li span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.layer-list li.on { opacity: 1; border-color: var(--lilac); background: linear-gradient(90deg, rgba(139, 62, 211, 0.12), transparent); }
.stack3d { position: relative; height: 520px; perspective: 1800px; }
.slab {
  position: absolute; left: 50%; top: 50%; width: 330px; height: 220px; margin: -110px 0 0 -165px; padding: 20px;
  border-radius: 20px; border: 1px solid var(--line-2); background: rgba(19, 18, 24, 0.86); backdrop-filter: blur(6px);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc(var(--z, 0) * 1px)); transition: transform 0.7s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.slab.on { border-color: rgba(185, 150, 255, 0.6); box-shadow: 0 40px 80px -30px rgba(139, 62, 211, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.slab-label { font: 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.slab-big { margin-top: 10px; font: 600 30px var(--sans); letter-spacing: -0.03em; }
.slab-big small { font: 12px var(--mono); color: var(--muted); letter-spacing: 0; }
.slab-line { width: 100%; height: 56px; margin-top: 6px; }
.slab-line polyline { fill: none; stroke: var(--lilac); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease); }
.slab.on .slab-line polyline, .slab-stats.drawn .slab-line polyline { stroke-dashoffset: 0; }
.slab-bars { display: grid; gap: 5px; margin-top: 8px; }
.slab-bars i { display: block; height: 5px; border-radius: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.slab-bars i::after { content: ""; position: absolute; inset: 0; background: var(--purple); transform-origin: left; }
.slab-bars .w1::after { transform: scaleX(0.82); } .slab-bars .w2::after { transform: scaleX(0.54); } .slab-bars .w3::after { transform: scaleX(0.3); }
.slab-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 11px; font-size: 13.5px; }
.slab-row img { width: 16px; height: 16px; filter: invert(1); opacity: 0.85; }
.slab-id { display: flex; gap: 14px; align-items: center; margin-top: 30px; }
.slab-id img { width: 64px; height: 64px; border-radius: 50%; background: var(--surface-3); image-rendering: pixelated; padding: 8px; }
.slab-id b { display: block; font: 800 22px var(--wide); letter-spacing: -0.04em; }
.slab-id span { color: var(--muted); font-size: 13px; }

/* ---------- Feature index ---------- */
.feats-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; }
.feat-search { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(17, 16, 21, 0.8); transition: border-color 0.3s, box-shadow 0.3s; }
.feat-search:focus-within { border-color: rgba(185, 150, 255, 0.5); box-shadow: 0 0 0 5px rgba(139, 62, 211, 0.12); }
.feat-search > span { font-size: 20px; color: var(--faint); }
.feat-search input { border: 0; outline: 0; background: none; color: var(--text); font: 500 16px var(--sans); min-width: 0; }
.feat-search small { grid-column: 2; color: var(--faint); font: 11.5px var(--mono); }
.feats-grid { margin-top: 56px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.feat-cats { list-style: none; margin: 0; padding: 0; position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; }
.feat-cats button { width: 100%; display: flex; justify-content: space-between; border: 0; background: none; text-align: left; padding: 9px 12px; border-radius: 9px; color: var(--muted); font: 500 14px var(--sans); cursor: pointer; transition: background 0.2s, color 0.2s; }
.feat-cats button small { font: 11px var(--mono); color: var(--faint); }
.feat-cats button:hover { color: var(--text); }
.feat-cats button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feat-list li { padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; transition: opacity 0.3s, background 0.3s; animation: featIn 0.5s var(--ease) both; animation-delay: calc(var(--i) * 25ms); }
.feat-list li:nth-child(odd) { padding-right: 24px; }
.feat-list li .fi { color: var(--lilac); padding-top: 2px; }
.feat-list li b { display: block; font: 600 15px var(--sans); }
.feat-list li span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.feat-list li mark { background: rgba(185, 150, 255, 0.25); color: var(--text); border-radius: 3px; padding: 0 2px; }
.feat-list .none { grid-column: 1 / -1; display: block; color: var(--muted); }
@keyframes featIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Live pills ---------- */
.live-pills { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.live-pills a {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(17, 16, 21, 0.8); text-decoration: none; font-size: 14px; color: var(--text);
  opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.25s, background 0.25s;
  transition-delay: calc(var(--i) * 50ms);
}
.live-pills.in a { opacity: 1; transform: none; }
.live-pills a:hover { border-color: var(--pc, var(--lilac)); background: var(--surface-2); transform: translateY(-3px) !important; transition-delay: 0s; }
.live-pills img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.live-pills img.is-mark { image-rendering: pixelated; padding: 4px; }
.live-pills small { color: var(--faint); font: 11.5px var(--mono); }
.live-empty { color: var(--muted); }

/* ---------- Rows (changelog, pricing) ---------- */
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 600; }
.rows dd { margin: 0; color: var(--muted); }
.mega em { color: var(--lilac); }

/* ---------- FAQ ---------- */
.faq2 { border-top: 1px solid var(--line); }
.faq2 details { border-bottom: 1px solid var(--line); }
.faq2 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 500 17px var(--sans); }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font: 300 24px/1 var(--sans); color: var(--faint); transition: transform 0.35s var(--ease), color 0.2s; }
.faq2 details[open] summary::after { transform: rotate(135deg); color: var(--lilac); }
.faq2 details p { padding: 0 40px 22px 0; color: var(--muted); animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Footer ---------- */
.hfoot { width: min(1180px, 100% - 48px); margin: 0 auto; padding: 60px 0 30px; overflow: hidden; }
.hfoot-word {
  font: 800 min(19vw, 270px)/0.8 var(--wide); letter-spacing: -0.07em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, #2c2935 0%, var(--void) 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(var(--fy, 40%)); transition: transform 0.2s linear;
}
.hfoot-row { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 12px var(--mono); color: var(--faint); }
.hfoot-row a { margin-left: 18px; color: var(--muted); text-decoration: none; }
.hfoot-row a:hover { color: var(--text); }

/* ---------- Phones and tablets ---------- */
@media (max-width: 1000px) {
  .hnav nav { display: none; }
  .hero2-foot, .two-col, .uid-grid, .feats-head, .studio2-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .studio2-grid .phone { justify-self: center; }
  .layers { height: auto; }
  .layers-pin { position: static; height: auto; grid-template-columns: minmax(0, 1fr); padding: 120px 0; }
  .layer-list li { opacity: 1; }
  .stack3d { height: 420px; }
}
@media (max-width: 640px) {
  .hnav { width: calc(100% - 16px); top: 8px; padding-left: 14px; }
  .hnav-signin { display: none; }
  .hero2 { padding-bottom: 54px; }
  .hero2-foot, .sec, .hfoot, .layers-pin { width: calc(100% - 32px); }
  .sec { padding: 100px 0; }
  .claim2 .prefix { font-size: 13px; }
  .claim2 input { font-size: 14px; }
  .claim2-btn span { display: none; }
  .claim2-btn { padding: 0 6px; }
  .phone { width: min(330px, 100%); height: 640px; border-radius: 46px; }
  .phone-screen { border-radius: 36px; }
  .dgroup { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .feats-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feat-cats { position: static; display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .feat-cats li { flex: none; }
  .feat-cats button { gap: 8px; }
  .feat-list { grid-template-columns: minmax(0, 1fr); }
  .feat-list li:nth-child(odd) { padding-right: 0; }
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .slab { width: 250px; height: 180px; margin: -90px 0 0 -125px; padding: 16px; }
  .stack3d { height: 380px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
  [data-reveal], .live-pills a { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
}

/* ---------- Motto ---------- */
.quote { width: min(1180px, 100% - 48px); margin: 0 auto; padding: 120px 0 60px; text-align: center; }
.quote blockquote { margin: 0; }
.quote p { font: 800 clamp(40px, 7.4vw, 112px)/0.95 var(--wide); letter-spacing: -0.05em; }
.quote p em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--lilac); text-shadow: 0 0 60px rgba(185, 150, 255, 0.45); }
.quote footer { margin-top: 26px; font: 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #a3a0b0; }
.quote footer::before { content: "— "; }
@media (max-width: 640px) { .quote { width: calc(100% - 32px); padding: 80px 0 40px; } }
/* site.css masks the old landing's void on phones; this page wants the whole thing. */
.home #void { -webkit-mask-image: none; mask-image: none; }

/* ---------- Readability: the void dims behind the content sections ---------- */
#void { transition: opacity 0.3s linear; }
.home .sec-lede, .home .rows dd, .home .faq2 details p, .home .layer-list li span, .home .feat-list li span, .home .uid-side, .home .hero2-lede {
  color: #c3c0cf; text-shadow: 0 1px 14px rgba(8, 7, 10, 0.9);
}
.home .rows dt, .home .faq2 summary, .home .feat-list li b { color: #f4f3f8; text-shadow: 0 1px 14px rgba(8, 7, 10, 0.9); }
/* Text sections sit on a soft dark wash, so the dither never runs under the words. */
.home .faq2, .home .rows, .home .feat-list, .home #leaders-slot {
  position: relative; padding: 4px 18px; margin: -4px -18px; border-radius: 18px;
  background: rgba(10, 9, 12, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.home .faq2 details[open] { background: rgba(185, 150, 255, 0.05); }
.home .faq2 details p { font-size: 15.5px; line-height: 1.6; }

/* The big footer word is decoration: it must never sit on top of the links. */
.hfoot-word { pointer-events: none; position: relative; z-index: 0; }
.hfoot-row { position: relative; z-index: 2; }
.hfoot-row, .hfoot-row a { color: #b5b2c0; font-size: 13px; }
.hfoot-row a { display: inline-block; padding: 8px 10px; margin-left: 4px; border-radius: 8px; }
.hfoot-row a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 640px) { .home .faq2, .home .rows, .home .feat-list, .home #leaders-slot { padding: 2px 12px; margin: -2px -12px; } }

/* ---------- Big headings stay inside their column ---------- */
/* In the two-column sections the heading gets half the width, so it's sized to fit it,
   and the right-hand column sits above it in case a long word still reaches across. */
.two-col > div:first-child { min-width: 0; }
.two-col .big { font-size: clamp(38px, 4.2vw, 68px); overflow-wrap: anywhere; }
.two-col .mega { font-size: clamp(84px, 10vw, 150px); }
.two-col > :last-child { position: relative; z-index: 1; }
@media (max-width: 1000px) {
  .two-col .big { font-size: clamp(40px, 9vw, 72px); }
  .two-col .mega { font-size: clamp(90px, 26vw, 180px); }
}
.slab-id img, .live-pills img.is-mark { background: transparent; }

/* =====================================================================
   Redesign: original sections around "your page is a script".
   ===================================================================== */

/* ---------- Chrome wordmark: light sweep and reflection ---------- */
.chrome .ch > b {
  background-image:
    linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.95) 48%, rgba(220, 205, 255, 0.6) 52%, transparent 62%),
    linear-gradient(172deg, #ffffff 0%, #d9d3e8 16%, #7a7290 32%, #f7f4ff 46%, #b3abc6 56%, #3e3849 70%, #e3ddf0 86%, #958ea8 100%);
  background-size: 300% 100%, 100% 220%;
  background-position: 160% 0, 50% var(--shine, 30%);
}
.chrome.swept .ch > b { animation: bob 5s ease-in-out infinite, sweep 6.5s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: calc(var(--i) * -0.4s), calc(var(--i) * 0.07s + 1s); }
@keyframes sweep { 0%, 55% { background-position: 160% 0, 50% var(--shine, 30%); } 85%, 100% { background-position: -60% 0, 50% var(--shine, 30%); } }
.chrome .ch::after { text-shadow: 0 1px 0 #2a2433, 0 2px 0 #26202f, 0 3px 0 #221c2b, 0 4px 0 #1e1927, 0 5px 0 #1b1623, 0 6px 0 #18131f, 0 7px 0 #15111b, 0 14px 30px rgba(0, 0, 0, 0.75), 0 0 70px rgba(139, 62, 211, 0.45); }
.chrome-reflect {
  font: 800 min(13.4vw, 196px)/0.86 var(--wide); letter-spacing: -0.06em; white-space: nowrap; text-align: center; user-select: none; pointer-events: none;
  margin-top: 0.06em; transform: scaleY(-0.55); transform-origin: top; opacity: calc(var(--ho, 1) * 0.28); filter: blur(2px);
  background: linear-gradient(180deg, #d9d3e8, #3e3849); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 70%); mask-image: linear-gradient(to top, #000 0%, transparent 70%);
}
.chrome-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 640px) { .chrome-reflect { display: none; } }

/* ---------- Section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.row-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.kick { font: 500 13px var(--mono); color: var(--lilac); letter-spacing: 0.02em; margin-bottom: 14px; }
.sub { font: 700 22px var(--wide); letter-spacing: -0.03em; }
.sec-lede.small { font-size: 15px; }

/* ---------- Build: the code window ---------- */
.ide { border-radius: 18px; border: 1px solid var(--line-2); background: rgba(13, 12, 17, 0.92); box-shadow: 0 50px 120px -50px rgba(139, 62, 211, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; overflow: hidden; }
.ide-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(20, 19, 25, 0.9); font: 12.5px var(--mono); color: var(--muted); }
.ide-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3644; }
.ide-bar i:nth-child(1) { background: #ff5f57; }
.ide-bar i:nth-child(2) { background: #febc2e; }
.ide-bar i:nth-child(3) { background: #28c840; }
.ide-bar span { margin-left: 10px; color: var(--text); }
.ide-bar b { margin-left: auto; font-weight: 500; color: var(--ok); }
.ide-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: 460px; }
.ide-code { margin: 0; padding: 22px 20px; font: 14.5px/1.85 var(--mono); color: #cfcbe0; white-space: pre-wrap; overflow: hidden; border-right: 1px solid var(--line); }
.ide-code .ln { display: block; border-radius: 6px; }
.ide-code .ln.hit { animation: line-hit 0.9s ease-out; }
@keyframes line-hit { 0% { background: rgba(185, 150, 255, 0.18); } 100% { background: transparent; } }
.ide-code .ln i { font-style: normal; color: #4f4a5c; margin-right: 18px; user-select: none; }
.t-kw { color: #c792ea; }
.t-str { color: #c3e88d; }
.t-id { color: #82aaff; }
.t-val { color: #f78c6c; }
.t-p { color: #8f8aa0; }
.ide-out { position: relative; padding: 26px; display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 30%, rgba(139, 62, 211, 0.16), transparent 70%); }
.ide-out .page { width: min(360px, 100%); }
.demo-tag { position: absolute; right: 14px; bottom: 10px; font: 11px var(--mono); color: var(--faint); }

/* ---------- Features: the bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 270px; padding: 20px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(15, 14, 19, 0.86); backdrop-filter: blur(8px); overflow: hidden; transition: border-color 0.25s, transform 0.3s var(--ease); }
.tile:hover { border-color: rgba(185, 150, 255, 0.4); transform: translateY(-3px); }
.tile h3 { margin-top: auto; font: 700 19px var(--wide); letter-spacing: -0.03em; color: var(--text); position: relative; z-index: 2; }
.tile p { color: #b3b0c0; font-size: 14.5px; position: relative; z-index: 2; }
.t-music, .t-badges, .t-apps { grid-column: span 2; }
.tile-demo { position: relative; z-index: 2; }
.tile-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; image-rendering: pixelated; }
.mini-player { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.mini-disc { width: 38px; height: 38px; border-radius: 50%; background: repeating-radial-gradient(circle, #1a1820 0 2px, #26232d 2px 3px); box-shadow: inset 0 0 0 12px #121016, 0 0 0 1px var(--line-2); animation: spin 3.4s linear infinite; }
.mini-player b { display: block; font-size: 14px; }
.mini-player small { color: var(--muted); font: 12px var(--mono); }
.mini-eq { margin-left: auto; display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.mini-eq i { width: 3px; background: var(--lilac); border-radius: 1px; animation: eqbar 0.9s ease-in-out infinite; }
.mini-eq i:nth-child(2) { animation-delay: -0.3s; }
.mini-eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eqbar { 0%, 100% { height: 3px; } 50% { height: 14px; } }
.mini-lyrics { margin-top: 12px; display: grid; gap: 6px; }
.mini-lyrics p { font: 500 15px var(--serif); color: #55505f; transition: color 0.4s, transform 0.4s var(--ease); transform-origin: left; }
.mini-lyrics p.on { color: #fff; transform: scale(1.04); text-shadow: 0 0 18px rgba(185, 150, 255, 0.55); }
.fx-switch { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 5px; }
.fx-switch button { border: 1px solid var(--line-2); background: rgba(10, 9, 12, 0.7); color: var(--muted); border-radius: 999px; padding: 5px 10px; font: 500 12px var(--sans); cursor: pointer; }
.fx-switch button[aria-pressed="true"] { color: var(--void); background: var(--lilac); border-color: var(--lilac); }
.cursor-hint { flex: 1; display: grid; place-items: center; border-radius: 14px; border: 1px dashed var(--line-2); font: 12.5px var(--mono); color: var(--faint); min-height: 110px; }
.t-cursor { cursor: crosshair; }
.tile-demo.page { background: none; border: 0; padding: 0; overflow: visible; }
.tile-demo.page::before { display: none; }
.tile-demo.page .badge-cluster { margin: 6px 0 0; justify-content: flex-start; }
.demo-hint { margin-top: 10px; font: 12px var(--mono); color: var(--faint) !important; }
.t-discord .blk.discord { margin-bottom: 8px; min-height: 60px; padding: 10px 12px; }
.app-wall { position: relative; z-index: 2; display: grid; gap: 10px; margin: 0 -20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.app-row { display: flex; gap: 10px; width: max-content; animation: slide 38s linear infinite; }
.app-row:nth-child(2) { animation-direction: reverse; animation-duration: 44s; }
.app { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.app img { width: 20px; height: 20px; filter: invert(1); opacity: 0.8; }
.mini-pages { display: grid; gap: 6px; }
.mp { display: grid; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.mp small { font: 10px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.mp b { font: 400 22px/1.1 var(--serif); color: var(--text); }
.mp:nth-child(2) { margin-left: 14px; opacity: 0.75; }
.mp:nth-child(3) { margin-left: 28px; opacity: 0.5; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; z-index: 2; }
.tick-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #d6d3e0; }
.tick-list li::before { content: "\2713"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 12px; color: var(--void); background: var(--ok); }

/* ---------- Steps ---------- */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step-list li { padding: 24px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(15, 14, 19, 0.86); }
.step-no { display: block; font: 800 46px/1 var(--wide); letter-spacing: -0.05em; background: linear-gradient(180deg, var(--lilac), #4a2a7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-list b { display: block; margin-top: 18px; font: 700 19px var(--wide); letter-spacing: -0.03em; }
.step-list p { margin-top: 8px; color: #b3b0c0; font-size: 14.5px; }

/* ---------- Live: stats, directory, leaders ---------- */
.stats { display: flex; gap: 12px; margin: 0; }
.stats div { padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(15, 14, 19, 0.86); min-width: 150px; }
.stats dt { font: 12px var(--mono); color: var(--muted); }
.stats dd { margin: 6px 0 0; font: 700 30px var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.dir-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--text);
  border: 1px solid var(--line-2); background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 12%, transparent), rgba(15, 14, 19, 0.9) 55%);
  opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.25s; transition-delay: calc(var(--i) * 45ms);
}
.directory.in .dir-card { opacity: 1; transform: none; }
.dir-card:hover { border-color: var(--pc); transform: translateY(-3px) !important; transition-delay: 0s; }
.dir-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dir-text b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-text span { font: 12px var(--mono); color: var(--muted); }
.dir-card p { grid-column: 1 / -1; color: #a9a6b6; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaders-wrap { margin-top: 60px; }

/* ---------- Closing call to action ---------- */
.quote { display: flex; flex-direction: column; align-items: center; }
.quote .big-cta { margin-top: 34px; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ide-body { grid-template-columns: minmax(0, 1fr); }
  .ide-code { border-right: 0; border-bottom: 1px solid var(--line); min-height: 300px; }
  .step-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-music, .t-badges, .t-apps { grid-column: auto; }
  .ide-code { font-size: 12.5px; padding: 16px 12px; }
  .stats { width: 100%; }
  .stats div { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chrome.swept .ch > b, .mini-disc, .mini-eq i, .app-row { animation: none !important; }
  .dir-card { opacity: 1; transform: none; }
}
/* Fit the wordmark (with its extrusion and glow) inside the screen at every width. */
.chrome { font-size: min(11.6vw, 172px) !important; }
.chrome-reflect { font-size: min(11.6vw, 172px); }
/* Keep the logo wall two neat rows; the wide rows mustn't stretch or size the tile. */
.t-apps { min-width: 0; }
.app-wall { align-content: start; grid-auto-rows: 44px; }
.app-row { align-items: center; height: 44px; }
.app { flex: none; }
/* "stellic" is seven letters (voidscript was ten), so the hero word can sit bigger. */
.chrome { font-size: min(16.5vw, 236px) !important; }
.chrome-reflect { font-size: min(16.5vw, 236px); }
