/* ==========================================================================
   Medallion — local fonts
   ========================================================================== */

@font-face {
	font-family: "Medallion Display";
	src: url("../fonts/medallion-display-cyrillic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0493, U+049A-049B, U+04A2-04A3,
		U+04AE-04B1, U+04BA-04BB, U+04D8-04D9, U+04E8-04E9, U+2116;
}

@font-face {
	font-family: "Medallion Display";
	src: url("../fonts/medallion-display-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	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;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-cyrillic.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0493, U+049A-049B, U+04A2-04A3,
		U+04AE-04B1, U+04BA-04BB, U+04D8-04D9, U+04E8-04E9, U+2116;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/tenge.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+20B8;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
	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;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
	color-scheme: light;
	--bg: #ffffff;
	--bg-soft: #f7f3ea;
	--bg-footer: #f2ede3;
	--bg-accent: #f7edd8;
	--surface: #ffffff;
	--ink: #0a0a0a;
	--ink-soft: #1a1815;
	--muted: #5f5a50;
	--muted-soft: #6f695e;
	--gold: #d9b96a;
	--gold-soft: #efdfb4;
	--gold-ink: #b58a3c;
	--gold-deep: #8a6628;
	--line: rgba(10, 10, 10, 0.12);
	--line-strong: rgba(10, 10, 10, 0.22);
	--line-gold: rgba(217, 185, 106, 0.45);
	--danger: #9b2c2c;
	--font-display: "Medallion Display", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
		sans-serif;
	--shell: 1240px;
	--gutter: clamp(20px, 4vw, 64px);
	--header-height: 76px;
	--radius: 2px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Reset and base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
	margin-top: 0;
}

ul,
ol {
	padding-left: 0;
}

::selection {
	background: var(--gold);
	color: var(--ink);
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* ==========================================================================
   Shared utilities
   ========================================================================== */

.shell {
	width: 100%;
	max-width: var(--shell);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--gold);
	color: var(--ink);
	font-size: 0.8rem;
	font-weight: 600;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 16px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

[id] {
	scroll-margin-top: calc(var(--header-height) + 24px);
}

.display {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.92;
}

.display em,
.display .accent {
	font-style: normal;
	color: var(--gold-ink);
}

.display-xl {
	font-size: clamp(4.5rem, 14vw, 11.5rem);
	line-height: 0.86;
}

.display-lg {
	font-size: clamp(3rem, 8vw, 6rem);
}

.display-md {
	font-size: clamp(2.5rem, 5.5vw, 4.6rem);
}

.lead {
	max-width: 58ch;
	margin: 0;
	color: var(--muted);
	font-size: clamp(1rem, 1.35vw, 1.15rem);
	line-height: 1.7;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 24px;
	color: var(--gold-deep);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	flex: none;
	width: 32px;
	height: 1px;
	background: currentColor;
	opacity: 0.75;
}

.eyebrow--plain::before {
	display: none;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 40px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	transition:
		background-color 0.2s var(--ease),
		border-color 0.2s var(--ease),
		color 0.2s var(--ease),
		transform 0.2s var(--ease);
}

.button:hover {
	transform: translateY(-1px);
}

.button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.button-gold {
	background: var(--gold);
	color: var(--ink);
}

.button-gold:hover {
	background: var(--ink);
	color: var(--bg);
}

.button-ghost {
	border-color: var(--line-strong);
	color: var(--ink);
}

.button-ghost:hover {
	border-color: var(--gold-ink);
	color: var(--gold-ink);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-height);
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(24px, 4vw, 48px);
	height: 100%;
}

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

.brand-mark {
	width: 34px;
	height: 34px;
	flex: none;
	transition: transform 0.2s var(--ease);
}

.brand:hover .brand-mark {
	transform: scale(1.04);
}

.brand-name {
	color: var(--ink);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 38px);
}

.site-nav a {
	position: relative;
	padding-block: 6px;
	color: var(--muted);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
	transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -6px;
	left: 0;
	height: 1px;
	background: var(--gold);
}

.lang-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex: none;
}

.lang-switch a {
	position: relative;
	padding-block: 6px;
	color: var(--muted);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
	transition: color 0.2s var(--ease);
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
	color: var(--ink);
}

.lang-switch a[aria-current="true"]::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: var(--gold);
}

/* ==========================================================================
   City utility bar
   ========================================================================== */

.utility-bar {
	border-bottom: 1px solid var(--line);
	background: var(--bg-soft);
}

.utility-inner {
	display: flex;
	align-items: center;
	min-height: 36px;
}

.city-picker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}

.city-picker__label {
	color: var(--muted-soft);
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
}

.city-picker__button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	max-width: 220px;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.2;
	cursor: pointer;
}

.city-picker__button:hover {
	color: var(--gold-deep);
}

.city-picker__button span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.city-picker__chevron {
	width: 9px;
	height: 6px;
	flex: none;
	color: var(--gold-ink);
}

/* ==========================================================================
   Page hero
   ========================================================================== */

.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(64px, 10vw, 124px) clamp(64px, 9vw, 112px);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(
			ellipse 55% 50% at 88% 10%,
			rgba(217, 185, 106, 0.22),
			transparent 72%
		),
		var(--bg);
}

.page-hero::after {
	content: "";
	position: absolute;
	top: -30%;
	right: max(-24vw, -300px);
	width: min(64vw, 760px);
	aspect-ratio: 1;
	border: 1px solid rgba(217, 185, 106, 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.page-hero--main {
	padding-block: clamp(56px, 8vw, 100px) clamp(48px, 7vw, 90px);
}

.page-hero--main .display-md {
	max-width: 900px;
	font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.breadcrumbs {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: clamp(36px, 5vw, 56px);
	color: var(--muted-soft);
	font-size: 0.65rem;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.breadcrumbs a {
	transition: color 0.2s var(--ease);
}

.breadcrumbs a:hover {
	color: var(--gold-deep);
}

.breadcrumbs .sep {
	color: var(--gold-ink);
}

.page-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
	gap: clamp(40px, 7vw, 100px);
	align-items: end;
}

.page-hero .lead {
	margin-top: 28px;
}

.page-hero .actions {
	margin-top: 40px;
}

.hero-note {
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--line);
	background: var(--surface);
}

.hero-note-index {
	display: block;
	color: var(--gold-ink);
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 4vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.hero-note p {
	margin: 20px 0 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
	padding-block: clamp(72px, 11vw, 140px);
}

.section-light {
	background: var(--bg);
	color: var(--ink);
}

.section-soft {
	background: var(--bg-soft);
	color: var(--ink);
}

.section--how {
	padding-block: clamp(48px, 8vw, 96px);
}

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

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: end;
	margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head .display {
	margin: 0;
}

.section-lead {
	max-width: 40ch;
	margin: 0 0 6px;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.65;
}

/* ==========================================================================
   Partner benefits
   ========================================================================== */

.benefit-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--line);
	background: var(--line);
}

.benefit-card {
	display: flex;
	flex-direction: column;
	min-height: 254px;
	padding: clamp(24px, 3vw, 34px);
	background: var(--surface);
	transition: background-color 0.25s var(--ease);
}

.benefit-card:hover {
	background: var(--bg-soft);
}

.benefit-card .number {
	color: var(--gold-deep);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1;
}

.benefit-card h3 {
	margin: 44px 0 12px;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

.benefit-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.6;
}

.highlights {
	display: grid;
	gap: 1px;
	margin-top: 1px;
	border: 1px solid var(--line);
	border-top: 0;
	background: var(--line);
}

.highlight {
	display: grid;
	grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.25fr);
	gap: clamp(18px, 3vw, 36px);
	align-items: start;
	padding: 28px clamp(24px, 3vw, 34px);
	background: var(--surface);
}

.highlight .number {
	color: var(--gold-deep);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.6;
}

.highlight h3 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.8vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.highlight p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

.highlight--accent {
	background: var(--bg-accent);
}

.highlight--accent .number {
	color: var(--gold-deep);
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--line);
}

.step {
	padding: 32px 28px 0 0;
}

.step + .step {
	padding-left: 28px;
	border-left: 1px solid var(--line);
}

.step-number {
	color: var(--gold-ink);
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 3.5vw, 3.3rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.step h3 {
	margin: 48px 0 12px;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 1.6vw, 1.45rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.step p {
	margin: 0;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.6;
}

/* ==========================================================================
   How it works: three illustrated steps
   ========================================================================== */

.how-steps {
	display: flex;
	align-items: flex-start;
	gap: clamp(12px, 2vw, 26px);
}

.how-step {
	flex: 1 1 0;
	min-width: 0;
}

.step-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 260px;
	padding: clamp(20px, 3vw, 30px);
	overflow: hidden;
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 18px 40px rgba(10, 10, 10, 0.05);
}

.store-badges {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 220px;
}

.store-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--ink);
	color: var(--bg);
}

.store-badge svg {
	width: 24px;
	height: 24px;
	flex: none;
	color: var(--gold);
}

.store-badge span {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.store-badge small {
	color: var(--gold-soft);
	font-size: 0.52rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.store-badge strong {
	color: var(--bg);
	font-size: 0.82rem;
	font-weight: 600;
}

.plan-card {
	position: relative;
	width: 100%;
	max-width: 240px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--bg);
	box-shadow: 0 12px 30px rgba(10, 10, 10, 0.08);
}

.plan-toggle {
	display: flex;
	gap: 2px;
	padding: 3px;
	border-radius: 4px;
	background: var(--bg-soft);
}

.plan-toggle span {
	flex: 1;
	padding: 6px 4px;
	border-radius: 3px;
	color: var(--muted);
	font-size: 0.56rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

.plan-toggle .is-active {
	background: var(--bg);
	color: var(--ink);
	box-shadow: 0 1px 3px rgba(10, 10, 10, 0.08);
}

.plan-price {
	margin-top: 14px;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.plan-price span {
	color: var(--muted);
	font-family: var(--font-sans);
	font-size: 0.58rem;
	font-weight: 500;
	letter-spacing: 0;
}

.plan-price .plan-price-amount {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
}

.plan-note {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.6rem;
	line-height: 1.4;
}

.plan-button {
	display: block;
	margin-top: 14px;
	padding: 8px 6px;
	border-radius: 2px;
	background: var(--gold);
	color: var(--ink);
	font-size: 0.56rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.plan-cursor {
	position: absolute;
	right: 40px;
	bottom: 8px;
	width: 22px;
	height: 22px;
	filter: drop-shadow(0 2px 2px rgba(10, 10, 10, 0.18));
}

.offer-chips {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	max-width: 250px;
}

.offer-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-left: 2px solid var(--gold);
	border-radius: 4px;
	background: var(--bg);
	box-shadow: 0 8px 20px rgba(10, 10, 10, 0.04);
}

.offer-chip-value {
	flex: none;
	color: var(--gold-deep);
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.offer-chip span:last-child {
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.3;
}

.how-step h3 {
	margin: 24px 0 10px;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.how-step p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

.how-step p.plan-disclaimer {
	margin-top: 10px;
	color: var(--muted-soft);
	font-size: 0.68rem;
	line-height: 1.5;
}

.step-arrow {
	display: flex;
	flex: 0 0 42px;
	justify-content: center;
	margin-top: 120px;
	color: var(--gold);
}

.step-arrow svg {
	width: 42px;
	height: 20px;
}

/* ==========================================================================
   Offers
   ========================================================================== */

.offers-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: end;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.offers-head .display {
	margin: 0;
}

.offers-note {
	max-width: 38ch;
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

.offer-list {
	margin: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.offer-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.1vw, 1.7rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.offer-arrow {
	flex: none;
	color: var(--gold-deep);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 400;
	transition: transform 0.2s var(--ease);
}

.offer-list li:hover .offer-arrow {
	transform: translate(3px, -3px);
}

/* ==========================================================================
   Contact / CTA
   ========================================================================== */

.cta-section {
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: "";
	position: absolute;
	bottom: -34vw;
	left: max(-24vw, -320px);
	width: min(70vw, 820px);
	aspect-ratio: 1;
	border: 1px solid rgba(217, 185, 106, 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.cta-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
	gap: clamp(40px, 8vw, 120px);
	align-items: center;
}

.cta-grid .lead,
.soon-grid .lead {
	margin-top: 28px;
}

.partner-form-page {
	padding-block: clamp(64px, 10vw, 120px);
}

.partner-form-page .shell {
	display: flex;
	justify-content: center;
}

.partner-form-card {
	width: min(100%, 640px);
}

.partner-form-title {
	margin: 0 0 18px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.contact-card {
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	background: var(--surface);
}

.contact-card .button {
	width: 100%;
}

.soon-section {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--line);
}

.soon-section::before {
	content: "";
	position: absolute;
	top: -30%;
	right: max(-22vw, -280px);
	width: min(62vw, 720px);
	aspect-ratio: 1;
	border: 1px solid rgba(217, 185, 106, 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.soon-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
	gap: clamp(40px, 8vw, 110px);
	align-items: center;
}

.soon-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding-left: clamp(28px, 5vw, 60px);
	border-left: 1px solid var(--line);
}

.soon-note {
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 0.82rem;
	line-height: 1.6;
}

.soon-note a {
	color: var(--gold-deep);
	border-bottom: 1px solid var(--line-gold);
	transition: border-color 0.2s var(--ease);
}

.soon-note a:hover {
	border-color: var(--gold-deep);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	padding-block: clamp(48px, 7vw, 80px) 24px;
	border-top: 1px solid var(--line);
	background: var(--bg-footer);
	color: var(--ink);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(140px, 0.55fr) minmax(200px, 0.9fr);
	gap: clamp(32px, 6vw, 80px);
}

.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.footer-col .eyebrow {
	margin-bottom: 8px;
	font-size: 0.62rem;
}

.footer-col a {
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.5;
	transition: color 0.2s var(--ease);
}

.footer-col a:hover {
	color: var(--gold-deep);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: clamp(40px, 6vw, 64px);
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted-soft);
	font-size: 0.64rem;
	letter-spacing: 0.13em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* ==========================================================================
   404
   ========================================================================== */

.not-found {
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--header-height));
	min-height: calc(100svh - var(--header-height));
	padding-block: clamp(64px, 10vw, 120px);
	background: var(--bg);
	color: var(--ink);
}

.not-found .display {
	margin-bottom: 26px;
}

.not-found .lead {
	margin-bottom: 36px;
}

/* ==========================================================================
   Connect dialog
   ========================================================================== */

.hero-noscript {
	margin: 20px 0 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.hero-noscript a {
	color: var(--gold-deep);
	border-bottom: 1px solid var(--line-gold);
}

.connect-dialog {
	width: min(560px, calc(100vw - 32px));
	max-height: min(90vh, 760px);
	margin: auto;
	padding: 0;
	overflow-y: auto;
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 30px 80px rgba(10, 10, 10, 0.2);
}

.connect-dialog::backdrop {
	background: rgba(10, 10, 10, 0.46);
	backdrop-filter: blur(2px);
}

.connect-dialog__inner {
	position: relative;
	padding: clamp(26px, 5vw, 42px);
}

.connect-dialog__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s var(--ease),
		border-color 0.2s var(--ease),
		color 0.2s var(--ease);
}

.connect-dialog__close:hover {
	border-color: var(--line);
	background: var(--bg-soft);
	color: var(--ink);
}

.connect-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
}

.connect-description {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

.connect-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 28px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.field > span {
	color: var(--gold-deep);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.field input {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	outline: none;
	background: var(--bg);
	color: var(--ink);
	font-size: 1rem;
	transition:
		border-color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}

.field input:focus {
	border-color: var(--gold-ink);
	box-shadow: 0 0 0 3px rgba(217, 185, 106, 0.22);
}

.field textarea {
	width: 100%;
	min-height: 110px;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	outline: none;
	background: var(--bg);
	color: var(--ink);
	font: inherit;
	line-height: 1.5;
	resize: vertical;
	transition:
		border-color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}

.field textarea:focus {
	border-color: var(--gold-ink);
	box-shadow: 0 0 0 3px rgba(217, 185, 106, 0.22);
}

.field-hint {
	color: var(--muted);
	font-size: 0.68rem;
	line-height: 1.4;
	text-align: right;
}

.field-optional {
	color: var(--muted-soft);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.turnstile-slot {
	display: flex;
	align-items: flex-start;
	width: 100%;
	min-height: 65px;
}

.turnstile-slot iframe {
	max-width: 100%;
}

.connect-form .button,
.connect-success .button {
	width: 100%;
}

.form-status {
	min-height: 1.4em;
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
	line-height: 1.5;
}

.form-status--error {
	color: var(--danger);
}

.form-note {
	margin: 0;
	color: var(--muted-soft);
	font-size: 0.72rem;
	line-height: 1.55;
}

.connect-success {
	padding-top: 26px;
}

.connect-success p {
	margin: 0 0 28px;
	color: var(--ink);
	font-size: clamp(1.4rem, 3.4vw, 1.8rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.4;
}

.connect-success p:focus {
	outline: none;
}

/* ==========================================================================
   Licenses page
   ========================================================================== */

.licenses {
	max-width: 820px;
}

.licenses section + section {
	margin-top: 40px;
}

.licenses h2 {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.licenses p {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.75;
}

.licenses p.license-file {
	margin-top: -4px;
	font-size: 0.78rem;
}

.licenses a {
	color: var(--gold-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.licenses a:hover {
	color: var(--ink);
}

.licenses p.licenses-updated {
	margin-top: 44px;
	color: var(--muted-soft);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-bottom a {
	transition: color 0.2s var(--ease);
}

.footer-bottom a:hover {
	color: var(--gold-deep);
}

/* ==========================================================================
   City notice and picker dialog
   ========================================================================== */

.city-notice {
	border-bottom: 1px solid var(--line-gold);
	background: var(--bg-accent);
}

.city-notice[hidden] {
	display: none;
}

.city-notice__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-block: 10px;
}

.city-notice p {
	margin: 0;
	color: var(--ink);
	font-size: 0.82rem;
	line-height: 1.45;
}

.city-notice__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-left: auto;
	flex: none;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s var(--ease),
		border-color 0.2s var(--ease),
		color 0.2s var(--ease);
}

.city-notice__close:hover {
	border-color: var(--line);
	background: var(--bg-soft);
	color: var(--ink);
}

.city-dialog {
	width: min(560px, calc(100vw - 32px));
	max-height: min(82vh, 720px);
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 30px 80px rgba(10, 10, 10, 0.2);
}

.city-dialog::backdrop {
	background: rgba(10, 10, 10, 0.46);
	backdrop-filter: blur(2px);
}

.city-dialog__inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: inherit;
	padding: clamp(22px, 4vw, 32px);
	overflow: hidden;
}

.city-dialog__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.city-dialog__head h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.5vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1;
}

.city-dialog__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: none;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.city-dialog__close:hover {
	border-color: var(--line);
	background: var(--bg-soft);
	color: var(--ink);
}

.city-search input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	outline: none;
	background: var(--bg);
	color: var(--ink);
	font-size: 0.95rem;
	transition:
		border-color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}

.city-search input:focus {
	border-color: var(--gold-ink);
	box-shadow: 0 0 0 3px rgba(217, 185, 106, 0.22);
}

.city-list {
	max-height: 44vh;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	list-style: none;
}

.city-option {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.35;
	cursor: pointer;
}

.city-option:last-child {
	border-bottom: 0;
}

.city-option:hover,
.city-option.is-active {
	background: var(--bg-soft);
	color: var(--ink);
}

.city-option[aria-selected="true"] {
	color: var(--gold-deep);
	font-weight: 600;
}

.city-empty {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.city-detect {
	justify-content: center;
	width: 100%;
}

@media (max-width: 480px) {
	.utility-inner {
		min-height: 34px;
	}

	.city-picker__label {
		font-size: 0.56rem;
	}

	.city-picker__button {
		max-width: 205px;
		font-size: 0.66rem;
	}

	.city-dialog__inner {
		padding: 20px;
	}

	.city-list {
		max-height: 38vh;
	}

	.city-notice__inner {
		align-items: flex-start;
		padding-block: 9px;
	}

	.city-notice p {
		font-size: 0.78rem;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.benefit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.benefit-card {
		min-height: 220px;
	}
}

@media (max-width: 900px) {
	.page-hero-grid,
	.section-head,
	.offers-head,
	.cta-grid,
	.soon-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-hero-grid {
		gap: 44px;
	}

	.hero-note {
		max-width: 520px;
	}

	.how-steps {
		flex-direction: column;
		gap: 10px;
	}

	.how-step {
		width: 100%;
	}

	.step-arrow {
		flex: 0 0 auto;
		align-self: center;
		margin-top: 0;
		transform: rotate(90deg);
	}

	.step-visual {
		min-height: 230px;
	}

	.steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.step {
		padding: 28px 0;
		border-bottom: 1px solid var(--line);
	}

	.step + .step {
		padding-left: 0;
		border-left: 0;
	}

	.step:last-child {
		border-bottom: 0;
	}

	.step h3 {
		margin-top: 24px;
	}

	.soon-actions {
		padding-left: 0;
		border-left: 0;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	:root {
		--header-height: 68px;
	}

	.benefit-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.benefit-card {
		min-height: 200px;
	}

	.highlight {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding-block: 24px;
	}

	.highlight .number {
		line-height: 1;
	}

	.contact-card {
		padding: 26px;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.display-lg {
		font-size: clamp(2.5rem, 10vw, 3rem);
	}

	.brand {
		gap: 9px;
	}

	.brand-mark {
		width: 30px;
		height: 30px;
	}

	.brand-name {
		font-size: 0.62rem;
		letter-spacing: 0.16em;
	}

	.site-nav {
		gap: 14px;
	}

	.site-nav a {
		font-size: 0.6rem;
		letter-spacing: 0.1em;
	}

	.lang-switch {
		gap: 8px;
	}

	.lang-switch a {
		font-size: 0.58rem;
		letter-spacing: 0.08em;
	}

	.page-hero .actions,
	.actions {
		flex-direction: column;
		align-items: stretch;
	}

	.button {
		width: 100%;
	}

	.offer-list li {
		align-items: flex-start;
	}

	.step-visual {
		min-height: 210px;
		padding: 18px;
	}

	.store-badges {
		max-width: 200px;
	}

	.plan-card {
		max-width: 220px;
	}

	.offer-chips {
		max-width: 230px;
	}
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

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

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