/* =========================================================
   CMXDS theme v2 — premium
   Deep ink + paper, brand blue→cyan from the logo's X.
   Font: Poppins (self-hosted).
   ========================================================= */

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

:root {
	--night: #0b0e14;
	--night-2: #121722;
	--night-3: #1a2130;
	--ink: #14181f;
	--ink-2: #2f3642;
	--muted: #5b6472;
	--muted-dark: #a3adbb;
	--line: #e1e6ed;
	--line-strong: #c6cfda;
	--line-dark: rgba(255, 255, 255, .1);
	--mist: #f4f7fb;
	--paper: #ffffff;
	--blue: #1557ff;
	--blue-ink: #0e43d1;
	--cyan: #16cfff;
	--grad: linear-gradient(120deg, #1557ff 0%, #2f7bff 45%, #16cfff 100%);
	--wa: #128c4b;
	--danger: #c62828;

	--font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1240px;
	--gutter: 18px;
	--radius-sm: 12px;
	--radius: 18px;
	--radius-lg: 26px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--shadow: 0 1px 2px rgba(11, 14, 20, .04), 0 18px 40px -22px rgba(11, 14, 20, .25);
	--shadow-blue: 0 18px 40px -16px rgba(21, 87, 255, .55);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--paper); color: var(--ink-2);
	font-family: var(--font); font-size: 1rem; line-height: 1.7;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; text-wrap: balance; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(21, 87, 255, .2); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.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 { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */

.display {
	font-size: clamp(2.35rem, 1.2rem + 4.4vw, 5rem);
	font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
	max-width: 16ch;
}
.display-page { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4rem); max-width: 20ch; }
.display-article { font-size: clamp(1.8rem, 1.15rem + 2.4vw, 3rem); line-height: 1.12; letter-spacing: -.025em; max-width: 28ch; }
.h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; max-width: 22ch; }
.h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 650; letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); line-height: 1.65; max-width: 58ch; margin-top: 24px; }
.prose { max-width: 62ch; }
.prose > :last-child { margin-bottom: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: 0 26px;
	border: 1.5px solid transparent; border-radius: 999px;
	font-size: .975rem; font-weight: 600; line-height: 1.1; letter-spacing: -.005em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .35s var(--ease-out);
	will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); overflow: hidden; isolation: isolate; }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s var(--ease); z-index: -1; }
.btn-primary:hover { color: #fff; }
.btn-primary:hover::before { opacity: 1; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: #e6edff; color: var(--night); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .07); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e7a40; color: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.actions-end { margin-top: 0; align-items: center; }

.link {
	position: relative; display: inline-flex; align-items: center; gap: .45em;
	color: var(--ink); font-weight: 600; text-decoration: none; padding-bottom: 4px;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform-origin: left; transition: transform .45s var(--ease-out); }
.link:hover { color: var(--blue-ink); }
.link:hover::after { transform: scaleX(.35); }
.band-dark .link, .hero-dark .link { color: #fff; }
.more { margin: 32px 0 0; }

/* ---------- Header (dark, glass) ---------- */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11, 14, 20, .97);
	-webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .45s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(11, 14, 20, .92); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; padding: 6px 0; }
.brand img { width: 150px; height: auto; transition: transform .4s var(--ease-out); }
.brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 24px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a {
	position: relative; display: inline-flex; align-items: center;
	min-height: 44px; padding: 0 14px;
	color: #d6dce5; font-size: .94rem; font-weight: 500; text-decoration: none;
	transition: color .2s var(--ease);
}
.nav-list > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px;
	background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
	transition: transform .4s var(--ease-out);
}
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: #fff; }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { min-height: 46px; padding: 0 22px; }

.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin-left: -10px; border: 0; background: none; color: #d6dce5; cursor: pointer; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-sub:hover .sub-toggle .icon, .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.sub {
	position: absolute; top: 100%; left: -12px; width: 360px; padding-top: 10px;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s .25s;
}
.sub ul { list-style: none; padding: 10px; background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.sub a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: #fff; transition: background-color .2s var(--ease); }
.sub a strong { font-weight: 600; font-size: .95rem; }
.sub a span { color: var(--muted-dark); font-size: .84rem; line-height: 1.4; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--night-3); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px; border: 0; background: transparent; color: #fff; border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

@media (max-width: 1023px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px;
		padding: 20px var(--gutter) 40px; overflow-y: auto;
		background: var(--night);
		visibility: hidden; opacity: 0;
		clip-path: inset(0 0 100% 0);
		transition: clip-path .55s var(--ease-out), opacity .3s var(--ease), visibility 0s .55s;
	}
	.nav.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition-delay: 0s; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
	.nav-list > li > a { flex: 1; min-height: 60px; font-size: 1.35rem; font-weight: 600; padding: 0 4px; color: #fff; }
	.nav-list > li > a::after { left: 4px; right: auto; width: 28px; bottom: 12px; }
	.nav.is-open .nav-list > li { animation: menu-in .6s var(--ease-out) both; }
	.nav.is-open .nav-list > li:nth-child(2) { animation-delay: .05s; }
	.nav.is-open .nav-list > li:nth-child(3) { animation-delay: .1s; }
	.nav.is-open .nav-list > li:nth-child(4) { animation-delay: .15s; }
	.nav.is-open .nav-list > li:nth-child(5) { animation-delay: .2s; }
	.sub-toggle { width: 52px; height: 60px; margin: 0; }
	.sub { position: static; width: 100%; padding: 0 0 12px; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-sub.is-open .sub { display: block; }
	.has-sub:hover .sub-toggle .icon { transform: none; }
	.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
	.sub ul { background: transparent; border: 0; box-shadow: none; padding: 0; }
	.sub a { padding: 10px 4px; }
	.nav-cta { min-height: 56px; font-size: 1.05rem; }
	body.menu-open { overflow: hidden; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (dark) ---------- */

.hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-dark { background: var(--night); color: #c9d1dc; }
.hero-dark h1, .hero-dark h2, .hero-dark h3 { color: #fff; }
.hero-dark .lead { color: #c9d1dc; }
.hero-home { padding-bottom: clamp(40px, 5vw, 64px); }

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.glow-1 { width: 620px; height: 620px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(21, 87, 255, .9), rgba(21, 87, 255, 0) 70%); animation: drift 16s ease-in-out infinite alternate; }
.glow-2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(22, 207, 255, .6), rgba(22, 207, 255, 0) 70%); animation: drift 20s ease-in-out infinite alternate-reverse; }
.grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.12); } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 32px; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; } }
.hero-copy { position: relative; z-index: 1; }

.hero-pre { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #e3e8ef; font-size: .875rem; font-weight: 500; }
.band:not(.band-dark) .hero-pre { border-color: var(--line); background: var(--mist); color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(22, 207, 255, .6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 207, 255, .55); } 100% { box-shadow: 0 0 0 12px rgba(22, 207, 255, 0); } }

.hero-art { display: none; }
@media (min-width: 1000px) {
	.hero-art { display: block; justify-self: end; width: min(100%, 440px); animation: float 7s ease-in-out infinite; }
	.hero-art-small { width: min(100%, 300px); }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-2deg); } }
.xmark polygon { transform-box: fill-box; transform-origin: center; }
.xmark-hero { filter: drop-shadow(0 30px 60px rgba(21, 87, 255, .45)); }
.xmark-hero polygon:first-of-type { animation: x-in 1.1s .2s var(--ease-out) both; }
.xmark-hero polygon:last-of-type { animation: x-in 1.1s .38s var(--ease-out) both; }
@keyframes x-in { from { transform: scale(.1, 1); opacity: 0; } to { transform: none; opacity: 1; } }

/* split headline */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 80ms); }
[data-split].is-in .w > span { transform: none; }

/* facts */
.facts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(44px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); }
.facts-dark { border-top-color: var(--line-dark); }
.facts > div { padding: 20px 20px 0 0; }
.facts > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts-dark > div + div { border-left-color: var(--line-dark); }
.facts dt { font-size: .875rem; color: var(--muted); margin-bottom: 6px; }
.facts-dark dt { color: var(--muted-dark); }
.facts dd { margin: 0; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts-dark dd { color: #fff; }
.facts dd.facts-text { font-size: clamp(1.05rem, .95rem + .6vw, 1.35rem); letter-spacing: -.01em; line-height: 1.25; padding-top: .3em; font-weight: 600; }
@media (max-width: 767px) {
	.facts { grid-template-columns: 1fr 1fr; }
	.facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.facts > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
	.facts-dark > div:nth-child(n+3) { border-top-color: var(--line-dark); }
}
.facts-stack { grid-template-columns: 1fr; margin: 0; align-self: start; }
.facts-stack > div { padding: 22px 0; }
.facts-stack > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
.facts-stack dd { font-size: clamp(3rem, 2rem + 4vw, 5.25rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* marquee */
.marquee { overflow: hidden; background: var(--night); border-top: 1px solid var(--line-dark); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; color: #fff; font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--grad); transform: rotate(45deg); border-radius: 3px; }
.marquee span:nth-child(even) { -webkit-text-stroke: 1px rgba(255, 255, 255, .5); color: transparent; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.band { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.band-tight { padding-top: clamp(44px, 5vw, 72px); }
.band-mist { background: var(--mist); }
.band-dark { background: var(--night); color: #c9d1dc; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }

.section-head { margin-bottom: clamp(36px, 4vw, 60px); max-width: 780px; }
.section-head .h2 + .section-intro { margin-top: 18px; }
.section-intro { color: var(--muted); font-size: 1.075rem; max-width: 56ch; margin-bottom: 0; }
.band-dark .section-intro { color: var(--muted-dark); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.section-head-row p { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 72px; align-items: start; }
@media (min-width: 900px) {
	.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.split-wide { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.split .h2 + p, .split .h2 + .prose { margin-top: 22px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Service cards ---------- */

.service-cards { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.service-card {
	position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%;
	padding: 28px; border-radius: var(--radius-lg);
	background: #fff; border: 1px solid var(--line);
	color: var(--ink-2); text-decoration: none; overflow: hidden; isolation: isolate;
	transition: border-color .35s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease-out);
	transform-style: preserve-3d;
}
.service-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(21, 87, 255, .1), transparent 45%);
	opacity: 0; transition: opacity .4s var(--ease);
}
.service-card:hover { border-color: rgba(21, 87, 255, .45); box-shadow: 0 30px 60px -32px rgba(21, 87, 255, .45); color: var(--ink-2); }
.service-card:hover::before { opacity: 1; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card-name { font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.service-card-arrow { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mist); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), transform .45s var(--ease-out); }
.service-card:hover .service-card-arrow { background: var(--blue); color: #fff; transform: rotate(-45deg); }
.service-card-desc { color: var(--muted); flex: 1; }
.service-card-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-weight: 500; font-size: .9rem; }
.service-card-price small { width: 100%; color: var(--muted); font-size: .8rem; }
.service-card-price strong { font-size: 1.6rem; color: var(--ink); letter-spacing: -.03em; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow .45s var(--ease), transform .5s var(--ease-out); }
.plan:hover { box-shadow: var(--shadow); }
.plan-alt { background: var(--night); border-color: var(--night); color: #c9d1dc; }
.plan-alt .plan-name, .plan-alt .price-amount, .plan-alt .price-cur { color: #fff; }
.plan-name { font-size: 1rem; font-weight: 600; }
.plan-price { margin: 18px 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.plan-price .price-amount { font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.9rem); }
.plan-note { margin: 0; color: var(--muted); font-size: .9rem; }
.plan-alt .plan-note { color: var(--muted-dark); }
.plans-cta { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 519px) { .plans { grid-template-columns: 1fr; } }

.price-label { flex-basis: 100%; font-size: .85rem; color: var(--muted); margin: 0; }
.price-amount { font-size: 1.75rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.price-from { font-size: .5em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-cur { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.price-note { flex-basis: 100%; font-size: .9rem; color: var(--muted); margin: 2px 0 0; }

/* SEO highlight band */
.band-seo .glow-1 { opacity: .4; }
.band-seo::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(21, 87, 255, .35), transparent 65%); filter: blur(40px); }
.band-seo .wrap { position: relative; }
.seo-figure { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; justify-self: center; }
.seo-number { font-size: clamp(7rem, 4rem + 12vw, 13rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seo-caption { color: #fff; font-size: 1.15rem; font-weight: 600; line-height: 1.4; }

/* markets, principles, index */
.markets { list-style: none; display: grid; gap: 14px; }
.markets li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: border-color .3s var(--ease), transform .5s var(--ease-out); }
.markets li:hover { border-color: var(--blue); transform: translateX(6px); }
.markets h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.markets p { margin: 0; color: var(--muted); max-width: 46ch; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; }
.principles > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .4s var(--ease), transform .5s var(--ease-out); }
.principles > div:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.principles dt { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.principles dt::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 16px; }
.principles dd { margin: 0; color: var(--muted); }

.service-index { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 28px; }
.service-index a { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 24px; border-top: 2px solid var(--ink); color: var(--ink-2); text-decoration: none; height: 100%; transition: border-color .3s var(--ease); }
.service-index strong { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.service-index a:hover { border-top-color: var(--blue); }
.service-index a:hover strong { color: var(--blue-ink); }
.service-index span { color: var(--muted); }

/* ---------- Services page & service pages ---------- */

.chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); background: #fff; font-size: .9rem; font-weight: 500; text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .3s var(--ease-out); }
.chips a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero-dark .chips a, .chips-dark a { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); color: #e3e8ef; }
.hero-dark .chips a:hover, .chips-dark a:hover { border-color: #fff; color: #fff; }
.hero-dark .chips a[aria-current="page"] { background: #fff; color: var(--night); border-color: #fff; }
.chips-dark { margin-top: 36px; }

.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 72px; align-items: start; }
@media (min-width: 900px) { .service-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.service-name { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--blue-ink); font-weight: 600; }
.service-name .service-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .8rem; }
.service-summary { color: var(--muted); font-size: 1.075rem; margin: 20px 0 28px; max-width: 54ch; }
.list-title { margin-bottom: 14px; }

.checklist { list-style: none; display: grid; max-width: 580px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist .icon { flex: 0 0 26px; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(21, 87, 255, .1); color: var(--blue); margin-top: .05em; }

.price-box { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); overflow: hidden; }
.price-big { margin: 4px 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price-big .price-amount { font-size: clamp(2.6rem, 2rem + 2vw, 3.5rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-fine { font-size: .9rem; color: var(--ink-2); background: var(--mist); border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0 0; }
.price-box .btn { margin-top: 18px; }
.price-box .btn + .btn { margin-top: 10px; }

.hero-price { position: relative; justify-self: end; width: min(100%, 360px); padding: 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.hero-price .price-label, .hero-price .price-note { color: var(--muted-dark); }
.hero-price .price-amount { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); color: #fff; }
.hero-price .price-cur { color: #fff; }
.hero-price .price-big { margin: 6px 0 8px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.xmark-card { position: absolute; width: 140px; right: -30px; bottom: -40px; opacity: .25; }
@media (max-width: 999px) { .hero-price { justify-self: start; } }

.for-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.for-item { position: relative; padding: 26px 26px 26px 62px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line-dark); color: #e3e8ef; font-weight: 500; transition: border-color .3s var(--ease), transform .5s var(--ease-out); }
.for-item::before { content: ""; position: absolute; left: 26px; top: 30px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad); transform: rotate(45deg) scale(.7); }
.for-item:hover { border-color: rgba(22, 207, 255, .5); transform: translateY(-4px); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--mist); overflow: hidden; transition: background-color .3s var(--ease), transform .5s var(--ease-out); }
.step:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-4px); }
.step-num { display: block; font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.step-title { font-size: 1.1rem; font-weight: 650; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .82rem; color: var(--muted); font-weight: 600; background: var(--mist); }
.compare tbody tr { transition: background-color .2s var(--ease); }
.compare tbody tr:hover { background: var(--mist); }
.compare tbody th { font-weight: 700; font-size: 1.05rem; }
.compare tbody th a { color: var(--ink); text-decoration: none; }
.compare tbody th a:hover { color: var(--blue-ink); }
.compare td { color: var(--muted); }
.compare .num { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 64px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.contact-side .h3 { margin-bottom: 14px; }
.contact-side > p { color: var(--muted); }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.contact-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: 2px; transition: border-color .3s var(--ease); }
.contact-list li:hover { border-color: var(--blue); }
.contact-label { font-size: .82rem; color: var(--muted); }
.contact-list a, .contact-list li > span:last-child { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; min-height: 32px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue-ink); }
.contact-list .icon { color: var(--blue); }

.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 44px); background: #fff; box-shadow: var(--shadow); }
.form-intro { color: var(--muted); margin: 10px 0 26px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--mist); color: var(--ink); font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #8a93a0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(21, 87, 255, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin: 0; }
.form-hint { color: var(--muted); font-size: .9rem; margin: 0; }
.form-status { margin: 0; font-weight: 600; color: var(--ink); }
.form-status:empty { display: none; }

/* ---------- Blog ---------- */

.blog-tools { margin-top: 36px; display: grid; gap: 18px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 580px; padding: 6px 6px 6px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 87, 255, .15); }
.hero-dark .search { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); }
.hero-dark .search input { color: #fff; }
.hero-dark .search input::placeholder { color: var(--muted-dark); }
.hero-dark .search .icon { color: var(--muted-dark); }
.search .icon { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; min-height: 42px; font-size: 1rem; }
.search .btn { border-radius: 999px; }
.hero-dark .search .btn-dark { background: var(--blue); }
.hero .search { margin-top: 24px; }
.blog-tools .search { margin-top: 0; }

.post-list { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.post-row { position: relative; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; gap: 6px; transition: border-color .3s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease-out); }
.post-row:hover { border-color: rgba(21, 87, 255, .4); box-shadow: var(--shadow); transform: translateY(-3px); }
.post-row-cat { position: relative; z-index: 2; justify-self: start; display: inline-flex; padding: 4px 12px; border-radius: 999px; background: rgba(21, 87, 255, .08); font-size: .8rem; font-weight: 600; color: var(--blue-ink); text-decoration: none; }
.post-row-cat:hover { background: var(--blue); color: #fff; }
.post-row-title { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); font-weight: 650; line-height: 1.3; letter-spacing: -.015em; max-width: 52ch; margin-top: 6px; }
.post-row-title a { color: var(--ink); text-decoration: none; }
.post-row-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.post-row:hover .post-row-title a { color: var(--blue-ink); }
.post-row-desc { margin: 2px 0 0; color: var(--muted); max-width: 72ch; font-size: .95rem; }
.post-row-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .82rem; color: var(--muted); }
@media (min-width: 900px) { .post-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pager { margin-top: 44px; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .dots { border-color: transparent; }
.empty { max-width: 60ch; }
.empty .h3 { margin-bottom: 12px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq-item[open] { border-color: rgba(21, 87, 255, .35); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.faq-item summary::after { content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--ease-out), background-color .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(135deg); background-color: rgba(21, 87, 255, .12); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); max-width: 66ch; }

/* breadcrumbs */
.crumbs { margin-bottom: 24px; font-size: .875rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-ink); text-decoration: underline; }
.hero-dark .crumbs li, .hero-dark .crumbs [aria-current] span { color: var(--muted-dark); }
.hero-dark .crumbs a { color: #e3e8ef; }
.hero-dark .crumbs li + li::before { color: rgba(255, 255, 255, .25); }
@media (max-width: 719px) { .crumbs li[aria-current] { display: none; } }

/* ---------- Article ---------- */

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.article-hero { padding-bottom: clamp(36px, 4vw, 64px); }
.article-head { position: relative; max-width: 1000px; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.article-kicker { margin: 0 0 16px; }
.article-kicker a { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(22, 207, 255, .12); color: var(--cyan); font-size: .85rem; font-weight: 600; text-decoration: none; }
.article-kicker a:hover { background: var(--cyan); color: var(--night); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 28px 0 0; font-size: .875rem; color: var(--muted-dark); }
.article-meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); margin-right: 20px; vertical-align: middle; position: relative; top: -2px; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 72px; padding: clamp(36px, 4vw, 72px) 0 clamp(48px, 6vw, 80px); }
@media (min-width: 1040px) {
	.article-grid { grid-template-columns: 270px minmax(0, 1fr); }
	.article-grid-single { grid-template-columns: minmax(0, 1fr); }
	.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
}
.toc-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 18px 14px; background: #fff; }
.toc-box summary { cursor: pointer; list-style: none; font-weight: 650; color: var(--ink); font-size: .95rem; padding: 10px 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.toc-box[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.toc ol { list-style: none; counter-reset: toc; padding: 8px 0 0; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 28px 1fr; gap: 4px; padding: 7px 0 7px 10px; margin-left: -10px; border-left: 2px solid transparent; color: var(--muted); font-size: .875rem; line-height: 1.4; text-decoration: none; transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--line-strong); font-weight: 600; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--blue); font-weight: 600; }
.toc a.is-active::before { color: var(--blue); }
@media (min-width: 1040px) { .toc-box summary { pointer-events: none; } .toc-box summary::after { display: none; } }

.prose-article { max-width: 72ch; font-size: 1.05rem; line-height: 1.8; color: var(--ink-2); }
.prose-article h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; margin: 2.1em 0 .7em; line-height: 1.2; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose-article > h2:first-child, .prose-article > p:first-child + h2 { margin-top: 1.2em; }
.prose-article h3 { font-size: 1.2rem; font-weight: 650; margin: 1.6em 0 .5em; line-height: 1.3; }
.prose-article p { margin: 0 0 1.15em; }
.prose-article ul, .prose-article ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; }
.prose-article li { position: relative; margin: .55em 0; padding-left: 30px; }
.prose-article ul > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); transform: rotate(45deg) scale(.75); }
.prose-article ol { counter-reset: li; }
.prose-article ol > li { counter-increment: li; }
.prose-article ol > li::before { content: counter(li); position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: rgba(21, 87, 255, .12); color: var(--blue-ink); font-size: .75rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.prose-article strong { color: var(--ink); font-weight: 600; }
.prose-article > p:first-child { font-size: 1.18rem; line-height: 1.7; color: var(--ink); }
.prose-article a { font-weight: 500; }
.prose-article section { scroll-margin-top: calc(var(--header-h) + 20px); }

.box { margin: 2em 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); }
.box > :last-child { margin-bottom: 0; }
.box-title { display: block; font-weight: 700; color: var(--ink); margin-bottom: .6em; font-size: 1.05rem; }
.box-tip { background: var(--mist); border: 1px solid var(--line); }
.box-check { background: var(--night); color: #d4dae3; }
.box-check .box-title { color: #fff; }
.box-check li { color: #d4dae3; }
.box-check ul > li::before { background: var(--cyan); }
.box-example { border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(90deg, rgba(21, 87, 255, .06), transparent); }
.box-example .box-title { color: var(--blue-ink); }

.faq-inline { margin-top: 2.4em; }
.faq-inline h3 { margin-top: 1.3em; }

/* legacy article blocks (articles not yet re-imported) */
.cmxds-blog-intro p { font-size: 1.18rem; line-height: 1.7; color: var(--ink); }
.cmxds-blog-dark { background: var(--night); color: #d4dae3; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); margin: 2em 0; }
.cmxds-blog-dark-label { font-size: .85rem; color: #9fb0c4; margin-bottom: 10px !important; }
.cmxds-blog-dark h3 { color: #fff; margin-top: 0; }
.cmxds-blog-local { border-left: 4px solid var(--blue); padding: 4px 0 4px 24px; margin: 2em 0; }
.cmxds-blog-local-label { font-size: .9rem; font-weight: 600; color: var(--blue-ink); margin-bottom: 6px !important; }
.cmxds-blog-faq { margin-top: 2.5em; }
.cmxds-blog-faq-item { border-top: 1px solid var(--line); }
.cmxds-blog-cta { margin-top: 3em; background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.cmxds-blog-cta-label { font-size: .85rem; color: var(--muted); }
.cmxds-blog-cta-button { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; margin-top: 8px; background: var(--blue); color: #fff !important; border-radius: 999px; font-weight: 600; text-decoration: none; }

.article-service { margin-bottom: clamp(56px, 7vw, 96px); }
.article-service-box { position: relative; display: grid; gap: 24px 48px; align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--night); color: #c9d1dc; overflow: hidden; isolation: isolate; }
.article-service-box::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(21, 87, 255, .55), transparent 65%); filter: blur(30px); }
.article-service-box .h3 { color: #fff; margin: 6px 0 10px; }
.article-service-box p { margin: 0; max-width: 60ch; }
.article-service-label { color: var(--cyan) !important; font-size: .85rem; font-weight: 600; }
.article-service-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.article-service-box .btn-outline { border-color: rgba(255, 255, 255, .35); color: #fff; }
.article-service-box .btn-outline:hover { background: #fff; color: var(--night); }
@media (min-width: 900px) { .article-service-box { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .article-service-actions { justify-content: flex-end; } }

/* ---------- CTA band ---------- */

.band-cta { background: var(--night); color: #c5ccd6; overflow: hidden; isolation: isolate; }
.band-cta::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(ellipse at 50% 100%, rgba(21, 87, 255, .5), transparent 60%); }
.cta-grid { position: relative; z-index: 1; display: grid; gap: 28px 64px; align-items: end; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.cta-title { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; max-width: 17ch; }
.cta-text { margin: 20px 0 0; max-width: 52ch; font-size: 1.075rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-actions { justify-content: flex-end; } }
.xmark-cta { position: absolute; z-index: 0; width: clamp(260px, 38vw, 520px); right: -6%; top: 50%; transform: translateY(-50%); opacity: .14; animation: spin-slow 40s linear infinite; }
@keyframes spin-slow { to { transform: translateY(-50%) rotate(360deg); } }

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

.site-footer { background: #07090d; color: #a3adbb; padding: clamp(60px, 7vw, 96px) 0 28px; font-size: .94rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: minmax(0, 1.8fr) repeat(5, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1000px) { .footer-brand { grid-column: auto; } }
.footer-brand .brand img { width: 160px; }
.footer-brand p { margin: 16px 0 0; max-width: 34ch; }
.footer-markets { color: #fff; font-weight: 600; }
.footer-title { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a { color: #d5dbe3; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; transition: color .2s var(--ease), transform .3s var(--ease-out); overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-contacts .icon { color: var(--cyan); }
.footer-legal { line-height: 1.75; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp popup ---------- */

.wa-pop {
	position: fixed; right: 20px; bottom: 20px; z-index: 120;
	width: min(360px, calc(100vw - 32px));
	padding: 22px; border-radius: 22px;
	background: #fff; color: var(--ink-2);
	box-shadow: 0 30px 70px -20px rgba(11, 14, 20, .45), 0 0 0 1px rgba(11, 14, 20, .06);
	opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right;
	transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.wa-pop.is-visible { opacity: 1; transform: none; }
.wa-pop[hidden] { display: none; }
.wa-pop-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), transform .3s var(--ease-out); }
.wa-pop-close:hover { background: var(--line); transform: rotate(90deg); }
.wa-pop-close .icon { width: 18px; height: 18px; }
.wa-pop-head { display: flex; align-items: center; gap: 12px; padding-right: 40px; margin-bottom: 14px; flex-wrap: wrap; }
.wa-pop-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; flex: 0 0 auto; }
.wa-pop-avatar .icon { width: 24px; height: 24px; }
.wa-pop-small { margin: 0; font-size: .78rem; color: var(--muted); }
.wa-pop-title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.wa-pop-online { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--wa); }
.wa-pop-online span { width: 8px; height: 8px; border-radius: 50%; background: #25d366; animation: pulse-wa 2s ease-out infinite; }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }
.wa-pop-text { font-size: .92rem; line-height: 1.6; color: var(--muted); }
.wa-pop .btn-wa { min-height: 50px; }

/* ---------- Custom cursor ---------- */

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor [role="button"] { cursor: none; }
	.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
	.has-cursor .cursor { display: block; }
	.cursor { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
	.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
	.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--blue); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .25s var(--ease), background-color .25s var(--ease); }
	.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(21, 87, 255, .55); transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), border-color .3s var(--ease), background-color .3s var(--ease), opacity .3s var(--ease); }
	.cursor.on-dark .cursor-dot { background: var(--cyan); }
	.cursor.on-dark .cursor-ring { border-color: rgba(22, 207, 255, .6); }
	.cursor.is-hover .cursor-ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(21, 87, 255, .1); border-color: rgba(21, 87, 255, .3); }
	.cursor.is-hover .cursor-dot { opacity: 0; }
	.cursor.is-text .cursor-ring { opacity: 0; }
	.cursor.is-down .cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
	.cursor.is-hidden .cursor-dot, .cursor.is-hidden .cursor-ring { opacity: 0; }
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js .reveal { opacity: 1; transform: none; }
	[data-split] .w > span { transform: none; }
	.marquee-track { animation: none; }
	.has-cursor, .has-cursor * { cursor: auto !important; }
	.has-cursor .cursor { display: none !important; }
}

@media print {
	.site-header, .site-footer, .wa-pop, .band-cta, .toc, .nav-toggle, .cursor, .marquee, .read-progress { display: none !important; }
	body { font-size: 11pt; color: #000; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
	a { color: #000; }
}

/* ---------- Illustrations ---------- */

.illus { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.hero-illus { position: relative; z-index: 1; width: 100%; max-width: 560px; justify-self: end; }
.illus-hero { box-shadow: 0 40px 80px -30px rgba(21, 87, 255, .45), 0 0 0 1px rgba(255, 255, 255, .06); }
@media (max-width: 999px) { .hero-illus { justify-self: stretch; max-width: 520px; } }

.illus .il-float { animation: il-float 6s ease-in-out infinite; transform-box: fill-box; }
.illus .il-delay { animation-delay: -3s; animation-duration: 7s; }
@keyframes il-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.illus .il-bar { transform-box: fill-box; transform-origin: bottom; animation: il-bar 1.4s var(--ease-out) both; animation-delay: calc(var(--b) * 120ms + 300ms); }
@keyframes il-bar { from { transform: scaleY(0); } to { transform: none; } }
.illus .il-pulse circle { transform-box: fill-box; transform-origin: center; animation: il-pulse 2s ease-out infinite; }
@keyframes il-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.illus .il-rise path { animation: il-rise 4s ease-in-out infinite; transform-box: fill-box; }
.illus .il-rise path:nth-child(2) { animation-delay: -1.3s; }
.illus .il-rise path:nth-child(3) { animation-delay: -2.6s; }
@keyframes il-rise { 0% { transform: translateY(20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
.illus .il-draw { stroke-dasharray: 260; stroke-dashoffset: 260; animation: il-draw 2s .4s var(--ease-out) forwards; }
@keyframes il-draw { to { stroke-dashoffset: 0; } }
.illus .il-donut { animation: il-donut 1.6s .3s var(--ease-out) both; }
@keyframes il-donut { from { stroke-dasharray: 0 314; } }

/* service hero layout: copy + price on the left, illustration on the right */
@media (min-width: 1000px) {
	.hero-service .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "copy art" "price art"; row-gap: 28px; }
	.hero-service .hero-copy { grid-area: copy; }
	.hero-service .hero-illus { grid-area: art; align-self: center; }
	.hero-service .hero-price-inline { grid-area: price; }
}
.hero-price-inline { justify-self: start; width: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 18px 24px; }
.hero-price-inline .price-label { flex-basis: auto; }
.hero-price-inline .price-big { margin: 0; }
.hero-price-inline .price-note { flex-basis: auto; margin: 0; }
.hero-price-inline .xmark-card { display: none; }

/* services page side column */
.service-side { display: grid; gap: 18px; align-content: start; }
.service-illus .illus { box-shadow: var(--shadow); }

/* article covers in lists */
.post-row-cover { display: block; margin: -26px -28px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 400 / 190; background: var(--night); }
.post-row-cover .cover { width: 100%; height: 100%; display: block; transition: transform .8s var(--ease-out); }
.post-row:hover .post-row-cover .cover { transform: scale(1.05); }
.post-row { overflow: hidden; }

/* ---------- Info pages (blocks) ---------- */
.prose-page { max-width: 760px; }
.prose-page > h2, .prose-page .wp-block-heading { margin: 2.2em 0 .6em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; color: var(--ink); }
.prose-page > h2:first-child { margin-top: .4em; }
.prose-page ul.wp-block-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose-page ul.wp-block-list li { position: relative; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.prose-page ul.wp-block-list li { margin: 0; }
.prose-page ul.wp-block-list li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; transform: none; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.prose-page details.wp-block-details { border-top: 1px solid var(--line); padding: 0; margin: 0; }
.prose-page details.wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.prose-page details.wp-block-details summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; color: var(--ink); min-height: 44px; }
.prose-page details.wp-block-details summary::-webkit-details-marker { display: none; }
.prose-page details.wp-block-details summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform .25s var(--ease, ease); }
.prose-page details.wp-block-details[open] summary::after { transform: rotate(45deg); }
.prose-page details.wp-block-details p { margin: 0 0 18px; color: var(--muted); }
.analysis-form-wrap { margin: 1.2em 0 2em; }
.analysis-form-wrap .form-card { margin: 0; }
.form-privacy { font-size: .85rem; color: var(--muted); margin: 0; }
.form-privacy a { color: inherit; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
.footer-legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.footer-legal-links a { color: inherit; text-decoration: none; opacity: .8; display: inline-block; padding: 6px 0; }
.footer-legal-links a:hover { opacity: 1; text-decoration: underline; }
.analysis-form-wrap .form-card h2 { margin-top: 0 !important; } .analysis-form-wrap .form-card p, .analysis-form-wrap .form-card ul { max-width: none; }
