:root {
	--bg-page: #07111d;
	--bg-deep: #040b13;
	--bg-section: #0c1927;
	--bg-card: #112335;
	--bg-card-soft: #162a3d;
	--bg-light: #f4f7f9;
	--brand-green: #7bdc36;
	--brand-green-dark: #58b723;
	--brand-orange: #ff9d2e;
	--brand-blue: #37a7ff;
	--text-main: #f7fafc;
	--text-soft: #b6c3cf;
	--text-dark: #13202c;
	--text-dark-soft: #586775;
	--border-dark: rgba(255, 255, 255, 0.1);
	--border-light: rgba(9, 26, 41, 0.12);
	--success: #69d688;
	--warning: #ffb648;
	--danger: #ff6d6d;
	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;
	--container-wide: 1240px;
	--container-reading: 820px;
	--topbar-height: 30px;
	--nav-height: 76px;
	--header-height: 106px;
	--layout-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
	--layout-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.12);
	--color-page: var(--bg-page);
	--color-page-alt: var(--bg-section);
	--color-header: var(--bg-deep);
	--color-panel: var(--bg-card);
	--color-panel-2: var(--bg-card-soft);
	--color-panel-3: var(--bg-card-soft);
	--color-yellow: var(--brand-orange);
	--color-green: var(--brand-green);
	--color-text: var(--text-main);
	--color-heading: var(--text-main);
	--color-muted: var(--text-soft);
	--color-border: var(--border-dark);
	--container: var(--container-wide);
	--container-narrow: var(--container-reading);
}

html {
	scroll-padding-top: calc(var(--header-height) + 24px);
}

html.has-open-menu,
html.has-open-menu body {
	overflow: hidden;
}

body {
	min-width: 320px;
	padding-top: var(--header-height);
	background: var(--bg-page);
	color: var(--text-main);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
	font-family: var(--font-main);
}

img {
	max-width: 100%;
	height: auto;
}

a,
button,
[role="button"] {
	-webkit-tap-highlight-color: transparent;
}

a,
button {
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
	outline: 3px solid var(--brand-blue);
	outline-offset: 4px;
}

.site-container {
	width: min(calc(100% - 48px), var(--container-wide));
	margin-inline: auto;
}

.site-main {
	overflow: clip;
}

.site-section {
	margin: 0;
	padding: clamp(64px, 7vw, 96px) 0;
}

.site-section + .site-section {
	margin-top: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0 0 16px;
	padding: 5px 10px;
	border: 1px solid rgba(123, 220, 54, 0.28);
	border-radius: 999px;
	background: rgba(123, 220, 54, 0.08);
	color: var(--brand-green);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.07em;
	line-height: 1.3;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	overflow-wrap: anywhere;
	text-wrap: balance;
}

h1 {
	font-size: clamp(42px, 5.3vw, 72px);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

h2 {
	font-size: clamp(30px, 3.3vw, 48px);
	line-height: 1.06;
	letter-spacing: -0.035em;
}

h3 {
	font-size: clamp(20px, 1.8vw, 26px);
	line-height: 1.18;
	letter-spacing: -0.02em;
}

p,
li,
td,
th {
	font-size: max(16px, 1rem);
}

.section-heading-row {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
	gap: 48px;
	align-items: end;
	margin-bottom: 38px;
}

.section-heading-row h2,
.section-heading-row h3 {
	margin: 0;
}

.section-heading-row p {
	max-width: 640px;
	margin: 0;
	color: var(--text-soft);
}

.btn,
.header-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 850;
	line-height: 1.2;
	cursor: pointer;
}

.btn-primary,
.header-action--register {
	border-color: var(--brand-green);
	background: var(--brand-green);
	color: #0a1805;
	box-shadow: 0 12px 28px rgba(123, 220, 54, 0.18);
}

.btn-primary:hover,
.header-action--register:hover {
	border-color: #91ea55;
	background: #91ea55;
	color: #071205;
}

.btn-ghost,
.header-action--login {
	border-color: rgba(255, 255, 255, 0.26);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-main);
}

.btn-ghost:hover,
.header-action--login:hover {
	border-color: var(--brand-green);
	background: rgba(123, 220, 54, 0.08);
	color: var(--brand-green);
}

.text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--brand-green);
	font-weight: 850;
}

.text-link::after {
	content: "→";
	margin-left: 8px;
	transition: transform 180ms ease;
}

.text-link:hover::after {
	transform: translateX(4px);
}

.table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-md);
	background: var(--bg-card);
	-webkit-overflow-scrolling: touch;
}

.info-table {
	width: 100%;
	min-width: 680px;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent;
	color: var(--text-main);
}

.info-table thead {
	position: sticky;
	top: 0;
	z-index: 1;
}

.info-table th {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	background: #153047;
	color: var(--text-main);
	font-size: 13px;
	font-weight: 850;
	letter-spacing: 0.035em;
	text-align: left;
	text-transform: uppercase;
}

.info-table td {
	padding: 17px 18px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--text-soft);
	line-height: 1.55;
	vertical-align: top;
}

.info-table tbody tr:last-child td,
.info-table tbody tr:last-child th {
	border-bottom: 0;
}

.info-table tbody tr:hover td {
	background: rgba(123, 220, 54, 0.035);
}

.check-list {
	display: grid;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding: 12px 14px 12px 42px;
	border: 0;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.055);
	color: var(--text-soft);
	line-height: 1.55;
}

.check-list li::before {
	content: "";
	position: absolute;
	top: 17px;
	left: 16px;
	width: 10px;
	height: 6px;
	border-bottom: 2px solid var(--brand-green);
	border-left: 2px solid var(--brand-green);
	transform: rotate(-45deg);
}

.faq-grid,
.inner-faq-list {
	display: grid;
	gap: 12px;
	width: min(100%, 900px);
	margin-inline: auto;
}

.faq-item {
	overflow: hidden;
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.035);
	box-shadow: none;
}

.faq-question {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22px;
	gap: 16px;
	align-items: center;
	width: 100%;
	min-height: 58px;
	padding: 16px 18px;
	border: 0;
	background: transparent;
	color: var(--text-main);
	font: inherit;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
}

.faq-question i {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
}

.faq-question i::before,
.faq-question i::after {
	content: "";
	position: absolute;
	top: 8px;
	left: 2px;
	width: 14px;
	height: 2px;
	border-radius: 999px;
	background: var(--brand-green);
	transition: transform 180ms ease;
}

.faq-question i::after {
	transform: rotate(90deg);
}

.faq-item.is-open .faq-question i::after {
	transform: rotate(0deg);
}

.faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 220ms ease, opacity 180ms ease;
}

.faq-answer > * {
	overflow: hidden;
}

.faq-answer p {
	margin: 0;
	padding: 0 18px;
	color: var(--text-soft);
	line-height: 1.7;
}

.faq-item.is-open .faq-answer {
	grid-template-rows: 1fr;
	padding-bottom: 18px;
	opacity: 1;
}

.inner-notice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid rgba(123, 220, 54, 0.28);
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, rgba(123, 220, 54, 0.12), rgba(55, 167, 255, 0.06));
	box-shadow: none;
}

.inner-notice h2 {
	margin: 0 0 10px;
	color: var(--text-main);
}

.inner-notice p {
	margin: 0;
	color: var(--text-soft);
}

.fallback-page {
	display: grid;
	min-height: calc(100vh - var(--header-height));
	place-items: center;
	padding: 80px 0;
	background:
		linear-gradient(rgba(4, 11, 19, 0.62), rgba(4, 11, 19, 0.9)),
		radial-gradient(circle at 50% 20%, rgba(55, 167, 255, 0.2), transparent 46%);
	text-align: center;
}

.fallback-page .site-container {
	width: min(calc(100% - 40px), 720px);
	padding: clamp(34px, 6vw, 72px);
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-lg);
	background: rgba(12, 25, 39, 0.88);
	box-shadow: var(--layout-shadow);
}

.fallback-page h1 {
	margin: 0 0 20px;
}

.fallback-page p {
	max-width: 560px;
	margin: 0 auto 28px;
	color: var(--text-soft);
}

[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
