:root {
	--bg: #101114;
	--surface: #181a1f;
	--text: #f2f1ef;
	--muted: #b0afb9;
	--line: #35353e;
	--pink: #ed1965;
	--cyan: #24cccd;
	--violet: #b140eb;
	--mint: #63dabc;
	--amber: #ffac08;
	--display: "Baloo 2 500", system-ui, sans-serif;
	--body: "Baloo 2 400", system-ui, sans-serif;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 30px;
}
body {
	margin: 0;
	background:
		radial-gradient(circle at 82% 12%, rgba(28, 218, 234, 0.09), transparent 27rem),
		radial-gradient(circle at 10% 32%, rgba(236, 22, 99, 0.08), transparent 25rem),
		linear-gradient(to bottom, var(--bg), #090a0d);
	background-attachment: fixed;
	color: var(--text);
	font: 18px/1.55 var(--body);
	-webkit-font-smoothing: antialiased;
}
a {
	color: inherit;
	text-decoration: none;
}
a:focus-visible {
	outline: 3px solid var(--mint);
	outline-offset: 5px;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
h1,
h2,
h3,
p {
	margin: 0;
}
h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 500;
}
::selection {
	background: var(--pink);
	color: white;
}
.shell {
	width: min(1200px, calc(100% - 64px));
	margin-inline: auto;
}
.skip-link {
	position: fixed;
	z-index: 100;
	top: 12px;
	left: 12px;
	padding: 10px 20px;
	background: var(--mint);
	color: var(--bg);
	transform: translateY(-160%);
}
.skip-link:focus {
	transform: none;
}
.pink {
	color: var(--pink);
}
.cyan-text {
	color: var(--cyan);
}
.site-header {
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}
.section-jumps {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	padding-block: 22px;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
}
.section-jumps > span { color: var(--muted); }
.section-jumps a:hover { color: var(--mint); }
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 92px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font: 500 29px/1 var(--display);
	white-space: nowrap;
}
.brand img {
	width: 56px;
	height: 56px;
}
.brand strong,
.footer-brand strong {
	color: var(--pink);
	font-weight: 500;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 27px;
}
.nav-links a {
	padding-block: 12px;
	color: var(--muted);
	font-size: 16px;
}
.nav-links a:hover,
.footer-links a:hover {
	color: var(--mint);
}
.nav-contact {
	padding: 10px 17px;
	border: 1px solid var(--line);
	border-radius: 8px; corner-shape: squircle;
	font-size: 16px;
	white-space: nowrap;
}
.nav-contact:hover {
	border-color: var(--pink);
}
.nav-contact span {
	margin-left: 14px;
	color: var(--pink);
}
.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}
.signal-dot {
	display: inline-block;
	flex: 0 0 7px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mint);
}
.hero {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	column-gap: 42px;
	align-items: center;
	padding-top: 80px;
}
.hero h1 {
	margin-top: 27px;
	font-size: clamp(48px, 5.25vw, 75px);
	line-height: 1.08;
	letter-spacing: -0.045em;
}
.hero h1 > span:not(.pink) {
	color: var(--cyan);
}
.hero-lead {
	max-width: 480px;
	margin-top: 27px;
	color: var(--muted);
	font-size: 21px;
	line-height: 1.5;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 25px;
	margin-top: 34px;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 7px; corner-shape: squircle;
	font-size: 16px;
}
.button-primary {
	background: var(--pink);
	color: white;
}
.button-primary:hover {
	background: #d30e53;
}
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	font-size: 16px;
}
.text-link span {
	color: var(--accent, var(--cyan));
}
.text-link:hover {
	color: var(--mint);
}
/* Diamond lattice shared by the home illustration and the tools category map. */
.hero-art,
.catalog-map {
	background-image:
		linear-gradient(to bottom, transparent, rgba(8, 8, 14, 0.20)),
		url("content/brand-dots.svg"),
		linear-gradient(155deg, #25252c, #1e1e25);
	background-size: auto, 256px 256px, auto;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.hero-art::before,
.catalog-map::before {
	content: "";
	position: absolute;
	inset: -1px;
	padding: 3px;
	border-radius: inherit; corner-shape: squircle;
	background: linear-gradient(135deg, var(--pink), var(--violet) 55%, #7819bd);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
}
.hero-art {
	position: relative;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 22px 22px 80px 22px;
	corner-shape: squircle;
}
.art-label {
	position: relative;
	color: var(--muted);
	background: transparent;
	font-size: 12px;
	padding-right: 8px;
}
.play-grid {
	position: relative;
	height: 350px;
}
.tile {
	position: absolute;
	width: 52px;
	height: 52px;
	border-radius: 12px; corner-shape: squircle;
	background: currentColor;
	transform: rotate(-8deg);
}
.outline {
	border: 3px solid currentColor;
	background: var(--bg);
}
.outline::after {
	content: "";
	position: absolute;
	left: calc(50% - 3px);
	top: calc(50% - 3px);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.violet {
	color: var(--violet);
}
.amber {
	color: var(--amber);
}
.cyan {
	color: var(--cyan);
}
.mint {
	color: var(--mint);
}
.pink-bg {
	color: var(--pink);
}
.t1 {
	top: 35px;
	left: 12px;
}
.t2 {
	top: 18px;
	left: 90px;
	transform: rotate(10deg);
}
.t3 {
	top: 80px;
	right: 15px;
	transform: rotate(15deg);
}
.t4 {
	top: 9px;
	right: 25px;
	transform: rotate(35deg);
}
.t5 {
	bottom: 25px;
	right: 0;
	transform: rotate(12deg);
}
.t6 {
	bottom: 10px;
	right: 76px;
}
.t7 {
	bottom: 0;
	right: 150px;
	transform: rotate(7deg);
}
.t8 {
	bottom: 17px;
	left: 30px;
	transform: rotate(25deg);
}
.t9 {
	top: 135px;
	left: 2px;
	width: 24px;
	height: 24px;
	border-radius: 6px; corner-shape: squircle;
}
.t10 {
	top: 185px;
	right: 2px;
	width: 29px;
	height: 29px;
	border-radius: 7px; corner-shape: squircle;
}
.hero-mascot {
	position: absolute;
	top: 50px;
	left: 50%;
	width: 275px;
	height: 275px;
	object-fit: contain;
	transform: translateX(-50%) rotate(-8deg);
	filter: drop-shadow(0 16px 18px #0005);
}
.art-caption {
	display: flex;
	gap: 18px;
	align-items: baseline;
	margin-top: 20px;
	padding: 12px 0 0;
	border-top: 1px solid var(--line);
}
.art-caption span:first-child {
	color: var(--cyan);
	font: 500 30px/1 var(--display);
	letter-spacing: -0.04em;
}
.art-caption span:last-child {
	color: var(--muted);
	font-size: 13px;
}
.hero-bottom {
	grid-column: 1/-1;
	display: flex;
	justify-content: space-between;
	gap: 15px;
	margin-top: 72px;
	padding-block: 21px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}
.section {
	padding-block: 95px;
}
.section + .section {
	border-top: 1px solid var(--line);
}
.section-heading {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: end;
	gap: 60px;
	margin-bottom: 36px;
}
h2 {
	margin-top: 18px;
	font-size: clamp(35px, 4.2vw, 54px);
	line-height: 1.12;
	letter-spacing: -0.035em;
}
.section-heading > p,
.section-intro > p {
	max-width: 400px;
	color: var(--muted);
	font-size: 19px;
}
.section-intro .text-link {
	margin-top: 14px;
}
.game-feature {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	min-height: 330px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 48px;
	corner-shape: squircle;
	background: var(--surface);
}
.game-visual {
	min-width: 0;
	background: #151519;
}
.game-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.game-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 38px;
	border-left: 1px solid var(--line);
}
.home-feature .feature-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
}
.home-feature .feature-visual img {
	height: auto;
	max-height: 480px;
	object-fit: contain;
}
.architecture-visual {
	padding: 24px;
}
.home-feature .game-copy > .text-link {
	margin-top: 22px;
}
@media (min-width: 1001px) {
	.feature-reversed {
		grid-template-columns: 1fr 1.5fr;
	}
	.feature-reversed .game-visual {
		grid-column: 2;
		grid-row: 1;
	}
	.feature-reversed .game-copy {
		grid-column: 1;
		grid-row: 1;
		border-left: 0;
		border-right: 1px solid var(--line);
	}
}
@media (max-width: 700px) {
	.home-feature .feature-visual {
		min-height: 0;
	}
}
.status {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--mint);
	font-size: 13px;
}
.game-copy h3 {
	margin-top: 22px;
	font-size: 34px;
	line-height: 1.2;
	letter-spacing: -0.03em;
}
.game-copy > p:not(.status) {
	margin-top: 18px;
	color: var(--muted);
}
.quiet-note {
	color: var(--muted);
	font-size: 14px;
}
.game-copy .quiet-note {
	margin-top: 25px;
}
.tools-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 25px;
}
.tool-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 40px;
	corner-shape: squircle;
	background: var(--surface);
	transition: border-color 160ms ease;
}
.tool-card:hover {
	border-color: var(--accent);
}
.tool-cyan {
	--accent: var(--cyan);
}
.tool-pink {
	--accent: var(--pink);
}
.tool-violet {
	--accent: var(--violet);
}
.tool-mint {
	--accent: var(--mint);
}
.tool-cover {
	width: 100%;
	aspect-ratio: 3/2;
	object-fit: contain;
	background: #18181c;
	border-bottom: 1px solid var(--line);
}
.tool-content {
	padding: 27px 30px 24px;
}
.card-label {
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.tool-content h3 {
	margin-top: 12px;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.2;
	letter-spacing: -0.025em;
}
.tool-content h3 span {
	color: var(--accent);
}
.tool-content > p:not(.card-label) {
	margin-top: 16px;
	color: var(--muted);
	max-width: 440px;
}
.tool-content .text-link {
	margin-top: 19px;
}
.tools-note {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 28px 0 0;
}
.small-mark {
	color: var(--cyan);
	font: 500 45px/1 var(--display);
}
.tools-note p {
	font-size: 17px;
}
.tools-note p span {
	color: var(--muted);
	font-size: 15px;
}
.learning-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 25px;
}
.learning-card {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 40px;
	corner-shape: squircle;
}
.journal-card {
	background: linear-gradient(140deg, #ed196509, transparent 70%), var(--surface);
}
.courses-card {
	background: linear-gradient(140deg, #b140eb0b, transparent 70%), var(--surface);
}
.card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
.coming-label {
	color: var(--muted);
	border: 1px solid #50505d;
	border-radius: 20px; corner-shape: squircle;
	padding: 3px 11px;
	font-size: 12px;
}
.learning-symbol {
	display: block;
	margin-top: 37px;
	color: var(--pink);
	font: 500 75px/1 var(--display);
	letter-spacing: -0.06em;
}
.learning-symbol > span {
	display: inline-block;
	margin-left: 8px;
	color: var(--muted);
	font-size: 35px;
	vertical-align: top;
}
.courses-card .learning-symbol {
	color: var(--violet);
}
.courses-card .learning-symbol > span {
	color: var(--mint);
	margin-inline: 8px;
	vertical-align: middle;
}
.learning-card h3 {
	margin-top: 22px;
	font-size: 31px;
	line-height: 1.2;
	letter-spacing: -0.025em;
}
.learning-card > p {
	margin-top: 18px;
	color: var(--muted);
}
.topic-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 27px;
}
.topic-list span {
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 5px; corner-shape: squircle;
	color: var(--muted);
	font-size: 12px;
}
.courses-card .quiet-note {
	margin-top: 30px;
}
.about-section {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 65px;
}
.about-copy .opening {
	font-size: 23px;
	line-height: 1.45;
}
.about-copy > p + p {
	margin-top: 22px;
	color: var(--muted);
}
.about-copy .text-link {
	margin-top: 21px;
}
.site-footer {
	border-top: 1px solid var(--line);
	background: #141418;
}
.footer-main {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 35px;
	padding-block: 65px;
}
.footer-title {
	display: inline-block;
	margin-top: 14px;
	font: 500 clamp(40px, 6vw, 70px) / 1.15 var(--display);
	letter-spacing: -0.04em;
}
.footer-title:hover {
	color: var(--mint);
}
.footer-links {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--muted);
	font-size: 16px;
}
.footer-links a {
	padding-block: 5px;
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 25px;
	padding-block: 23px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}
.footer-brand {
	color: var(--text);
	font: 500 23px/1.3 var(--display);
}
@media (max-width: 1000px) {
	.game-feature {
		grid-template-columns: 1fr;
	}
	.game-visual img {
		height: auto;
	}
	.game-copy {
		border-left: 0;
		border-top: 1px solid var(--line);
	}
	.shell {
		width: calc(100% - 48px);
	}
	.site-nav {
		flex-wrap: wrap;
		gap: 0 24px;
		padding-top: 14px;
	}
	.nav-links {
		order: 3;
		width: 100%;
		justify-content: center;
		gap: 32px;
		padding-block: 5px;
	}
	.hero {
		column-gap: 25px;
		padding-top: 55px;
	}
	.hero h1 {
		font-size: clamp(42px, 5.5vw, 60px);
	}
	.hero-lead {
		font-size: 19px;
	}
	.hero-art {
		padding: 15px;
	}
	.art-label {
		font-size: 11px;
	}
	.play-grid {
		height: 300px;
	}
	.hero-mascot {
		width: 225px;
		height: 225px;
		top: 50px;
	}
	.tile {
		width: 40px;
		height: 40px;
		border-radius: 9px; corner-shape: squircle;
	}
	.t7 {
		right: 120px;
	}
	.t6 {
		right: 60px;
	}
	.t8 {
		left: 10px;
	}
	.section-heading {
		gap: 35px;
	}
	.game-copy {
		padding: 28px;
	}
	.about-section {
		gap: 35px;
	}
	.learning-card {
		padding: 26px;
	}
}
@media (max-width: 700px) {
	.shell {
		width: calc(100% - 36px);
	}
	.site-nav {
		min-height: 80px;
	}
	.brand {
		font-size: 25px;
	}
	.brand img {
		width: 46px;
		height: 46px;
	}
	.nav-contact {
		padding: 9px 12px;
		font-size: 14px;
	}
	.nav-contact span {
		margin-left: 7px;
	}
	.nav-links {
		gap: 0;
		justify-content: space-between;
		padding-block: 7px 9px;
	}
	.nav-links a {
		font-size: 14px;
		padding-block: 9px;
	}
	.hero {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-top: 43px;
	}
	.hero h1 {
		font-size: clamp(40px, 8.6vw, 59px);
	}
	.hero-lead {
		max-width: 460px;
		font-size: 19px;
	}
	.actions {
		gap: 10px 22px;
		margin-top: 26px;
	}
	.hero-art {
		width: 100%;
		max-width: 440px;
		justify-self: center;
		padding: 20px;
	}
	.play-grid {
		height: 285px;
	}
	.hero-mascot {
		top: 24px;
		width: 250px;
		height: 250px;
	}
	.t1 {
		top: 15px;
	}
	.t2 {
		top: 0;
	}
	.t4 {
		top: 0;
	}
	.t3 {
		top: 58px;
	}
	.art-caption {
		margin-top: 10px;
	}
	.hero-bottom {
		margin-top: 0;
		flex-direction: column;
		gap: 6px;
		padding-block: 18px;
		font-size: 12px;
	}
	.section {
		padding-block: 60px;
	}
	.section-heading {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 27px;
	}
	h2 {
		font-size: clamp(34px, 7vw, 45px);
	}
	.section-heading > p,
	.section-intro > p {
		font-size: 18px;
		max-width: none;
	}
	.game-feature {
		grid-template-columns: 1fr;
	}
	.game-visual img {
		height: auto;
	}
	.game-copy {
		padding: 28px;
		border-left: 0;
		border-top: 1px solid var(--line);
	}
	.game-copy h3 {
		font-size: 30px;
		margin-top: 17px;
	}
	.tools-grid,
	.learning-grid,
	.about-section {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.tool-content {
		padding: 24px;
	}
	.tool-content h3 {
		font-size: 32px;
	}
	.tool-content > p:not(.card-label) {
		max-width: none;
	}
	.tools-note {
		gap: 18px;
	}
	.tools-note p {
		font-size: 16px;
	}
	.tools-note p span {
		font-size: 14px;
	}
	.learning-card {
		padding: 26px;
	}
	.learning-symbol {
		margin-top: 30px;
	}
	.about-copy .opening {
		font-size: 22px;
	}
	.footer-main {
		align-items: flex-start;
		flex-direction: column;
		gap: 30px;
		padding-block: 48px;
	}
	.footer-links {
		gap: 8px;
	}
	.footer-bottom > span:last-child {
		margin-left: auto;
	}
	.footer-bottom > span:nth-child(2) {
		display: none;
	}
}
@media (max-width: 380px) {
	.nav-links {
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 18px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

/* Preserve brand spelling inside uppercase labels. */
.eyebrow .brand-name { text-transform: none; }
