/* New homepage (Nov 2026) — Figma yhLuiPz3M9yRpAsan5IfGO, Desktop · Home · Story */

/* Colours, radii and HUD type are the Figma "Realm" variables. Futuristic · Glitch is the
   default; data-nh-mode on .nh selects another dungeon's mode (set from the realm cookie in
   page-new-homepage.php, and live by NH.realm when a dungeon is entered in the demo). */
.nh {
	--bg: #07051a;
	--surface: #120e2e;
	--surface-2: #1a1440;
	--ink: #f5f2ff;
	--muted: #b5afd6;
	--accent: #bba4ff;
	--line: #2b2353;
	--btn: #7c3aed;
	--btn-ink: #fff;
	--hud: #0b0930;
	--pill: #33256e;
	--pill-ink: #e6ddff;
	--chip: #251e4a;
	--chip-ink: #dcd5ff;
	--app-bg: #0e0a24;
	--app-side: #120d2d;
	--app-ink: #edeaff;
	--app-muted: #a7a1c8;
	--app-line: #1f1a3a;
	--rk: 1; /* radius/sm, md and pill are 0 in the Retro modes */
	--hud-font: "Chakra Petch";
	--hud-weight: 600;
	--hud-k: 1; /* type/hud-size: 10 instead of 13 in the Retro modes */
	--work-a: #7d3bed;
	--work-b: #a854f7;
	--work-glow: #8c4dfa;
	--bd: url(../images/new-homepage/hero-backdrop.webp);
	--bd-filter: none;
	--ease-out: cubic-bezier(0, 0, .58, 1);
	--ease-io: cubic-bezier(.42, 0, .58, 1);
	--ease-back: cubic-bezier(.34, 1.56, .64, 1);
	background: var(--bg);
	color: var(--ink);
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-optical-sizing: auto;
	overflow-x: clip;
	padding-top: var(--nh-header-h, 76px);
	-webkit-font-smoothing: antialiased;
}
.nh[data-nh-mode="neon-pulse"] { --bg: #12041a; --surface: #210a2e; --surface-2: #2c0f3d; --ink: #fff0fa; --muted: #d9a9c9; --accent: #ff7ad9; --line: #4a1a5e; --btn: #e11d8f; --hud: #14051f; --pill: #5a1a6e; --pill-ink: #ffe0f4; --chip: #3a1449; --chip-ink: #ffd1ef; --app-bg: #1a0824; --app-side: #210a2e; --app-ink: #ffe9f7; --app-muted: #c99bb9; --app-line: #3a1449; }
.nh[data-nh-mode="nexus"] { --bg: #03111a; --surface: #0a2230; --surface-2: #0f2d3f; --ink: #eafbff; --muted: #9cc6d6; --accent: #67e8f9; --line: #17465e; --btn: #0891b2; --hud: #04131d; --pill: #0e4a63; --pill-ink: #d7f8ff; --chip: #12354a; --chip-ink: #c9f4ff; --app-bg: #071a26; --app-side: #0a2230; --app-ink: #e6faff; --app-muted: #8fb8c8; --app-line: #14384c; }
.nh[data-nh-mode="8-bit"] { --bg: #26275a; --surface: #34357a; --surface-2: #3d3e88; --ink: #fff; --muted: #d2d3f7; --accent: #f4f75e; --line: #5254a8; --btn: #d6161f; --hud: #1c1d47; --pill: #5b5cf0; --pill-ink: #fff; --chip: #23245a; --chip-ink: #fff; --app-bg: #34356f; --app-side: #393a7b; --app-ink: #fff; --app-muted: #cdcef3; --app-line: #4a4b8a; }
.nh[data-nh-mode="vaporwave"] { --bg: #2a1446; --surface: #3f2166; --surface-2: #4a2878; --ink: #fff; --muted: #e7cff7; --accent: #ff9de2; --line: #7a47b0; --btn: #b14bff; --hud: #1f0f36; --pill: #ff5fc8; --pill-ink: #fff; --chip: #2a1446; --chip-ink: #fff; --app-bg: #3a1e5e; --app-side: #43226c; --app-ink: #fff; --app-muted: #e2c9f5; --app-line: #5c3590; }
.nh[data-nh-mode="mcars"] { --bg: #1a0f07; --surface: #2e1b0d; --surface-2: #3a2311; --ink: #fff4e6; --muted: #e9c9a3; --accent: #ffb347; --line: #7a4a1e; --btn: #e8590c; --hud: #140b05; --pill: #cc6a1f; --pill-ink: #fff; --chip: #1a0f07; --chip-ink: #ffe3bf; --app-bg: #2a190c; --app-side: #32200f; --app-ink: #fff4e6; --app-muted: #ddbb95; --app-line: #5a3616; }
.nh[data-nh-mode="light"] { --bg: #f7f5ff; --surface: #fff; --surface-2: #f2eeff; --ink: #15123a; --muted: #55507a; --accent: #5a2bcc; --line: #e2dcf4; --btn: #6d3be0; --hud: #0e0b36; --pill: #eee6ff; --pill-ink: #5a2bcc; --chip: #f2f0f7; --chip-ink: #3a3558; --app-bg: #fff; --app-side: #f3f0fc; --app-ink: #1b1838; --app-muted: #625d82; --app-line: #ece8f6; }
.nh[data-nh-mode="earth"] { --bg: #f5f2e9; --surface: #fffdf7; --surface-2: #f1ecde; --ink: #1f2a1c; --muted: #5d6453; --accent: #3f7d4e; --line: #ddd4be; --btn: #2f6b3f; --hud: #1e2a1a; --pill: #e1eedd; --pill-ink: #2f6b3f; --chip: #eee8d8; --chip-ink: #3c4436; --app-bg: #fffdf7; --app-side: #f1ecde; --app-ink: #1f2a1c; --app-muted: #636a58; --app-line: #e6dfcc; }
.nh[data-nh-realm="retro"] { --rk: 0; --hud-font: "Press Start 2P"; --hud-weight: 400; --hud-k: .7692; --bd: url(../images/new-homepage/demo/picker-bg-retro.webp); }
/* Figma draws the backdrops for Futuristic only; the other realms use their picker scenery
   (the Minimalistic one is a dark line drawing, inverted here for the light page). */
.nh[data-nh-realm="minimal"] { --bd: url(../images/new-homepage/demo/picker-bg-minimal.webp); --bd-filter: invert(1); }
.nh[data-nh-mode]:not([data-nh-mode="glitch"]) { --work-a: var(--btn); --work-b: var(--accent); --work-glow: var(--btn); }

/* Live realm change without a view transition: let colours ease instead of jumping. */
.nh.is-recolor, .nh.is-recolor :where(:not(.a)) { transition: background-color .7s var(--ease-io), color .7s var(--ease-io), border-color .7s var(--ease-io), box-shadow .7s var(--ease-io), fill .7s var(--ease-io), stroke .7s var(--ease-io); }
/* "Enter dungeon" opens the new realm as a growing circle from the button (NH.realm). */
html.nh-portal::view-transition-old(root), html.nh-portal::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

:where(.nh) *, :where(.nh) *::before, :where(.nh) *::after { box-sizing: border-box; }
:where(.nh) :where(p, h1, h2, h3, ul, figure) { margin: 0; }
:where(.nh) img { display: block; max-width: none; }
:where(.nh) a { color: inherit; text-decoration: none; }
:where(.nh) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.nh-hud { font-family: "Chakra Petch", "DM Sans", sans-serif; font-weight: 600; }
.nh-eyebrow { font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 2.08px; color: var(--accent); text-transform: uppercase; }
.nh-h2 { font-weight: 800; font-size: 52px; line-height: 58px; letter-spacing: -1.3px; color: var(--ink); text-wrap: balance; }
.nh-h2--48 { font-size: 48px; line-height: 54px; letter-spacing: -1.2px; }
.nh-sub { font-size: 19px; line-height: 30px; color: var(--muted); }
.nh-accent { color: var(--accent); }

.nh-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 16px 24px; border-radius: calc(12px * var(--rk));
	font-weight: 700; font-size: 16px; line-height: normal; white-space: nowrap;
	transition: background-color .2s, border-color .2s, transform .2s;
}
.nh-btn--primary { background: var(--btn); color: var(--btn-ink); filter: drop-shadow(0 10px 15px color-mix(in srgb, var(--btn) 45%, transparent)); }
.nh-btn--primary:hover { background: color-mix(in srgb, var(--btn) 86%, #000); color: var(--btn-ink); }
.nh-btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.nh-btn--ghost:hover { border-color: var(--accent); color: var(--ink); }
.nh-btn:focus-visible, .nh-faq__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.nh-section { position: relative; padding: 104px max(16px, env(safe-area-inset-right, 0px)) 104px max(16px, env(safe-area-inset-left, 0px)); }
.nh-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.nh-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin: 0 auto 40px; max-width: 860px; }

/* Fixed-size Figma stages, scaled to their container by JS (--s). */
.nh-fit { position: relative; width: 100%; }
.nh-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: translateX(var(--tx, 0px)) scale(var(--s, 1)); }
.nh-stage .a, .nh-abs { position: absolute; }
.nh-anim .a { transition-property: left, top, width, height, opacity, transform, background-color, border-color, box-shadow, color, font-size, letter-spacing, filter, text-shadow; transition-duration: var(--d, 0ms); transition-timing-function: var(--e, ease); }
/* Hidden wording so the existing GTM start_trial_clicks rule (text contains "Start Your Free Trial") counts the Start free buttons. */
.nh-gtm-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nh .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── HERO ─────────────────────────────────────────────── */
/* As in Figma, only the backdrop is clipped: the hero loop's glow spills softly into the next
   section, and isolation keeps it underneath that section's content. */
.nh-hero { position: relative; isolation: isolate; height: 700px; background: var(--bg); }
.nh-hero__backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.nh-bd { display: block; background: var(--bd) center / cover no-repeat; filter: var(--bd-filter); }
.nh-glow { display: block; background: var(--btn); -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.nh-hero__bg { position: absolute; left: 0; top: -30px; width: 100%; height: 760px; opacity: .38; }
.nh-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 50%, color-mix(in srgb, var(--bg) 15%, transparent) 100%); }
.nh-hero__fade { position: absolute; left: 0; right: 0; top: 500px; height: 200px; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 0%, var(--bg) 100%); }
.nh-hero__canvas { position: relative; max-width: 1440px; height: 100%; margin: 0 auto; }
.nh-hero__copy { position: absolute; left: clamp(24px, 8.33vw, 120px); top: 150px; width: 600px; max-width: calc(100% - 48px); z-index: 2; }
.nh-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.nh-pill__avatars { display: flex; }
.nh-pill__av { width: 26px; height: 26px; border-radius: 13px; border: 2px solid var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 9px; color: var(--btn-ink); margin-right: -8px; }
.nh-pill__av:last-child { margin-right: 0; }
.nh-pill strong { font-weight: 600; color: var(--accent); }
.nh-hero__title { margin-top: 16px; font-weight: 800; font-size: clamp(44px, 4.3vw, 62px); line-height: 1.032; letter-spacing: -.03em; color: var(--ink); }
.nh-hero__sub { margin-top: 22px; width: 500px; max-width: 100%; font-size: 19px; line-height: 29px; color: var(--muted); }
.nh-hero__ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.nh-hero__micro { margin-top: 16px; font-size: 14px; color: var(--muted); }
.nh-hero__loop { position: absolute; top: 43.96px; left: 35.375%; right: 1.07%; z-index: 1; }

/* ── HERO LOOP stage (915.2 × 665.6) ─────────────────── */
.hl { width: 915.2px; height: 665.6px; }
.hl-glow { left: 145.6px; top: 41.6px; width: 790.4px; height: 589.94px; border-radius: 50%; background: var(--btn); filter: blur(83.2px); opacity: 0; }
.hl-app { left: 145.6px; top: 110.24px; width: 768.768px; height: 439.161px; background: var(--app-bg); border: .686px solid var(--line); border-radius: 12.48px; overflow: hidden; box-shadow: 0 31.2px 62.4px rgba(0, 0, 0, .55); opacity: 0; }
.hl-top { position: absolute; left: 0; top: 0; width: 768.768px; height: 39.811px; background: var(--hud); display: flex; align-items: center; gap: 9.61px; padding: 0 10.982px; overflow: hidden; }
.hl-wordmark { font-size: 11.669px; letter-spacing: .7px; color: #fff; white-space: nowrap; }
.hl-wordmark b { font-weight: 800; color: #9d7bff; }
.hl-spacer { flex: 1 0 0; }
.hl-tokens { display: flex; align-items: center; gap: 4.118px; padding: 4.118px 8.237px; border: .686px solid rgba(255, 255, 255, .14); border-radius: 999px; font-weight: 600; font-size: 8.923px; color: #fff; }
.hl-hud { display: flex; align-items: center; gap: 6.864px; padding: 3.432px 6.864px 3.432px 5.491px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: .686px solid rgba(255, 255, 255, .12); transition: border-color var(--d, 0ms) var(--e, ease), box-shadow var(--d, 0ms) var(--e, ease), transform var(--d, 0ms) var(--e, ease); }
.hl-hud.is-hot { border-color: #bba4ff; box-shadow: 0 0 27.04px rgba(168, 84, 247, .9); transform: scale(1.03); }
.hl-hud__island { width: 21.965px; height: 17.846px; object-fit: contain; border-radius: 4.118px; }
/* The Retro island art is a square scene: crop it to the HUD tile, and fade its edges on the CTA. */
.nh[data-nh-realm="retro"] .nh-island { object-fit: cover; }
.nh[data-nh-realm="retro"] .nh-cta__island { -webkit-mask: url(../images/new-homepage/demo/picker-retro-mask.svg) center / 100% 100% no-repeat; mask: url(../images/new-homepage/demo/picker-retro-mask.svg) center / 100% 100% no-repeat; }
.hl-hud__sep { width: .686px; height: 15.101px; background: rgba(255, 255, 255, .15); }
.hl-portal { width: 12.355px; height: 17.846px; border-radius: 6.178px 6.178px 2.059px 2.059px; border: .686px solid rgba(201, 160, 255, .8); background: linear-gradient(180deg, #ff6bf2, #451a99); box-shadow: 0 0 8.237px rgba(191, 102, 255, .8); }
.hl-track { position: relative; width: 153.754px; height: 8.237px; border-radius: 4.12px; background: rgba(255, 255, 255, .88); }
.hl-track .bar { position: absolute; left: 0; top: 0; height: 100%; width: 91.52px; border-radius: 4.12px; background: linear-gradient(90deg, #5c21d6, #9e7aeb); }
.hl-hud__chest { width: 20.592px; height: 17.846px; object-fit: contain; }
.hl-avatar { position: relative; width: 26.083px; height: 26.083px; border-radius: 50%; overflow: hidden; }
.hl-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity var(--d, 0ms) var(--e, ease); }
.hl-avatar .seraph { background: #d9d4fa; opacity: 0; transition: opacity .45s var(--ease-back); }
.hl-avatar .seraph img { inset: auto; left: -58.7%; top: -6.67%; width: 217.39%; height: 333.33%; }
.hl-avatar.is-seraph .seraph { opacity: 1; }

.hl-body { position: absolute; left: 0; top: 39.81px; width: 767.395px; height: 397.977px; overflow: hidden; }
.hl-side { position: absolute; left: 0; top: 0; width: 153.754px; height: 100%; background: var(--app-side); border-right: .686px solid var(--app-line); display: flex; flex-direction: column; gap: 1.373px; padding: 10.982px 8.237px; color: var(--app-ink); font-size: 8.923px; }
.hl-ws { display: flex; align-items: center; gap: 5.491px; padding: 2.746px 0 5.491px 4.118px; font-weight: 700; font-size: 9.61px; }
.hl-ws i { font-style: normal; width: 15.101px; height: 15.101px; border-radius: 3.432px; background: var(--btn); color: var(--btn-ink); font-weight: 800; font-size: 8.237px; display: flex; align-items: center; justify-content: center; }
.hl-trial { background: color-mix(in srgb, var(--btn) 16%, transparent); border-radius: 3.432px; padding: 5.491px 6.864px; display: flex; flex-direction: column; gap: 4.118px; font-weight: 700; font-size: 6.864px; }
.hl-trial__row { display: flex; justify-content: space-between; letter-spacing: .41px; }
.hl-trial__row span:last-child { color: var(--accent); letter-spacing: 0; }
.hl-trial__bar { height: 2.059px; border-radius: 1.373px; background: color-mix(in srgb, var(--app-muted) 34%, transparent); overflow: hidden; }
.hl-trial__bar span { display: block; width: 17.846px; height: 100%; background: var(--btn); }
.hl-nav { display: flex; align-items: center; gap: 5.491px; padding: 4.805px 5.491px; border-radius: 3.432px; white-space: nowrap; }
.hl-nav__count { margin-left: auto; padding: .686px 4.118px; border-radius: 68px; background: var(--btn); color: var(--btn-ink); font-size: 7.55px; }
.hl-nav__dot { width: 5.491px; height: 5.491px; border-radius: 2.059px; }
.hl-nav--active { background: var(--btn); color: var(--btn-ink); font-weight: 600; }
.hl-projects { padding: 8.237px 0 2.746px 4.118px; font-weight: 700; }

.hl-main { position: absolute; left: 153.75px; top: 0; width: 613.642px; height: 100%; overflow: hidden; }
.hl-head { position: absolute; left: 13.73px; top: 12.35px; width: 586.186px; padding-bottom: 9.61px; display: flex; align-items: center; gap: 8.237px; }
.hl-head__title { font-weight: 800; font-size: 17.846px; letter-spacing: -.357px; color: var(--app-ink); }
.hl-chip { display: flex; gap: 4.118px; padding: 3.432px 6.864px; border: .686px solid var(--app-line); border-radius: 3.432px; font-size: 8.237px; color: var(--app-muted); white-space: nowrap; }
.hl-chip b { color: var(--app-ink); }
.hl-toggle { display: flex; gap: 1.373px; padding: 2.059px; border: .686px solid var(--app-line); border-radius: 999px; }
.hl-toggle span { width: 20.592px; height: 20.592px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.hl-toggle span:first-child { background: var(--btn); }
.hl-toggle img { width: 10.296px; height: 10.296px; }
.hl-search { width: 116.688px; height: 24.71px; padding: 0 8.237px; display: flex; align-items: center; border: .686px solid var(--app-line); border-radius: 8.237px; font-size: 8.923px; color: var(--app-muted); }
.hl-add { height: 24.71px; padding: 0 9.61px; display: flex; align-items: center; border-radius: 8.237px; background: var(--btn); font-weight: 700; font-size: 9.61px; color: var(--btn-ink); }
.hl-thead { position: absolute; left: 13.73px; top: 48.05px; width: 586.186px; padding: 0 4.118px 5.491px; display: flex; gap: 5.491px; border-bottom: .686px solid var(--app-line); font-size: 7.55px; color: var(--app-muted); }
.hl-thead span:nth-child(1) { width: 27.456px; }
.hl-thead span:nth-child(2) { flex: 1 0 0; }
.c-proj { width: 90.605px; text-align: center; display: flex; justify-content: center; }
.c-asg { width: 37.066px; display: flex; justify-content: center; }
.c-size { width: 34.32px; display: flex; justify-content: center; }
.c-due { width: 52.166px; text-align: center; }

.hl-row { left: 13.73px; width: 586.186px; height: 37.066px; padding: 0 4.118px; display: flex; align-items: center; gap: 5.491px; border-bottom: .686px solid var(--app-line); opacity: 0; border-radius: 0; }
.hl-row.is-focus { background: color-mix(in srgb, var(--btn) 8%, transparent); box-shadow: inset 0 0 0 .69px color-mix(in srgb, var(--btn) 45%, transparent); border-radius: 6.86px; }
.hl-check { position: relative; width: 27.456px; height: 30.202px; display: flex; align-items: center; justify-content: center; }
.hl-box { position: relative; width: 13.042px; height: 13.042px; border: 1.098px solid var(--app-muted); border-radius: calc(3.432px * var(--rk)); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.hl-row.is-focus .hl-box { background: color-mix(in srgb, var(--btn) 10%, transparent); border: 1.37px solid var(--accent); box-shadow: 0 0 0 4.12px color-mix(in srgb, var(--accent) 45%, transparent); }
.hl-row.is-done .hl-box { background: var(--btn); border-color: var(--btn); }
.hl-box svg { position: absolute; left: 1.3px; top: 1.3px; width: 8.24px; height: 8.24px; opacity: 0; }
.hl-row.is-done .hl-box svg { opacity: 1; }
.hl-pulse { position: absolute; left: 4.1px; top: 5.5px; width: 19.22px; height: 19.22px; border: 1.72px solid var(--accent); border-radius: calc(6.86px * var(--rk)); box-shadow: 0 0 9.61px color-mix(in srgb, var(--accent) 90%, transparent); opacity: 0; pointer-events: none; }
.hl-row.is-focus .hl-pulse { opacity: 1; animation: nh-pulse 1.1s var(--ease-out) infinite; }
@keyframes nh-pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hl-row__main { flex: 1 0 0; min-width: 0; display: flex; align-items: center; gap: 6.864px; }
.hl-row__name { font-size: 9.61px; color: var(--app-ink); white-space: nowrap; transition: color .3s; }
.hl-row.is-done .hl-row__name { color: var(--app-muted); }
.hl-tags { margin-left: auto; display: flex; gap: 4.118px; }
.hl-tag { padding: 2.059px 5.491px; border-radius: calc(999px * var(--rk)); background: var(--chip); border: .686px solid var(--app-line); font-size: 7.55px; color: var(--chip-ink); white-space: nowrap; }
.hl-proj { padding: 2.746px 6.864px; border-radius: calc(999px * var(--rk)); background: var(--pill); font-weight: 700; font-size: 7.55px; color: var(--pill-ink); white-space: nowrap; }
.hl-av { width: 19.219px; height: 19.219px; border-radius: 9.61px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 6.86px; color: #fff; }
.hl-size { min-width: 17.846px; height: 17.846px; padding: 0 4.118px; border-radius: calc(999px * var(--rk)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 7.55px; color: #fff; }
.hl-due { font-size: 8.24px; color: var(--app-muted); }
.hl-note { left: 13.73px; top: 360.45px; padding-top: 10.982px; display: flex; align-items: center; gap: 5.491px; font-size: 8.923px; color: var(--app-muted); white-space: nowrap; opacity: 0; }
.hl-note img { width: 10.982px; height: 10.982px; }

/* Dungeon picker screen inside the hero app */
.hl-screen { left: 0; top: 39.81px; width: 767.4px; height: 398px; overflow: hidden; }
.hl-dng { background: #0a081a; }
.hl-dng__bd { position: absolute; inset: 0; opacity: .7; }
.hl-dng__bd img { width: 100%; height: 100%; object-fit: cover; }
.hl-dng__bd::after { content: ""; position: absolute; inset: 0; background: rgba(7, 6, 26, .2); }
.hl-dng__shade { position: absolute; left: 0; top: 0; width: 100%; height: 120px; background: linear-gradient(180deg, rgba(7, 6, 26, .85), rgba(7, 6, 26, 0)); }
.hl-dng__glow { position: absolute; left: 23.7px; top: 190px; width: 720px; height: 290px; }
.hl-dng__eyebrow { left: 331.7px; top: 34px; font-size: 9px; letter-spacing: 1.26px; color: #c7b2ff; opacity: 0; white-space: nowrap; }
.hl-dng__title { left: 271.2px; top: 48px; font-weight: 800; font-size: 21px; color: #fff; opacity: 0; white-space: nowrap; }
.hl-card { width: 193.5px; height: 159.444px; background: #0f0d24; border: .774px solid #2a2550; border-radius: 10.836px; overflow: hidden; opacity: 0; }
.hl-card.is-picked { border: 1.55px solid #8b5cf6; box-shadow: 0 0 24.8px rgba(124, 58, 237, .5); }
.hl-card .art { position: absolute; left: 5.42px; top: 5.42px; width: 181.116px; height: 83.592px; border-radius: 7.74px; background: #17142e; overflow: hidden; }
.hl-card .art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-card .shade { position: absolute; left: 0; top: 30.96px; width: 100%; height: 52.632px; background: linear-gradient(180deg, rgba(15, 13, 36, 0), rgba(15, 13, 36, .92)); }
.hl-card .name { position: absolute; left: 9.29px; top: 58.05px; font-weight: 700; font-size: 13.932px; color: #fff; white-space: nowrap; }
.hl-card .q { position: absolute; left: 82.04px; top: 4.64px; font-weight: 700; font-size: 30.96px; color: #7f74c9; }
.hl-card .here { position: absolute; left: 6.19px; top: 6.19px; display: flex; align-items: center; gap: 3.87px; padding: 3.096px 7.74px 3.096px 6.192px; border-radius: 77px; background: #7c3aed; font-weight: 600; font-size: 8.127px; color: #fff; white-space: nowrap; }
.hl-card .here img { width: 8.514px; height: 8.514px; }
.hl-card .shine { position: absolute; top: -38.7px; left: -180px; width: 54.18px; height: 170.28px; transform: rotate(25deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); animation: nh-shine 2.7s var(--ease-io) infinite; }
@keyframes nh-shine { 0%, 59% { left: -180px; } 100% { left: 260px; } }
.hl-card .trk { position: absolute; left: 8.51px; top: 98.3px; width: 154.8px; height: 4.644px; border-radius: 2.322px; background: #2a2650; }
.hl-card .fill { position: absolute; left: 8.51px; top: 98.3px; width: 68.112px; height: 4.644px; border-radius: 2.322px; background: #8b5cf6; }
.hl-card .chest { position: absolute; left: 171.05px; top: 95.2px; width: 10.836px; height: 10.836px; }
.hl-card .prog { position: absolute; left: 8.51px; top: 109.13px; font-weight: 700; font-size: 9.288px; color: #fff; white-space: nowrap; }
.hl-card .reveal { position: absolute; left: 8.51px; top: 102.94px; display: flex; align-items: center; gap: 4.644px; font-size: 9.288px; color: #a7a3c2; white-space: nowrap; }
.hl-card .div { position: absolute; left: 8.51px; top: 127.71px; width: 174.924px; height: .774px; background: #2a2550; }
.hl-card .meta { position: absolute; top: 137px; display: flex; align-items: center; gap: 4.644px; font-size: 9.288px; color: #c9c5e0; white-space: nowrap; }
.hl-card .reveal img, .hl-card .meta img { width: 10.062px; height: 10.062px; }
.hl-dng__cta { left: 278.7px; top: 314px; display: flex; align-items: center; gap: 7.2px; padding: 13.5px 25.2px; border-radius: 10.8px; background: #7c3aed; box-shadow: 0 0 21.6px rgba(124, 58, 237, .45); font-weight: 600; font-size: 13.5px; color: #fff; white-space: nowrap; opacity: 0; }
.hl-dng__cta img { width: 14.4px; height: 14.4px; }

/* Locker + leaderboard screens */
.hl-lock, .hl-lb { background: var(--surface); opacity: 0; }
.hl-lock__preview { left: 20px; top: 20px; width: 342.435px; height: 358px; border-radius: 15.565px; overflow: hidden; background: #0b0820; }
/* The backdrop fills the preview; the skin layers keep their own box (.hl-lock__skin). */
.hl-lock__preview > img:not(.hl-lock__skin) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-lock__skin { left: 70.04px; top: 31.13px; width: 202.348px; height: 311.304px; object-fit: contain; }
.hl-lock__pet { left: 222.58px; top: 238.15px; width: 108.957px; height: 108.957px; border-radius: 14.009px; background: rgba(11, 8, 32, .85); border: .778px solid rgba(255, 255, 255, .15); overflow: hidden; }
.hl-lock__pet img { position: absolute; left: 5.45px; top: 5.45px; width: 96.504px; height: 96.504px; object-fit: contain; }
.hl-lock__title { left: 388.43px; top: 22px; font-weight: 800; font-size: 20.28px; line-height: 26.4px; color: var(--ink); white-space: nowrap; }
.hl-lock__line { left: 388.43px; top: 56px; font-size: 11.7px; line-height: 15.2px; color: var(--muted); white-space: nowrap; }
.hl-lock__group { left: 388.43px; display: flex; flex-direction: column; gap: 8.6px; }
/* Fixed line heights (Chrome's "normal" for these fonts) so other browsers can't push the rows into each other. */
.hl-lock__label { font-size: 10.32px; line-height: 13.4px; letter-spacing: 1.65px; color: var(--accent); }
.hl-lock__opts { display: flex; gap: 12.04px; }
.hl-tile { display: flex; flex-direction: column; align-items: center; gap: 5.16px; font-weight: 600; font-size: 10.32px; line-height: 13.4px; color: var(--ink); white-space: nowrap; }
.hl-tile__thumb { position: relative; width: 92.88px; height: 92.88px; border-radius: 12.04px; background: #0b0820; overflow: hidden; }
.hl-tile__thumb > img { position: absolute; left: 5.16px; top: 5.16px; width: 82.56px; height: 82.56px; object-fit: contain; }
.hl-tile__bar { position: absolute; left: 0; top: 90.3px; width: 100%; height: 2.58px; }
.hl-tile__sel { position: absolute; inset: 0; border: 2.58px solid #a78bfa; border-radius: 12.04px; opacity: 0; transition: opacity var(--d, 0ms) var(--e, ease); }
.hl-tile.is-sel .hl-tile__sel { opacity: 1; }
.hl-tile__rar { position: absolute; left: 5.16px; top: 5.16px; padding: 2.15px 6.02px; border-radius: 85px; background: rgba(14, 11, 28, .86); border: .86px solid; font-weight: 700; font-size: 7.74px; }
.hl-tile__new { position: absolute; left: 57.62px; top: 70.52px; padding: 2.15px 5.16px; border-radius: 85px; background: var(--btn); font-weight: 700; font-size: 7.74px; letter-spacing: .46px; color: var(--btn-ink); }

.hl-lb__title { left: 16.44px; top: 33.87px; font-weight: 800; font-size: 17.815px; letter-spacing: -.267px; white-space: nowrap; }
.hl-lb__vsep { left: 136.35px; top: 36.61px; width: .685px; height: 19.185px; background: var(--line); }
.hl-lb__season { left: 148px; top: 37.3px; font-weight: 600; font-size: 12.333px; white-space: nowrap; }
.hl-lb__current { left: 208.29px; top: 40.04px; padding: 2.056px 5.481px; border-radius: 684px; background: var(--pill); font-weight: 600; font-size: 7.537px; color: var(--accent); }
.hl-lb__tabs { left: 564.59px; top: 32.5px; display: flex; gap: 5.481px; }
.hl-lb__tab { width: 90.444px; height: 27.407px; border-radius: 6.852px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 9.592px; background: var(--chip); border: .685px solid var(--line); color: var(--muted); }
.hl-lb__tab.is-on { background: var(--pill); border-color: var(--accent); color: var(--ink); }
.hl-lb__scope { left: 16.44px; top: 76.36px; font-weight: 700; font-size: 11.648px; }
.hl-lb__cols { left: 0; top: 98.28px; width: 767.4px; height: 24.666px; font-weight: 500; font-size: 8.565px; color: var(--muted); white-space: nowrap; }
.hl-lb__cols span, .hl-lb__row span, .hl-lb__you > span { position: absolute; white-space: nowrap; }
.hl-lb__cols span { top: 6.85px; }
.hl-lb__you { left: 10.96px; top: 127.06px; width: 745.474px; height: 42.481px; border-radius: 9.592px; background: var(--btn); box-shadow: 0 5.481px 16.444px color-mix(in srgb, var(--btn) 45%, transparent); color: var(--btn-ink); font-weight: 700; font-size: 10.278px; overflow: hidden; }
.hl-lb__you > span { top: 14.39px; }
.hl-lb__you > .hl-lb__youav { left: 53.44px; top: 7.54px; width: 27.407px; height: 27.407px; border-radius: 50%; background: #d9d4fa; overflow: hidden; }
.hl-lb__youav img { position: absolute; width: 217.39%; height: 333.33%; left: -58.7%; top: -6.67%; }
.hl-lb__you > .hl-lb__delta { left: 373.42px; top: 15.07px; padding: 1.37px 4.796px; border-radius: 684px; background: rgba(255, 255, 255, .22); font-size: 7.88px; opacity: 0; transition: opacity var(--d, 0ms) var(--e, ease); }
.hl-lb__toast { right: 16.26px; top: 77.73px; display: flex; align-items: center; gap: 5.481px; padding: 5.481px 9.592px 5.481px 8.222px; border-radius: 684px; background: var(--surface); border: .685px solid var(--accent); box-shadow: 0 0 15.074px rgba(168, 140, 255, .5); font-weight: 700; font-size: 9.25px; color: var(--ink); white-space: nowrap; opacity: 0; }
.hl-lb__toast img { width: 8.222px; height: 5.481px; }
.hl-lb__row { left: 0; width: 767.4px; height: 37px; border-top: .685px solid var(--line); font-size: 9.592px; }
.hl-lb__row span { top: 11.65px; }
.hl-lb__row .n { left: 95.93px; font-weight: 600; font-size: 9.935px; }
.hl-lb__row .m { color: var(--muted); }
.hl-lb__row .rk { left: 34.26px; font-weight: 600; color: var(--muted); }
.hl-lb__row .badge { position: absolute; left: 26.72px; top: 6.17px; width: 27.407px; height: 23.296px; object-fit: contain; }
.hl-lb__row .av { position: absolute; left: 64.41px; top: 6.17px; width: 23.296px; height: 23.296px; object-fit: contain; border-radius: 50%; }

/* Overlays above the app */
.hl-dim { left: 145.6px; top: 79.04px; width: 768.768px; height: 439.161px; border-radius: 12.48px; background: #05030f; opacity: 0; }
.hl-boss { left: 301.6px; top: 151.45px; width: 457.6px; height: 295.36px; border-radius: 16.64px; background: #0b0820; border: 1.04px solid #8b5cf6; box-shadow: 0 0 41.6px rgba(140, 92, 245, .4); overflow: hidden; opacity: 0; transform: scale(.9); }
.hl-boss .a { position: absolute; }
.hl-boss > .a { margin: -1.04px 0 0 -1.04px; }
.hl-reward > * { margin: -1.56px 0 0 -1.56px; }
.hl-boss__glow { left: 93.6px; top: 74.88px; width: 270.4px; height: 176.8px; border-radius: 50%; background: #b04bff; opacity: .4; filter: blur(52px); }
.hl-boss__glow.is-gold { background: #ff9e38; }
.hl-boss__eyebrow { left: 22.88px; top: 20.8px; font-size: 9.36px; letter-spacing: 1.68px; color: #ff8fb3; }
.hl-boss__title { left: 22.88px; top: 34.32px; font-weight: 800; font-size: 17.68px; color: #fff; white-space: nowrap; }
.hl-boss__hp { left: 309.92px; top: 39.52px; width: 124.8px; text-align: right; font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 12.48px; color: #ff8fb3; }
.hl-boss__track { left: 22.88px; top: 64.48px; width: 411.84px; height: 8.32px; border-radius: 4.16px; background: rgba(255, 255, 255, .1); }
.hl-boss__fill { left: 22.88px; top: 64.48px; width: 411.84px; height: 8.32px; border-radius: 4.16px; background: linear-gradient(90deg, #ff3d80, #ff7a59); }
.hl-boss__art { left: 159.12px; top: 83.2px; width: 139.36px; height: 150.97px; filter: drop-shadow(0 0 8.7px rgba(176, 74, 255, .8)); }
.hl-boss__art img { width: 100%; height: 100%; }
.hl-target { width: 29.12px; height: 29.12px; opacity: 0; }
.hl-target img { width: 100%; height: 100%; }
.hl-dmg { font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 22.88px; color: #ff8fb3; opacity: 0; white-space: nowrap; }
.hl-stamp { left: 159.12px; top: 145.6px; font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 16.224px; letter-spacing: .97px; white-space: nowrap; background: linear-gradient(90deg, #ffd980, #ff8f4d); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 5.6px rgba(255, 140, 51, .6)); opacity: 0; }
.hl-boss__status { left: 22.88px; top: 249.6px; font-weight: 700; font-size: 11.44px; color: #fff; white-space: nowrap; }
.hl-pip { top: 270.4px; width: 18.72px; height: 6.24px; border-radius: 3.12px; background: #3ee6ff; transition: background-color .25s; }
.hl-pip.is-used { background: #1a3347; }
.hl-bigchest { left: 420.78px; top: 184.22px; width: 218.4px; height: 213.2px; object-fit: contain; opacity: 0; filter: drop-shadow(0 0 26px rgba(168, 84, 247, .7)); transform: translate(325.55px, -185.19px) scale(.14); }
.hl-reward { left: 415.58px; top: 159.26px; width: 228.8px; height: 278.72px; border-radius: 18.72px; background: var(--surface); border: 1.56px solid var(--accent); box-shadow: 0 0 41.6px rgba(168, 84, 247, .6); overflow: hidden; opacity: 0; transform: scale(.85); }
.hl-reward .glow { position: absolute; left: 20.8px; top: 10.4px; width: 187.2px; height: 187.2px; --m: url(../images/new-homepage/reward-glow.svg); }
.hl-reward .art { position: absolute; left: 57.2px; top: 18.72px; width: 114.4px; height: 187.2px; object-fit: contain; }
.hl-reward .rar { position: absolute; left: 70.72px; top: 214.24px; padding: 3.9px 10.4px; border-radius: 999px; background: #6366f2; font-size: 11.44px; letter-spacing: 1.37px; color: #fff; }
.hl-reward .nm { position: absolute; left: 0; right: 0; top: 245.44px; text-align: center; font-weight: 700; font-size: 16.64px; color: var(--ink); }
.hl-toast { display: flex; align-items: center; gap: 10.4px; padding: 9.36px 16.64px 9.36px 10.4px; border-radius: 999px; background: var(--surface); border: 1.04px solid var(--line); box-shadow: 0 10.4px 29.12px rgba(0, 0, 0, .45); font-weight: 600; font-size: 14.04px; color: var(--ink); white-space: nowrap; opacity: 0; }
.hl-toast__av { width: 24.96px; height: 24.96px; border-radius: 12.48px; object-fit: cover; }
.hl-toast__bar { position: relative; width: 18.72px; height: 18.72px; }
.hl-toast__bar::before, .hl-toast__bar::after { content: ""; position: absolute; left: 0; top: 6.24px; height: 6.24px; border-radius: 3.12px; }
.hl-toast__bar::before { width: 18.72px; background: rgba(255, 255, 255, .14); }
.hl-toast__bar::after { width: 12.48px; background: linear-gradient(90deg, #5c21d6, #bf9eff); }
.hl-toast__chest { width: 27.04px; height: 24.96px; object-fit: contain; }
/* hero-cursor.svg has 1px of room around the arrow for its outline; the margin keeps the tip on the click point. */
.hl-cursor { left: 790.4px; top: 544.57px; width: 17.08px; height: 24.88px; margin: -1px 0 0 -1px; opacity: 0; z-index: 5; filter: drop-shadow(0 3.12px 3.12px rgba(0, 0, 0, .5)); }

/* ── OUR STORY · life chart (860 × 374) ───────────────── */
.nh-story { padding-top: 70px; }
.lc { width: 860px; height: 374px; }
.lc-pie { left: 0; top: 32px; width: 318px; height: 318px; }
.lc-else { left: 31.5px; top: 31.5px; width: 255px; height: 255px; opacity: 0; }
.lc-work { left: 39.75px; top: 39.75px; width: 238.5px; height: 238.5px; opacity: 0; }
.lc-work svg { position: absolute; left: 41.06%; top: -10.03%; width: 68.97%; height: 68.97%; overflow: visible; }
.lc-fill { fill: var(--surface-2); }
.lc-edge { fill: none; stroke: var(--line); stroke-width: 2; }
.lc-a { stop-color: var(--work-a); }
.lc-b { stop-color: var(--work-b); }
.lc-glow { flood-color: var(--work-glow); }
.lc-pie .nh-hud, .lcm-pie .nh-hud { font-family: var(--hud-font), "Chakra Petch", sans-serif; font-weight: var(--hud-weight); }
.lc-worklabel { left: 238.48px; top: 61.02px; font-size: calc(7.8px * var(--hud-k)); letter-spacing: 1.248px; color: #fff; opacity: 0; white-space: nowrap; }
.lc-center { left: 126.5px; top: 152px; width: 65px; display: flex; justify-content: center; font-size: calc(10.4px * var(--hud-k)); letter-spacing: 1.664px; color: var(--accent); opacity: 0; white-space: nowrap; }
.lc-stat { left: 374px; top: 112px; width: 486px; font-weight: 800; font-size: 56px; line-height: 60px; letter-spacing: -1.568px; color: var(--accent); opacity: 0; }
.lc-line { left: 374px; top: 242px; width: 486px; font-size: 19px; line-height: 31px; color: var(--ink); opacity: 0; }

/* ── THE PROBLEM · stats (700 × 460) ──────────────────── */
.nh-split { display: flex; align-items: center; gap: 64px; }
.nh-split__copy { flex: 0 0 436px; display: flex; flex-direction: column; gap: 16px; }
.nh-split__copy .nh-sub { line-height: 30px; }
.nh-split__media { flex: 0 0 700px; max-width: 700px; }
.ps { width: 700px; height: 460px; }
.ps-card { background: #13111f; border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; overflow: hidden; opacity: 0; }
.ps-tools { left: 0; top: 24px; width: 330px; height: 460px; }
.ps-glow { position: absolute; left: 39px; top: 39px; width: 250px; height: 250px; border-radius: 50%; background: #f2666b; opacity: .16; filter: blur(27.5px); transition: opacity 2.2s var(--ease-io); }
.ps-tools.is-idle .ps-glow { opacity: .3; }
.ps-ring { position: absolute; left: 59px; top: 54px; width: 210px; height: 210px; }
.ps-big { position: absolute; left: 0; width: 100%; text-align: center; font-weight: 800; color: #f5f2ff; white-space: nowrap; }
.ps-unit { position: absolute; left: 0; width: 100%; top: 182px; text-align: center; font-weight: 500; font-size: 13px; color: #b5b0d6; }
.ps-label { position: absolute; left: 32px; top: 295px; width: 266px; text-align: center; font-weight: 600; font-size: 18px; line-height: 26px; color: #f5f2ff; }
.ps-src { position: absolute; font-size: 12px; color: #807a9e; white-space: nowrap; }
.ps-day { left: 350px; top: 24px; width: 350px; height: 220px; }
.ps-eng { left: 350px; top: 264px; width: 350px; height: 220px; }
.ps-num { position: absolute; left: 25px; top: 19px; font-weight: 800; font-size: 44px; color: #f5f2ff; }
.ps-lbl { position: absolute; left: 25px; top: 75px; width: 298px; font-weight: 600; font-size: 15px; color: rgba(245, 242, 255, .92); }
.ps-daytrack { position: absolute; left: 25px; top: 113px; width: 298px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .06); }
.ps-daybar { left: 25px; top: 113px; width: 2px; height: 30px; border-radius: 9px; background: linear-gradient(90deg, #fc8578, #d94d6b); }
.ps-seg { top: 121px; font-weight: 600; font-size: 11px; white-space: nowrap; }
.ps-tick { position: absolute; top: 151px; font-weight: 500; font-size: 11px; color: #807a9e; }
.ps-people { position: absolute; left: 25px; top: 109px; width: 298px; height: 38px; }
.ps-person { position: absolute; top: 0; width: 24px; height: 36px; }
.ps-person img { position: absolute; left: 0; top: 0; width: 24px; height: 36px; }
.ps-person .lit { transition: opacity var(--d, 450ms) var(--e, ease), transform 2.2s var(--ease-io); }
.ps-person .lit.glow { left: -12px; top: -12px; width: 48px; height: 59px; }
.ps-person.is-dim .lit { opacity: 0; }
.ps.is-idle .ps-person.is-glow .lit { transform: translateY(-3px); }

/* ── GAMES ARE FUN (700 × 440) ─────────────────────────── */
.gf { width: 700px; height: 440px; background: var(--bg); border: 1.5px solid var(--accent); border-radius: 24px; box-shadow: 0 24px 70px color-mix(in srgb, var(--btn) 40%, transparent); overflow: hidden; }
.gf-bd { left: -1.5px; top: -41.5px; width: 700px; height: 520px; opacity: .55; }
.gf-ellipse { left: -21.5px; top: -71.5px; width: 740px; height: 480px; opacity: .12; --m: url(../images/new-homepage/games-ellipse-base.svg); }
.gfm .gf-ellipse { --m: url(../images/new-homepage/games-ellipse-m-base.svg); }
.gf-levelup { left: 99px; top: 21.5px; font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 96px; letter-spacing: .04em; color: var(--ink); text-shadow: 0 0 42px rgba(191, 153, 255, .9); white-space: nowrap; opacity: 0; line-height: normal; }
.gf-pill { left: 315.5px; top: 138.5px; width: 66px; height: 30px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 14px; letter-spacing: 1.12px; display: flex; align-items: center; justify-content: center; opacity: 0; }
.gf-hud { left: 128.5px; top: 200.5px; width: 440px; height: 46.885px; border-radius: 1201px; background: rgba(255, 255, 255, .06); border: 1.803px solid var(--accent); box-shadow: 0 0 36.066px 2.404px var(--accent); opacity: 0; }
.gf-hud > .a { position: absolute; }
.gf-island { left: 9.62px; top: 6.01px; width: 38.47px; height: 31.257px; object-fit: contain; border-radius: 7.213px; }
.gf-sep { left: 60.11px; top: 8.42px; width: 1.202px; height: 26.448px; background: rgba(255, 255, 255, .15); }
.gf-portal { left: 73.33px; top: 6.01px; width: 21.639px; height: 31.257px; border-radius: 10.82px 10.82px 3.607px 3.607px; border: 1.202px solid rgba(201, 160, 255, .8); background: linear-gradient(180deg, #ff6bf2, #451a99); box-shadow: 0 0 14.426px rgba(191, 102, 255, .8); }
.gf-track { left: 106.99px; top: 14.43px; width: 269.29px; height: 14.43px; border-radius: 7.21px; background: rgba(255, 255, 255, .12); }
.gf-track > .a { position: absolute; }
.gf-bar { left: 0; top: 0; width: 40px; height: 100%; border-radius: 7.21px; background: linear-gradient(90deg, #5c21d6, #9e7aeb); box-shadow: 0 0 19.23px 1.2px var(--accent); }
.gf-flash { left: 0; top: 0; width: 100%; height: 100%; border-radius: 7.21px; background: #fff; opacity: 0; }
.gf-spark { left: 29.47px; top: -3.61px; width: 21.64px; height: 21.64px; border-radius: 50%; background: #fff; box-shadow: 0 0 19.23px #ff4d8d; }
.gf-chest { left: 388.31px; top: 6.01px; width: 36.066px; height: 31.257px; object-fit: contain; border-radius: 7.213px; }
.gf-xp { left: 496px; top: 156px; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--accent); font-weight: 700; font-size: 13px; color: var(--accent); white-space: nowrap; opacity: 0; transform: scale(.6); transform-origin: 0 0; }
.gf-flame { left: 71.3px; top: 311.3px; width: 50.4px; height: 50.4px; object-fit: contain; opacity: 0; }
.gf-cap { font-weight: 600; font-size: 13.5px; color: var(--ink); white-space: nowrap; opacity: 0; }
.gf-bigchest { left: 286.9px; top: 298.3px; width: 123.2px; height: 120.4px; object-fit: contain; opacity: 0; filter: drop-shadow(0 0 22px rgba(191, 51, 242, .6)); }
.gf-party { left: 470.5px; top: 312.5px; display: flex; opacity: 0; }
.gf-party img { width: 52px; height: 52px; border-radius: 26px; border: 3px solid var(--bg); object-fit: cover; margin-right: -12px; }
.gf-party img:last-child { margin-right: 0; }
.gf-rank { left: 619.99px; top: 30.08px; width: 32px; height: 26px; object-fit: contain; transform: rotate(10deg); opacity: 0; }

/* ── Mobile variants of the reveals (Figma "· Mobile" components) ── */
.nh-m { display: none; max-width: 350px; margin: 0 auto; }
.lcm { width: 350px; height: 462px; }
.lcm-pie { left: 48px; top: 16px; width: 254px; height: 254px; }
.lcm-label { opacity: 0; white-space: nowrap; line-height: 1.65; }
.lcm-stat { left: 0; top: 314px; width: 350px; text-align: center; font-weight: 800; font-size: 36px; line-height: 36px; letter-spacing: -.72px; color: var(--accent); opacity: 0; }
.lcm-line { left: 0; top: 390px; width: 350px; text-align: center; font-size: 16px; line-height: 26px; color: var(--ink); opacity: 0; }
.psm { width: 350px; height: 790px; }
.psm-tools { left: 0; top: 24px; width: 350px; height: 322px; }
.psm-tools .ps-glow { left: 64px; top: 0; width: 220px; height: 220px; }
.psm-tools .ps-ring { left: 89px; top: 25px; width: 170px; height: 170px; }
.psm-tools .ps-label { left: 29px; top: 215px; width: 290px; font-size: 17px; line-height: 24px; }
.gfm { width: 350px; height: 420px; border-radius: 22px; }
.gf-party--m img { width: 32.24px; height: 32.24px; border-width: 1.86px; margin-right: -7.44px; }
@media (max-width: 700px) {
	.nh-d { display: none; }
	.nh-m { display: block; }
}

/* ── MISSION ──────────────────────────────────────────── */
.nh-mission { height: 487px; padding: 0; }
.nh-mission + .nh-section { position: relative; }
.nh-mission__bd { position: absolute; left: 0; top: -106.5px; width: 100%; height: 700px; opacity: .26; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); }
.nh-mission__ellipse { position: absolute; left: 50%; top: -76.5px; width: 1220px; height: 640px; transform: translateX(-50%); max-width: none; --m: url(../images/new-homepage/mission-ellipse.svg); }
.nh-mission__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 104px 16px 0; text-align: center; }
.nh-mission__title { font-weight: 800; font-size: 76px; line-height: 78px; letter-spacing: -2.66px; color: var(--ink); max-width: 1000px; }
.nh-mission__title span { color: var(--accent); }
.nh-mission__sub { max-width: 720px; font-size: 20px; line-height: 31px; color: var(--muted); }

/* ── PROOF ────────────────────────────────────────────── */
.nh-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nh-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.nh-stat b { font-weight: 800; font-size: 48px; letter-spacing: -1.2px; line-height: normal; }
.nh-stat span { font-size: 16px; color: var(--muted); }
.nh-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 232px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.nh-quote p { font-weight: 500; font-size: 18px; line-height: 28px; color: var(--ink); }
.nh-quote__by { display: flex; align-items: center; gap: 12px; }
.nh-quote__av { width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: var(--btn-ink); flex-shrink: 0; }
.nh-quote__by b { display: block; font-weight: 700; font-size: 14px; }
.nh-quote__by small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }

/* ── PRICING ──────────────────────────────────────────── */
.nh-pricing .nh-head { gap: 14px; margin-bottom: 48px; }
.nh-pricing .nh-sub { line-height: 29px; }
.nh-plans { display: flex; align-items: center; justify-content: center; gap: 36px; }
.nh-plan { flex: 0 1 376px; display: flex; flex-direction: column; gap: 20px; padding: 32px; min-height: 505px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.nh-plan--best { min-height: 553px; padding-top: 48px; background: var(--pill); border: 1.5px solid var(--accent); box-shadow: 0 20px 60px color-mix(in srgb, var(--btn) 35%, transparent); }
.nh-plan__top { display: flex; align-items: center; gap: 10px; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 1.82px; color: var(--accent); }
.nh-plan__badge { padding: 4px 10px; border-radius: 999px; background: var(--btn); font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0; color: var(--btn-ink); }
.nh-plan__price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.nh-plan__price b { font-weight: 800; font-size: 52px; letter-spacing: -1.56px; line-height: normal; }
.nh-plan__price b.talk { font-size: 40px; letter-spacing: -1.2px; }
.nh-plan__price span { font-size: 15px; color: var(--muted); }
.nh-plan__note { font-size: 15px; line-height: 22px; color: var(--muted); }
.nh-plan .nh-btn { width: 100%; }
.nh-plan__div { height: 1px; background: var(--line); }
.nh-plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nh-plan li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 22px; color: var(--ink); }
.nh-tick { width: 14px; height: 11px; flex-shrink: 0; margin: 0 -1px; background: var(--accent); -webkit-mask: url(../images/new-homepage/check.svg) center / 100% 100% no-repeat; mask: url(../images/new-homepage/check.svg) center / 100% 100% no-repeat; }
.nh-pricing__note { margin-top: 48px; text-align: center; font-size: 15px; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────── */
.nh-faq__list { max-width: 820px; margin: 0 auto; }
.nh-faq__item { border-bottom: 1px solid var(--line); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.nh.js .nh-faq__item:not(.is-in) { opacity: 0; transform: translateY(18px); }
.nh-faq__q { width: 100%; display: flex; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-weight: 700; font-size: 20px; color: var(--ink); }
.nh-faq__q span { flex: 1 0 0; }
.nh-faq__q i { width: 20px; height: 20px; flex-shrink: 0; background: var(--accent); -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.nh-faq__q .plus { --m: url(../images/new-homepage/faq-plus.svg); }
.nh-faq__q .minus { --m: url(../images/new-homepage/faq-minus.svg); }
.nh-faq__q .minus, .nh-faq__item.is-open .nh-faq__q .plus { display: none; }
.nh-faq__item.is-open .nh-faq__q .minus { display: block; }
.nh-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-out); }
.nh-faq__item.is-open .nh-faq__a { grid-template-rows: 1fr; }
.nh-faq__a > div { overflow: hidden; }
.nh-faq__a p { max-width: 740px; padding-bottom: 24px; font-size: 17px; line-height: 27px; color: var(--muted); }

/* ── CTA ──────────────────────────────────────────────── */
.nh-cta__panel { position: relative; max-width: 1200px; height: 420px; margin: 0 auto; border-radius: 32px; background: var(--surface); border: 1.5px solid var(--accent); overflow: hidden; }
.nh-cta__bd { position: absolute; left: -1.5px; top: -61.5px; width: 100%; height: 560px; opacity: .45; }
.nh-cta__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--bg) 35%, transparent), color-mix(in srgb, var(--bg) 92%, transparent)); }
.nh-cta__ellipse { position: absolute; left: 50%; top: -41.5px; width: 940px; height: 500px; transform: translateX(-50%); max-width: none; --m: url(../images/new-homepage/cta-ellipse.svg); }
.nh-cta__chest { position: absolute; right: 36.7px; top: 201.9px; width: 230px; height: 224px; object-fit: contain; transform: rotate(8deg); }
.nh-cta__island { position: absolute; left: 18.5px; top: -11.5px; width: 220px; height: 213px; object-fit: contain; }
.nh-cta__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 89.5px 16px 0; text-align: center; }
.nh-cta__sub { max-width: 600px; font-size: 19px; line-height: 29px; color: var(--muted); }
.nh-cta__micro { font-size: 14px; color: var(--muted); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1279px) {
	.nh-split { flex-direction: column; align-items: stretch; gap: 40px; }
	.nh-split__copy { flex: none; max-width: 600px; }
	.nh-split__media { flex: none; width: 100%; margin: 0 auto; }
	.nh-split--rev .nh-split__copy { order: -1; }
	/* Stacked sections are centred, as in the Figma mobile frame. */
	.nh-split__copy { align-items: center; margin: 0 auto; text-align: center; }
	/* The life chart stacks at the same width, so the sections stay aligned with each other. */
	.nh-story .nh-d { display: none; }
	.nh-story .nh-m { display: block; }
}
@media (max-width: 1099px) {
	.nh-hero { height: auto; }
	.nh-hero__canvas { height: auto; padding: 72px 0 40px; }
	.nh-hero__copy { position: relative; left: 0; top: 0; width: auto; max-width: 640px; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
	.nh-hero__loop { --nh-crop: 1; position: relative; left: 0; right: 0; top: 0; width: auto; max-width: 820px; margin: 24px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
	.nh-hero__fade { top: auto; bottom: 0; }
	.nh-plans { flex-direction: column; align-items: stretch; max-width: 520px; margin: 0 auto; }
	.nh-plan, .nh-plan--best { flex: none; min-height: 0; }
}
@media (max-width: 860px) {
	.nh-section { padding-top: 72px; padding-bottom: 72px; }
	.nh-h2 { font-size: 36px; line-height: 42px; letter-spacing: -.9px; }
	.nh-mission { height: auto; padding-bottom: 72px; }
	.nh-mission__content { padding-top: 72px; }
	.nh-mission__title { font-size: 44px; line-height: 48px; letter-spacing: -1.4px; }
	.nh-cards3 { grid-template-columns: 1fr; }
	.nh-cta__panel { height: auto; padding-bottom: 40px; }
	.nh-cta__content { padding-top: 140px; }
	.nh-cta__island { width: 150px; height: 145px; left: 8px; }
	.nh-cta__chest { width: 150px; height: 146px; right: -30px; top: 8px; }
	.nh-faq__q { font-size: 18px; }
}
/* Closing panel on phones, as in the Figma mobile frame (CTA panel 350 x 546): island tucked into the
   top-left corner, chest tilted at the bottom-right, copy between them and the two buttons stacked. */
@media (max-width: 700px) {
	.nh-cta__panel { height: auto; padding: 112px 24px 132px; border-radius: 24px; }
	.nh-cta__content { gap: 16px; padding: 0; }
	.nh-cta__content .nh-h2 { font-size: 30px; line-height: 34px; letter-spacing: -.75px; }
	.nh-cta__sub { font-size: 16px; line-height: 24px; }
	.nh-cta__content .nh-hero__ctas { flex-direction: column; align-self: stretch; gap: 12px; }
	.nh-cta__content .nh-btn { width: 100%; }
	.nh-cta__micro { font-size: 13px; }
	.nh-cta__island { left: -8px; top: -6px; width: 120px; height: 116px; }
	.nh-cta__chest { left: auto; right: -6px; top: auto; bottom: -4px; width: 132px; height: 129px; transform: rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
	.nh-anim .a, .nh-faq__item, .nh-faq__a, .hl-card .shine, .hl-row .hl-pulse { transition: none !important; animation: none !important; }
}
