/* ==========================================================================
   Outsourcing Hub Poland — main stylesheet
   1. Fonts  2. Tokens  3. Base  4. Components  5. Sections  6. Responsive
   ========================================================================== */

/* 1. Fonts (self-hosted, variable) ---------------------------------------- */
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); 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"; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations"); 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; }

/* 2. Tokens ---------------------------------------------------------------- */
:root {
	--navy-950: #081735;
	--navy-900: #0b1f45;
	--navy-800: #12284d;
	--navy-700: #1b3a6b;
	--blue-600: #2457a8;
	--blue-500: #2f6bd0;
	--blue-100: #e6eefa;
	--gold-500: #f5b942;
	--gold-600: #d9992b;
	--gold-100: #fdf0d3;
	--ink: #0e1f3f;
	--text: #4a5b78;
	--muted: #71829f;
	--line: #e0e8f4;
	--bg: #f5f8fd;

	--radius: 14px;
	--shadow-sm: 0 1px 2px rgba(16, 40, 80, .04), 0 6px 18px rgba(16, 40, 80, .06);
	--shadow-md: 0 2px 4px rgba(16, 40, 80, .05), 0 16px 36px rgba(16, 40, 80, .12);

	--container: 1280px;
	--gutter: clamp(16px, 3vw, 36px);
	--header-h: 76px;

	--font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 1rem/1.6 var(--font-body);
	color: var(--text);
	background:
		radial-gradient(900px 480px at 85% -80px, rgba(47, 107, 208, .10), transparent 70%),
		radial-gradient(700px 400px at 0% 380px, rgba(245, 185, 66, .07), transparent 70%),
		var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); letter-spacing: -.01em; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(47, 107, 208, .55); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 780px; }
.section { padding-block: clamp(26px, 3.2vw, 44px); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--fill { fill: currentColor; }

/* 4. Components ------------------------------------------------------------ */
.title {
	display: flex; align-items: center; gap: 14px;
	font-size: clamp(1.5rem, 2.1vw, 1.875rem); font-weight: 800; line-height: 1.2;
	margin-bottom: 22px;
}
.title::after { content: ""; flex: 0 0 auto; width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-500), rgba(245, 185, 66, 0)); }
.title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.title-row .title { margin-bottom: 22px; }
.title-row .title::after { display: none; }
.title-row .title { flex: 1 1 auto; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 .8125rem/1 var(--font-body); color: var(--blue-600); white-space: nowrap; padding-top: 10px; transition: gap .2s; }
.link-arrow:hover { gap: 10px; }
.link-arrow--back { padding: 0 0 18px; }
.link-arrow--back .icon { display: none; }
.link-arrow--back::before { content: "←"; }

.eyebrow { font: 800 .8125rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 50px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
	font: 700 .9375rem/1 var(--font-body); white-space: nowrap;
	transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 44px; padding: 0 18px; font-size: .875rem; border-radius: 9px; }
.btn--dark { background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px rgba(18, 40, 77, .22); }
.btn--dark:hover { background: var(--navy-700); box-shadow: 0 12px 26px rgba(18, 40, 77, .3); }
.btn--ghost { background: rgba(255, 255, 255, .85); color: var(--navy-800); border-color: #c6d3e8; }
.btn--ghost:hover { background: #fff; border-color: var(--blue-600); }
.btn--outline { background: #fff; color: var(--navy-800); border-color: #b9c9e3; }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--gold-100); }
.btn--gold { background: linear-gradient(180deg, #fbc95e, var(--gold-500)); color: var(--navy-900); box-shadow: 0 10px 24px rgba(245, 185, 66, .32); }
.btn--gold:hover { box-shadow: 0 14px 30px rgba(245, 185, 66, .45); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cddcf2; }

.checklist { display: grid; gap: 9px; }
.checklist li { display: flex; align-items: flex-start; gap: 9px; font-size: .8125rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.checklist .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--blue-500); stroke-width: 2.6; }
.checklist--light li { color: #e7eefb; font-size: .9375rem; }
.checklist--light .icon { color: #7db0ff; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-800); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__bar { fill: currentColor; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 800 1.0625rem/1 var(--font-head); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.logo__sub { font: 700 .625rem/1 var(--font-head); letter-spacing: .38em; text-transform: uppercase; margin-top: 5px; opacity: .85; }
.logo--light { color: #fff; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245, 248, 253, .8);
	-webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
	border-bottom: 1px solid transparent;
	transition: background-color .25s, box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); border-color: var(--line); box-shadow: 0 8px 28px rgba(16, 40, 80, .07); }
.header__row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__logo { flex: none; }
.nav-panel { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav ul { display: flex; gap: 22px; }
.nav a { position: relative; display: block; padding: 8px 0; font: 600 .875rem/1 var(--font-body); color: var(--ink); white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover, .nav a.is-active { color: var(--blue-600); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; }
.lang a { padding: 7px 8px; border-radius: 7px; font: 700 .75rem/1 var(--font-body); color: var(--muted); transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--ink); }
.burger .icon { width: 22px; height: 22px; }
.burger__close { display: none; }
.is-open .burger__open { display: none; }
.is-open .burger__close { display: block; }

/* 5. Sections -------------------------------------------------------------- */

/* Hero */
.hero { --mx: 0; --my: 0; --sy: 0; position: relative; isolation: isolate; overflow: hidden; }
.hero__inner { display: flex; align-items: center; min-height: clamp(460px, 38vw, 560px); padding-block: 44px 84px; }
.hero__copy { max-width: min(560px, 46vw); }
.hero__copy .eyebrow { margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.hero .lead { margin-top: 20px; max-width: 30em; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.6; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* Photo bleeds off the right edge and dissolves into the page on the left and bottom */
.hero__media {
	position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; right: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 70%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 70%, transparent 100%);
	mask-composite: intersect;
}
.hero__layer { position: absolute; inset: -4%; translate: calc(var(--mx) * -14px) calc(var(--my) * -10px - var(--sy) * .05px); }
.hero__layer img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, 1%); } }
.hero__sun { position: absolute; right: 8%; top: 2%; width: 55%; height: 60%; background: radial-gradient(circle, rgba(255, 220, 150, .5), transparent 65%); animation: sun 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes sun { from { opacity: .4; transform: scale(.92); } to { opacity: .95; transform: scale(1.12) translate(-6%, 4%); } }

/* Trust strip */
.trust {
	position: relative; z-index: 2; margin-top: -40px;
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); padding: 16px 0;
}
.trust li { display: flex; align-items: center; gap: 13px; padding: 8px 22px; border-left: 1px solid var(--line); font: 700 .875rem/1.3 var(--font-head); color: var(--ink); }
.trust li:first-child { border-left: 0; }
.trust .icon { width: 32px; height: 32px; color: var(--blue-600); stroke-width: 1.5; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.about__media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 7; box-shadow: var(--shadow-md); background: #ece6dc; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.about__logo { position: absolute; left: 57%; top: 44%; transform: translate(-50%, -50%); font-size: clamp(.6rem, 1.15vw, 1rem); filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .5)); }
.about__logo .logo { gap: .7em; }
.about__logo .logo__mark { width: 2.4em; height: 2.4em; }
.about__logo .logo__name { font-size: 1.35em; }
.about__copy .title { margin-bottom: 12px; }
.about__copy p { font-size: 1.0625rem; line-height: 1.7; max-width: 38em; }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 24px; }
.svc .icon { width: 36px; height: 36px; color: var(--blue-600); stroke-width: 1.5; margin-bottom: 6px; transition: transform .3s; }
.svc:hover .icon { transform: scale(1.1) rotate(-4deg); }
.svc h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; }
.svc p { font-size: .8125rem; line-height: 1.6; }
.svc--featured { background: linear-gradient(180deg, #fff6e0, #fdeccb); border-color: #f1d79c; box-shadow: 0 10px 28px rgba(245, 185, 66, .22); }
.svc--featured .icon { color: var(--navy-800); }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.aud__img { flex: none; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.aud__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.aud:hover .aud__img img { transform: scale(1.05); }
.aud__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px 20px; min-width: 0; }
.aud h3 { font-size: 1.1875rem; font-weight: 800; line-height: 1.25; }
.aud .btn { margin-top: auto; }
.aud--dark { color: #fff; border-color: transparent; background: linear-gradient(135deg, #0a1e49, #153d7c); }
.aud--dark .aud__img { position: absolute; inset: 0 0 0 40%; flex: none; }
.aud--dark .aud__img img { opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.aud--dark .aud__body { position: relative; z-index: 1; padding: 28px 26px; justify-content: center; }
.aud--dark h3 { color: #fff; font-size: 1.375rem; }
.aud--dark .checklist li { color: #e8f0ff; }
.aud--dark .checklist .icon { color: #7db0ff; }
.aud__kicker { font: 700 .75rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-500); margin-bottom: -6px; }

/* Industries */
.chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.chip { min-width: 0; hyphens: auto; display: flex; align-items: center; gap: 13px; min-height: 72px; padding: 14px 16px; font: 700 .875rem/1.3 var(--font-head); color: var(--ink); }
.chip .icon { width: 30px; height: 30px; color: var(--gold-600); stroke-width: 1.5; }

/* Why / How */
.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.duo--equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why { position: relative; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0a1e49, #15407f); box-shadow: var(--shadow-md); min-height: 330px; }
.why__img { position: absolute; inset: 0 0 0 48%; }
.why__img img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); }
.why__body { position: relative; padding: clamp(24px, 3vw, 36px); max-width: 560px; }
.why h2 { color: #fff; font-size: clamp(1.5rem, 2.1vw, 1.875rem); font-weight: 800; margin-bottom: 22px; }
.why .checklist { gap: 14px; }

.how .title { margin-bottom: 26px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; text-align: center; padding-top: 4px; }
.step__icon {
	position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px;
	border-radius: 50%; background: #fff; border: 2px solid var(--gold-500); color: var(--navy-800); box-shadow: 0 8px 20px rgba(245, 185, 66, .25);
}
.step__icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 40px); width: calc(100% - 66px); border-top: 2px dashed #c3d2ea; }
.step h3 { font-size: .9375rem; font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.step p { font-size: .8125rem; line-height: 1.5; padding-inline: 4px; }

/* Cases / insights */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pcard { display: flex; flex-direction: column; overflow: hidden; }
.pcard figure { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--blue-100); }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover img { transform: scale(1.06); }
.pcard__tag { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 7px; font: 700 .6875rem/1 var(--font-head); color: #fff; background: rgba(11, 31, 69, .92); }
.pcard__body { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; flex: 1; padding: 14px 14px 14px; }
.pcard h3 { font-size: .875rem; font-weight: 800; line-height: 1.35; }
.pcard__arrow { align-self: flex-end; width: 18px; height: 18px; color: var(--blue-600); transition: transform .2s; }
.pcard:hover .pcard__arrow { transform: translateX(4px); }
.pcard time { font-size: .75rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c9d9f1; box-shadow: var(--shadow-md); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; list-style: none; font: 700 .9375rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--blue-600); transition: transform .3s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; font-size: .9375rem; line-height: 1.7; max-width: 46em; }

/* CTA / form */
.section--cta { padding-bottom: clamp(32px, 4vw, 56px); }
.cta {
	position: relative; isolation: isolate; overflow: hidden; color: #fff; border-radius: 20px; background: var(--navy-900);
	display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 1.9fr); gap: clamp(24px, 4vw, 56px); align-items: center;
	padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3.6vw, 44px);
	box-shadow: 0 24px 60px rgba(8, 23, 53, .28);
}
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 23, 53, .96) 0, rgba(8, 23, 53, .82) 55%, rgba(8, 23, 53, .25)); }
.cta h2 { color: #fff; font-size: clamp(1.625rem, 2.5vw, 2.125rem); font-weight: 800; line-height: 1.15; }
.cta__copy p { margin-top: 12px; color: #c4d3ee; line-height: 1.6; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; }
.field { display: block; }
.field input {
	width: 100%; height: 50px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; background: #fff;
	font: 500 .9375rem var(--font-body); color: var(--ink); transition: box-shadow .2s, border-color .2s;
}
.field input::placeholder { color: #7a8aa6; }
.field input:focus { outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(245, 185, 66, .35); }
.field input[aria-invalid="true"] { border-color: #ff7a7a; box-shadow: 0 0 0 4px rgba(255, 122, 122, .3); }
.field--phone, .field--company { grid-row: 2; }
.cta__form .btn--gold { grid-column: 3; grid-row: 2; height: 50px; }
.cta__consent, .cta__status { grid-column: 1 / -1; font-size: .75rem; line-height: 1.5; color: #9fb3d8; }
.cta__consent a { color: #d6e2f8; text-decoration: underline; text-underline-offset: 2px; }
.cta__status { font-size: .875rem; font-weight: 600; min-height: 0; }
.cta__status:empty { display: none; }
.cta__status.is-ok { color: #8be0b0; }
.cta__status.is-err { color: #ffb0b0; }

/* Footer */
.site-footer { margin-top: 8px; color: #c1cfe8; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.footer__top { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 0; padding-block: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo { padding-right: 32px; }
.footer__item { display: inline-flex; align-items: center; gap: 10px; padding: 4px 32px; border-left: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; color: #dbe5f7; transition: color .2s; }
.footer__item .icon { color: #8fb4f0; }
a.footer__item:hover { color: #fff; }

.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.btn--soft { background: rgba(255, 255, 255, .07); color: #e6eefb; border-color: rgba(255, 255, 255, .2); font-weight: 600; }
.btn--soft:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .35); }
.icon--tg { color: #8cc8f0; }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 26px; font-size: .8125rem; color: #8fa3c8; }
.footer__bottom p span { margin-left: 8px; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__bottom a:hover { color: #fff; }

/* Legal / 404 */
.legal { padding-block: clamp(32px, 5vw, 72px); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.1; }
.legal__date { margin: 10px 0 28px; font-size: .875rem; color: var(--muted); }
.legal h2 { margin: 28px 0 8px; font-size: 1.1875rem; font-weight: 800; }
.legal p { line-height: 1.75; }

/* Reveal on scroll (only with JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), box-shadow .25s, border-color .25s; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js a.card.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* Motion & interaction -------------------------------------------------- */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-500), #ffdc8a); pointer-events: none; }

.btn { position: relative; overflow: hidden; }
.btn--dark::after, .btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-130%); }
.btn--dark:hover::after, .btn--gold:hover::after { transform: translateX(130%); transition: transform .7s ease; }

.svc, .aud:not(.aud--dark), .chip { position: relative; }
.svc::before, .chip::before, .aud:not(.aud--dark)::before {
	content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0), rgba(47, 107, 208, .1), transparent 62%);
}
.svc:hover::before, .chip:hover::before, .aud:not(.aud--dark):hover::before { opacity: 1; }
.svc--featured::before { background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0), rgba(245, 185, 66, .22), transparent 62%); }
a.card.chip:hover, .chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.trust li .icon { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.trust li:hover .icon { transform: translateY(-3px) scale(1.12); }

.js .title::after { width: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1) .25s; }
.js .is-in .title::after, .js .title.is-in::after { width: 46px; }
.js .title-row .title::after { display: none; }
.js .step:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform .9s ease .5s; }
.js .step.is-in::after { transform: scaleX(1); }
.step__icon { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; }
.step:hover .step__icon { transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 28px rgba(245, 185, 66, .4); }

.cta__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.cta__direct span { flex: 1 0 100%; font-size: .8125rem; color: #9fb3d8; }

.fab { position: fixed; right: 14px; bottom: 16px; z-index: 60; display: none; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--navy-800); background: rgba(255, 255, 255, .94); border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(16, 40, 80, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .2s; }
.fab__btn:active { transform: scale(.94); }
.fab__btn--tg { color: #2b8fd0; }
.fab__btn .icon { width: 22px; height: 22px; }
@media (max-width: 900px) { .fab { display: flex; } }

/* Service landing pages --------------------------------------------------- */
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(8px, 2vw, 24px); background: radial-gradient(700px 320px at 85% 0, rgba(47, 107, 208, .1), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .8125rem; color: var(--muted); }
.crumbs a { color: var(--blue-600); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { max-width: 20em; font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.page-hero .lead { margin-top: 18px; max-width: 42em; font-size: clamp(1rem, 1.3vw, 1.1875rem); line-height: 1.65; }
.page-hero .hero__actions { margin-top: 26px; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-block { padding-bottom: 30px; }
.svc-block h2 { margin-bottom: 12px; font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.25; }
.svc-block p { max-width: 46em; font-size: 1.0625rem; line-height: 1.75; }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.checklist--cols li { font-size: .9375rem; }
.checklist--cols .icon { width: 17px; height: 17px; }
.faq--one { grid-template-columns: 1fr; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; }
.svc-aside h2 { font-size: 1.25rem; font-weight: 800; }
.svc-aside p { font-size: .9375rem; line-height: 1.6; }
.svc-aside__direct { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-aside__direct .btn { flex: 1 1 auto; }
.icon--tg-dark { color: #2b8fd0; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related .svc h3 { font-size: 1.0625rem; }
.footer__services { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; font-weight: 600; }
.footer__services a { color: #cfdcf3; transition: color .2s; }
.footer__services a:hover { color: #fff; }

/* 6. Responsive ------------------------------------------------------------ */
@media (max-width: 1360px) {
	.header__row { gap: 16px; }
	.nav ul { gap: 14px; }
	.nav-panel { gap: 14px; }
	.nav a { font-size: .8125rem; }
	.nav-panel .btn { padding: 0 14px; }
	.nav-panel .btn .icon { display: none; }
	.logo__name { font-size: 1rem; }
}

@media (max-width: 1260px) {
	.services { grid-template-columns: repeat(3, 1fr); }
	.chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.audience { grid-template-columns: repeat(2, 1fr); }
	.aud--dark { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 1180px) {
	.svc-layout { grid-template-columns: minmax(0, 1fr); }
	.svc-aside { position: static; }
	.burger { display: inline-flex; }
	.nav-panel {
		position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 18px;
		padding: 8px var(--gutter) 26px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(16, 40, 80, .12);
		display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
	}
	.is-open .nav-panel { display: flex; }
	.site-header.is-open { background: #fff; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav a { padding: 15px 2px; font-size: 1rem; border-bottom: 1px solid var(--line); }
	.nav a::after { display: none; }
	.lang { justify-content: center; }
	.lang a { padding: 10px 16px; font-size: .875rem; }
	.nav-panel .btn { height: 52px; }
	.trust { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 6px; }
	.trust li { grid-column: span 2; }
	.trust li:nth-child(4) { grid-column: 2 / 4; border-left: 0; }
	.trust li:nth-child(5) { grid-column: 4 / 6; }
	.duo, .duo--equal { grid-template-columns: 1fr; }
	.cta { grid-template-columns: 1fr; }
	.cta::before { background: linear-gradient(180deg, rgba(8, 23, 53, .94), rgba(8, 23, 53, .78)); }
}

@media (max-width: 900px) {
	.hero { display: flex; flex-direction: column-reverse; }
	.hero__inner { min-height: 0; padding-block: 28px 8px; }
	.hero__copy { max-width: 600px; }
	.hero__media {
		position: relative; inset: auto; z-index: 0; height: clamp(220px, 52vw, 360px);
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%);
		-webkit-mask-composite: source-over; mask-composite: add;
	}
	.about { grid-template-columns: 1fr; }
	.about__media { aspect-ratio: 16 / 8; }
	.faq { grid-template-columns: 1fr; }
	.cards3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
	.checklist--cols { grid-template-columns: 1fr; }
	.related { grid-template-columns: 1fr; }
	.services { grid-template-columns: repeat(2, 1fr); }
	.chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.chip { gap: 10px; padding: 12px; font-size: .8125rem; overflow-wrap: anywhere; }
	.chip .icon { width: 26px; height: 26px; flex: none; }
	.audience { grid-template-columns: 1fr; }
	.aud--dark { order: 0; }
	.duo, .duo--equal { gap: 40px; }
	.trust { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 0; }
	.trust li, .trust li:nth-child(4), .trust li:nth-child(5) { grid-column: auto; border-left: 0; padding: 12px 14px; gap: 10px; font-size: .8125rem; overflow-wrap: anywhere; }
	.trust .icon { width: 26px; height: 26px; flex: none; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.step::after { display: none; }
	.cards3 { grid-template-columns: 1fr; }
	.pcard { flex-direction: row; }
	.pcard figure { flex: 0 0 42%; aspect-ratio: auto; }
	.pcard__body { justify-content: center; }
	.pcard__arrow { align-self: flex-start; }
	.why__img { inset: 0; opacity: .35; }
	.why__img img { -webkit-mask-image: none; mask-image: none; }
	.cta__form { grid-template-columns: 1fr; }
	.field--phone, .field--company, .cta__form .btn--gold { grid-row: auto; grid-column: auto; }
	.cta__form .btn--gold { width: 100%; }
	.footer__top { flex-direction: column; align-items: flex-start; gap: 16px; }
	.footer__logo { padding: 0; }
	.footer__item { padding: 0; border: 0; }
	.footer__actions { margin-left: 0; }
}

@media (max-width: 480px) {
	.hero__actions .btn { flex: 1 1 100%; }
	.services { grid-template-columns: 1fr; }
	.title { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero__layer, .float { translate: none; }
}

/* Blog ---------------------------------------------------------------------- */
.banner { --c1: var(--navy-800); --c2: var(--blue-500); position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; padding: 18px 20px; color: #fff; background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .28), transparent 46%), linear-gradient(135deg, var(--c1), var(--c2)); }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 30px 30px; -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000); mask-image: linear-gradient(120deg, transparent 20%, #000); }
.banner::after { content: ""; position: absolute; right: -14%; bottom: -46%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 26px rgba(255, 255, 255, .05), 0 0 0 60px rgba(255, 255, 255, .03); }
.banner > * { position: relative; z-index: 1; }
.banner__icon { position: absolute !important; right: 7%; top: 10%; width: 38%; height: auto; aspect-ratio: 1; stroke-width: .9; color: rgba(255, 255, 255, .26); animation: drift 7s ease-in-out infinite; }
.banner__kpi { font: 800 clamp(2rem, 3.4vw, 2.75rem) / 1 var(--font-head); letter-spacing: -.03em; text-shadow: 0 4px 24px rgba(0, 0, 0, .18); }
.banner__cap { max-width: 70%; margin-top: 8px; font: 700 .6875rem / 1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.banner--blue { --c1: #12284d; --c2: #2f6bd0; }
.banner--gold { --c1: #7a3f06; --c2: #f0a22a; }
.banner--teal { --c1: #0b4a57; --c2: #20b5a8; }
.banner--violet { --c1: #29196a; --c2: #7b61e8; }
.banner--green { --c1: #0c4633; --c2: #2fb67a; }
.banner--rose { --c1: #5a1834; --c2: #e0527a; }
.banner--hero { aspect-ratio: 21 / 7; margin-top: 28px; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.banner--hero .banner__kpi { font-size: clamp(2.75rem, 6vw, 5rem); }
.banner--hero .banner__cap { font-size: .8125rem; }
@keyframes drift { 50% { transform: translateY(-8px) rotate(3deg); } }
.pcard figure .banner { height: 100%; aspect-ratio: auto; padding: 14px; }
.pcard .banner__kpi { font-size: 1.9rem; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card__body { position: relative; display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 22px; }
.post-card__meta { font-size: .75rem; color: var(--muted); }
.post-card__meta b { color: var(--blue-600); }
.post-card h2, .post-card h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.35; color: var(--ink); }
.post-card p { font-size: .875rem; line-height: 1.6; }
.post-card .pcard__arrow { position: absolute; right: 18px; bottom: 18px; }
.post-card:hover .pcard__arrow { transform: translateX(4px); }
.posts .post-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.posts .post-card:first-child .banner { flex: 0 0 48%; aspect-ratio: auto; min-height: 280px; }
.posts .post-card:first-child .banner__kpi { font-size: clamp(3rem, 5vw, 4.25rem); }
.posts .post-card:first-child .post-card__body { justify-content: center; gap: 12px; padding: 32px 40px; }
.posts .post-card:first-child h2 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.posts .post-card:first-child p { font-size: 1rem; }

.container--post { width: min(100% - var(--gutter) * 2, 1100px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; font-size: .8125rem; color: var(--muted); }
.post-meta b { padding: 5px 11px; border-radius: 99px; font: 700 .75rem / 1 var(--font-head); color: var(--blue-600); background: var(--blue-100); }
.post-hero h1 { max-width: 22em; }
.post-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.post-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 14px; }
.post-aside .svc-aside { position: static; }

.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 44px; font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.25; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.0625rem; line-height: 1.8; }
.prose p strong { color: var(--ink); }
.prose .checklist li { font-size: 1.0625rem; line-height: 1.6; }
.post-note { margin-top: 44px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8125rem !important; line-height: 1.6 !important; color: var(--muted); }
.toc { padding: 18px 20px; }
.toc b { font: 800 .8125rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.toc ol { margin: 10px 0 0; padding-left: 18px; font-size: .875rem; line-height: 1.4; }
.toc li { margin-top: 8px; color: var(--muted); }
.toc a { color: var(--text); font-weight: 600; transition: color .2s; }
.toc a:hover { color: var(--blue-500); }

.tip { display: flex; gap: 14px; padding: 18px 20px; border-left: 4px solid var(--gold-500); border-radius: 12px; background: var(--gold-100); }
.tip .icon { flex: none; width: 22px; height: 22px; color: var(--gold-600); }
.tip p { margin: 0; font-size: 1rem !important; line-height: 1.65 !important; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.stat b { font: 800 clamp(1.5rem, 2.4vw, 2rem) / 1.1 var(--font-head); letter-spacing: -.02em; color: var(--blue-600); }
.stat span { font-size: .875rem; line-height: 1.4; color: var(--text); }

.flow { margin-block: 24px; padding: 0; list-style: none; }
.flow li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding-bottom: 22px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 37px; top: 46px; bottom: 2px; width: 2px; background: repeating-linear-gradient(var(--line) 0 5px, transparent 5px 9px); }
.flow__badge { z-index: 1; display: grid; place-items: center; justify-self: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; font: 800 .8125rem var(--font-head); color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); box-shadow: 0 6px 16px rgba(36, 87, 168, .3); }
.flow h3 { margin: 10px 0 4px; font-size: 1.0625rem; font-weight: 800; line-height: 1.3; }
.flow p { margin: 0; font-size: 1rem !important; line-height: 1.65 !important; }

.chart { margin-block: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.chart figcaption { margin-bottom: 18px; font: 800 1rem / 1.3 var(--font-head); color: var(--ink); }
.chart__row { display: grid; grid-template-columns: minmax(120px, 30%) minmax(0, 1fr) 66px; align-items: center; gap: 14px; margin-top: 12px; }
.chart__label { font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.chart__track { height: 16px; overflow: hidden; border-radius: 8px; background: var(--blue-100); }
.chart__track i { display: block; width: var(--w); height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); transform-origin: left; transition: transform 1s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .12s); }
.js .chart:not(.is-in) .chart__track i { transform: scaleX(0); }
.chart__row b { font: 800 .9375rem var(--font-head); text-align: right; color: var(--ink); }
.chart__note { margin: 14px 0 0 !important; font-size: .8125rem !important; line-height: 1.5 !important; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.prose th, .prose td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font: 800 .8125rem var(--font-head); color: var(--ink); background: var(--blue-100); }
.prose tbody th { font-weight: 700; color: var(--ink); background: #fafcff; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose .table-wrap + .chart__note { margin-top: 10px !important; }

@media (max-width: 1180px) {
	.post-layout { grid-template-columns: minmax(0, 1fr); }
	.post-aside { position: static; }
	.toc { display: none; }
}
@media (max-width: 900px) {
	.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.posts .post-card:first-child { flex-direction: column; }
	.posts .post-card:first-child .banner { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
	.posts .post-card:first-child .post-card__body { padding: 20px; }
	.banner--hero { aspect-ratio: 16 / 8; }
}
@media (max-width: 640px) {
	.posts { grid-template-columns: 1fr; }
	.chart { padding: 18px 16px; }
	.chart__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
	.chart__label { grid-column: 1 / -1; }
	.flow li { grid-template-columns: 60px 1fr; gap: 12px; }
	.flow li:not(:last-child)::after { left: 29px; }
	.banner__cap { max-width: 85%; }
}
