/* ==========================================================================
   Prop — website theme
   White and confident: ink type, one blue→violet→pink signature gradient,
   pastel-tinted media panels that let the colourful 3D renders do the talking.
   ========================================================================== */

:root {
  --ink: #0B0D17;
  --ink-2: #4A5068;
  --ink-3: #8A90A6;
  --line: #E9EBF2;
  --line-2: #DCDFEA;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;

  --blue: #3366FF;
  --violet: #7A5CFF;
  --pink: #FF4F8B;
  --mint: #12B886;
  --orange: #FF7A1A;
  --grad: linear-gradient(95deg, #3366FF 0%, #7A5CFF 48%, #FF4F8B 100%);

  --t-blue: #EEF3FF;
  --t-violet: #F2EEFF;
  --t-pink: #FFEEF4;
  --t-mint: #E7F8F1;
  --t-orange: #FFF2E8;

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow: 0 1px 2px rgba(11, 13, 23, .04), 0 18px 48px -24px rgba(11, 13, 23, .18);
  --shadow-lg: 0 1px 2px rgba(11, 13, 23, .05), 0 40px 80px -40px rgba(11, 13, 23, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .86em; padding: .15em .45em; border-radius: 6px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: #DCE5FF; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* colour helpers */
.c-blue { background: var(--blue); } .c-violet { background: var(--violet); } .c-pink { background: var(--pink); }
.c-mint { background: var(--mint); } .c-orange { background: var(--orange); }
.c-bg-blue { background: var(--t-blue); color: var(--blue); } .c-bg-violet { background: var(--t-violet); color: var(--violet); }
.c-bg-pink { background: var(--t-pink); color: var(--pink); } .c-bg-mint { background: var(--t-mint); color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px;
  font: 600 15px/1 var(--body); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 8px 20px -10px rgba(11, 13, 23, .6); }
.btn-ink:hover { background: #22263A; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 14px 28px -12px rgba(11, 13, 23, .6); }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(11, 13, 23, .05); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px #C5C9D8, 0 6px 16px -10px rgba(11, 13, 23, .3); transform: translateY(-1px); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-soft); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -10px rgba(11, 13, 23, .5); }
.btn-white:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 13px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--ink-2); transition: color .2s, background-color .2s; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: var(--ink); background: var(--bg-soft); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 600 14px/1 var(--body); color: var(--ink-2); }
.eb-dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.eb-on-dark { color: rgba(255, 255, 255, .8); }
.eb-on-dark .eb-dot { background: #fff; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; font: 600 13px/1 var(--body); }
.b-blue { background: var(--t-blue); color: var(--blue); }
.b-mint { background: var(--t-mint); color: var(--mint); }
.b-ink { background: var(--ink); color: #fff; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.scrolled, .nav.open { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.logo-mark { width: 32px; height: 32px; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg); }
.logo-word { font: 800 24px/1 var(--display); letter-spacing: -.045em; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-only-mobile { display: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.search {
  display: flex; align-items: center; gap: 8px; width: 236px; height: 38px; padding: 0 8px 0 12px; margin-right: 6px;
  border-radius: 10px; background: var(--bg-soft); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s, background-color .2s;
}
.search:focus-within { background: #fff; box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 3px #DCE5FF; }
.search svg { width: 16px; height: 16px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.search kbd { font: 500 11px/1 var(--mono); padding: 4px 6px; border-radius: 5px; background: #fff; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn { display: none; position: relative; width: 40px; height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 22px; }
.nav.open .menu-btn span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 160px 0 120px; min-height: min(920px, 100svh); display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 50% at 76% 38%, rgba(51, 102, 255, .13), transparent 70%),
    radial-gradient(30% 40% at 92% 72%, rgba(255, 79, 139, .10), transparent 70%),
    radial-gradient(30% 36% at 60% 80%, rgba(122, 92, 255, .10), transparent 70%),
    #fff;
}
.hero-bg::before { /* hairline grid, fading toward the copy */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(55% 65% at 72% 45%, #000 10%, transparent 72%);
          mask-image: radial-gradient(55% 65% at 72% 45%, #000 10%, transparent 72%);
  opacity: .8;
}
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, transparent, #fff); }
.hero-art {
  position: absolute; z-index: -1; pointer-events: none;
  top: 57%; right: max(-26vw, -470px); width: min(1700px, 113vw);
  transform: translate3d(var(--px, 0px), calc(-50% + var(--py, 0px)), 0);
  transition: transform 1s var(--ease);
}
.hero-art img { width: 100%; animation: float 10s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-inner { position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 4px; margin-bottom: 28px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: box-shadow .2s;
}
.pill:hover { box-shadow: inset 0 0 0 1px #C5C9D8; color: var(--ink); }
.pill svg { width: 15px; height: 15px; color: var(--ink-3); transition: transform .2s var(--ease); }
.pill:hover svg { transform: translateX(2px); }
.pill-tag { padding: 6px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; }
.hero-title { font-size: clamp(48px, 6vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.hero-title .grad-text { padding-bottom: .08em; display: inline-block; }
.hero-sub { max-width: 520px; margin-top: 26px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 14px; height: 14px; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: -36px 0 0; position: relative; z-index: 2;
  border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.stat { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; }
.stat + .stat { box-shadow: -1px 0 0 var(--line); }
.stat dd { margin: 0; font: 800 clamp(34px, 3.2vw, 46px)/1 var(--display); letter-spacing: -.04em; background: var(--grad); background-size: 400% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(1) dd { background-position: 0% 0; }
.stat:nth-child(2) dd { background-position: 33% 0; }
.stat:nth-child(3) dd { background-position: 66% 0; }
.stat:nth-child(4) dd { background-position: 100% 0; }
.stat dd small { font-size: .45em; margin-left: 3px; }
.stat dt { font-size: 14px; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 9vw, 128px); position: relative; }
.section-tight { padding-top: clamp(24px, 3vw, 48px); }
.section-soft { background: var(--bg-soft); }
.head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.head h2, .feature-copy h2, .dev-copy h2 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 800; letter-spacing: -.04em; }
.head .soft { color: var(--ink-3); }
.head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .lede { margin-inline: auto; }
.lede { max-width: 580px; margin-top: 18px; font-size: clamp(17px, 1.25vw, 19px); color: var(--ink-2); }

/* ---------- Cards (shared) ---------- */
.gm-card, .update-feature, .duo-card, .update-list a {
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.gm-card:hover, .update-feature:hover, .duo-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }

/* ---------- Gamemodes ---------- */
.gm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gm-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r-xl); }
.gm-media { position: relative; height: 340px; margin: 8px 8px 0; border-radius: 22px; overflow: hidden; }
.gm-sandbox .gm-media { background: radial-gradient(60% 70% at 50% 55%, #FFFFFF 0%, transparent 70%), linear-gradient(140deg, #E6EDFF 0%, #EFE9FF 55%, #FFE9F1 100%); }
.gm-sandbox .gm-media img { position: absolute; left: 50%; top: 50%; height: 86%; width: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 24px 24px rgba(51, 70, 140, .22)); transition: transform 1s var(--ease); }
.gm-sandbox:hover .gm-media img { transform: translate(-50%, -54%); }
.gm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gm-roleplay:hover .gm-photo img { transform: scale(1.04); }
.photo-label { position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; border-radius: 9px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(11, 13, 23, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gm-body { padding: 26px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.gm-kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); }
.gm-body h3 { font-size: clamp(26px, 2.3vw, 32px); font-weight: 700; }
.gm-body > p { max-width: 52ch; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 11px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Updates ---------- */
.updates { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
.update-feature { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); }
.uf-media { position: relative; height: 280px; margin: 8px 8px 0; border-radius: 22px; overflow: hidden; background: radial-gradient(60% 70% at 50% 60%, #fff, transparent 70%), linear-gradient(140deg, #FFF1E2, #FFE8F0 60%, #EFE9FF); }
.uf-media img { position: absolute; left: 50%; bottom: -4%; width: 88%; transform: translateX(-50%); transition: transform 1s var(--ease); }
.update-feature:hover .uf-media img { transform: translateX(-50%) translateY(-6px); }
.uf-body { padding: 26px 30px 32px; }
.uf-body h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; margin: 14px 0 10px; }
.uf-body p:last-child { color: var(--ink-2); max-width: 54ch; }
.meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.update-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.update-list a { display: grid; grid-template-columns: 128px 1fr 20px; align-items: center; gap: 20px; padding: 12px 18px 12px 12px; border-radius: 20px; }
.update-list a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.update-list img { width: 128px; height: 92px; object-fit: cover; border-radius: 13px; }
.update-list img.ul-render { object-fit: contain; padding: 6px; background: linear-gradient(140deg, #E6EDFF, #FFE9F1); }
.ul-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ul-date { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.ul-text strong { font: 700 18px/1.25 var(--display); letter-spacing: -.02em; }
.ul-text > span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ul-go { width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.update-list a:hover .ul-go { color: var(--blue); transform: translateX(3px); }

/* ---------- Create: tools ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 7px; color: var(--blue); background: var(--t-blue); }
.tool-panel {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--r-xl);
  background: radial-gradient(55% 50% at 50% 38%, #fff, transparent 70%), linear-gradient(150deg, #FFF0E2 0%, #FFE6EF 55%, #EEE9FF 100%);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.tool-render { position: absolute; left: 50%; top: 2%; width: 64%; transform: translateX(-50%); filter: drop-shadow(0 18px 22px rgba(120, 60, 40, .16)); }
.tool-marquee {
  position: absolute; inset: auto 0 26px; display: grid; gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tm-row { display: flex; gap: 8px; width: max-content; animation: marquee 60s linear infinite; }
.tm-rev { animation-direction: reverse; animation-duration: 70s; }
.tm-row span { padding: 8px 13px; border-radius: 10px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(11, 13, 23, .06), 0 2px 6px -2px rgba(11, 13, 23, .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tm-row span:nth-child(6n+1) { color: var(--blue); }
.tm-row span:nth-child(6n+4) { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Mason ---------- */
.section-mason { background: linear-gradient(180deg, #fff 0%, #F3F1FF 30%, #F7F5FF 75%, #fff 100%); }
.window { margin: 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -50px rgba(60, 40, 160, .35), 0 1px 2px rgba(11, 13, 23, .06); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--ink-3); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E3E5EE; }
.window-bar span { margin-left: 10px; }
.window img { width: 100%; }
.mason-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mason-points li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mp-ico { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.mp-ico svg { width: 20px; height: 20px; }
.mason-points strong { font: 700 16px/1.3 var(--display); }
.mason-points li > span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

/* ---------- Duo cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { position: relative; display: flex; flex-direction: column; padding: 8px 8px 32px; border-radius: var(--r-xl); overflow: hidden; }
.duo-card > :not(.import-visual):not(.ragdoll-visual) { margin-inline: 22px; }
.duo-card h3 { font-size: clamp(26px, 2.3vw, 32px); font-weight: 700; margin-bottom: 10px; }
.duo-card > p:last-child { max-width: 48ch; color: var(--ink-2); }
.duo-card .eyebrow { margin-top: 26px; margin-bottom: 14px; }
.import-visual, .ragdoll-visual { position: relative; height: 290px; border-radius: 22px; overflow: hidden; }
.duo-peach .import-visual { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 0 30px; background: linear-gradient(140deg, #FFF2E6, #FFE9F0); }
.duo-blue .ragdoll-visual { background: radial-gradient(55% 60% at 50% 50%, #fff, transparent 70%), linear-gradient(140deg, #E6EDFF, #EFE9FF); }
.files { display: grid; gap: 9px; }
.file { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border-radius: 12px; font: 500 13px/1 var(--mono); background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 13, 23, .06), 0 4px 12px -6px rgba(120, 60, 40, .2); }
.file b { padding: 4px 6px; border-radius: 6px; font: 600 10px/1 var(--body); letter-spacing: .04em; }
.fb-blue { background: var(--t-blue); color: var(--blue); }
.fb-violet { background: var(--t-violet); color: var(--violet); }
.fb-orange { background: var(--t-orange); color: var(--orange); }
.fb-mint { background: var(--t-mint); color: var(--mint); }
.import-flow { display: flex; gap: 6px; }
.import-flow i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); opacity: .25; animation: flow 1.4s ease-in-out infinite; }
.import-flow i:nth-child(2) { animation-delay: .2s; }
.import-flow i:nth-child(3) { animation-delay: .4s; }
@keyframes flow { 50% { opacity: 1; } }
.import-mark { width: 96px; height: 96px; filter: drop-shadow(0 14px 20px rgba(200, 130, 0, .3)); }
.ragdoll-visual img { position: absolute; left: 50%; top: 50%; width: 300px; transform: translate(-50%, -50%); filter: drop-shadow(0 20px 20px rgba(51, 70, 140, .2)); animation: drift 8s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(-50%, -53%) rotate(-3deg); } }

/* ---------- Developers ---------- */
.dev { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.dev-copy .btn { margin-top: 28px; }
.code-card { border-radius: var(--r-lg); overflow: hidden; background: #0D1020; box-shadow: 0 1px 2px rgba(11, 13, 23, .1), 0 40px 80px -40px rgba(11, 13, 23, .45); }
.code-tabs { display: flex; gap: 2px; padding: 8px 8px 0; background: #151933; }
.code-tabs span { padding: 10px 14px; border-radius: 9px 9px 0 0; font: 500 12px/1 var(--mono); color: #7D84A8; }
.code-tabs span.on { background: #0D1020; color: #fff; box-shadow: inset 0 2px 0 var(--violet); }
.code-card pre { margin: 0; padding: 26px 28px 30px; overflow-x: auto; font: 500 14px/1.75 var(--mono); color: #E8EAF6; }
.code-card code { padding: 0; background: none; box-shadow: none; font-size: inherit; }
.code-card .k { color: #8FB0FF; }
.code-card .s { color: #FFC66B; }
.code-card .n { color: #FF8AB3; }
.code-card .b { color: #5EE0B5; }
.code-card .p { color: #5D6488; }

/* ---------- CTA ---------- */
.cta-wrap { padding: clamp(40px, 5vw, 70px) 0 clamp(80px, 9vw, 120px); }
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 6vw, 80px); border-radius: 32px; color: #fff;
  background: radial-gradient(60% 90% at 90% 50%, rgba(255, 79, 139, .45), transparent 70%), linear-gradient(120deg, #2F5BFF 0%, #6A4DFF 55%, #8F4DF5 100%);
  box-shadow: 0 40px 80px -40px rgba(60, 50, 200, .6);
}
.cta-art { position: absolute; right: -24%; top: 50%; width: 92%; transform: translateY(-50%); z-index: -1; }
.cta-copy { position: relative; max-width: 520px; }
.cta h2 { font-size: clamp(40px, 4.8vw, 64px); font-weight: 800; letter-spacing: -.04em; }
.cta-copy > p:not(.eyebrow):not(.form-note) { margin: 16px 0 28px; font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 44ch; }
.signup { display: flex; gap: 10px; max-width: 460px; }
.signup input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; font-size: 15px; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.signup input::placeholder { color: rgba(255, 255, 255, .65); }
.signup input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .2); }
.signup .btn { height: 48px; }
.signup.busy .btn { opacity: .6; pointer-events: none; }
.signup.done { display: none; }
.form-note { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.form-note.success { font: 700 22px/1.3 var(--display); color: #fff; }
.form-note.error { color: #FFE0EA; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-brand p { margin: 16px 0 18px; max-width: 34ch; color: var(--ink-2); font-size: 15px; }
.socials { display: flex; gap: 6px; }
.socials .icon-btn { box-shadow: inset 0 0 0 1px var(--line); }
.foot-col h4 { margin-bottom: 12px; font: 600 14px/1 var(--body); letter-spacing: 0; }
.foot-col a { display: block; width: fit-content; padding: 6px 0; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.foot-col a:hover { color: var(--blue); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a:hover { color: var(--ink); }

.c-bg-orange { background: var(--t-orange); color: var(--orange); }

/* ---------- Reel ---------- */
.section-reel { padding-bottom: clamp(40px, 5vw, 72px); }
.section-reel .head, #features .head { max-width: 900px; }
.reel {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r-xl);
  aspect-ratio: 16 / 9; background: #E7EAFB;
  box-shadow: inset 0 0 0 1px var(--line), 0 50px 100px -50px rgba(60, 50, 160, .45);
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-toggle {
  position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--ink); background: rgba(255, 255, 255, .85); box-shadow: 0 6px 18px -8px rgba(11, 13, 23, .4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s var(--ease);
}
.reel-toggle:hover { transform: scale(1.06); }
.reel-toggle svg { width: 18px; height: 18px; }
.reel-toggle .ic-play, .reel-toggle[aria-pressed="true"] .ic-pause { display: none; }
.reel-toggle[aria-pressed="true"] .ic-play { display: block; }
.reel figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 11px; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Server hub (styled like the in-game launcher) ---------- */
.hub {
  --hub-bg: #0E1017; --hub-2: #151823; --hub-3: #1C2030; --hub-line: rgba(255, 255, 255, .07); --hub-text: #EDEFF7; --hub-dim: #8B90A8; --hub-gold: #FFC93C;
  border-radius: var(--r-xl); padding: 14px; background: var(--hub-bg); color: var(--hub-text);
  box-shadow: 0 1px 2px rgba(11, 13, 23, .1), 0 50px 100px -50px rgba(11, 13, 23, .55);
}
.hub-featured { position: relative; min-height: 250px; border-radius: 20px; overflow: hidden; }
.hf-card { position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; justify-content: end; gap: 10px; padding: 28px 30px; opacity: 0; transition: opacity .7s var(--ease); }
.hf-card.on { opacity: 1; }
.hf-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--banner); }
.hf-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 16, 23, .85) 0%, rgba(14, 16, 23, .35) 55%, transparent 100%); }
.hf-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-tags span { padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .14); }
.hf-tags span:first-child { background: var(--hub-gold); color: #14120A; }
.hf-card h4 { margin: 0; font: 800 clamp(28px, 3vw, 40px)/1 var(--display); letter-spacing: -.03em; }
.hf-card p { max-width: 46ch; color: rgba(237, 239, 247, .82); font-size: 15px; }
.hf-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: rgba(237, 239, 247, .8); }
.hf-meta b { color: #fff; font-weight: 600; }
.hf-dots { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 6px; z-index: 2; }
.hf-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: width .3s var(--ease), background-color .3s; }
.hf-dots button[aria-current="true"] { width: 22px; background: var(--hub-gold); }
.hub-bar { display: flex; align-items: center; gap: 14px; padding: 20px 10px 12px; flex-wrap: wrap; }
.hub-title { margin: 0; font: 700 22px/1 var(--display); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; }
.hub-title span { font: 500 13px/1 var(--body); color: var(--hub-dim); letter-spacing: 0; }
.hub-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--hub-2); }
.hub-tabs button { padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--hub-dim); transition: color .2s, background-color .2s; }
.hub-tabs button[aria-selected="true"] { background: var(--hub-3); color: var(--hub-text); }
.hub-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 260px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--hub-2); color: var(--hub-dim); box-shadow: inset 0 0 0 1px var(--hub-line); }
.hub-search svg { width: 15px; height: 15px; flex: none; }
.hub-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13px; color: var(--hub-text); }
.hub-search input::placeholder { color: var(--hub-dim); }
.hub-search:focus-within { box-shadow: inset 0 0 0 1px var(--hub-gold); }
.hub-row { display: grid; grid-template-columns: minmax(0, 2.4fr) 1fr 1.4fr 140px; align-items: center; gap: 16px; padding: 11px 12px; border-radius: 12px; }
.hub-head { font-size: 12px; font-weight: 600; color: var(--hub-dim); border-bottom: 1px solid var(--hub-line); border-radius: 0; padding-bottom: 10px; }
#hub-rows .hub-row { transition: background-color .2s; }
#hub-rows .hub-row:hover { background: var(--hub-2); }
.hs-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hs-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font: 700 14px/1 var(--display); color: #fff; }
.hs-text { display: flex; flex-direction: column; min-width: 0; }
.hs-text strong { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-text span { font-size: 12px; color: var(--hub-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-mode, .hs-map { font-size: 13.5px; color: rgba(237, 239, 247, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-map { font-family: var(--mono); font-size: 12.5px; color: var(--hub-dim); }
.hs-players { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.hs-bar { height: 4px; border-radius: 4px; background: var(--hub-3); overflow: hidden; }
.hs-bar i { display: block; height: 100%; border-radius: 4px; background: var(--hub-gold); }
.hs-full { color: #FF8A8A; }
.hs-full .hs-bar i { background: #FF6B6B; }
.hub-empty { padding: 28px 12px; text-align: center; color: var(--hub-dim); font-size: 14px; }
.hub-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- Everything in the box ---------- */
.box-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.box-grid li {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(11, 13, 23, .03);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.box-grid li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.bx-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 10px; }
.bx-ico svg { width: 22px; height: 22px; }
.box-grid strong { font: 700 17px/1.25 var(--display); letter-spacing: -.015em; }
.box-grid li > span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Changelog ---------- */
.changelog { margin-top: 28px; padding: 28px 30px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.cl-title { margin: 0 0 18px; font: 700 20px/1 var(--display); }
.cl-list { list-style: none; margin: 0 0 22px; padding: 0; }
.cl-list > li { position: relative; padding: 0 0 22px 26px; }
.cl-list > li::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.cl-list > li:last-child { padding-bottom: 0; }
.cl-list > li:last-child::before { display: none; }
.cl-ver { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cl-dot { position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px #fff; }
.cl-ver strong { font: 700 16px/1.2 var(--mono); letter-spacing: -.02em; }
.cl-ver span:not(.cl-dot) { padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--t-mint); color: var(--mint); }
.cl-list ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }

/* ---------- Tester form ---------- */
.tester { display: grid; gap: 16px; max-width: 520px; }
.tester-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.tester input[type="text"], .tester input[type="email"] {
  min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; font-size: 15px;
  background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tester input::placeholder { color: rgba(255, 255, 255, .65); }
.tester input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .2); }
.roles { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles legend { width: 100%; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.roles label { position: relative; cursor: pointer; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: background-color .2s, color .2s, box-shadow .2s; }
.roles label:hover span { background: rgba(255, 255, 255, .1); }
.roles input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.roles input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.tester .btn { justify-self: start; height: 48px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
[data-link][hidden] { display: none !important; }
.tester.busy .btn { opacity: .6; pointer-events: none; }
.tester.done { display: none; }

/* ---------- Community ---------- */
.community { padding-bottom: clamp(64px, 7vw, 96px); }
.socials-big { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.socials-big a {
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: 132px; padding: 22px 12px 18px; border-radius: 20px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(11, 13, 23, .03);
  font-size: 14px; font-weight: 600; color: var(--ink-2); transition: transform .3s var(--ease), box-shadow .3s, color .2s;
}
.socials-big a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); color: var(--ink); }
.socials-big svg { width: 34px; height: 34px; }
.sb-discord svg { color: #5865F2; }
.sb-youtube svg { color: #FF2D2D; }
.sb-x svg { color: var(--ink); }
.sb-news svg { color: var(--violet); }
.values { max-width: 56ch; margin: 34px auto 0; text-align: center; font-size: 16px; color: var(--ink-2); font-style: italic; }

/* ---------- Subpages: release notes, privacy ---------- */
.rn-page { padding: 140px 0 80px; }
.rn-top { max-width: 720px; margin-bottom: 44px; }
.rn-top h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em; }
.rn-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.rn-toc { position: sticky; top: 96px; display: grid; gap: 4px; }
.rn-toc a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; transition: background-color .2s; }
.rn-toc a:hover { background: var(--bg-soft); }
.rn-toc strong { font: 700 15px/1.2 var(--mono); }
.rn-toc span { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.rn-list { display: grid; gap: 28px; min-width: 0; }
.rn-release { min-width: 0; overflow-wrap: anywhere; padding: 30px 34px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); scroll-margin-top: 96px; }
.rn-head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-left: 24px; margin-bottom: 18px; }
.rn-head .cl-dot { top: 50%; margin-top: -6px; }
.rn-head h2 { font: 700 24px/1.2 var(--mono); letter-spacing: -.03em; }
.rn-head p { width: 100%; font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }
.rn-latest { padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--t-mint); color: var(--mint); }
.rn-release > p { color: var(--ink-2); margin-bottom: 12px; }
.rn-sec { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.rn-sec h3 { margin-bottom: 10px; font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rn-sec ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.rn-sec ul ul { margin-top: 8px; gap: 5px; }
.rn-sec li strong { color: var(--ink); font-weight: 600; }
.rn-sec code { font-size: .84em; }
.legal section { max-width: 680px; padding: 22px 0; border-top: 1px solid var(--line); }
.legal h2 { margin-bottom: 10px; font-size: 22px; font-weight: 700; }
.legal p { color: var(--ink-2); margin-bottom: 10px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .rn-layout { grid-template-columns: 1fr; gap: 24px; }
  .rn-toc { position: static; grid-template-columns: repeat(2, 1fr); }
  .rn-page { padding-top: 110px; }
  .rn-release { padding: 22px 20px; }
}

/* ---------- Nav: account button ---------- */
.nav-acct svg { width: 18px; height: 18px; }
.nav-links .nav-only-xs { display: none; }
@media (max-width: 520px) {
  .nav-acct { display: none; }
  .nav.open .nav-links .nav-only-xs { display: block; }
}

/* ---------- Hosting page ---------- */
.host-hero { position: relative; isolation: isolate; overflow: hidden; padding: 148px 0 96px; }
.host-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 55% at 80% 40%, rgba(18, 184, 134, .10), transparent 70%), radial-gradient(36% 50% at 64% 78%, rgba(122, 92, 255, .10), transparent 70%), radial-gradient(30% 40% at 95% 85%, rgba(51, 102, 255, .08), transparent 70%), #fff;
}
.host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.host-hero h1 { font-size: clamp(44px, 5.4vw, 76px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.host-hero h1 .grad-text { display: inline-block; padding-bottom: .08em; }
.host-hero .lede { max-width: 540px; margin-top: 24px; }
.host-art { position: relative; aspect-ratio: 1 / .9; margin-bottom: 40px; border-radius: var(--r-xl); background: radial-gradient(55% 55% at 50% 40%, #fff, transparent 70%), linear-gradient(140deg, #E3F7EF 0%, #E6EDFF 55%, #EFE9FF 100%); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.host-art img { position: absolute; left: 50%; top: 40%; width: 74%; transform: translate(-50%, -50%); filter: drop-shadow(0 22px 24px rgba(40, 80, 120, .2)); animation: float 10s ease-in-out infinite; }
.host-art .code-card { position: absolute; left: 7%; right: -4%; bottom: -40px; }
.host-art .code-card pre { padding: 18px 22px 20px; font-size: 13px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.way.on { background: linear-gradient(150deg, #EEF3FF 0%, #F3EFFF 55%, #FFF0F5 100%); box-shadow: inset 0 0 0 1.5px rgba(122, 92, 255, .28), 0 30px 60px -36px rgba(90, 70, 200, .45); }
.way-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; }
.way-ico svg { width: 22px; height: 22px; }
.way h3 { font-size: 26px; font-weight: 700; }
.way > p { color: var(--ink-2); font-size: 15px; }
.way dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 10px 0 0; padding-top: 16px; border-top: 1px solid rgba(11, 13, 23, .07); font-size: 14px; }
.way dt { color: var(--ink-3); }
.way dd { margin: 0; font-weight: 600; }
.hplans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hplan { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.hplan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.hplan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.hplan-name { font: 700 18px/1.2 var(--display); letter-spacing: -.015em; }
.hplan-slots { margin-top: 16px; font: 800 56px/1 var(--display); letter-spacing: -.05em; background: var(--grad); background-size: 400% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hplan:nth-child(2) .hplan-slots { background-position: 33% 0; }
.hplan:nth-child(3) .hplan-slots { background-position: 66% 0; }
.hplan:nth-child(4) .hplan-slots { background-position: 100% 0; }
.hplan-unit { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.hplan-price { margin-top: 14px; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.hplan-price span { font: 500 14px/1 var(--body); letter-spacing: 0; color: var(--ink-3); }
.hplan > p { margin: 10px 0 18px; font-size: 14px; color: var(--ink-2); }
.hplan .ticks { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); gap: 8px; }
.hplan .ticks li { font-size: 14px; font-weight: 500; gap: 10px; }
.hplan .ticks svg { width: 20px; height: 20px; padding: 3px; }
.badge.b-amber { background: #FFF4DE; color: #B26A00; }
.plans-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); text-align: center; }
.hpromos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hpromo { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--r-xl); }
.hpromo.featured { background: linear-gradient(150deg, #EEF3FF 0%, #F3EFFF 55%, #FFF0F5 100%); }
.hpromo.boost { background: linear-gradient(150deg, #E7F8F1 0%, #EEF7FF 100%); }
.hpromo h3 { font-size: clamp(26px, 2.3vw, 32px); font-weight: 700; }
.hpromo > p { max-width: 46ch; color: var(--ink-2); }
.price-rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.price-rows div { display: grid; gap: 4px; padding: 14px 10px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(11, 13, 23, .05); }
.price-rows b { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.price-rows span { font: 700 18px/1.1 var(--display); letter-spacing: -.02em; }
.how { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.how-steps { list-style: none; counter-reset: hs; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.how-steps li { counter-increment: hs; display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; }
.how-steps li::before { content: counter(hs); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #fff; font: 700 14px/1 var(--body); }
.how-steps strong { font: 700 18px/1.3 var(--display); letter-spacing: -.015em; }
.how-steps span { color: var(--ink-2); font-size: 15px; }
.how-side { display: grid; gap: 16px; }
.how-side .note-card { padding: 20px 22px; border-radius: 18px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--ink-2); }
.how-side .note-card strong { color: var(--ink); }
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 700 17px/1.35 var(--display); letter-spacing: -.012em; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230B0D17' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 14px; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); max-width: 70ch; }
.faq details a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .hplans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .host-grid, .how, .hpromos { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .host-art { max-width: 560px; }
}
@media (max-width: 760px) {
  .host-hero { padding: 104px 0 64px; }
  .host-hero .hero-cta .btn { flex: 1 1 100%; }
  .host-art .code-card { left: 4%; right: 4%; bottom: -36px; }
  .host-art .code-card pre { font-size: 11px; padding: 14px 16px; }
  .hplans { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hplan { padding: 20px 18px; border-radius: 20px; }
  .hplan-slots { font-size: 44px; }
  .hplan .ticks { display: none; }
  .price-rows { grid-template-columns: repeat(2, 1fr); }
  .hpromo { padding: 24px 20px; }
}

/* ---------- Reveal + entrance ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .gm-card.reveal.in, .js .update-feature.reveal.in, .js .duo-card.reveal.in, .js .update-list .reveal.in a { transition: opacity .8s var(--ease), transform .45s var(--ease), box-shadow .45s; }
.js .hero-inner > * { animation: rise .9s var(--ease) both; }
.js .hero-inner > :nth-child(2) { animation-delay: .06s; }
.js .hero-inner > :nth-child(3) { animation-delay: .12s; }
.js .hero-inner > :nth-child(4) { animation-delay: .18s; }
.js .hero-inner > :nth-child(5) { animation-delay: .24s; }
.js .hero-art img { animation: art-in 1.3s var(--ease) both, float 10s ease-in-out 1.3s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes art-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .search { display: none; } }
@media (max-width: 980px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 8px var(--gutter) 16px;
    background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 17px; }
  .nav-only-mobile { display: block; }
  .menu-btn { display: block; }
  .hide-sm { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
  .gm-grid, .updates, .feature, .duo, .dev { grid-template-columns: 1fr; }
  .mason-points { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero { padding: 96px 0 64px; min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-art { position: relative; top: auto; right: auto; width: 175%; margin: -20px 0 -50px -62%; transform: none; order: -1; }
  .hero-title { font-size: clamp(44px, 12vw, 60px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { margin-top: -10px; }
  .stat { padding: 20px; }
  .head-row { flex-direction: column; align-items: start; }
  .gm-media { height: 250px; }
  .gm-body { padding: 22px 22px 26px; }
  .uf-media { height: 220px; }
  .uf-body { padding: 22px 22px 26px; }
  .update-list a { grid-template-columns: 88px 1fr; gap: 14px; padding: 10px 14px 10px 10px; }
  .update-list img { width: 88px; height: 72px; }
  .ul-go { display: none; }
  .tool-panel { aspect-ratio: 4 / 5; }
  .tool-render { width: 78%; }
  .window-bar span { display: none; }
  .mason-points { grid-template-columns: 1fr; }
  .duo-card > :not(.import-visual):not(.ragdoll-visual) { margin-inline: 16px; }
  .duo-peach .import-visual { grid-template-columns: 1fr auto; padding: 0 18px; height: 250px; }
  .import-flow { display: none; }
  .import-mark { width: 64px; height: 64px; }
  .ragdoll-visual { height: 240px; }
  .ragdoll-visual img { width: 250px; }
  .code-card pre { font-size: 12px; padding: 18px; }
  .cta { padding: 34px 24px 240px; border-radius: 26px; }
  .cta-art { top: auto; bottom: -10px; right: -55%; width: 190%; transform: none; }
  .signup { flex-direction: column; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive: new sections ---------- */
@media (max-width: 1100px) {
  .box-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .box-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-row { grid-template-columns: minmax(0, 2fr) 1fr 120px; }
  .hub-row > :nth-child(3) { display: none; }
  .hub-search { width: 100%; margin-left: 0; order: 3; }
}
@media (max-width: 760px) {
  .reel { border-radius: 20px; }
  .reel figcaption { display: none; }
  .hub { padding: 8px; border-radius: 22px; }
  .hub-featured { min-height: 280px; }
  .hf-card { padding: 22px; }
  .hub-row { grid-template-columns: minmax(0, 1fr) 92px; gap: 10px; padding: 10px 8px; }
  .hub-row > :nth-child(2) { display: none; }
  .box-grid { grid-template-columns: 1fr; }
  .changelog { padding: 22px 20px; }
  .tester-row { grid-template-columns: 1fr; }
  .socials-big a { width: calc(50% - 7px); }
}
/* Homepage beta status */
.beta-notice { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .85rem; margin-top: 1rem; }
.beta-notice[hidden] { display: none; }
.beta-notice .link-arrow { font-size: inherit; }
.cta-copy p a { color: inherit; text-decoration: underline; }
