/* ==========================================================================
   Octaneon — base: fonts, color tokens (light + dark), type, layout, buttons,
   header, footer, mobile menu, forms.
   ========================================================================== */

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/poppins-800.woff2") format("woff2");
}

/* ---------- Tokens: light ---------- */
:root {
	--bg: #f6f7fb;
	--bg-alt: #eceff7;
	--bg-tint: linear-gradient(135deg, #eef0f8 0%, #e8ebfa 60%, #e3e8fb 100%);
	--surface: #ffffff;
	--surface-2: #eef0f7;
	--ink: #12112a;
	--body: #45476b;
	--muted: #686a8a;
	--line: #dde0ec;
	--line-strong: #c9cde0;

	--teal: #00727a;         /* text-safe teal (≥4.5:1 on every background) */
	--teal-ui: #00828a;      /* borders, icons, large text */
	--teal-tint: #e2eff1;
	--green: #3a7400;        /* text-safe green */
	--lime: #a4f018;
	--lime-hover: #b8ff3d;
	--lime-tint: #eef8dc;
	--lime-ink: #12112a;
	--blue: #2f5be0;          /* brand/blue-text */
	--blue-solid: #0d52ff;
	--blue-tint: #e3e8ff;
	--amber: #a85f00;
	--amber-tint: #fdf1e1;
	--red: #cc3333;
	--red-tint: #fdecea;
	--cyan: #02c9c8;
	--chrome: #12112a;
	--chrome-ink: #c9c8e3;
	--chrome-dot: #4a4975;
	--screen: #ffffff;

	--grad-a: #2f5be0;
	--grad-b: #00929a;
	--grad-text: linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 100%);
	--glow: radial-gradient(60% 80% at 85% 0%, rgba(124, 140, 255, 0.16) 0%, rgba(124, 140, 255, 0) 70%);
	--card-glow: linear-gradient(135deg, #eaf0ff 0%, #ddf6fb 100%);

	--shadow-sm: 0 1px 2px rgba(18, 17, 42, 0.05);
	--shadow: 0 1px 2px rgba(18, 17, 42, 0.04), 0 8px 24px -12px rgba(18, 17, 42, 0.12);
	--shadow-lg: 0 24px 60px -24px rgba(18, 17, 42, 0.28);

	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 20px;
	--radius-xl: 24px;

	--font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Poppins", var(--font-body);

	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 120px);
	--header-h: 76px;

	color-scheme: light;
}

/* ---------- Tokens: dark ---------- */
:root[data-theme="dark"] {
	--bg: #12112a;
	--bg-alt: #0d0c22;
	--bg-tint: linear-gradient(135deg, #12112a 0%, #15163a 60%, #1a2a6c 160%);
	--surface: #1b1a3a;
	--surface-2: #242349;
	--ink: #ffffff;
	--body: #c9c8e3;
	--muted: #8e8db0;
	--line: #2e2d57;
	--line-strong: #3f3e72;

	--teal: #02c9c8;
	--teal-ui: #02c9c8;
	--teal-tint: rgba(2, 201, 200, 0.14);
	--green: #a4f018;
	--lime: #a4f018;
	--lime-hover: #b8ff3d;
	--lime-tint: rgba(164, 240, 24, 0.13);
	--blue: #8fa9ff;
	--blue-solid: #0d52ff;
	--blue-tint: rgba(13, 82, 255, 0.22);
	--amber: #ffb547;
	--amber-tint: rgba(255, 181, 71, 0.13);
	--red: #ff6b6b;
	--red-tint: rgba(255, 107, 107, 0.13);

	--grad-a: #4f7bf5;
	--grad-b: #19c6cc;
	--glow: radial-gradient(60% 80% at 85% 0%, rgba(26, 42, 108, 0.9) 0%, rgba(26, 42, 108, 0) 70%);
	--card-glow: linear-gradient(135deg, #1c2456 0%, #12333f 100%);

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -14px rgba(0, 0, 0, 0.7);
	--shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.8);

	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #12112a;
		--bg-alt: #0d0c22;
		--bg-tint: linear-gradient(135deg, #12112a 0%, #15163a 60%, #1a2a6c 160%);
		--surface: #1b1a3a;
		--surface-2: #242349;
		--ink: #ffffff;
		--body: #c9c8e3;
		--muted: #8e8db0;
		--line: #2e2d57;
		--line-strong: #3f3e72;
		--teal: #02c9c8;
		--teal-ui: #02c9c8;
		--teal-tint: rgba(2, 201, 200, 0.14);
		--green: #a4f018;
		--lime: #a4f018;
		--lime-hover: #b8ff3d;
		--lime-tint: rgba(164, 240, 24, 0.13);
		--blue: #8fa9ff;
		--blue-solid: #0d52ff;
		--blue-tint: rgba(13, 82, 255, 0.22);
		--amber: #ffb547;
		--amber-tint: rgba(255, 181, 71, 0.13);
		--red: #ff6b6b;
		--red-tint: rgba(255, 107, 107, 0.13);
		--grad-a: #4f7bf5;
		--grad-b: #19c6cc;
		--glow: radial-gradient(60% 80% at 85% 0%, rgba(26, 42, 108, 0.9) 0%, rgba(26, 42, 108, 0) 70%);
		--card-glow: linear-gradient(135deg, #1c2456 0%, #12333f 100%);
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -14px rgba(0, 0, 0, 0.7);
		--shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
		color-scheme: dark;
	}
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--body);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
sup { font-size: 0.55em; vertical-align: super; line-height: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--lime-ink); }

[hidden] { display: none !important; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--radius-sm); font-weight: 600;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Type ---------- */
.display, h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
	text-wrap: balance;
}
h1.display { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h1.display--md { font-size: clamp(38px, 4.6vw, 60px); }
h2.display { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
h2.display--sm { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.grad {
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
@media (forced-colors: active) { .grad { color: CanvasText; background: none; } }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--body); max-width: 40em; }
.lead--sm { font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
p + p { margin-top: 1em; }

.eyebrow {
	display: flex; align-items: center; gap: 16px;
	font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--teal); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--grad-text); flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow--center { justify-content: center; }
.label {
	font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.label--teal { color: var(--teal); }
.label--green { color: var(--green); }
.label--blue { color: var(--blue); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding-block: var(--section); border-top: 1px solid var(--line); position: relative; }
.section:first-child { border-top: 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--white { background: var(--surface); }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(56px, 6vw, 80px); }
.section-head { margin-bottom: clamp(36px, 4vw, 56px); max-width: 860px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.stack > * + * { margin-top: var(--stack, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row--lg { gap: 16px; }
.row--center { justify-content: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 40px; } .mt-xl { margin-top: 64px; }
.center { text-align: center; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 12px 24px;
	border-radius: 10px; border: 1.5px solid transparent;
	font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon { flex: none; transition: transform 0.15s ease; }
.btn:hover .icon-arrow-right { transform: translateX(3px); }
.btn--primary { background: var(--lime); color: var(--lime-ink); }
.btn--primary:hover { background: var(--lime-hover); box-shadow: 0 6px 18px -8px rgba(122, 190, 0, 0.7); }
.btn--outline { border-color: var(--teal-ui); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal-tint); }
.btn--white { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--white:hover { border-color: var(--line-strong); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; pointer-events: none; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 500; }
.text-link .icon { transition: transform 0.15s ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover .icon-arrow-right { transform: translateX(3px); }
.prose a, .inline-link { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Chips & tags ---------- */
.chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px; border-radius: 8px;
	background: var(--bg-alt); color: var(--ink); font-size: 14px; line-height: 1.3; font-weight: 500;
}
.chip--pill { border-radius: 999px; padding: 10px 18px; font-size: 16px; }
.chip--lime { background: var(--lime-tint); color: var(--green); }
.chip--teal { background: var(--teal-tint); color: var(--teal); }
.chip--blue { background: var(--blue-tint); color: var(--blue); }
.chip--amber { background: var(--amber-tint); color: var(--amber); }
.chip--line { background: transparent; border: 1px solid var(--line-strong); }
.chip--white { background: var(--surface); border: 1px solid var(--line); }
.tag-dashed {
	display: inline-block; padding: 3px 8px; border: 1px dashed var(--line-strong); border-radius: 4px;
	font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.status { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status--ok { background: var(--lime-tint); color: var(--green); }
.status--wait { background: var(--amber-tint); color: var(--amber); }
.status--info { background: var(--teal-tint); color: var(--teal); }
.status--bad { background: var(--red-tint); color: var(--red); }
.status--muted { background: var(--bg-alt); color: var(--muted); }
.dot-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--green); }
.dot-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.icon-tile { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; }
.icon-tile--sm { width: 36px; height: 36px; border-radius: 9px; }
.icon-tile--lg { width: 56px; height: 56px; border-radius: 14px; }
.icon-tile--teal { background: var(--teal-tint); color: var(--teal); }
.icon-tile--lime { background: var(--lime-tint); color: var(--green); }
.icon-tile--blue { background: var(--blue-tint); color: var(--blue); }
.icon-tile--amber { background: var(--amber-tint); color: var(--amber); }
.icon-tile--solid { background: var(--lime); color: var(--lime-ink); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand__mark { width: 30px; height: 30px; object-fit: contain; }
.brand__logo { display: block; height: 40px; width: auto; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .brand__logo--light { display: none; }
	:root:not([data-theme="light"]) .brand__logo--dark { display: block; }
}
@media (max-width: 680px) { .brand--header .brand__logo, .brand--menu .brand__logo { height: 32px; } }
.brand__img { max-height: 32px; width: auto; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.primary-nav { flex: 1; }
.primary-nav ul { display: flex; gap: 4px; }
.primary-nav a {
	display: block; padding: 8px 12px; border-radius: 8px; font-size: 16px; color: var(--body); font-weight: 500;
	transition: background-color 0.15s, color 0.15s;
}
.primary-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.primary-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; padding: 8px 16px; }
.theme-toggle {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
	border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.theme-toggle:hover { border-color: var(--line-strong); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.menu-toggle { display: none; }

@media (max-width: 1180px) {
	.primary-nav a { padding: 8px 9px; font-size: 15px; }
	.site-header__inner { gap: 20px; }
}
@media (max-width: 1060px) {
	.primary-nav, .header-actions .btn { display: none; }
	.site-header__inner { justify-content: space-between; }
	.menu-toggle {
		display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
		border: 1px solid var(--line); background: var(--surface); color: var(--ink);
	}
	.header-actions .btn--mobile { display: inline-flex; min-height: 40px; padding: 6px 14px; font-size: 14px; }
}
@media (min-width: 1061px) { .btn--mobile { display: none !important; } }
@media (max-width: 420px) { .header-actions .btn--mobile { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
	position: fixed; inset: 0; z-index: 100;
	display: flex; flex-direction: column;
	background: var(--bg); background-image: var(--glow);
	padding: 0 var(--gutter) 24px;
	overflow-y: auto;
	visibility: hidden; opacity: 0; transform: translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--line); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.mobile-menu__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.mobile-menu nav { margin-top: 20px; }
.mobile-menu nav li + li { margin-top: 10px; }
.mobile-menu nav a {
	display: flex; align-items: center; gap: 14px; padding: 10px 12px;
	border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent);
	font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink);
}
.mobile-menu nav a > .icon:last-child { margin-left: auto; color: var(--teal); }
.mobile-menu nav a[aria-current="page"] { border-color: var(--teal-ui); }
.mobile-menu__more { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 20px; font-size: 15px; }
.mobile-menu__more a { color: var(--body); padding: 6px 0; }
.mobile-menu__bottom { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mobile-menu__theme { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px; font-size: 15px; color: var(--body); }
.mobile-menu__tagline { text-align: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 16px; }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 32px; }
.site-footer__about p { margin-top: 16px; max-width: 30ch; color: var(--body); }
.site-footer__about .tagline { margin-top: 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-footer h2 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 64px; font-size: 13px; color: var(--muted); }
.site-footer__legal a { color: var(--body); }
.site-footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.site-footer__legal-links button { background: none; border: 0; padding: 0; color: var(--body); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.site-footer .icon { display: inline; vertical-align: -2px; }
@media (max-width: 960px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.site-footer__about { grid-column: 1 / -1; }
	.site-footer__legal { flex-direction: column; }
	.site-footer__legal-links { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
.field label, .field__top label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; }
.field__count { font-size: 13px; color: var(--muted); }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1px solid var(--line-strong); border-radius: 10px;
	background: var(--surface-2); color: var(--ink); font-size: 16px;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.85; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-ui); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal-ui) 25%, transparent); background: var(--surface); }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__error { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--body); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-ui); flex: none; }
.form-note { font-size: 13px; color: var(--muted); }
.form-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; }
.form-notice p { margin-top: 2px; font-size: 14px; }
.form-notice strong { color: var(--ink); }
.form-notice .icon { flex: none; margin-top: 1px; }
.form-notice--ok { background: var(--lime-tint); color: var(--green); }
.form-notice--error { background: var(--red-tint); color: var(--red); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
	max-width: 560px; margin-left: auto;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	padding: 20px; display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { font-size: 18px; display: flex; gap: 10px; align-items: center; }
.cookie-banner p { margin-top: 8px; font-size: 14px; }
.cookie-banner .row { margin-top: 16px; }
.cookie-banner .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; }
