/* KombatRO — shared styles for index, registro, jogar */
:root {
	--bg: #eef0f1; /* cool stone */
	--surface: #dfe4e8;
	--ink: #13284b; /* navy, from the logo outline */
	--muted: #3d5070;
	--accent: #f2b632; /* the logo's gold */
	--accent-ink: #13284b;
	--sky: #8cc8ef; /* Prontera sky */
	--sky-ink: #0f2346;
	--field-navy: #13284b;
	--field-navy-ink: #eef0f1;
	--field-navy-muted: #b9c6dc;
	--ok: #1f7a3d;
	--bad: #a3271f;

	--font-display: 'Fraunces', Georgia, serif;
	--font-text: 'Switzer', system-ui, sans-serif;

	--step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
	--step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
	--step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
	--step-mega: clamp(5.5rem, 26vw, 25rem);

	--margin: clamp(16px, 2.6vw, 40px);
	--gap: clamp(12px, 1.6vw, 24px);
	--section: clamp(96px, 13vw, 200px);
	--radius: 0;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: var(--step-body);
	line-height: 1.55;
	font-kerning: normal;
	overflow-x: clip;
}
img,
video {
	display: block;
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
}
h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 800;
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0;
	text-wrap: balance;
}
p {
	margin: 0;
	text-wrap: pretty;
}
::selection {
	background: var(--accent);
	color: var(--accent-ink);
}
:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip {
	position: absolute;
	left: var(--margin);
	top: -60px;
	background: var(--ink);
	color: var(--bg);
	padding: 10px 16px;
	z-index: 50;
}
.skip:focus {
	top: 12px;
}

.wrap {
	padding-inline: var(--margin);
}
.grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
}

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font: 700 var(--step-body) / 1 var(--font-text);
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.18s var(--ease-out),
		background-color 0.18s;
}
.btn:hover {
	background: #ffc94d;
	transform: translateY(-2px);
}
.btn:active {
	transform: translateY(1px) scale(0.98);
}
.btn--ink {
	background: var(--ink);
	color: var(--bg);
}
.btn--ink:hover {
	background: #1d3a6a;
}
.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}
.link {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	transition: text-underline-offset 0.18s;
}
.link:hover {
	text-underline-offset: 8px;
}

/* ---------- top bar ---------- */
.bar {
	position: absolute;
	inset: 0 0 auto;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px var(--margin);
	font-size: var(--step-small);
	font-weight: 700;
}
.bar__home {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-size: var(--step-body);
}
.bar__home img {
	width: 56px;
	height: auto;
}
.bar nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.2vw, 32px);
}
.bar nav a:not(.btn) {
	text-decoration: none;
	padding: 6px 0;
	position: relative;
}
.bar nav a:not(.btn)::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease-out);
}
.bar nav a:not(.btn):hover::after,
.bar nav a[aria-current='page']::after {
	transform: none;
}
.bar .btn {
	min-height: 44px;
	padding: 0 20px;
	font-size: var(--step-small);
}

/* ---------- hero (index): the Prontera flight fills the screen ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	grid-template-rows: 1fr auto;
	color: #fff;
	background: #0f1d38;
	overflow: hidden;
	isolation: isolate;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}
.hero__media video {
	position: absolute;
	left: 0;
	top: -6%;
	width: 100%;
	height: 112%;
	object-fit: cover;
	will-change: transform;
}
.hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 16, 34, 0.5) 0%, rgba(8, 16, 34, 0) 24%, rgba(8, 16, 34, 0) 52%, rgba(8, 16, 34, 0.78) 100%); /* taste-skill-ignore: neutral scrim under text on footage */
}
.hero .bar {
	color: #fff;
}
.hero__top {
	padding: clamp(96px, 14vh, 150px) var(--margin) 0;
	display: grid;
	place-items: center;
}
.hero h1 {
	margin: 0;
	width: 100%;
	display: grid;
	place-items: center;
}
.hero__mark {
	display: block;
	width: min(100%, 64vw, 1000px);
	overflow: hidden; /* mask for the rising logo */
	padding-top: 2%;
}
.hero__mark img {
	width: 100%;
	height: auto;
}
.hero__foot {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 24px;
	align-items: end;
	padding: 32px var(--margin) clamp(28px, 5vh, 48px);
}
.hero__lead {
	grid-column: 1 / span 6;
	font-size: var(--step-lead);
	line-height: 1.35;
	font-weight: 600;
	max-width: 30ch;
}
.hero__actions {
	grid-column: 8 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 14px 28px;
}

/* ---------- intro: text beside the plaza ---------- */
.intro {
	padding-block: var(--section);
	row-gap: 48px;
	align-items: start;
}
.intro__text {
	grid-column: 1 / span 5;
	display: grid;
	gap: 1.1em;
}
.intro__text h2 {
	font-size: var(--step-head);
	margin-bottom: 0.3em;
}
.intro__text p:first-of-type {
	font-weight: 700;
}
.intro__figure {
	grid-column: 7 / -1;
	margin: 0;
	position: sticky;
	top: 32px;
}
figcaption {
	font-size: var(--step-small);
	color: var(--muted);
	margin-top: 12px;
}

/* ---------- features: one-size name columns ---------- */
.features {
	padding-block: calc(var(--section) * 0.4) var(--section);
	position: relative;
}
.features h2 {
	font-size: var(--step-head);
	grid-column: 1 / -1;
	margin-bottom: clamp(48px, 7vw, 96px);
}
.features__col {
	grid-column: span 3;
}
.features__col h3 {
	font-family: var(--font-text);
	font-weight: 800;
	font-size: var(--step-body);
	letter-spacing: 0;
	margin-bottom: 1em;
}
.features__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--step-lead);
	line-height: 1.3;
}
.features__col li button {
	all: unset;
	cursor: default;
	color: var(--muted);
	font-family: var(--font-display);
	font-weight: 700;
	font-variation-settings: 'SOFT' 100;
	transition:
		color 0.15s,
		transform 0.2s var(--ease-out);
	display: inline-block;
	padding: 3px 0;
}
.features__col li button:hover,
.features__col li button:focus-visible,
.features__col li button[aria-pressed='true'] {
	color: var(--ink);
	transform: translateX(6px);
}
.features__col .sum {
	display: none;
	font-size: var(--step-body);
	color: var(--muted);
	margin-top: 14px;
}
.features__desc {
	grid-column: 10 / -1;
	grid-row: 2;
	align-self: start;
	background: var(--surface);
	padding: 24px;
	min-height: 220px;
}
.features__desc strong {
	display: block;
	font-family: var(--font-display);
	font-size: var(--step-lead);
	line-height: 1.15;
	margin-bottom: 10px;
}

/* ---------- showcase: the mode picker ---------- */
.modes {
	padding-block: calc(var(--section) * 0.5);
}
.modes > h2 {
	font-size: var(--step-head);
	margin-bottom: clamp(28px, 4vw, 48px);
}
.modes__picker {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: clamp(8px, 1vw, 16px);
	margin-bottom: clamp(32px, 4vw, 56px);
}
.modes__picker button {
	all: unset;
	cursor: pointer;
	display: grid;
	gap: 10px;
	align-content: start;
	font-weight: 700;
	font-size: var(--step-body);
	color: var(--muted);
	transition: color 0.15s;
}
.modes__picker img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	opacity: 0.55;
	filter: saturate(0.7);
	transition:
		opacity 0.25s,
		filter 0.25s,
		transform 0.3s var(--ease-out);
}
.modes__picker span {
	position: relative;
	padding-bottom: 6px;
	width: fit-content;
}
.modes__picker span::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease-out);
}
.modes__picker button:hover {
	color: var(--ink);
}
.modes__picker button:hover img {
	opacity: 0.85;
	filter: none;
	transform: translateY(-4px);
}
.modes__picker button[aria-selected='true'] {
	color: var(--ink);
}
.modes__picker button[aria-selected='true'] img {
	opacity: 1;
	filter: none;
	transform: translateY(-4px);
}
.modes__picker button[aria-selected='true'] span::after {
	transform: none;
}
.modes__picker button:focus-visible img {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}
.modes__stage {
	align-items: center;
	row-gap: 32px;
}
.modes__figure {
	grid-column: 1 / span 7;
	margin: 0;
	overflow: hidden;
	background: var(--surface);
}
.modes__figure img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition:
		opacity 0.3s,
		transform 0.6s var(--ease-out);
}
.modes__figure img.is-swapping {
	opacity: 0;
	transform: scale(1.03);
}
.modes__body {
	grid-column: 9 / -1;
}
.modes__body h3 {
	font-size: var(--step-head);
	margin-bottom: 24px;
}
.modes__body p {
	max-width: 40ch;
	font-size: var(--step-lead);
	line-height: 1.4;
}
.modes__facts {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 8px clamp(24px, 3vw, 48px);
	margin: 28px 0 36px;
}
.modes__facts dt {
	font-size: var(--step-small);
	color: var(--muted);
}
.modes__facts dd {
	margin: 0;
	font-weight: 800;
	font-size: var(--step-body);
}
.modes__cells {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.modes__cells a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 0 20px;
	text-decoration: none;
	font-weight: 800;
	font-size: var(--step-body);
	transition:
		transform 0.18s var(--ease-out),
		background-color 0.18s;
}
.modes__cells a:first-child {
	background: var(--accent);
	color: var(--accent-ink);
}
.modes__cells a:last-child {
	background: var(--surface);
	color: var(--ink);
}
.modes__cells a:hover {
	transform: translateY(-3px);
}
.modes__cells svg {
	width: 22px;
	height: 22px;
	flex: none;
	transition: transform 0.2s var(--ease-out);
}
.modes__cells a:hover svg {
	transform: translate(3px, -3px);
}

/* ---------- world: the city strip ---------- */
.world {
	padding-block: var(--section);
	overflow: hidden;
}
.world__head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 20px;
	align-items: end;
	margin-bottom: 48px;
}
.world__head h2 {
	grid-column: 1 / span 10;
	font-size: var(--step-head);
}
.world__head p {
	grid-column: 1 / span 5;
	grid-row: 2;
}
.world__nav {
	grid-column: 10 / -1;
	grid-row: 2;
	justify-self: end;
	display: flex;
	gap: 10px;
}
.world__nav button {
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--bg);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition:
		transform 0.18s var(--ease-out),
		background-color 0.18s;
}
.world__nav button:hover {
	background: #1d3a6a;
	transform: scale(1.06);
}
.world__nav button:active {
	transform: scale(0.95);
}
.world__nav svg {
	width: 24px;
	height: 24px;
}
.world__strip {
	list-style: none;
	margin: 0;
	padding: 0 var(--margin) 8px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(62vw, 880px);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--margin);
	scrollbar-width: none;
}
.world__strip::-webkit-scrollbar {
	display: none;
}
.world__strip:focus-visible {
	outline-offset: -3px;
}
.world__strip li {
	scroll-snap-align: start;
}
.world__strip figure {
	margin: 0;
	overflow: hidden;
}
.world__strip img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.8s var(--ease-out);
}
.world__strip li:hover img {
	transform: scale(1.035);
}
.world__strip figcaption {
	font-size: var(--step-body);
	color: var(--ink);
	margin-top: 14px;
}
.world__strip figcaption strong {
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: 800;
	margin-right: 10px;
}

/* ---------- how it works: the slip ---------- */
.how {
	padding-block: var(--section);
	row-gap: 48px;
	align-items: start;
}
.how__head {
	grid-column: 1 / span 5;
	display: grid;
	gap: 24px;
}
.how__head h2 {
	font-size: var(--step-head);
}
.how__head p {
	max-width: 32ch;
}
.how__head img {
	margin-top: 16px;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.slip {
	grid-column: 7 / span 5;
	position: sticky;
	top: 40px;
	background: #fff;
	color: var(--ink);
	padding: 36px 32px 64px;
	font-variant-numeric: tabular-nums;
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - 14px),
		95% 100%,
		90% calc(100% - 14px),
		85% 100%,
		80% calc(100% - 14px),
		75% 100%,
		70% calc(100% - 14px),
		65% 100%,
		60% calc(100% - 14px),
		55% 100%,
		50% calc(100% - 14px),
		45% 100%,
		40% calc(100% - 14px),
		35% 100%,
		30% calc(100% - 14px),
		25% 100%,
		20% calc(100% - 14px),
		15% 100%,
		10% calc(100% - 14px),
		5% 100%,
		0 calc(100% - 14px)
	);
}
.slip__title {
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: 800;
	margin-bottom: 4px;
}
.slip h3 {
	font-family: var(--font-text);
	font-size: var(--step-body);
	font-weight: 800;
	letter-spacing: 0;
	margin: 28px 0 10px;
}
.slip ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.slip li {
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.slip li span:first-child {
	flex: 0 1 auto;
}
.slip li i {
	flex: 1 1 24px;
	min-width: 24px;
	height: 4px;
	background-image: radial-gradient(circle, var(--muted) 1.6px, transparent 2px); /* taste-skill-ignore: dotted leader from the slip blueprint */
	background-size: 9px 4px;
	background-repeat: repeat-x;
	transform: translateY(-3px);
}
.slip li span:last-child {
	flex: 0 0 auto;
	font-weight: 700;
}
.slip__total {
	margin: 32px -32px 0;
	padding: 0 32px;
	min-height: 52px;
	background: var(--ink);
	color: var(--bg);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-weight: 800;
}

/* ---------- faq ---------- */
.faq {
	padding-block: var(--section);
}
.faq h2 {
	grid-column: 1 / -1;
	font-size: clamp(2.5rem, 1rem + 5.2vw, 5.75rem);
	max-width: 16ch;
	margin-bottom: 80px;
}
.faq__list {
	grid-column: 5 / -1;
	display: grid;
	gap: 12px;
}
.faq details {
	padding: 12px 24px;
	margin-inline: calc(-1 * min(24px, var(--margin)));
	transition: background-color 0.2s;
}
.faq details[open] {
	background: var(--surface);
	padding-bottom: 28px;
}
.faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	font-size: var(--step-lead);
	font-weight: 600;
	padding: 12px 0;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '';
	flex: none;
	width: 12px;
	height: 12px;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: translateY(-4px) rotate(45deg);
	transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after {
	transform: translateY(2px) rotate(225deg);
}
.faq summary:hover {
	color: #2a5ca8;
}
.faq details p {
	max-width: 52ch;
	padding-top: 6px;
}

/* ---------- closing: castle + words ---------- */
.close {
	padding-block: calc(var(--section) * 0.5) var(--section);
	align-items: center;
	row-gap: 32px;
}
.close__figure {
	grid-column: 1 / span 7;
	margin: 0;
	overflow: hidden;
}
.close__figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}
.close__figure:hover img {
	transform: scale(1.03);
}
.close__text {
	grid-column: 9 / -1;
	display: grid;
	gap: 22px;
}
.close__text h2 {
	font-size: var(--step-head);
}
.close__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin-top: 8px;
}

/* ---------- footer ---------- */
.foot {
	background: var(--surface);
	color: var(--ink);
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: 28px;
}
.foot__grid {
	row-gap: 36px;
	align-items: start;
}
.foot__mark {
	grid-column: 1 / span 4;
	display: block;
	max-width: 360px;
}
.foot__mark img {
	width: 100%;
}
.foot__col {
	grid-column: span 2;
	font-size: var(--step-small);
	line-height: 1.7;
}
.foot__col:nth-of-type(2) {
	grid-column: 7 / span 2;
}
.foot__col h2 {
	font-family: var(--font-text);
	font-size: var(--step-body);
	font-weight: 800;
	letter-spacing: 0;
	margin-bottom: 8px;
}
.foot__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--muted);
}
.foot__col p {
	color: var(--muted);
}
.foot__col a {
	text-decoration: none;
}
.foot__col a:hover {
	color: #2a5ca8;
	text-decoration: underline;
}
.foot__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: clamp(40px, 5vw, 64px);
	font-size: var(--step-small);
	color: var(--muted);
}

/* status dot (footer, jogar) */
.dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #8a96aa;
	margin-right: 8px;
	vertical-align: 0.05em;
}
.dot {
	position: relative;
}
.dot.is-on {
	background: #3fcf6e;
}
.dot.is-on::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #3fcf6e;
	animation: pulse 2.2s infinite;
}
.dot.is-off {
	background: #e0533f;
}
@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}
	70%,
	100% {
		transform: scale(2.6);
		opacity: 0;
	}
}

/* ---------- inner pages (registro, jogar) ---------- */
.page {
	min-height: 100svh;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.page__main {
	position: relative;
	padding: clamp(110px, 14vh, 150px) var(--margin) 64px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.page__main h1 {
	font-size: clamp(2.75rem, 1rem + 5.2vw, 5.75rem);
}
.page__intro {
	font-size: var(--step-lead);
	line-height: 1.4;
	max-width: 34ch;
}
.page__art {
	position: sticky;
	top: 0;
	height: 100svh;
	margin: 0;
	overflow: hidden;
	background: var(--sky);
	display: grid;
	grid-template-rows: repeat(4, minmax(0, 1fr));
}
.page__art > span {
	display: block;
	overflow: hidden;
}
.page__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: drift 26s ease-in-out infinite alternate;
}
.page__art > span:nth-child(2) img {
	animation-delay: -9s;
}
.page__art > span:nth-child(3) img {
	animation-delay: -17s;
}
.page__art figcaption {
	position: absolute;
	right: var(--margin);
	bottom: 20px;
	margin: 0;
	padding: 8px 12px;
	background: var(--bg);
	color: var(--ink);
}
@keyframes drift {
	from {
		transform: scale(1.04) translate(0, 0);
	}
	to {
		transform: scale(1.12) translate(-2%, -1.5%);
	}
}

/* form */
.form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 20px;
	max-width: 620px;
}
.field {
	display: grid;
	gap: 8px;
	align-content: start;
}
.field--wide {
	grid-column: 1 / -1;
}
.field label,
.field legend {
	font-weight: 800;
	font-size: var(--step-small);
	padding: 0;
}
.field input[type='text'],
.field input[type='password'],
.field input[type='email'],
.field input[type='date'] {
	width: 100%;
	min-height: 54px;
	padding: 0 16px;
	font: 600 var(--step-body) var(--font-text);
	color: var(--ink);
	background: #fff;
	border: 2px solid #b4bfcc;
	border-radius: 0;
	transition: border-color 0.15s;
}
.field input:hover {
	border-color: var(--muted);
}
.field input:focus {
	outline: none;
	border-color: var(--ink);
}
.field input[aria-invalid='true'] {
	border-color: var(--bad);
}
.field .hint {
	font-size: 1rem;
	color: var(--muted);
	min-height: 1.5em;
}
.field .hint.is-bad {
	color: var(--bad);
	font-weight: 700;
}
.field .hint.is-ok {
	color: var(--ok);
	font-weight: 700;
}
fieldset.field {
	border: 0;
	margin: 0;
	padding: 0;
}
.choice {
	display: flex;
	gap: 10px;
}
.choice label {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	background: var(--surface);
	font-weight: 700;
	font-size: var(--step-body);
	cursor: pointer;
	transition:
		background-color 0.15s,
		color 0.15s;
}
.choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.choice input:checked + label {
	background: var(--ink);
	color: var(--bg);
}
.choice input:focus-visible + label {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}
.pw {
	position: relative;
}
.pw button {
	position: absolute;
	right: 6px;
	top: 6px;
	bottom: 6px;
	padding: 0 12px;
	border: 0;
	background: var(--surface);
	color: var(--ink);
	font: 700 var(--step-small) var(--font-text);
	cursor: pointer;
}
.hp {
	position: absolute;
	left: -10000px;
}
.form__foot {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
}
.alert {
	grid-column: 1 / -1;
	padding: 16px 20px;
	font-weight: 700;
	background: #f6d8d2;
	color: #6d1a12;
}
.alert[hidden] {
	display: none;
}
.done {
	background: var(--surface);
	padding: 32px;
	max-width: 620px;
	display: grid;
	gap: 18px;
}
.done h2 {
	font-size: var(--step-head);
}
.done[hidden] {
	display: none;
}

/* jogar */
.status {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	max-width: 620px;
}
.status > div {
	background: var(--surface);
	padding: 18px 20px;
	display: grid;
	gap: 4px;
}
.status dt {
	font-size: var(--step-small);
	color: var(--muted);
	font-weight: 700;
}
.status dd {
	margin: 0;
	font-weight: 800;
	font-size: var(--step-lead);
	font-family: var(--font-display);
}
.status .big {
	grid-column: 1 / -1;
	background: var(--ink);
	color: var(--bg);
}
.status .big dt {
	color: var(--field-navy-muted);
}
.steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: s;
	display: grid;
	gap: 14px;
	max-width: 58ch;
}
.steps li {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 14px;
	align-items: baseline;
}
.steps li::before {
	counter-increment: s;
	content: counter(s);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: var(--step-lead);
	line-height: 1;
	color: #2a5ca8;
}
.check {
	font-size: var(--step-small);
	color: var(--muted);
}
.check strong {
	color: var(--ink);
}

/* ---------- motion ---------- */
.rise {
	display: block;
}
.js .hero__mark img {
	transform: translateY(105%);
	animation: rise 1s var(--ease-out) 0.1s forwards;
}
.js .hero__lead,
.js .hero__actions {
	opacity: 0;
	animation: fadeup 0.7s var(--ease-out) 0.75s forwards;
}
@keyframes rise {
	to {
		transform: none;
	}
}
@keyframes fadeup {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.js [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s var(--ease-out),
		transform 0.8s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.js .hero__mark img,
	.js .hero__lead,
	.js .hero__actions {
		animation: none;
		transform: none;
		opacity: 1;
	}
	.js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.page__art img,
	.dot.is-on::after {
		animation: none;
	}
	.hero__media video {
		transform: none !important;
	}
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
	.intro__text {
		grid-column: 1 / span 6;
	}
	.features__col {
		grid-column: span 4;
	}
	.features__desc {
		display: none;
	}
	.features__col .sum {
		display: block;
	}
	.modes__picker {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 20px;
	}
	.modes__figure,
	.modes__body {
		grid-column: 1 / -1;
	}
	.how__head {
		grid-column: 1 / -1;
		position: static;
	}
	.how__head img {
		display: none;
	}
	.slip {
		grid-column: 1 / span 9;
		position: static;
	}
	.intro__figure {
		position: static;
	}
	.world__head h2 {
		grid-column: 1 / -1;
	}
	.world__head p {
		grid-column: 1 / span 8;
	}
	.world__strip {
		grid-auto-columns: 78vw;
	}
	.faq__list {
		grid-column: 3 / -1;
	}
	.foot__mark {
		grid-column: 1 / -1;
		max-width: 300px;
	}
	.foot__col,
	.foot__col:nth-of-type(2) {
		grid-column: span 4;
	}
	.close__figure,
	.close__text {
		grid-column: 1 / -1;
	}
	.page {
		grid-template-columns: 1fr;
	}
	.page__art {
		position: relative;
		height: 34vh;
		order: -1;
		grid-template-rows: 1fr;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.page__art figcaption {
		display: none;
	}
	.page .bar__home span {
		display: none;
	}
	.page__main {
		padding-top: 104px;
	}
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
	.bar nav a.hide-sm {
		display: none;
	}
	.bar__home span {
		display: none;
	}
	.hero__top {
		padding-top: 104px;
	}
	.hero__mark {
		width: 100%;
	}
	.hero__lead {
		grid-column: 1 / -1;
		font-size: 1.1875rem;
	}
	.hero__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
	.intro__text,
	.intro__figure {
		grid-column: 1 / -1;
	}
	.features h2 {
		grid-column: 1 / -1;
	}
	.features__col {
		grid-column: 1 / -1;
		margin-bottom: 40px;
	}
	.features__col ul {
		font-size: 1.25rem;
		line-height: 1.4;
	}
	.modes__cells {
		grid-template-columns: 1fr;
	}
	.modes__cells a {
		min-height: 60px;
	}
	.modes__facts {
		grid-template-columns: repeat(2, auto);
	}
	.modes__picker button {
		font-size: var(--step-small);
	}
	.how__head,
	.slip {
		grid-column: 1 / -1;
	}
	.world__head p {
		grid-column: 1 / -1;
	}
	.world__nav {
		grid-column: 1 / -1;
		grid-row: 3;
		justify-self: start;
	}
	.world__strip {
		grid-auto-columns: 86vw;
	}
	.slip {
		padding: 28px 20px 56px;
	}
	.slip__total {
		margin-inline: -20px;
		padding-inline: 20px;
	}
	.faq h2 {
		font-size: 10vw;
		margin-bottom: 48px;
	}
	.faq__list {
		grid-column: 1 / -1;
	}
	.faq details {
		margin-inline: calc(var(--margin) * -1);
		padding-inline: var(--margin);
	}
	.foot__col,
	.foot__col:nth-of-type(2) {
		grid-column: span 6;
	}
	.form {
		grid-template-columns: 1fr;
	}
	.status {
		grid-template-columns: 1fr;
	}
	.page__art {
		height: 24vh;
	}
}
