/* inter 400 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(j-fonts/inter/inter-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 400 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(j-fonts/inter/inter-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 400 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(j-fonts/inter/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 400 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(j-fonts/inter/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inter 500 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(j-fonts/inter/inter-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 500 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(j-fonts/inter/inter-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 500 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(j-fonts/inter/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 500 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(j-fonts/inter/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inter 600 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(j-fonts/inter/inter-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 600 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(j-fonts/inter/inter-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 600 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(j-fonts/inter/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 600 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(j-fonts/inter/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inter 700 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(j-fonts/inter/inter-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 700 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(j-fonts/inter/inter-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 700 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(j-fonts/inter/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 700 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(j-fonts/inter/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inter 800 cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(j-fonts/inter/inter-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* inter 800 cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(j-fonts/inter/inter-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* inter 800 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(j-fonts/inter/inter-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* inter 800 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(j-fonts/inter/inter-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- Themes (pure CSS, no JS required) ----------
   Light is ALWAYS the default. One header toggle (hidden radios + :has())
   switches to the dark scene and back; the icon swaps moon -> sun. */

:root {
	color-scheme: light;
	--ink: 30 41 99;
	--bg: #F5F6FC; --panel: #FFFFFF; --card: #FFFFFF; --card-2: #EFF1FB; --input: #FFFFFF;
	--header-bg: rgb(255 255 255 / .86);
	--line: rgb(30 41 99 / .08); --line-strong: rgb(30 41 99 / .18);
	--text: #4A5578; --strong: #141A38; --soft: #3D476B; --muted: #5D6788; --muted-2: #6E779A;
	--accent-text: #4F46E5;
	--gold: #6366F1; --gold-bg: rgb(99 102 241 / .10);
	--good: #00A551; --good-bg: rgb(0 165 81 / .10);
	--bad: #DF1B41; --bad-bg: rgb(223 27 65 / .08);
	--warn: #D97706; --warn-bg: rgb(217 119 6 / .10);
	--us-bg: rgb(99 102 241 / .06);
	--shadow: 0 1px 2px rgb(30 41 99 / .08);
	--violet: #8B5CF6;
	--violet-2: #A78BFA;
	--magenta: #9333EA;
	--blue: #4353FF;
	--grad-main: linear-gradient(135deg, #4353FF 0%, #9333EA 100%);
	--grad-bot: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
	--btn-hover: #3730C9;
	--grad-support: linear-gradient(90deg, #4338CA 0%, #7C3AED 100%);
	--grad-channel: linear-gradient(90deg, #5B5BD6 0%, #8B5CF6 100%);
	--font-ui: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
	--font-head: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
	--font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* Dark scene: only when the toggle is on (:has() or JS class fallback for old Firefox). */
:root:has(#theme-dark:checked), html.theme-dark {
	color-scheme: dark;
	--ink: 242 244 255;
	--bg: #05070F;
	--panel: #0B0F1E;
	--card: #0D1226;
	--card-2: #0A0E1C;
	--input: #05070F;
	--header-bg: rgba(5, 7, 15, .82);
	--line: rgb(148 163 255 / .10);
	--line-strong: rgb(148 163 255 / .22);
	--text: #C7CDE8;
	--strong: #F2F4FF;
	--soft: #A5AECB;
	--muted: #7E88AD;
	--muted-2: #6F799F;
	--accent-text: #A5B4FC;
	--gold-bg: rgb(99 102 241 / .15);
	--btn-hover: #5B4BD6;
	--good: #2ED584; --good-bg: rgb(0 165 81 / .16);
	--bad: #FF7A93; --bad-bg: rgb(244 63 94 / .14);
	--warn: #FBBF24; --warn-bg: rgb(255 179 80 / .14);
	--us-bg: rgb(99 102 241 / .10);
	--shadow: 0 1px 2px rgb(0 0 0 / .35), 0 12px 32px rgb(0 0 0 / .45);
}


* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	-webkit-text-size-adjust: 100%;
}

html, body {
	min-height: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	background-image: none;
	color: var(--text);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

::selection { background: rgb(99 102 241 / .30); color: var(--strong); }

a { color: inherit; }
a:hover { color: inherit; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

img { max-width: 100%; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.d-none { display: none !important; }

.wrap {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 28px;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 12px;
	background: rgb(var(--ink) / .08);
	color: var(--strong);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.btn:hover {
	color: var(--strong);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgb(30 41 99  .10);
}

.btn:active { transform: translateY(0); }
.btn:focus-visible { transform: none; }

.btn-main {
	height: 60px;
	background: var(--grad-main);
	font-size: 16px;
	box-shadow: 0 2px 6px rgb(99 102 241 / .24), 0 8px 24px rgb(99 102 241 / .18), inset 0 1px 0 rgb(255 255 255 / .22);
}

.btn-main:hover {
	background: linear-gradient(180deg, #6366F1 0%, #4F46E5 100%);
	box-shadow: 0 2px 6px rgb(99 102 241 / .28), 0 10px 28px rgb(99 102 241 / .24), inset 0 1px 0 rgb(255 255 255 / .22);
}

.btn-bot { background: var(--grad-bot); }
.btn-bot:hover { background: linear-gradient(180deg, #7C3AED 0%, #6D28D9 100%); }
.btn-support { background: var(--grad-support); }
.btn-channel { background: var(--grad-channel); }

.btn-ghost {
	height: 44px;
	background: rgb(var(--ink) / .06);
	border: 1px solid var(--line-strong);
	font-size: 14px;
}

.btn-wide { width: 100%; margin-top: 8px; }

/* ---------- Focus ---------- */

:focus { outline: 0; }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 8px;
}

.btn:focus-visible { outline-color: var(--strong); outline-offset: 3px; border-radius: 12px; }
.field:focus-visible { outline: 0; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 14px; }
.main-nav a:focus-visible, .footer-links a:focus-visible { border-radius: 6px; }

/* ---------- Icons ---------- */

.ic, .ic-fill {
	display: inline-block;
	vertical-align: middle;
}

.ic {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ic-fill {
	width: 1em;
	height: 1em;
	fill: currentColor;
	stroke: none;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 88px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	text-decoration: none;
}

.brand-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: none;
	box-shadow: 0 4px 14px rgb(99 102 241 / .28);
	flex: none;
}

.brand-ic { width: 36px; height: 36px; }

.brand-name {
	color: var(--strong);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1;
}

.main-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
}

.main-nav a {
	margin: 0 9px;
	color: var(--soft);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s ease;
}

.main-nav a { padding: 6px 0; }
.main-nav a:hover { color: var(--strong); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.header-actions .btn {
	height: 44px;
	padding: 0 18px;
	font-size: 14px;
}

.lang-switch {
	display: flex;
	align-items: center;
	margin: 0;
}

.lang-switch select {
	-webkit-appearance: none;
	appearance: none;
	height: 44px;
	max-width: 132px;
	padding: 0 32px 0 14px;
	background-color: rgb(var(--ink) / .06);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238CA1BF' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	color: var(--soft);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.lang-switch select:focus {
	outline: 0;
	border-color: var(--violet-2);
	box-shadow: 0 0 0 3px rgb(99 102 241 / .30);
}

.lang-switch option {
	background: var(--card);
	color: var(--text);
}

.lang-go {
	height: 44px;
	margin-left: 8px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: rgb(var(--ink) / .06);
	color: var(--strong);
	font-family: inherit;
	font-size: 13px;
	cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	isolation: isolate;
	width: calc(100% - 32px);
	max-width: 1400px;
	min-height: 780px;
	margin: 0 auto;
	border-radius: 24px;
	overflow: hidden;
	background: #05070F;
	/* PQ-style graphite grid + corner glows, above the art, below the veil */
	background-image:
		radial-gradient(900px 480px at 12% -8%, rgb(67 83 255 / .16), transparent 62%),
		radial-gradient(800px 460px at 88% 4%, rgb(147 51 234 / .14), transparent 62%),
		linear-gradient(rgb(99 102 241 / .06) 1px, transparent 1px),
		linear-gradient(90deg, rgb(99 102 241 / .06) 1px, transparent 1px);
	background-size: auto, auto, 64px 64px, 64px 64px;
}

.hero-art {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	transform: scale(1.01);
}

.hero-art picture { display: block; position: absolute; inset: 0; }

.hero-art img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.hero-veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(5, 7, 15, .94) 0%, rgba(5, 7, 15, .6) 26%, rgba(5, 7, 15, 0) 55%);
	pointer-events: none;
}

.hero-inner {
	position: relative;
	z-index: 2;
	padding-top: 58px;
}

.hero h1 {
	max-width: 1100px;
	margin: 0 auto 14px;
	font-size: clamp(30px, 3.6vw, 56px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.025em;
	text-align: center;
	color: var(--strong);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.hero-sub {
	max-width: 62ch;
	margin: 0 auto 32px;
	color: var(--soft);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	text-align: center;
	text-shadow: 0 1px 18px rgba(0, 0, 0, .55);
}

.hero-form {
	display: grid;
	grid-template-columns: 1fr 1fr 300px;
	gap: 14px;
	max-width: 1250px;
	margin: 0 auto;
}

.field {
	width: 100%;
	height: 60px;
	margin: 0;
	padding: 0 20px;
	color-scheme: dark;
	background: rgba(5, 7, 15, .55);
	border: 1px solid rgb(var(--ink) / .22);
	border-radius: 12px;
	color: var(--strong);
	font-family: inherit;
	font-size: 15px;
	line-height: normal;
	outline: 0;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.field::placeholder { color: #7E88AD; opacity: 1; }

.field:focus {
	border-color: var(--violet-2);
	background: rgba(5, 7, 15, .72);
	box-shadow: 0 0 0 3px rgb(99 102 241 / .30);
}

.hero-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 1250px;
	margin: 14px auto 0;
}

.fee-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 17px;
	background: rgba(5, 7, 15, .5);
	border: 1px solid rgb(var(--ink) / .18);
	border-radius: 10px;
	color: var(--soft);
	font-size: 13px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.fee-chip b { color: var(--strong); font-weight: 600; }

.addr-hint {
	max-width: 62ch;
	margin: 16px auto 0;
	padding: 12px 18px;
	background: rgba(5, 7, 15, .8);
	border: 1px solid rgb(var(--ink) / .1);
	border-radius: 12px;
	color: var(--soft);
	font-size: 14px;
	line-height: 1.55;
	text-align: center;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.field-hint {
	margin: -4px 0 2px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

/* ---------- Feature cards ---------- */

.features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	width: calc(100% - 32px);
	max-width: 1400px;
	margin: 16px auto 0;
}

.features h2 {
	grid-column: 1 / -1;
	margin: 34px 0 10px;
	color: var(--strong);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.feature-card {
	transition: border-color .2s ease, background .2s ease;
	min-height: 172px;
	padding: 26px 24px 28px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.feature-card:hover { border-color: rgb(99 102 241 / .35); background: var(--card-2); }

.feature-card .ic {
	margin-bottom: 18px;
	color: #635BFF;
}

.feature-card h3 {
	margin: 0 0 8px;
	color: var(--strong);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.feature-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.55;
}

/* ---------- Fees / limits strip ---------- */

.limits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: calc(100% - 32px);
	max-width: 1400px;
	margin: 16px auto 0;
	padding: 22px 10px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.limit {
	padding: 0 26px;
	border-left: 1px solid rgb(var(--ink) / .07);
}

.limit:first-child { border-left: 0; }

.limit span {
	display: block;
	margin-bottom: 6px;
	color: var(--muted-2);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.limit b {
	color: var(--strong);
	font-size: 17px;
	font-weight: 600;
}

/* ---------- Comparison ---------- */

.compare {
	width: calc(100% - 32px);
	max-width: 1400px;
	margin: 16px auto 0;
	padding: 60px 64px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 24px;
}

.compare-head {
	max-width: 760px;
	margin: 0 0 34px;
}

.compare h2 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--strong);
}

.compare-head p {
	margin: 0;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.65;
}

.compare-table {
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.compare-row {
	display: grid;
	grid-template-columns: 1.02fr .98fr 1.18fr;
}

.compare-row + .compare-row { border-top: 1px solid var(--line); }

.compare-row > span {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 62px;
	padding: 16px 22px;
	font-size: 14.5px;
	line-height: 1.5;
}

.compare-header > span {
	min-height: 0;
	padding: 13px 22px;
	background: rgb(var(--ink) / .025);
	color: var(--muted-2);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.compare-header > .compare-us {
	background: rgb(99 102 241 / .12);
	color: var(--accent-text);
}

.compare-label { color: var(--strong); font-weight: 600; }
.compare-them { color: var(--muted); }

.compare-us {
	color: var(--strong);
	background: rgb(99 102 241 / .07);
	border-left: 1px solid rgb(99 102 241 / .18);
}

.compare-us .ic { flex: none; width: 17px; height: 17px; color: var(--good); }

.cell-cap { display: none; }

/* ---------- How it works ---------- */

.how {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 40px;
	align-items: center;
	width: calc(100% - 32px);
	max-width: 1400px;
	margin: 16px auto 0;
	padding: 70px 64px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 24px;
}

.how-lead {
	max-width: 60ch;
	margin: -18px 0 28px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

.how h2 {
	margin: 0 0 40px;
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--strong);
}

.steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	position: relative;
	padding: 0 0 34px 60px;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 38px;
	bottom: 2px;
	border-left: 1px dashed rgb(99 102 241 / .35);
}

.steps li:last-child::before { display: none; }

.step-num {
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366F1, #7C3AED);
	color: var(--strong);
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 0 0 6px rgb(99 102 241 / .12);
}

.steps h3 {
	margin: 0 0 6px;
	color: var(--strong);
	font-size: 20px;
	font-weight: 600;
}

.steps p {
	max-width: 46ch;
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.65;
}

.how-art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
}

.how-art::before {
	content: '';
	position: absolute;
	inset: 4% 2%;
	z-index: 0;
	background: radial-gradient(circle at 50% 45%, rgb(99 102 241 / .38), rgb(99 102 241 / .10) 46%, transparent 70%);
	filter: blur(28px);
}

.how-art img {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 440px;
	height: auto;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}

/* ---------- FAQ ---------- */

.faq {
	width: calc(100% - 32px);
	max-width: 1400px;
	margin: 16px auto 0;
	padding: 70px 64px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 24px;
}

.faq h2 {
	margin: 0 0 44px;
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-align: center;
	color: var(--strong);
}

.faq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
	align-items: start;
}

.faq-item {
	transition: border-color .15s ease;
	background: var(--card-2);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}

.faq-item summary {
	position: relative;
	padding: 22px 56px 22px 24px;
	color: var(--strong);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
	transition: color .15s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary::after {
	content: '+';
	position: absolute;
	top: 50%;
	right: 20px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgb(99 102 241 / .15);
	color: var(--accent-text);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
	transition: background .15s ease, color .15s ease;
}

.faq-item:hover { border-color: var(--line-strong); }
.faq-item summary:hover { color: var(--strong); }
.faq-item[open] summary { color: var(--strong); }

.faq-item[open] summary::after {
	content: '\2212';
	background: var(--violet);
	color: #fff;
}

.faq-item p {
	margin: 0;
	padding: 0 24px 24px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
	max-width: 70ch;
}

.faq-cta {
	margin-top: 44px;
	text-align: center;
}

/* ---------- Inner pages (mix / result) ---------- */

.page {
	width: calc(100% - 32px);
	max-width: 780px;
	margin: 44px auto 0;
}

.page-card {
	padding: 48px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 22px;
}

.page-card h1 {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--strong);
}

.lead {
	margin: 0 0 28px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

.alert {
	margin-bottom: 20px;
	padding: 14px 18px;
	background: rgba(239, 68, 68, .1);
	border: 1px solid rgba(239, 68, 68, .35);
	border-radius: 12px;
	color: var(--bad);
	font-size: 14px;
	line-height: 1.5;
}

.mix-form label,
.calc-form label {
	display: block;
	margin: 18px 0 8px;
	color: var(--soft);
	font-size: 13px;
	font-weight: 600;
}

.mix-form label span {
	margin-left: 6px;
	color: var(--muted-2);
	font-size: 12px;
	font-weight: 400;
}

.mix-form .field { height: 56px; }

.field-error {
	margin-top: 8px;
	color: var(--bad);
	font-size: 13px;
	line-height: 1.4;
}

.mix-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgb(var(--ink) / .07);
	color: var(--muted);
	font-size: 13px;
}

.mix-meta b { color: var(--strong); font-weight: 600; }

.guarantee-form { margin: 0; }

.guarantee-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 24px;
}

.address-box {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 6px 0 18px;
	padding: 14px 14px 14px 18px;
	background: var(--input);
	border: 1px solid rgb(var(--ink) / .1);
	border-radius: 12px;
}

.address-text {
	flex: 1;
	min-width: 0;
	color: var(--strong);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 15px;
	word-break: break-all;
}

.copy-btn {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	padding: 0;
	background: rgb(var(--ink) / .07);
	border: 1px solid rgb(var(--ink) / .1);
	border-radius: 10px;
	color: var(--soft);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.copy-btn:hover { background: var(--violet); color: #fff; }
.copy-btn.copied { background: #22C55E; color: var(--strong); }
.copy-btn svg.ic-fill { width: 18px; height: 18px; }

.qr-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 10px 0 26px;
}

.qr {
	width: 180px;
	height: 180px;
	padding: 10px;
	background: #fff;
	border-radius: 12px;
}

.result-actions {
	display: flex;
	justify-content: center;
	margin-bottom: 8px;
}

.calc {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid rgb(var(--ink) / .08);
}

.calc h2 {
	margin: 0 0 18px;
	color: var(--strong);
	font-size: 20px;
	font-weight: 600;
}

.calc-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.calc-row .field { max-width: 260px; height: 52px; }

.unit { color: var(--muted); font-size: 14px; }

.calc-out {
	margin-bottom: 6px;
	padding: 14px 18px;
	background: var(--input);
	border: 1px solid rgb(var(--ink) / .08);
	border-radius: 12px;
	color: var(--strong);
	font-size: 20px;
}

.hint {
	margin: 12px 0 0;
	color: var(--muted-2);
	font-size: 13px;
	line-height: 1.55;
}

/* ---------- Footer ---------- */

.site-footer {
	width: calc(100% - 32px);
	max-width: 1400px;
	margin: 16px auto 24px;
	padding: 48px 56px 28px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 24px;
	color: var(--strong);
}

.footer-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 34px;
}

.footer-card {
	padding: 26px 28px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
}

.footer-card h4 {
	margin: 0 0 8px;
	color: var(--strong);
	font-size: 15px;
	font-weight: 600;
}

.footer-card p {
	max-width: 56ch;
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.65;
}

.footer-buttons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 640px;
	margin: 0 auto 34px;
}

.footer-buttons .btn {
	width: 100%;
	height: 52px;
	font-size: 15px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 22px;
	border-top: 1px solid rgb(var(--ink) / .07);
	color: var(--muted-2);
	font-size: 13px;
}

.footer-links a {
	margin-left: 18px;
	color: var(--muted);
	text-decoration: none;
}

.footer-links a:hover { color: var(--strong); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Misc ---------- */

.color-red { color: var(--bad); }

.to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: rgb(var(--ink) / .08);
	border: 1px solid rgb(var(--ink) / .12);
	border-radius: 50%;
	color: var(--strong);
	opacity: .7;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: opacity .15s ease, background .15s ease;
}

.to-top:hover { opacity: 1; background: var(--violet); color: #fff; }

.to-top svg { width: 22px; height: 22px; }

a[name="top"] {
	position: absolute;
	top: 0;
	left: 0;
}

#loader {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 130px;
	height: 30px;
	margin: 0 auto;
}

.loader-block {
	width: 18px;
	height: 18px;
	background-color: var(--violet-2);
	border-radius: 4px;
	opacity: .15;
	animation: bounceG 1.5s infinite;
}

#block-1 { animation-delay: .45s; }
#block-2 { animation-delay: .6s; }
#block-3 { animation-delay: .75s; }
#block-4 { animation-delay: .9s; }

@keyframes bounceG {
	0% { transform: scale(1.15); opacity: 1; }
	100% { transform: scale(.7); opacity: .15; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
	.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.how, .faq, .compare { padding: 54px 44px; }
	.site-footer { padding: 40px 40px 24px; }
}

@media (max-width: 1024px) {
	.main-nav { display: none; }
	.hero { min-height: 640px; }
	.hero-form { grid-template-columns: 1fr 1fr; max-width: 820px; }
	.hero-form .btn-main { grid-column: 1 / -1; }
	.hero-meta { max-width: 820px; }
	.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.how { grid-template-columns: 1fr; }
	.how-copy { order: 1; }
	.how-art { order: 2; min-height: 0; margin-top: 8px; }
	.how-art img { max-width: 340px; }
}

@media (max-width: 860px) {
	.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.faq-grid { grid-template-columns: 1fr; }
	.compare { padding: 40px 26px; }
	.compare-header { display: none; }
	.compare-row { grid-template-columns: 1fr; }
	.compare-row + .compare-row { border-top: 1px solid var(--line-strong); }
	.compare-row > span { flex-wrap: wrap; min-height: 0; padding: 12px 20px; }
	.compare-label { padding-top: 17px; }
	.compare-us { border-left: 0; }
	.cell-cap {
		display: block;
		width: 100%;
		margin-bottom: 1px;
		color: var(--muted-2);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: .09em;
		text-transform: uppercase;
	}
	.footer-cols { grid-template-columns: 1fr; }
	.header-inner { height: 76px; }
	.limits { grid-template-columns: 1fr 1fr; gap: 18px 0; }
	.limit:nth-child(odd) { border-left: 0; }
}

@media (max-width: 640px) {
	.wrap { padding: 0 18px; }

	.header-inner { gap: 12px; height: 68px; }
	.brand { gap: 8px; }
	.brand-badge { width: 30px; height: 30px; }
	.brand-ic { width: 30px; height: 30px; }
	.brand-name { font-size: 17px; }
	.header-actions { gap: 8px; }
	.header-actions .btn { height: 38px; padding: 0 16px; font-size: 13px; }
	.header-actions .btn-support { display: none; }

	.hero {
		width: calc(100% - 20px);
		min-height: 760px;
		border-radius: 20px;
	}
	.hero-inner { padding-top: 32px; }
	.hero h1 { margin-bottom: 10px; font-size: 27px; line-height: 1.15; }
	.hero-sub { max-width: 420px; margin-bottom: 22px; font-size: 15px; line-height: 1.55; }
	.lang-switch select { height: 38px; max-width: 104px; padding: 0 26px 0 10px; font-size: 12px; background-position: right 9px center; }
	.hero-form { grid-template-columns: 1fr; gap: 10px; }
	.hero-form .btn-main { grid-column: auto; height: 54px; }
	.field { height: 52px; font-size: 16px; }
	.hero-art img {
		height: 56%;
		top: auto;
		bottom: 0;
		object-position: center bottom;
		-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .2) 34%, #000 62%);
		mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .2) 34%, #000 62%);
	}
	.hero-veil { background: linear-gradient(180deg, rgba(5, 7, 15, .96) 0%, rgba(5, 7, 15, .75) 34%, rgba(5, 7, 15, 0) 62%); }
	.fee-chip { font-size: 12px; padding: 9px 14px; }
	.compare { padding: 32px 18px; }
	.compare-row > span { padding: 11px 16px; font-size: 14.5px; }
	.guarantee-actions { align-items: flex-start; flex-direction: column; gap: 12px; }

	.features { grid-template-columns: 1fr; gap: 10px; }
	.feature-card { min-height: 0; padding: 22px 22px 24px; }
	.feature-card .ic { margin-bottom: 14px; }

	.limits { padding: 18px 6px; }
	.limit { padding: 0 16px; }
	.limit span { font-size: 11px; }
	.limit b { font-size: 15px; }

	.how, .faq { padding: 34px 22px; }
	.how h2, .faq h2 { margin-bottom: 28px; }
	.steps li { padding-left: 50px; padding-bottom: 28px; }
	.steps li::before { left: 14px; }
	.step-num { width: 30px; height: 30px; font-size: 13px; }
	.steps h3 { font-size: 18px; }
	.faq-item summary { padding: 18px 50px 18px 18px; font-size: 15px; }
	.faq-item p { padding: 0 18px 20px; }

	.page { margin-top: 22px; }
	.page-card { padding: 26px 18px; }
	.address-text { font-size: 13px; }
	.addr-hint { font-size: 13.5px; padding: 11px 14px; }

	.site-footer { padding: 30px 20px 22px; margin-bottom: 18px; }
	.footer-buttons { grid-template-columns: 1fr; gap: 10px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
	.footer-links a { margin: 0 16px 0 0; }

	.to-top { right: 12px; bottom: 12px; width: 40px; height: 40px; }
}

@media (max-width: 380px) {
	.hero h1 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ---------- Hero calculator (step 1) ---------- */

.hero-calc {
	display: block;
	max-width: 1250px;
	margin: 0 auto;
}

.hero-calc-field { display: block; margin: 0; }

.hero-calc-label {
	display: block;
	margin: 0 0 8px 4px;
	color: var(--soft);
	font-size: 13px;
	font-weight: 600;
}

.hero-calc-row {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 60px;
	padding: 0 18px;
	background: rgb(5 7 15 / .55);
	border: 1px solid rgb(var(--ink) / .25);
	border-radius: 12px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.hero-calc-row .field {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	color: #FDA4AF;
	font-weight: 600;
}

.hero-calc-row .field:focus {
	border: 0;
	background: none;
	box-shadow: none;
}

.hero-calc-row:focus-within {
	border-color: rgb(99 102 241 / .55);
	box-shadow: 0 0 0 3px rgb(99 102 241 / .18);
}

.hero-calc-row .unit { font-size: 13px; color: var(--soft); flex: none; }

.hero-calc-btn { height: 60px; min-width: 220px; }

/* ---------- Exchange card (hero) ---------- */

.hero-inner { padding-bottom: 32px; }

.hero-calc {
	position: relative;
	z-index: 3;
	padding: 22px;
	max-width: 760px;
	background: rgba(5, 7, 15, .88);
	border: 1px solid rgb(99 102 241 / .28);
	border-radius: 20px;
	box-shadow: 0 12px 32px rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .06);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.hero-calc-field { min-width: 0; }
.hero-calc-note { display: block; margin: 6px 4px 0; color: var(--muted-2); font-size: 12px; font-weight: 500; }
.hero-calc-note.note-green { color: #34D399; }

.hero-calc-btn { width: 100%; min-width: 0; margin-top: 14px; }

.addr-hint {
	position: relative;
	z-index: 3;
	max-width: 760px;
	margin: 14px auto 0;
	background: rgba(5, 7, 15, .92);
}

.hero-meta { position: relative; z-index: 3; }

/* ---------- Second address checkbox (step 2) ---------- */

.check-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 4px;
	color: var(--soft);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.check-row input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	background: rgb(var(--ink) / .06);
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.check-row input[type="checkbox"]:checked {
	background: var(--grad-main);
	border-color: transparent;
}

.check-row input[type="checkbox"]:checked::after {
	content: '';
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translate(-1px, -1px);
}

.check-row input[type="checkbox"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.second-addr { margin-top: 4px; }
.js .second-addr.is-closed { display: none; }
.check-row { display: none; }
.js .check-row { display: flex; }

.hero-calc-fee {
	grid-column: 1 / -1;
	margin: 12px 0 0;
	color: var(--soft);
	font-size: 13.5px;
	text-align: center;
}
.hero-calc-fee b { color: var(--strong); font-weight: 600; }

/* ---------- Swap flow: peers + exchange arrows (hero) ---------- */

.swap-flow {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr minmax(120px, 220px) 1fr;
	gap: 18px;
	align-items: center;
	max-width: 900px;
	margin: 30px auto 0;
}

.peers { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.peer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: rgba(5, 7, 15, .72);
	border: 1px solid rgb(var(--ink) / .1);
	border-radius: 14px;
}

.peer-av {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgb(139 92 246 / .16);
	color: #8B5CF6;
}

.peers-right .peer-av { background: rgb(34 197 94 / .14); color: #16A34A; }
.peer-av .ic { width: 20px; height: 20px; }

.peer-btc {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #8B5CF6;
}

.peers-right .peer-btc { background: var(--good); }
.peer-btc { color: var(--strong); }
.peer-btc .ic-fill { width: 24px; height: 24px; }

.flow-arrows { display: grid; gap: 12px; }

.flow-arrow {
	display: grid;
	place-items: center;
	height: 62px;
	color: #FDA4AF;
	opacity: .85;
}

.flow-arrow svg { width: 100%; max-width: 150px; height: 24px; }

.flow-arrow:nth-child(2) { color: #8CA1BF; }

@media (prefers-reduced-motion: no-preference) {
	.flow-arrow { animation: flowPulse 3.2s ease-in-out infinite; }
	.flow-arrow:nth-child(2) { animation-delay: .5s; }
	.flow-arrow:nth-child(3) { animation-delay: 1s; }
	@keyframes flowPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
}

@media (max-width: 640px) {
	.swap-flow { grid-template-columns: 1fr 64px 1fr; gap: 8px; margin-top: 22px; }
	.peer { padding: 8px 10px; }
	.peer-av { width: 30px; height: 30px; }
	.peer-btc { width: 24px; height: 24px; }
	.peer-btc .ic-fill { width: 20px; height: 20px; }
	.flow-arrow { height: 50px; }
	.peers-right .peer-av svg { width: 30px; height: 30px; }
}

@media (max-width: 640px) {
	.hero-calc { grid-template-columns: 1fr; padding: 16px; }
	.hero-calc-field { padding-right: 0; }
	.hero-calc-out { margin-left: 0; margin-top: 10px; height: auto; min-height: 52px; padding: 10px 16px; }
}

/* ---------- Hub: upcoming services ---------- */

.hub {
	width: calc(100% - 32px);
	max-width: 1400px;
	margin: 16px auto 0;
	padding: 56px 64px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 24px;
}

.hub h2 {
	margin: 0 0 10px;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--strong);
}

.hub-lead { max-width: 62ch; margin: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 1.6; }

.hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.hub-card {
	padding: 22px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.hub-card h3 { margin: 12px 0 6px; color: var(--strong); font-size: 17px; font-weight: 600; line-height: 1.3; }
.hub-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.hub-soon {
	display: inline-block;
	padding: 4px 10px;
	background: rgb(99 102 241 / .18);
	border-radius: 999px;
	color: var(--accent-text);
	font-size: 12px;
	font-weight: 600;
}

@media (max-width: 1200px) { .hub { padding: 44px 36px; } .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hub { padding: 30px 18px; } .hub-grid { grid-template-columns: 1fr; } }

/* ---------- Ambient background (CSS only, no JS) ---------- */

.hero::before,
.hero::after {
	content: '';
	position: absolute;
	z-index: 0;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	pointer-events: none;
	opacity: .55;
	will-change: transform;
}

.hero::before { left: -120px; bottom: -160px; background: radial-gradient(circle, rgb(99 102 241 / .34), transparent 68%); }
.hero::after { right: -120px; bottom: -160px; background: radial-gradient(circle, rgb(30 41 99  .28), transparent 68%); }

@media (prefers-reduced-motion: no-preference) {
	.hero::before { animation: driftA 18s ease-in-out infinite alternate; }
	.hero::after { animation: driftB 22s ease-in-out infinite alternate; }
	@keyframes driftA { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, -50px) scale(1.15); } }
	@keyframes driftB { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-90px, -40px) scale(.95); } }
}

/* =====================================================================
   No JavaScript, no external requests.
   ===================================================================== */

.theme-radio { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

h1, h2, h3, .brand-name, .step-num, .limit b, .btn-main { font-family: var(--font-head); }
h1, h2 { letter-spacing: -.025em; }
.limit b, .hero-calc-out b, .mix-meta b { font-variant-numeric: tabular-nums; }

/* Theme toggle: ONE button. Light default -> shows moon; dark -> shows sun. */
.theme-switch { display: inline-flex; }
.theme-switch label {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	color: var(--muted);
	cursor: pointer;
	background: var(--card);
	box-shadow: inset 0 0 0 1px var(--line);
	transition: color .15s ease;
}
.theme-switch label:hover { color: var(--strong); }
.theme-switch .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root:not(:has(#theme-dark:checked)) .ts-dark, html:not(.theme-dark) .ts-dark { display: flex; }
:root:has(#theme-dark:checked) .ts-light, html.theme-dark .ts-light { display: flex; background: var(--grad-main); color: #fff; }
:root:has(#theme-light:focus-visible) .ts-light,
:root:has(#theme-dark:focus-visible) .ts-dark { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Header + nav adapt */
.main-nav a { color: var(--soft); }
.btn-ghost { color: var(--strong); }

/* Compare table: red cross (them) / green check (us) */
.compare-table { box-shadow: var(--shadow); }
.compare-row { transition: background .15s ease; }
.compare-row:not(.compare-header):hover { background: rgb(var(--ink) / .03); }
.compare-row > span { gap: 12px; }
.compare-them { color: var(--muted); }
.compare-us { background: var(--us-bg); border-left: 1px solid rgb(99 102 241 / .25); color: var(--strong); font-weight: 500; }
.compare-header > .compare-us { background: rgb(99 102 241 / .16); color: var(--accent-text); }
.compare .ic { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.compare .ic-no  { color: var(--bad);  background: var(--bad-bg); }
.compare .ic-yes { color: var(--good); background: var(--good-bg); }

/* Cards: unified radius, soft shadow, lift */
.feature-card, .hub-card, .limit, .faq-item, .footer-card { box-shadow: var(--shadow); }
.feature-card, .hub-card, .limit { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.feature-card:hover, .hub-card:hover, .limit:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Hero stays a dark "space" scene in both themes: keep its text light */
.hero, .hero h1, .hero-sub, .hero .addr-hint { --strong: #FFFFFF; --soft: #DCE6F4; --muted: #B9C7DC; --text: #EAF0F8; --ink: 255 255 255; }
.hero { color: #fff; }

/* Mobile: compare table becomes stacked cards, with icons kept */
@media (max-width: 760px) {
	.theme-switch label { width: 36px; height: 36px; }
	.theme-switch .ic { width: 16px; height: 16px; }
}

/* Light theme refinements */
body { background-image: radial-gradient(1100px 500px at 15% -10%, rgb(99 102 241 / .07), transparent 60%), radial-gradient(900px 500px at 90% 5%, rgb(30 41 99  .05), transparent 60%); }


/* Gold = Bitcoin amounts and limits only */
.limit b { color: var(--gold); }
.limit { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.limits { background: transparent; border: 0; gap: 12px; padding: 0; }
.limit { border-radius: 16px; padding: 22px 26px; }
.hero-calc-out b, .hero-calc-fee b { color: var(--gold); }
.fee-chip b, .mix-meta b { color: var(--gold); }
.copy-btn.copied { background: var(--good); }

/* Buttons on coloured backgrounds always carry white text, in both themes */
.btn-main, .btn-bot, .btn-support, .btn-channel, .btn-main:hover, .btn-bot:hover, .btn-support:hover, .btn-channel:hover { color: #fff; }
.header-actions .btn { height: 44px; padding: 0 16px; font-size: 14px; letter-spacing: .01em; }
.header-actions .btn-bot {
	background: var(--grad-main);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / .25);
}
.header-actions .btn-support {
	background: linear-gradient(180deg, #7C3AED 0%, #4F46E5 100%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / .18);
}
.btn-main { box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); }

/* Legal pages + footer */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 { margin: 14px 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--strong); }
.legal-lead { margin: 0 0 32px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal-back { display: inline-block; color: var(--accent-text); font-weight: 600; font-size: 14px; text-decoration: none; }
.legal-back::before { content: "\2190\00a0"; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal section { margin: 0 0 12px; padding: 22px 26px; background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.legal h2 { margin: 0 0 8px; font-size: 18px; color: var(--strong); }
.legal section p { margin: 0; color: var(--soft); line-height: 1.7; font-size: 15.5px; }
.legal-note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-disclaimer { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 760px; }
.footer-bottom-legal { border-top: 0; padding-top: 14px; justify-content: flex-start; }
.footer-legal a { margin: 0 18px 0 0; }

/* Brand: the tile itself is the logo (CleanMyMac-style app icon) */
.brand-badge { background: none; box-shadow: none; }
.brand-ic { width: 36px; height: 36px; }
.peers .peer-btc { background: linear-gradient(180deg, #FDA4AF, #F87171); color: #fff; }
.peers-left .peer-av { background: rgb(251 113 133 / .16); color: #FB7185; }
.peers-right .peer-btc { background: linear-gradient(180deg, #6EE7B7, #10B981); color: #fff; }
.peers-right .peer-av { background: transparent; }
.peers-right .peer-av svg { width: 38px; height: 38px; display: block; }

/* light-red flow arrows between the two sides */
.flow-arrows { display: grid; gap: 12px; color: #FDA4AF; }
.flow-arrow { display: grid; place-items: center; height: 62px; }
.flow-arrow svg { width: 100%; max-width: 150px; height: 24px; }
.flow-arrow:nth-child(2) { color: #FB7185; }

/* tiny CEX badges inline after the green note */
.cex-inline { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: -3px; }
.cex-inline svg { width: 15px; height: 15px; border-radius: 50%; box-shadow: 0 0 0 1px rgb(255 255 255 / .12); }

/* Text on coloured badges is always white, in both themes */
.step-num, .faq-item[open] summary::after, .copy-btn:hover, .copy-btn.copied { color: #fff; }
.step-num { box-shadow: 0 0 0 6px rgb(124 58 237 / .14), 0 6px 16px rgb(124 58 237 / .35); }

/* AML check page: gauge, report table, counterparties, CTA */
.aml-form { margin-top: 18px; }
.aml-ref { color: var(--accent-text); }
.aml-note { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.aml-banner { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); color: var(--muted); font-size: 13px; }
.aml-banner-quiet { margin: 0 0 10px; }
.alert.aml-partial { border-color: var(--warn); background: var(--warn-bg); color: var(--accent-text); }
.aml-head { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin: 22px 0 6px; }
.aml-gauge-wrap { flex: none; width: 200px; position: relative; }
.aml-gauge { display: block; width: 100%; height: auto; }
.aml-gauge-track { fill: none; stroke: var(--line-strong); stroke-width: 12; stroke-linecap: round; }
.aml-gauge-arc { fill: none; stroke-width: 12; stroke-linecap: round; }
.aml-gauge-arc.zone-clean { stroke: var(--good); }
.aml-gauge-arc.zone-caution { stroke: var(--warn); }
.aml-gauge-arc.zone-critical { stroke: var(--bad); }
.aml-score { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; }
.aml-score b { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; color: var(--strong); }
.aml-score span { font-size: 12px; font-weight: 600; }
.aml-verdict { flex: 1 1 260px; min-width: 240px; }
.aml-verdict .address-box { margin: 0; }
.aml-entity { margin: 10px 0 0; font-weight: 600; color: var(--strong); }
.aml-verdict-text { margin: 10px 0 0; font-size: 14px; line-height: 1.55; }
.aml-exposure { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.aml-exposure b { color: var(--strong); }
.zone-clean-text { color: var(--good); }
.zone-caution-text { color: var(--warn); }
.zone-critical-text { color: var(--bad); }
.zone-none-text { color: var(--muted); }
.aml-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.aml-table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 13px; }
.aml-table th { padding: 8px 10px; border-bottom: 1px solid var(--line-strong); text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.aml-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--soft); }
.aml-table tr:last-child td { border-bottom: 0; }
.aml-src-note { color: var(--muted); }
.aml-cp { list-style: none; margin: 10px 0 0; padding: 0; }
.aml-cp li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.aml-cp li:last-child { border-bottom: 0; }
.aml-cp-name { font-weight: 600; color: var(--strong); overflow-wrap: anywhere; }
.aml-cp-meta { color: var(--muted); white-space: nowrap; }
.aml-cta { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card-2); }
.aml-cta-lead { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.aml-cta .btn-main { width: 100%; }
.aml-free { margin: 10px 0 0; font-size: 12px; font-weight: 600; color: var(--accent-text); }
.aml-share { margin-top: 24px; }
.aml-generated { margin: 18px 0 0; font-size: 12px; color: var(--muted-2); }
@media (max-width: 560px) {
	.aml-head { gap: 16px; }
	.aml-gauge-wrap { width: 170px; margin: 0 auto; }
	/* The house .btn-main is nowrap; the CTA label is long, let it wrap. */
	.aml-cta .btn-main { white-space: normal; }
}

/* ---------- hero calculator: send -> get columns ---------- */

.hero-calc-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 14px;
	align-items: end;
}

.hero-calc-arrow {
	display: grid;
	place-items: center;
	align-self: end;
	height: 60px;
	margin-bottom: 26px;
	color: #6366F1;
}

.hero-calc-arrow svg { width: 28px; height: 28px; display: block; }

.hero-calc-get .hero-calc-row {
	height: 60px;
	padding: 0 20px;
	background: rgb(16 185 129 / .08);
	border: 1px solid rgb(52 211 153 / .28);
	border-radius: 12px;
}

.hero-get-val {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.1;
	color: #6EE7B7;
	font-variant-numeric: tabular-nums;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hero-calc-get .unit { font-size: 13px; color: var(--soft); flex: none; }

.hero-calc-fee {
	margin: 12px 0 0;
	color: var(--soft);
	font-size: 13.5px;
	text-align: center;
}

.hero-calc-fee b { color: var(--strong); font-weight: 600; }
.hero-calc-fee b, .hero-get-val { font-variant-numeric: tabular-nums; }

.addr-hint {
	position: relative;
	z-index: 3;
	max-width: 760px;
	margin: 14px auto 0;
	background: rgba(5, 7, 15, .92);
}

@media (max-width: 640px) {
	.hero-calc { padding: 16px; }
	.hero-calc-cols { grid-template-columns: 1fr; gap: 10px; }
	.hero-calc-arrow {
		height: 22px;
		margin: 0 auto;
		transform: rotate(90deg);
	}
	.hero-calc-btn { height: 54px; }
}

.swap-note { position: relative; z-index: 3; margin: 14px auto 0; text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: lowercase; color: rgb(52 211 153 / .75); }
.swap-note b { color: #34D399; font-weight: 600; }

@media (max-width: 640px) {
	.peers-right .peer-av svg { width: 30px; height: 30px; }
}
