/* ==========================================================================
   GeowarMC — main stylesheet
   Palette: #111 (ink) · #d9d9d9 (paper) · #1116 (glass)
   ========================================================================== */

:root {
	--bg: #111;
	--bg-2: #161616;
	--bg-3: #1c1c1c;
	--fg: #d9d9d9;
	--fg-2: rgba(217, 217, 217, .64);
	--fg-3: rgba(217, 217, 217, .4);
	--line: rgba(217, 217, 217, .1);
	--line-2: rgba(217, 217, 217, .18);
	--glass: #1116;
	--danger: #ff7a7a;

	--font: "Google Sans", "Product Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "Google Sans Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--r: 20px;
	--r-lg: 32px;
	--r-sm: 12px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

.gw-skip {
	position: fixed; top: 12px; left: 12px; z-index: 10000;
	padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg);
	transform: translateY(-160%); transition: transform .3s var(--ease);
}
.gw-skip:focus { transform: none; }

.gw-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.gw-container--narrow { max-width: 820px; }
.gw-muted { color: var(--fg-2); }
.gw-dim { color: var(--fg-3); }
.gw-mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.01em; }
.gw-ui-icon { width: 18px; height: 18px; flex: none; }
.gw-icon { width: 24px; height: auto; image-rendering: pixelated; }

/* ==========================================================================
   Custom cursor
   ========================================================================== */
html.has-cursor, html.has-cursor * { cursor: none !important; }

.gw-cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.has-cursor .gw-cursor.is-visible { opacity: 1; }
.gw-cursor__dot,
.gw-cursor__ring { position: fixed; top: 0; left: 0; will-change: transform; }
.gw-cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; transition: opacity .2s, width .2s, height .2s; }
.gw-cursor__ring { width: 0; height: 0; }
.gw-cursor__ring::before {
	content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px;
	border: 1.5px solid #fff; border-radius: 10px;
	transition: transform .45s var(--ease), background-color .3s, border-radius .45s var(--ease), width .35s var(--ease), height .35s var(--ease), left .35s var(--ease), top .35s var(--ease);
}
.gw-cursor__label {
	position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6);
	font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #000;
	opacity: 0; transition: opacity .25s, transform .35s var(--ease); white-space: nowrap;
}
.gw-cursor.is-hover .gw-cursor__ring::before { transform: scale(1.35) rotate(45deg); background: #fff; border-radius: 6px; }
.gw-cursor.is-hover .gw-cursor__dot { opacity: 0; }
.gw-cursor.is-label .gw-cursor__ring::before { left: -40px; top: -40px; width: 80px; height: 80px; background: #fff; border-radius: 40px; transform: none; }
.gw-cursor.is-label .gw-cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gw-cursor.is-label .gw-cursor__dot { opacity: 0; }
.gw-cursor.is-text .gw-cursor__ring::before { left: -1px; top: -13px; width: 2px; height: 26px; border-radius: 2px; background: #fff; border-width: 0; }
.gw-cursor.is-text .gw-cursor__dot { opacity: 0; }
.gw-cursor.is-down .gw-cursor__ring::before { transform: scale(.75); }
.gw-cursor.is-down.is-hover .gw-cursor__ring::before { transform: scale(1.1) rotate(45deg); }

/* click burst */
.gw-burst { position: fixed; z-index: 9998; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); pointer-events: none; animation: gw-burst .6s var(--ease) forwards; }
@keyframes gw-burst {
	0% { transform: translate(0, 0) scale(1); opacity: 1; }
	100% { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; }
}

/* ==========================================================================
   Buttons, pills, tags
   ========================================================================== */
.gw-btn {
	--h: 50px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: var(--h); padding: 0 24px; border-radius: 999px;
	font-weight: 500; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
	transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
	will-change: transform;
}
.gw-btn .gw-ui-icon { transition: transform .4s var(--ease); }
.gw-btn:hover .gw-ui-icon { transform: translateX(4px); }
.gw-btn:active { transform: scale(.97); }
.gw-btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.gw-btn--block { width: 100%; }
.gw-btn--light { background: var(--fg); color: var(--bg); }
.gw-btn--light:hover { background: #fff; }
.gw-btn--dark { background: var(--bg); color: var(--fg); }
.gw-btn--dark:hover { background: #000; color: #fff; }
.gw-btn--ghost { border: 1px solid var(--line-2); }
.gw-btn--ghost:hover { border-color: var(--fg); }

.gw-pill {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 5px 14px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px;
	font-size: 13.5px; color: var(--fg-2); background: var(--glass);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: border-color .3s, color .3s;
}
.gw-pill:hover { border-color: var(--fg-3); color: var(--fg); }
.gw-pill .gw-ui-icon { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.gw-pill:hover .gw-ui-icon { transform: translateX(3px); }
.gw-pill__tag { padding: 3px 10px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 12px; }

.gw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-tags li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--fg-2); }
.gw-tags--light li { border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .85); background: rgba(17, 17, 17, .35); }

.gw-badge { padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--fg-2); font-size: 12px; }
.gw-dot { width: 6px; height: 6px; background: var(--fg); display: inline-block; flex: none; }

.gw-round {
	width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	background: var(--glass); border: 1px solid rgba(255, 255, 255, .16);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: background-color .3s, transform .3s var(--ease), color .3s;
}
.gw-round:hover { background: var(--fg); color: var(--bg); }
.gw-round:active { transform: scale(.92); }

.gw-linklike { font: inherit; color: inherit; text-align: left; }
.gw-linklike:hover { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.gw-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	transition: transform .5s var(--ease), background-color .4s, border-color .4s;
	border-bottom: 1px solid transparent;
}
.gw-header.is-scrolled {
	background: var(--glass);
	backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
	border-bottom-color: var(--line);
}
.gw-header.is-hidden { transform: translateY(-100%); }
.gw-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.gw-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.gw-brand__mark { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.gw-brand__logo { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; transition: transform .3s var(--ease), filter .3s var(--ease); }
.gw-brand:hover .gw-brand__logo { transform: scale(1.08) rotate(-2deg); filter: drop-shadow(0 2px 8px rgba(60, 160, 255, .35)); }

.gw-nav ul { display: flex; gap: 4px; }
.gw-nav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--fg-2); transition: color .3s, background-color .3s; }
.gw-nav a:hover, .gw-nav a.is-current { color: var(--fg); background: rgba(217, 217, 217, .07); }

.gw-header__actions { display: flex; align-items: center; gap: 12px; }
.gw-status { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--fg-3); }
.gw-status__dot { width: 6px; height: 6px; background: var(--fg); animation: gw-pulse 2s ease-in-out infinite; }
@keyframes gw-pulse { 50% { opacity: .25; } }

.gw-burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.gw-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease); }
.gw-burger span:first-child { top: 16px; }
.gw-burger span:last-child { top: 22px; }
.gw-burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.gw-burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.gw-mobile-nav {
	position: fixed; inset: 0; z-index: 90; background: rgba(17, 17, 17, .96);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	display: flex; align-items: center; padding: var(--gutter);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .4s var(--ease), visibility .4s;
}
.gw-mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.gw-mobile-nav[hidden] { display: none !important; }
.gw-mobile-nav ul { display: grid; gap: 6px; }
.gw-mobile-nav a { font-size: clamp(32px, 9vw, 48px); font-weight: 500; letter-spacing: -.03em; display: inline-block; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.gw-mobile-nav.is-open a { transform: none; opacity: 1; }
.gw-mobile-nav li:nth-child(2) a { transition-delay: .04s; }
.gw-mobile-nav li:nth-child(3) a { transition-delay: .08s; }
.gw-mobile-nav li:nth-child(4) a { transition-delay: .12s; }
.gw-mobile-nav li:nth-child(5) a { transition-delay: .16s; }
.gw-mobile-nav li:nth-child(6) a { transition-delay: .2s; }

/* ==========================================================================
   Entrance + reveal
   ========================================================================== */
.gw-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.gw-line__in { display: inline-block; transition: transform 1.1s var(--ease); transition-delay: calc(var(--l, 0) * 90ms + 100ms); }
html.js:not(.is-ready) .gw-line__in { transform: translateY(110%); }

[data-hero-in] { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + 350ms); }
html.js:not(.is-ready) [data-hero-in] { opacity: 0; transform: translateY(18px); }

html.js [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(32px); }

/* Pause decorative loops when their section is off-screen */
.is-off, .is-off * { animation-play-state: paused !important; }

/* ==========================================================================
   Cute background details
   ========================================================================== */
.gw-sprite { width: 100%; height: auto; image-rendering: pixelated; }
.gw-grid-bg {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
	opacity: .55;
}
.gw-float { position: absolute; opacity: .08; will-change: transform; }
.gw-float--cloud1 { top: 16%; left: -10%; width: 128px; animation: gw-drift 70s linear infinite; }
.gw-float--cloud2 { top: 38%; left: -10%; width: 80px; opacity: .05; animation: gw-drift 95s linear infinite; animation-delay: -40s; }
.gw-float--cloud3 { top: 8%; left: -10%; width: 64px; opacity: .06; animation: gw-drift 120s linear infinite; animation-delay: -80s; }
@keyframes gw-drift { to { transform: translate3d(125vw, 0, 0); } }

.gw-twinkle { position: absolute; left: var(--x); top: var(--y); width: 10px; opacity: 0; animation: gw-twinkle 4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes gw-twinkle {
	0%, 100% { opacity: 0; transform: scale(.4) rotate(0); }
	50% { opacity: .5; transform: scale(1) rotate(90deg); }
}
.gw-bob { position: absolute; width: 18px; opacity: .22; animation: gw-bob 5s ease-in-out infinite; }
.gw-bob--heart { right: 14%; top: 30%; }
@keyframes gw-bob { 50% { transform: translateY(-12px) rotate(-6deg); } }

/* hearts spawned by JS from [data-hearts] */
.gw-heart-fx { position: fixed; z-index: 9990; width: 14px; pointer-events: none; animation: gw-heart 1.4s var(--ease) forwards; }
@keyframes gw-heart {
	0% { transform: translate(-50%, 0) scale(.3); opacity: 0; }
	15% { opacity: 1; }
	100% { transform: translate(calc(-50% + var(--dx)), -90px) scale(1) rotate(var(--rot)); opacity: 0; }
}

/* ==========================================================================
   Media placeholders
   ========================================================================== */
.gw-media { position: relative; aspect-ratio: var(--ar, 16 / 9); border-radius: var(--r); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.gw-media img { width: 100%; height: 100%; object-fit: cover; }
.gw-ph {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	text-align: center; padding: 24px; color: var(--fg-3);
	background:
		repeating-linear-gradient(-45deg, transparent 0 14px, rgba(217, 217, 217, .025) 14px 15px),
		radial-gradient(120% 90% at 50% 0%, #1d1d1d, #141414);
	border: 1px dashed var(--line-2); border-radius: inherit;
}
.gw-ph::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	background: linear-gradient(100deg, transparent 30%, rgba(217, 217, 217, .05) 50%, transparent 70%);
	transform: translateX(-100%); animation: gw-shimmer 3.6s var(--ease-io) infinite;
}
@keyframes gw-shimmer { 60%, 100% { transform: translateX(100%); } }
.gw-ph__icon { width: 34px; height: 34px; margin-bottom: 6px; opacity: .8; }
.gw-ph__label { color: var(--fg-2); font-weight: 500; font-size: 15px; }
.gw-ph__hint { font-size: 12.5px; }
.gw-ph__file { font: 11.5px var(--mono); padding: 3px 8px; border-radius: 6px; background: rgba(217, 217, 217, .06); margin-top: 4px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.gw-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.gw-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.gw-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gw-hero__emblem {
	--d: -60;
	margin-bottom: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.gw-hero__logo {
	width: clamp(120px, 16vw, 175px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 16px 36px rgba(45, 140, 255, .28)) drop-shadow(0 4px 14px rgba(0, 0, 0, .6));
	transition: transform .5s var(--ease), filter .5s var(--ease);
	animation: gw-hero-float 5s ease-in-out infinite;
	will-change: transform;
}
.gw-hero__logo:hover {
	transform: scale(1.06) translateY(-6px);
	filter: drop-shadow(0 22px 46px rgba(45, 160, 255, .42)) drop-shadow(0 6px 18px rgba(0, 0, 0, .7));
}
@keyframes gw-hero-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
.gw-hero__pill { --d: 0; margin-bottom: 32px; }

.gw-hero__title {
	font-size: clamp(44px, 8.6vw, 124px); line-height: .98; letter-spacing: -.05em; font-weight: 500;
	max-width: 12ch;
}
.gw-hero__title .gw-line--dim { color: var(--fg-3); }
.gw-hero__lead { --d: 250; max-width: 600px; margin-top: 28px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--fg-2); }
.gw-hero__actions { --d: 350; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.gw-hero__meta { --d: 450; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; font-size: 13.5px; color: var(--fg-3); }
.gw-hero__meta li { display: inline-flex; align-items: center; gap: 9px; }
.gw-hero__meta .gw-dot { width: 5px; height: 5px; background: var(--fg-3); }

.gw-ip {
	display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 0 8px 0 20px;
	border: 1px solid var(--line-2); border-radius: 999px; background: var(--glass);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: border-color .3s, background-color .3s;
}
.gw-ip:hover { border-color: var(--fg-3); background: rgba(217, 217, 217, .04); }
.gw-ip__label { font-size: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .1em; }
.gw-ip__value { font: 500 15px var(--mono); }
.gw-ip__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 217, 217, .08); transition: background-color .3s, color .3s; }
.gw-ip:hover .gw-ip__icon { background: var(--fg); color: var(--bg); }
.is-copied .gw-ip__icon, .is-copied.gw-field-copy > .gw-ui-icon { animation: gw-pop .5s var(--ease); }
@keyframes gw-pop { 40% { transform: scale(1.25); } }

.gw-hero__stage {
	--tilt: 1;
	position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 88px);
	transform: perspective(1600px) rotateX(calc(var(--tilt) * 14deg)) scale(calc(1 - var(--tilt) * .06));
	transform-origin: 50% 0;
	will-change: transform;
}
html.js:not(.is-ready) .gw-hero__stage { opacity: 0; transform: perspective(1600px) rotateX(24deg) translateY(60px) scale(.9); }
.gw-hero__stage { transition: opacity 1.2s var(--ease) .55s; }
.gw-hero__stage .gw-media { border-radius: var(--r-lg); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); }
.gw-hero__stage::after {
	content: ""; position: absolute; inset: auto 10% -12% 10%; height: 30%; z-index: -1;
	background: radial-gradient(closest-side, rgba(217, 217, 217, .09), transparent); filter: blur(20px);
}

.gw-chip-card {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
	border-radius: 16px; background: rgba(17, 17, 17, .72); border: 1px solid var(--line-2);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
	animation: gw-float-y 6s ease-in-out infinite;
}
.gw-chip-card .gw-icon { width: 22px; }
.gw-chip-card small { display: block; font-size: 11.5px; color: var(--fg-3); line-height: 1.3; }
.gw-chip-card strong { font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.gw-chip-card--a { left: -2%; top: 16%; }
.gw-chip-card--b { right: -2%; top: 38%; animation-delay: -2s; }
.gw-chip-card--c { left: 8%; bottom: -6%; animation-delay: -4s; }
@keyframes gw-float-y { 50% { transform: translateY(-10px); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.gw-marquee {
	border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.gw-marquee__track { display: flex; width: max-content; animation: gw-marquee 55s linear infinite; }
.gw-marquee:hover .gw-marquee__track { animation-play-state: paused; }
.gw-marquee__group { display: flex; align-items: center; flex: none; }
.gw-marquee__group span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; padding: 0 28px; color: var(--fg-2); }
.gw-marquee__star { width: 12px; opacity: .5; flex: none; }
@keyframes gw-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================================
   Glance
   ========================================================================== */
.gw-glance { padding: clamp(48px, 6vw, 72px) 0; }
.gw-glance__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.gw-glance__item { padding: 8px 28px; border-left: 1px solid var(--line); }
.gw-glance__item:first-child { border-left: 0; padding-left: 0; }
.gw-glance__item dt { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--fg-3); margin-bottom: 12px; }
.gw-glance__item strong { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.gw-glance__item span { display: block; margin-top: 6px; font-size: 14px; color: var(--fg-2); }

/* ==========================================================================
   Section heads
   ========================================================================== */
.gw-section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.gw-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.gw-head--split { max-width: none; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.gw-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 22px; }
.gw-eyebrow span { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--fg); letter-spacing: 0; }
.gw-eyebrow--dark { color: rgba(17, 17, 17, .55); }
.gw-eyebrow--dark span { color: var(--bg); border-color: rgba(17, 17, 17, .25); }
.gw-h2 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.gw-h3 { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.gw-lead { margin-top: 22px; font-size: clamp(16px, 1.35vw, 18px); color: var(--fg-2); max-width: 560px; }
.gw-head--split .gw-lead { margin-top: 0; }

/* ==========================================================================
   Cores
   ========================================================================== */
.gw-core { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.gw-core--flip .gw-core__text { order: 2; }
.gw-core__text > .gw-muted { margin-top: 18px; max-width: 520px; }
.gw-core__label { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 500; font-size: 15px; }
.gw-core__label .gw-icon { width: 20px; }
.gw-core__label em { font-style: normal; font-size: 12px; color: var(--fg-3); padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; margin-left: 4px; }
.gw-core__visual { position: relative; }

.gw-gov { margin-top: 32px; }
.gw-gov__tabs { position: relative; display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.gw-gov__tabs button { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: color .35s; }
.gw-gov__tabs button[aria-selected="true"] { color: var(--bg); }
.gw-gov__tabs button:hover:not([aria-selected="true"]) { color: var(--fg); }
.gw-gov__ink { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 999px; background: var(--fg); transition: transform .5s var(--ease), width .5s var(--ease); }
.gw-gov__panel { margin-top: 22px; min-height: 120px; }
.gw-gov__panel:not([hidden]) { animation: gw-fade-up .5s var(--ease); }
.gw-gov__panel p { color: var(--fg-2); max-width: 480px; margin-bottom: 16px; }
@keyframes gw-fade-up { from { opacity: 0; transform: translateY(8px); } }

.gw-steps { margin-top: 32px; display: grid; gap: 2px; }
.gw-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.gw-steps li:hover { padding-left: 8px; }
.gw-steps li > span { font: 500 12px var(--mono); color: var(--fg-3); padding-top: 4px; }
.gw-steps strong { display: block; font-weight: 500; font-size: 17px; }
.gw-steps small { display: block; color: var(--fg-2); font-size: 14.5px; }

.gw-income {
	position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 14px;
	padding: 12px 20px 12px 12px; border-radius: 18px; background: rgba(17, 17, 17, .8); border: 1px solid var(--line-2);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8);
}
.gw-income__ring { position: relative; width: 48px; height: 48px; display: grid; place-items: center; }
.gw-income__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.gw-income__ring circle { fill: none; stroke: var(--line-2); stroke-width: 3; }
.gw-income__ring .gw-income__prog { stroke: var(--fg); stroke-dasharray: 107; stroke-dashoffset: 107; stroke-linecap: round; animation: gw-ring 3.2s linear infinite; }
.gw-income__ring .gw-icon { width: 18px; }
@keyframes gw-ring { to { stroke-dashoffset: 0; } }
.gw-income__text small { display: block; font-size: 11.5px; color: var(--fg-3); }
.gw-income__text strong { font-size: 20px; font-weight: 500; }
.gw-income__pop { position: absolute; right: 14px; top: -6px; font-size: 13px; padding: 3px 8px; border-radius: 999px; background: var(--fg); color: var(--bg); opacity: 0; }
.gw-income.is-pop .gw-income__pop { animation: gw-coin 1.1s var(--ease); }
@keyframes gw-coin {
	0% { opacity: 0; transform: translateY(8px) scale(.8); }
	25% { opacity: 1; transform: translateY(-6px) scale(1); }
	100% { opacity: 0; transform: translateY(-26px); }
}

/* Factory (inverted) */
.gw-factory {
	margin: clamp(40px, 5vw, 64px) clamp(8px, 1.4vw, 20px) 0; padding: clamp(64px, 8vw, 112px) 0;
	border-radius: var(--r-lg); background: var(--fg); color: var(--bg); overflow: hidden;
}
.gw-factory__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.gw-factory__head .gw-core__label { grid-column: 1 / -1; margin-bottom: 0; }
.gw-factory__head .gw-core__label em { color: rgba(17, 17, 17, .6); border-color: rgba(17, 17, 17, .2); }
.gw-factory__head p { color: rgba(17, 17, 17, .7); font-size: 17px; }

.gw-chain { display: grid; grid-template-columns: .8fr 56px 1fr 56px 1fr 56px 1.15fr; align-items: stretch; }
.gw-chain__col { padding: 22px; border-radius: 22px; background: rgba(17, 17, 17, .05); border: 1px solid rgba(17, 17, 17, .1); display: flex; flex-direction: column; }
.gw-chain__col--input { background: transparent; border-style: dashed; border-color: rgba(17, 17, 17, .22); }
.gw-chain__tier { font-weight: 500; font-size: 17px; margin-bottom: 16px; }
.gw-chain__tier span { display: block; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(17, 17, 17, .5); margin-bottom: 2px; }
.gw-chain__col ul { display: grid; gap: 8px; }
.gw-chain__col li {
	padding: 10px 14px; border-radius: 12px; background: var(--bg); color: var(--fg); font-size: 14px; font-weight: 500;
	transition: transform .5s var(--ease), opacity .5s var(--ease); transition-delay: calc(var(--n, 0) * 60ms + 200ms);
}
.gw-chain__col--input li { background: transparent; color: var(--bg); border: 1px solid rgba(17, 17, 17, .18); }
html.js .gw-chain:not(.is-in) li { opacity: 0; transform: translateY(10px) scale(.96); }
.gw-chain__col li:hover { transform: translateX(4px); }
.gw-chain__desc { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: rgba(17, 17, 17, .62); line-height: 1.5; }

.gw-chain__flow { position: relative; display: flex; align-items: center; justify-content: center; }
.gw-chain__flow i {
	display: block; width: 100%; height: 6px;
	background-image: linear-gradient(90deg, var(--bg) 0 6px, transparent 6px 14px);
	background-size: 14px 6px; opacity: .55;
	animation: gw-flow .7s linear infinite;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.gw-chain__flow::after { content: ""; position: absolute; right: 6px; width: 8px; height: 8px; border-top: 2px solid var(--bg); border-right: 2px solid var(--bg); transform: rotate(45deg); }
@keyframes gw-flow { to { background-position: 14px 0; } }

.gw-factory__media { margin-top: clamp(40px, 5vw, 56px); }
.gw-factory .gw-ph { color: rgba(17, 17, 17, .45); background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(17, 17, 17, .04) 14px 15px), #cfcfcf; border-color: rgba(17, 17, 17, .2); }
.gw-factory .gw-ph__label { color: rgba(17, 17, 17, .75); }
.gw-factory .gw-ph__file { background: rgba(17, 17, 17, .07); }
.gw-factory .gw-ph::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); }
.gw-factory .gw-media { background: #cfcfcf; }

/* ==========================================================================
   Features
   ========================================================================== */
.gw-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.gw-feat {
	--mx: 50%; --my: 50%;
	position: relative; padding: clamp(28px, 3vw, 40px); background: var(--bg); min-height: 240px;
	display: flex; flex-direction: column; overflow: hidden;
}
.gw-feat::before {
	content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
	background: radial-gradient(360px circle at var(--mx) var(--my), rgba(217, 217, 217, .07), transparent 60%);
}
.gw-feat:hover::before { opacity: 1; }
.gw-feat__icon {
	width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: auto;
	background: var(--bg-2); border: 1px solid var(--line); transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.gw-feat__icon .gw-icon { width: 26px; }
.gw-feat:hover .gw-feat__icon { background: var(--fg); color: var(--bg); transform: translateY(-4px) rotate(-6deg); }
.gw-feat:hover .gw-feat__icon .gw-icon { animation: gw-hop .6s var(--ease); }
@keyframes gw-hop { 40% { transform: translateY(-5px) scale(1.08); } }
.gw-feat h3 { margin-top: 48px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.gw-feat p { margin-top: 8px; font-size: 14.5px; color: var(--fg-2); max-width: 300px; }
.gw-feat__num { position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px); font-size: 12px; color: var(--fg-3); }

/* ==========================================================================
   Worlds
   ========================================================================== */
.gw-worlds__list { display: flex; gap: 12px; height: clamp(460px, 44vw, 600px); }
.gw-world {
	position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
	transition: flex-grow .8s var(--ease); outline-offset: 4px;
}
.gw-world.is-active { flex-grow: 3.2; }
.gw-world__bg { position: absolute !important; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: -2; }
.gw-world__bg img, .gw-world__bg .gw-ph { transition: transform 1.2s var(--ease); object-position: left top; transform-origin: left top; }
.gw-world.is-active .gw-world__bg img { transform: scale(1.04); }
.gw-world .gw-ph { border-radius: inherit; justify-content: flex-start; padding-top: 40px; }
.gw-world:not(.is-active) .gw-ph > :not(.gw-ph__icon) { opacity: 0; }
.gw-world__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(17, 17, 17, .88)); }
.gw-world__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); }
.gw-world__index { position: absolute; top: clamp(22px, 2.6vw, 34px); right: clamp(22px, 2.6vw, 34px); font-size: 12px; color: rgba(217, 217, 217, .6); padding: 4px 8px; border-radius: 8px; background: var(--glass); }
.gw-world__tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: var(--fg); color: var(--bg); font-weight: 500; margin-bottom: 12px; }
.gw-world h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; white-space: nowrap; }
.gw-world__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease), opacity .5s, transform .7s var(--ease); transform: translateY(12px); }
.gw-world__more-in { overflow: hidden; min-height: 0; }
.gw-world__more p { color: rgba(217, 217, 217, .8); max-width: 460px; padding-top: 12px; }
.gw-world__more .gw-tags { padding-top: 16px; }
.gw-world.is-active .gw-world__more { grid-template-rows: 1fr; opacity: 1; transform: none; transition-delay: .15s; }

/* ==========================================================================
   Gallery slider
   ========================================================================== */
.gw-slider { outline: none; }
.gw-slider__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gw-slide {
	position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
	transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.gw-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.gw-slide .gw-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.gw-slide .gw-ph { border-radius: 0; border: 0; }
.gw-slide img { -webkit-user-drag: none; pointer-events: none; }
.gw-slider__stage::after { content: ""; position: absolute; inset: 45% 0 0; z-index: 2; background: linear-gradient(180deg, transparent, rgba(17, 17, 17, .85)); pointer-events: none; }
.gw-slider__caption { position: absolute; z-index: 3; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); right: 200px; pointer-events: none; }
.gw-slider__count { font-size: 12.5px; color: var(--fg-3); }
.gw-slider__count b { color: var(--fg); font-weight: 500; }
.gw-slider__title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-top: 8px; }
.gw-slider__sub { color: var(--fg-2); font-size: 15px; margin-top: 4px; }
.gw-slider__caption.is-swap .gw-slider__title, .gw-slider__caption.is-swap .gw-slider__sub { animation: gw-fade-up .7s var(--ease); }
.gw-slider__ctrl { position: absolute; z-index: 3; right: clamp(20px, 3vw, 36px); bottom: clamp(20px, 3vw, 36px); display: flex; gap: 8px; }
.gw-slider__ctrl .i-play { display: none; }
.gw-slider.is-paused .gw-slider__ctrl .i-play { display: block; }
.gw-slider.is-paused .gw-slider__ctrl .i-pause { display: none; }
.gw-slider__ctrl .gw-ui-icon { width: 16px; height: 16px; }

.gw-slider__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 16px; }
.gw-thumb { text-align: left; padding: 14px 4px 4px; color: var(--fg-3); transition: color .3s; }
.gw-thumb:hover, .gw-thumb.is-active { color: var(--fg); }
.gw-thumb__bar { display: block; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
.gw-thumb__bar i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.gw-thumb.is-done .gw-thumb__bar i { transform: scaleX(1); }
.gw-thumb.is-active .gw-thumb__bar i { animation: gw-progress var(--dur, 5.5s) linear forwards; }
.gw-slider.is-paused .gw-thumb.is-active .gw-thumb__bar i,
.gw-slider.is-hold .gw-thumb.is-active .gw-thumb__bar i { animation-play-state: paused; }
@keyframes gw-progress { to { transform: scaleX(1); } }
.gw-thumb__num { display: block; font-size: 12px; }
.gw-thumb__title { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; margin-top: 2px; }

/* ==========================================================================
   Join
   ========================================================================== */
.gw-join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gw-join__card { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s; }
.gw-join__card:hover { border-color: var(--line-2); }
.gw-join__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.gw-join__top h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.gw-join__steps { counter-reset: s; display: grid; gap: 14px; margin-bottom: 28px; }
.gw-join__steps li { counter-increment: s; position: relative; padding: 2px 0 0 40px; min-height: 26px; color: var(--fg-2); font-size: 15px; }
.gw-join__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-3); color: var(--fg); font: 500 12px var(--mono); }
.gw-join__steps strong { color: var(--fg); font-weight: 500; }
.gw-join__pair { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: auto; }

.gw-field-copy {
	margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
	padding: 14px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); text-align: left;
	transition: border-color .3s, background-color .3s;
}
.gw-join__pair .gw-field-copy { margin-top: 0; }
.gw-field-copy:hover { border-color: var(--fg-3); }
.gw-field-copy small { display: block; font-size: 11.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .1em; }
.gw-field-copy b { font-weight: 500; font-size: 15.5px; }
.gw-field-copy--port { min-width: 130px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.gw-cta { padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 11vw, 150px); }
.gw-cta__box { position: relative; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px); border-radius: var(--r-lg); background: var(--fg); color: var(--bg); }
.gw-cta__box .gw-h2 { max-width: 10ch; }
.gw-cta__lead { margin-top: 22px; max-width: 480px; color: rgba(17, 17, 17, .68); font-size: 17px; }
.gw-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }
.gw-cta__count { font-size: 14.5px; color: rgba(17, 17, 17, .68); }
.gw-cta__count strong { color: var(--bg); font-size: 17px; }

.gw-cat { position: absolute; bottom: 100%; right: 12%; width: 80px; height: 60px; overflow: hidden; pointer-events: none; }
.gw-cat svg { width: 80px; height: 60px; position: absolute; bottom: -1px; transform: translateY(100%); animation: gw-peek 9s var(--ease) infinite; image-rendering: pixelated; }
.gw-cat__eyes { transform-origin: 0 7px; animation: gw-blink 4.5s infinite; }
@keyframes gw-peek {
	0%, 8% { transform: translateY(100%); }
	16%, 62% { transform: translateY(18%); }
	66% { transform: translateY(24%); }
	70%, 100% { transform: translateY(100%); }
}
@keyframes gw-blink { 0%, 44%, 48%, 100% { transform: scaleY(1); } 46% { transform: scaleY(.1); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.gw-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0 32px; }
.gw-footer__critters { position: absolute; left: 0; right: 0; top: -24px; height: 24px; overflow: hidden; pointer-events: none; }
.gw-hopper, .gw-walker { position: absolute; bottom: 0; display: block; }
.gw-hopper { width: 24px; left: 0; animation: gw-cross 38s linear infinite; }
.gw-hopper .gw-sprite { animation: gw-hop-y .9s var(--ease-io) infinite; transform-origin: 50% 100%; }
.gw-walker { width: 20px; left: 0; animation: gw-cross-back 52s linear infinite; }
.gw-walker .gw-sprite { transform: scaleX(-1); animation: gw-waddle .5s steps(2) infinite; }
@keyframes gw-cross { from { transform: translateX(-40px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes gw-cross-back { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-40px); } }
@keyframes gw-hop-y {
	0%, 100% { transform: translateY(0) scale(1.12, .88); }
	45% { transform: translateY(-12px) scale(.92, 1.08); }
}
@keyframes gw-waddle { 50% { transform: scaleX(-1) rotate(-6deg) translateY(-1px); } }

.gw-footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.gw-footer__word {
	font-size: clamp(64px, 12vw, 176px); line-height: .85; font-weight: 600; letter-spacing: -.06em;
	background: linear-gradient(180deg, var(--fg) 30%, rgba(217, 217, 217, .12)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gw-footer__brand .gw-muted { margin-top: 24px; font-size: 15px; }
.gw-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-content: start; padding-top: 12px; }
.gw-footer h3 { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; }
.gw-footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.gw-footer ul a { color: var(--fg-2); transition: color .3s; }
.gw-footer ul a:hover { color: var(--fg); }
.gw-footer__bottom { margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.gw-footer__bottom strong { font-weight: 500; }

/* Toast */
.gw-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 9000; display: flex; align-items: center; gap: 10px;
	padding: 12px 20px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 14.5px; font-weight: 500;
	transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; pointer-events: none;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
}
.gw-toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.gw-toast .gw-ui-icon { width: 16px; height: 16px; }

/* ==========================================================================
   Pre-register page
   ========================================================================== */
.gw-prereg { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.gw-prereg__bg { position: absolute; inset: 0; pointer-events: none; }
.gw-prereg__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.gw-prereg__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.gw-prereg__title { font-size: clamp(42px, 6vw, 84px); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.gw-prereg__intro .gw-lead { --d: 200; }
.gw-prereg__intro .gw-eyebrow span { border: 0; min-width: 0; padding: 0; animation: gw-pulse 2s infinite; }

.gw-prereg__counter { --d: 300; display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14.5px; color: var(--fg-2); }
.gw-prereg__counter strong { color: var(--fg); font-size: 16px; }
.gw-heads { display: flex; }
.gw-heads i {
	width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--bg); margin-left: -8px; image-rendering: pixelated;
	background:
		linear-gradient(#111 0 0) 25% 55% / 20% 16% no-repeat,
		linear-gradient(#111 0 0) 75% 55% / 20% 16% no-repeat,
		linear-gradient(180deg, #6b6b6b 0 30%, #a6a6a6 30%);
}
.gw-heads i:first-child { margin-left: 0; }
.gw-heads i:nth-child(2) { background: linear-gradient(#111 0 0) 25% 55% / 20% 16% no-repeat, linear-gradient(#111 0 0) 75% 55% / 20% 16% no-repeat, linear-gradient(180deg, #333 0 35%, #d9d9d9 35%); }
.gw-heads i:nth-child(3) { background: linear-gradient(#fff 0 0) 25% 55% / 20% 16% no-repeat, linear-gradient(#fff 0 0) 75% 55% / 20% 16% no-repeat, linear-gradient(180deg, #d9d9d9 0 25%, #555 25%); }
.gw-heads i:nth-child(4) { background: linear-gradient(#111 0 0) 25% 55% / 20% 16% no-repeat, linear-gradient(#111 0 0) 75% 55% / 20% 16% no-repeat, linear-gradient(180deg, #8a8a8a 0 40%, #c4c4c4 40%); }

.gw-rewards { margin-top: 40px; display: grid; gap: 2px; max-width: 480px; }
.gw-rewards li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.gw-rewards__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); flex: none; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.gw-rewards li:hover .gw-rewards__icon { transform: rotate(-8deg) scale(1.05); background: var(--fg); color: var(--bg); }
.gw-rewards__icon .gw-icon { width: 22px; }
.gw-rewards strong { display: block; font-weight: 500; }
.gw-rewards small { display: block; color: var(--fg-2); font-size: 14px; }
.gw-prereg__meta { justify-content: flex-start; margin-top: 28px; }

.gw-prereg__card { --d: 150; position: relative; z-index: 5; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.gw-form { position: relative; }
.gw-form__head { margin-bottom: 24px; }
.gw-form__head h2 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.gw-form__head p { font-size: 14px; margin-top: 2px; }
.gw-form__fields { display: grid; gap: 18px; transition: opacity .4s, transform .5s var(--ease); }
.gw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.gw-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.gw-field label, .gw-field legend { font-size: 13.5px; color: var(--fg-2); padding: 0; }
.gw-field legend { margin-bottom: 8px; }
.gw-field input[type="text"], .gw-field input[type="email"], .gw-field select {
	width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2);
	outline: none; font-size: 15px; transition: border-color .25s, box-shadow .25s, background-color .25s;
	-webkit-appearance: none; appearance: none;
}
.gw-field input::placeholder { color: rgba(217, 217, 217, .28); }
.gw-field input:hover, .gw-field select:hover { border-color: var(--fg-3); }
.gw-field input:focus, .gw-field select:focus { border-color: var(--fg); box-shadow: 0 0 0 4px rgba(217, 217, 217, .08); }
.gw-field.is-invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 122, 122, .08); animation: gw-shake .4s; }
.gw-field__err { color: var(--danger); font-size: 12.5px; min-height: 0; }
.gw-field__err:empty { display: none; }
@keyframes gw-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.gw-select { position: relative; }
.gw-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.gw-select select { padding-right: 40px; cursor: pointer; }
.gw-select option { background: var(--bg); }

.gw-input-wrap { position: relative; }
.gw-input-wrap input { padding-left: 52px !important; }
.gw-avatar {
	position: absolute; left: 10px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 8px; overflow: hidden;
	background:
		linear-gradient(#111 0 0) 25% 55% / 20% 16% no-repeat,
		linear-gradient(#111 0 0) 75% 55% / 20% 16% no-repeat,
		linear-gradient(180deg, #4a4a4a 0 30%, #9a9a9a 30%);
	image-rendering: pixelated; transition: transform .4s var(--ease);
	pointer-events: none;
}
.gw-avatar img { width: 100%; height: 100%; image-rendering: pixelated; animation: gw-pop .5s var(--ease); }

.gw-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); }
.gw-seg label { position: relative; z-index: 1; cursor: pointer; }
.gw-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gw-seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 10px; font-size: 14.5px; color: var(--fg-2); transition: color .35s; }
.gw-seg input:checked + span { color: var(--bg); font-weight: 500; }
.gw-seg input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.gw-seg__ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 10px; background: var(--fg); transition: transform .5s var(--ease); transform: translateX(calc(var(--seg, 0) * 100%)); pointer-events: none; }

.gw-check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--fg-2); line-height: 1.45; cursor: pointer; }
.gw-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.gw-check__box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--bg); position: relative; transition: background-color .25s, border-color .25s; pointer-events: none; }
.gw-check__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.gw-check input:checked + .gw-check__box { background: var(--fg); border-color: var(--fg); }
.gw-check input:checked + .gw-check__box::after { transform: rotate(45deg) scale(1); }
.gw-check input:focus-visible + .gw-check__box { outline: 2px solid var(--fg); outline-offset: 2px; }
.gw-check:hover .gw-check__box { border-color: var(--fg-3); }

.gw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gw-alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; background: rgba(255, 122, 122, .08); border: 1px solid rgba(255, 122, 122, .25); color: #ffb3b3; }

.gw-btn__load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 5px; opacity: 0; }
.gw-btn__load i { width: 6px; height: 6px; background: currentColor; animation: gw-load 1s var(--ease-io) infinite; }
.gw-btn__load i:nth-child(2) { animation-delay: .12s; }
.gw-btn__load i:nth-child(3) { animation-delay: .24s; }
@keyframes gw-load { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.is-loading .gw-btn__text { opacity: 0; }
.is-loading .gw-btn__load { opacity: 1; }
.is-loading { pointer-events: none; }

.gw-form__done { display: none; text-align: center; padding: 16px 0 8px; }
.gw-form.is-done .gw-form__fields { display: none; }
.gw-form.is-done .gw-form__done { display: block; animation: gw-fade-up .7s var(--ease); }
.gw-form__done h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.gw-form__done .gw-muted { margin: 12px auto 28px; max-width: 360px; }
.gw-form__done strong { color: var(--fg); }
.gw-form__done .gw-eyebrow { margin-bottom: 14px; }
.gw-done__art { position: relative; width: 80px; margin: 0 auto 24px; }
.gw-done__slime { animation: gw-hop-y .9s var(--ease-io) infinite; transform-origin: 50% 100%; }
.gw-confetti { position: absolute; left: 50%; top: 40%; }
.gw-confetti i { position: absolute; width: 6px; height: 6px; background: var(--fg); animation: gw-burst 1.2s var(--ease) forwards; }

.gw-closed { text-align: center; padding: 24px 0; }
.gw-closed__slime { width: 64px; margin: 0 auto 20px; }
.gw-closed h2 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.gw-closed .gw-muted { margin: 8px 0 24px; }

/* ==========================================================================
   Basic pages / 404
   ========================================================================== */
.gw-basic { padding-top: calc(var(--header-h) + 80px); }
.gw-prose { color: var(--fg-2); font-size: 17px; }
.gw-prose > * + * { margin-top: 1.1em; }
.gw-prose h2, .gw-prose h3 { color: var(--fg); font-weight: 500; letter-spacing: -.02em; }
.gw-prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.gw-prose img { border-radius: var(--r); }
.gw-postlist li { border-top: 1px solid var(--line); }
.gw-postlist a { display: flex; gap: 24px; padding: 20px 0; transition: padding-left .4s var(--ease); }
.gw-postlist a:hover { padding-left: 8px; }
.gw-postlist strong { font-weight: 500; }
.gw-404 { padding-top: calc(var(--header-h) + 120px); min-height: 80vh; }
.gw-404__slime { width: 72px; margin-bottom: 32px; animation: gw-hop-y .9s var(--ease-io) infinite; transform-origin: 50% 100%; }
.gw-404 .gw-btn { margin-top: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.gw-status { display: none; }
	.gw-chain { grid-template-columns: 1fr 1fr; gap: 12px; }
	.gw-chain__flow { display: none; }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.gw-nav { display: none; }
	.gw-burger { display: block; }
	.gw-head--split, .gw-factory__head { grid-template-columns: 1fr; }
	.gw-core { grid-template-columns: 1fr; }
	.gw-core--flip .gw-core__text { order: 0; }
	.gw-glance__grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
	.gw-glance__item:nth-child(3) { border-left: 0; padding-left: 0; }
	.gw-feat-grid { grid-template-columns: 1fr 1fr; }
	.gw-join__grid { grid-template-columns: 1fr; }
	.gw-worlds__list { flex-direction: column; height: auto; }
	.gw-world { flex: none; height: 110px; transition: height .8s var(--ease); }
	.gw-world.is-active { height: 440px; }
	.gw-world .gw-ph { padding-top: 24px; }
	.gw-world__index { display: none; }
	.gw-slider__thumbs { grid-template-columns: repeat(3, 1fr); }
	.gw-prereg__grid { grid-template-columns: 1fr; }
	.gw-prereg__intro { position: static; }
	.gw-footer__top { grid-template-columns: 1fr; }
	.gw-chip-card--a { left: 2%; top: 6%; }
	.gw-chip-card--b { right: 2%; }
	.gw-income { left: 12px; bottom: 12px; }
}

@media (max-width: 640px) {
	.gw-header__actions .gw-btn { display: none; }
	.gw-hero__stage { transform: none !important; }
	.gw-hero__stage .gw-media { --ar: 16 / 9 !important; border-radius: var(--r); }
	.gw-chip-card { transform: scale(.82); padding: 10px 14px 10px 10px; }
	.gw-chip-card--c { display: none; }
	.gw-chip-card--a { animation: none; transform-origin: 0 0; }
	.gw-chip-card--b { animation: none; transform-origin: 100% 0; top: auto; bottom: 6%; }
	.gw-ip { width: 100%; justify-content: space-between; }
	.gw-hero__actions { width: 100%; flex-direction: column; }
	.gw-hero__actions .gw-btn { width: 100%; }
	.gw-feat-grid { grid-template-columns: 1fr; }
	.gw-feat { min-height: 0; }
	.gw-feat h3 { margin-top: 28px; }
	.gw-chain { grid-template-columns: 1fr; }
	.gw-slider__stage { aspect-ratio: 4 / 5; }
	.gw-slider__caption { right: 20px; bottom: 84px; }
	.gw-slider__ctrl { left: 20px; right: auto; }
	.gw-slider__thumbs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 16px; }
	.gw-slider__thumbs::-webkit-scrollbar { display: none; }
	.gw-thumb { flex: 0 0 42%; }
	.gw-join__pair { grid-template-columns: 1fr; }
	.gw-form__row { grid-template-columns: 1fr; }
	.gw-footer__cols { grid-template-columns: 1fr 1fr; }
	.gw-cat { right: 8%; }
	.gw-glance__grid { grid-template-columns: 1fr; }
	.gw-glance__item { border-left: 0; padding-left: 0; }
	.gw-glance__item + .gw-glance__item { border-top: 1px solid var(--line); padding-top: 24px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.gw-float, .gw-twinkle, .gw-bob, .gw-footer__critters, .gw-cat { display: none; }
	.gw-marquee__track { animation: none; }
	.gw-hero__stage { transform: none !important; }
}
