/* AI Mentors: style strony. Ciemny, minimalistyczny układ z fioletowym akcentem. */

/* ---------- czcionki ---------- */
/* Barlow jest w wspolne.css (wszystkie strony), tu tylko Barlow Semi Condensed do nagłówków starszych podstron. */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- zmienne ---------- */
:root {
	--black: #000000;
	--panel: #0b0a0f;
	--raised: #121019;
	--white: #ffffff;
	--grey: #b4afc2;
	--dim: #7d778f;
	--violet: #b69cff;
	--violet-deep: #3a1a7a;
	--coral: #ff9fb0;
	--hair: rgba(255, 255, 255, .18);
	--hair-strong: rgba(255, 255, 255, .55);

	--font-body: Barlow, "D-DIN", "DIN Alternate", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Barlow Semi Condensed", Barlow, "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
	--fs-xs: 0.8125rem;
	--fs-s: 0.875rem;
	--fs-m: 1.0625rem;
	--fs-l: 1.25rem;
	--fs-xl: clamp(2rem, 2rem + ((1vw - 0.2rem) * 1.875), 3.5rem);
	--fs-xxl: clamp(2.25rem, 2.25rem + ((1vw - 0.2rem) * 2.5), 4.25rem);
	--fs-huge: clamp(3rem, 3rem + ((1vw - 0.2rem) * 2.5), 5rem);

	--gap: 1.375rem;
	--space-50: clamp(2.5rem, 5vw, 4rem);
	--space-60: clamp(4.5rem, 9vw, 8rem);
	--space-70: clamp(4.5rem, 12vh, 8.75rem);
	--pad: max(1.25rem, 5vw);
	--content: 1440px;
	/* Wysokość menu (i paska sekcji, jeśli jest) nad treścią: o tyle niższe są panele na cały ekran. */
	--chrome: 53px;

	--shade-left: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 62%), linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%);
	--shade-right: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,0) 65%), linear-gradient(270deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,0) 65%);
	--shade-cta: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,0) 68%), linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 55%);
}
/* Strony szkoleń mają pod menu pasek sekcji. */
body:has(.lnav) { --chrome: 114px; }
/* Na wąskich ekranach cienie paneli przechodzą w jeden pionowy gradient. */
@media (max-width: 900px) {
	:root {
		--shade-left: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.6) 42%, rgba(0,0,0,0) 72%);
		--shade-right: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.6) 42%, rgba(0,0,0,0) 72%);
		--shade-cta: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.1) 80%);
	}
}

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--font-body);
	/* Tekst płynnie od 14 px na telefonie do 16 px na szerokim ekranie. */
	font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.156), 1rem);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure { margin: 0; }
img, video { max-width: 100%; }
p { text-wrap: pretty; }
a { color: currentColor; text-decoration: underline; }
a:hover, a:focus-visible { color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
::selection { background: var(--violet); color: var(--black); }
sup { font-size: 0.6em; line-height: 0; color: var(--violet); }
strong { font-weight: 700; }
code { padding: 1px 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em; color: var(--white); background: var(--raised); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: var(--fs-xxl); line-height: 0.98; letter-spacing: 0.02em; }
h2 { font-size: var(--fs-xl); line-height: 1.02; letter-spacing: 0.02em; }
h3 { font-size: var(--fs-l); font-weight: 600; line-height: 1.2; letter-spacing: 0.06em; }
.fs-large { font-size: var(--fs-l); }
.fs-xx-large { font-size: var(--fs-xxl); }

/* ---------- układ ---------- */
/* Odstęp między kolejnymi elementami w kontenerze. */
.flow > * + * { margin-top: var(--gap); }
/* Pierwszy element kontenera nie ma górnego marginesu (jak w WordPressie). */
.flow > :first-child, .legal > :first-child { margin-top: 0; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap); }
.row--nowrap { flex-wrap: nowrap; }
.row--between { justify-content: space-between; }

.cols { display: flex; flex-wrap: wrap; gap: 2em; }
.cols > .col { flex: 1 1 0; min-width: 0; overflow-wrap: break-word; }
.cols--center { align-items: center; }
.cols--bottom, .col--bottom { align-items: flex-end; }
.col--bottom { align-self: flex-end; }
@media (min-width: 782px) { .cols { flex-wrap: nowrap; } }
@media (max-width: 781px) { .cols > .col { flex-basis: 100%; } }

/* Sekcja: pełna szerokość, treść do 1440 px. */
.section { padding: var(--space-60) var(--pad); }
.section > * { max-width: var(--content); margin-inline: auto; }
.section + .section, .section--line { border-top: 1px solid var(--hair); }
.section-head { max-width: 880px; margin-bottom: var(--space-50); }
.section-head > * + * { margin-top: 18px; }

/* Dwie kolumny z dużym odstępem. */
.cols.split { gap: clamp(40px, 6vw, 96px); }
@media (min-width: 782px) and (max-width: 900px) {
	.cols.split { flex-wrap: wrap; }
	.cols.split > .col { flex-basis: 100%; }
}

/* ---------- typografia pomocnicza ---------- */
.eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.22em; line-height: 1.4; text-transform: uppercase; color: var(--grey); }
.eyebrow--accent { color: var(--violet); }
.eyebrow--accent::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 10px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: 0.12em;
}
.lead { max-width: 54ch; font-size: var(--fs-m); line-height: 1.65; color: var(--grey); }
.callout { padding: 4px 0 4px 18px; border-left: 2px solid var(--violet); font-size: var(--fs-m); }
.callout strong {
	display: block;
	margin-bottom: 6px;
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--violet);
}
.stat { font-family: var(--font-display); font-size: var(--fs-huge); font-weight: 700; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.stat em { margin-left: 6px; font-size: 0.42em; font-style: normal; letter-spacing: 0.08em; color: var(--grey); }
.note { margin-top: 24px; font-size: var(--fs-s); color: var(--dim); }

/* ---------- przyciski: obrys, wypełnienie od dołu po najechaniu ---------- */
.btns { display: flex; flex-wrap: wrap; gap: var(--gap); }
.btn {
	--fill: var(--white);
	position: relative;
	display: inline-block;
	overflow: hidden;
	isolation: isolate;
	padding: 1rem 2.125rem;
	border: 2px solid var(--white);
	background: transparent;
	color: var(--white);
	font-family: var(--font-body);
	font-size: var(--fs-s);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: color .25s ease;
}
.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--fill);
	transform: translateY(101%);
	transition: transform .25s ease;
}
.btn:hover, .btn:focus-visible { color: var(--black); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--accent { --fill: var(--violet); border-color: var(--violet); }
.btn--solid { --fill: var(--violet); background: var(--white); color: var(--black); }
.btn--small { padding: 10px 20px; font-size: 0.75rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:disabled::before { transform: translateY(101%); }
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } }

/* ---------- listy ---------- */
.list-dots { list-style: none; padding-left: 0; color: var(--grey); }
.list-dots li { position: relative; padding-left: 22px; }
.list-dots li + li { margin-top: 10px; }
.list-dots li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--violet);
}
.list-rows { list-style: none; padding-left: 0; counter-reset: row; border-top: 1px solid var(--hair); }
.list-rows li {
	counter-increment: row;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--hair);
}
.list-rows li::after {
	content: counter(row, decimal-leading-zero);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--violet);
	font-variant-numeric: tabular-nums;
}

/* ---------- tabele ---------- */
.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.079), 0.938rem); color: var(--grey); }
.table:not(.table--spec) table { min-width: 620px; }
.table th, .table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.table thead th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); }
.table td:first-child { color: var(--white); }
.table--spec tr:first-child td { border-top: 1px solid var(--hair); }
.table--spec td { padding: 18px 0; }
.table--spec td:first-child { width: 44%; padding-right: 20px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.table--spec td:last-child { text-align: right; color: var(--grey); }

/* ---------- rozwijane (FAQ, źródła) ---------- */
details { border-bottom: 1px solid var(--hair); }
details summary {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	list-style: none;
	cursor: pointer;
	font-size: var(--fs-s);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 22px; font-weight: 500; line-height: 1; color: var(--violet); }
details[open] summary::after { content: "−"; }
details > p { max-width: 70ch; margin: 0; padding-bottom: 26px; color: var(--grey); }
details > summary + * { margin-top: 0 !important; }

.faq > details { margin-top: 0; }
.faq > details:first-child, .faq > h3 + details { border-top: 1px solid var(--hair); }
.faq > h3 { margin: 48px 0 8px; font-size: var(--fs-m); color: var(--violet); }
.faq > h3:first-child { margin-top: 0; }

.sources { margin-top: var(--space-50) !important; border-top: 1px solid var(--hair); }
.sources summary { font-size: var(--fs-xs); color: var(--dim); }
.sources ol { margin: 0; padding: 0 0 24px 1.4em; max-width: 100ch; font-size: var(--fs-s); color: var(--dim); }
.sources li + li { margin-top: 10px; }
.sources a { color: var(--grey); }

/* ---------- pełnoekranowe panele ze zdjęciem lub wideo ---------- */
.panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 430px;
	padding: 1em;
	overflow: clip;
	color: var(--white);
}
.panel__media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.panel__shade { position: absolute; inset: 0; pointer-events: none; }
.panel__shade--left { background: var(--shade-left); }
.panel__shade--right { background: var(--shade-right); }
.panel__shade--cta { background: var(--shade-cta); }
.panel__inner { position: relative; z-index: 1; width: 100%; }
.panel__inner > * { max-width: var(--content); }
.panel__inner--narrow { width: min(100%, 760px); }
.panel__inner--narrow > * { max-width: 760px; }
.panel__inner > .lead { max-width: 54ch; }

.panel--bottom-left { align-items: flex-end; justify-content: flex-start; }
.panel--bottom-right { align-items: flex-end; justify-content: flex-end; }
.panel--center-left { align-items: center; justify-content: flex-start; }

/* Tło panelu sięga krawędzi ekranu, a tekst wyrównuje się do kolumny 1440 px, jak w sekcjach. */
.panel--full, .panel--short, .panel--tight { padding: 40px max(var(--pad), calc((100% - var(--content)) / 2)) var(--space-70); }
.panel--full { min-height: calc(100svh - var(--chrome)); }
.panel--short { min-height: 62svh; }
.panel--tight { min-height: 46svh; padding-bottom: 48px; }
.panel .lead { color: #d9d5e3; }
.panel .eyebrow { color: var(--white); }
.panel .eyebrow--accent { color: var(--violet); }
.panel .btns { margin-top: calc(var(--gap) + 14px); }

/* Zdjęcie i wideo panelu wygasają do czerni na krawędziach, żeby na styku z sąsiednią sekcją nie było ostrej linii.
   Pierwszy panel strony (pod nagłówkiem) wygasa tylko u dołu. */
:is(.panel--full, .panel--short, .panel--tight) .panel__media {
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 80%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 80%, transparent 100%);
}
main > .panel:first-child .panel__media {
	-webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
}
@media (max-width: 900px) {
	.panel--bottom-right { justify-content: flex-start; }
	.panel--bottom-right .panel__inner { width: 100%; }
	.panel--center-left { align-items: flex-end; }
}
@media (max-width: 640px) {
	.panel--full:not(.hero) { min-height: 86svh; }
	.panel--short { min-height: 70svh; }
}

/* ---------- liczby ---------- */
.stats { padding-inline: var(--pad); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stats > * { max-width: var(--content); margin-inline: auto; }
.stats .cols { gap: 0; }
.stats .col { padding: 56px 40px 52px; border-left: 1px solid var(--hair); }
.stats .col > * + * { margin-top: 10px; }
.stats .col:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) {
	.stats .cols { flex-wrap: wrap; }
	.stats .cols > .col { flex-basis: 50%; padding: 36px 20px; }
	.stats .cols > .col:nth-child(odd) { border-left: 0; padding-left: 0; }
	.stats .col:nth-child(n+3) { border-top: 1px solid var(--hair); }
}

/* ---------- kolumny rozdzielone linią (zasady, pakiety) ---------- */
.cols.divided { gap: 0; border-top: 1px solid var(--hair); }
.divided > .col { padding: 40px 40px 0 0; }
.divided > .col + .col { padding-left: 40px; border-left: 1px solid var(--hair); }
.divided > .col > * + * { margin-top: 14px; }
.divided p:not([class]) { color: var(--grey); }
@media (max-width: 900px) {
	.cols.divided { flex-wrap: wrap; }
	.divided > .col, .divided > .col + .col { flex-basis: 100%; padding: 32px 0; border-left: 0; }
	.divided > .col + .col { border-top: 1px solid var(--hair); }
}

/* ---------- oś czasu ---------- */
.cols.timeline { position: relative; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--hair-strong); }
.timeline > .col { position: relative; padding: 40px 28px 0 0; }
.timeline > .col > * + * { margin-top: 10px; }
.timeline > .col::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 13px;
	height: 13px;
	border: 2px solid var(--white);
	border-radius: 50%;
	background: var(--black);
}
.timeline > .col:last-child::before { background: var(--violet); border-color: var(--violet); }
.timeline__time { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet); font-variant-numeric: tabular-nums; }
.timeline p:last-child { font-size: 0.9375rem; color: var(--grey); }
@media (max-width: 900px) {
	.cols.timeline { flex-direction: column; gap: 36px; }
	.timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
	.timeline > .col { padding: 0 0 0 40px; flex-basis: auto; }
}

/* ---------- konsola: plan dnia ---------- */
.console { border: 1px solid var(--hair); }
.console > * { margin: 0 !important; }
.console__bar {
	padding: 14px 20px;
	border-bottom: 1px solid var(--hair);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--grey);
}
.console__bar > p:first-child::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 10px;
	vertical-align: -2px;
	background: url("../images/mark.svg") center / contain no-repeat;
}
.console__bar > p:last-child { color: var(--violet); }
.console__bar > p:last-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: 0.1em; }
.console__body { padding: 24px 20px; }
.console__body > * + * { margin-top: 18px; }
.console__row { gap: 14px; align-items: baseline; }
.console__row > p:first-child { flex: 0 0 60px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; color: var(--grey); font-variant-numeric: tabular-nums; }
.console__row--live > p:first-child { color: var(--violet); }
.console__row--live > p:last-child::after { content: ""; display: inline-block; width: 9px; height: 18px; margin-left: 6px; vertical-align: -3px; background: var(--violet); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .console__row--live > p:last-child::after { animation: none; } }

/* ---------- panel z telefonem ---------- */
.product { position: relative; display: flex; align-items: flex-end; min-height: calc(100svh - var(--chrome)); overflow: hidden; padding: 40px var(--pad) var(--space-70); }
.product > .cols { width: 100%; align-items: flex-end; }
.product__phone { position: relative; display: flex; justify-content: center; perspective: 1800px; }
.product__phone::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 640px;
	height: 900px;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(182,156,255,.22), rgba(182,156,255,0) 70%);
	pointer-events: none;
}
.phone {
	position: relative;
	width: 360px;
	max-width: 100%;
	height: 740px;
	padding: 12px;
	border-radius: 54px;
	background: linear-gradient(145deg, #3b3550, #121019 40%, #1d1a28);
	box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 60px 120px -30px rgba(0,0,0,.9), 0 0 160px -20px rgba(182,156,255,.45);
	transform: rotateY(-22deg) rotateX(8deg) rotateZ(3deg);
}
.phone__screen {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 52px 18px 22px;
	overflow: hidden;
	border-radius: 44px;
	background: #07060b;
	font-size: var(--fs-s);
	line-height: 1.45;
}
.phone__screen > * { margin: 0 !important; }
.phone__screen::before { content: ""; position: absolute; top: 18px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 14px; background: #000; }
.phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 35%); pointer-events: none; }
/* Ekran telefonu: zwykła aplikacja pocztowa (wątek e-mail), bez elementów marki poza awatarem. */
.mail__bar { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--violet); }
.mail__subject { font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--white); }
.mail__msg { padding-top: 14px; border-top: 1px solid var(--hair); }
.mail__from { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mail__from > span:last-child { display: flex; flex-direction: column; }
.mail__avatar { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #2a2738; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; color: var(--white); }
.mail__avatar--brand { background: #1a1230; }
.mail__avatar img { width: 15px; height: 15px; }
.mail__name { font-size: 0.875rem; font-weight: 600; line-height: 1.2; color: var(--white); }
.mail__meta { font-size: 0.75rem; color: var(--dim); }
.mail__body { color: var(--grey); }
.mail__actions { display: flex; gap: 8px; margin-top: auto !important; }
.mail__actions span { flex: 1; padding: 9px; border: 1px solid var(--hair-strong); border-radius: 20px; text-align: center; font-size: 0.8125rem; color: var(--grey); }
@media (max-width: 781px) {
	.product > .cols { flex-direction: column-reverse; }
	.phone { width: 300px; height: 600px; transform: rotateY(-10deg) rotateZ(3deg); }
}

/* ---------- sekcja ze zdjęciem z boku ---------- */
.service .cols { align-items: stretch; }
.service-text > * + * { margin-top: 24px; }
.service-media { height: 100%; min-height: 560px; margin: 0 calc(-1 * var(--pad)) 0 0; }
.service-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
	mask-composite: intersect;
}
@media (max-width: 900px) {
	.service-media { min-height: 0; aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--pad)); }
}

/* ---------- cennik ---------- */
.plan { display: flex; flex-direction: column; padding-bottom: 48px !important; }
.plan > * { margin-block: 0 !important; }
.plan > * + * { margin-top: 22px !important; }
.plan > .eyebrow + .price, .plan > .price + .eyebrow { margin-top: 10px !important; }
.plan ul { border-bottom: 0; }
.plan li { margin: 0; padding: 12px 0 12px 20px; border-top: 1px solid var(--hair); font-size: 0.9375rem; }
.plan .list-dots li::before { top: 1.25em; }
.plan > .btns { margin-top: auto !important; padding-top: 22px; }
.plan--featured h2 { color: var(--violet); }
.cols.plans--single { max-width: 560px; }
.price { font-variant-numeric: tabular-nums; }

/* ---------- wybór ścieżki: dwa klikalne kafelki ---------- */
.cols.choice { gap: 16px; }
.choice .panel {
	height: 100%;
	min-height: 560px;
	padding: clamp(28px, 4vw, 48px);
	align-items: flex-end;
	border: 1px solid var(--hair);
	transition: border-color .3s ease;
}
.choice .panel__media { transition: transform .6s ease; }
/* Cały kafelek jest linkiem: obszar linku z nagłówka rozciąga się na cały kafelek. */
.choice .panel__inner { position: static; }
.choice .panel__inner > * { position: relative; z-index: 2; }
.choice .panel__inner > * + * { margin-top: 18px; }
.choice h2 a { text-decoration: none; }
.choice h2 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.choice h2 a::before { content: "→"; float: right; margin-left: 16px; color: var(--violet); transition: transform .3s ease; }
.choice .panel:hover, .choice .panel:focus-within { border-color: var(--violet); }
.choice .panel:hover .panel__media, .choice .panel:focus-within .panel__media { transform: scale(1.05); }
.choice .panel:hover h2 a::before, .choice .panel:focus-within h2 a::before { transform: translateX(6px); }
.choice p:not([class]) { max-width: 46ch; color: #d9d5e3; }
@media (max-width: 781px) { .choice .panel { min-height: 420px; } }
@media (prefers-reduced-motion: reduce) {
	.choice .panel__media, .choice h2 a::before { transition: none; }
}

/* ---------- kontakt ---------- */
.contact > .col:first-child { flex-grow: 1.5; }
.contact-list > * { margin: 0 !important; padding: 22px 0; border-top: 1px solid var(--hair); }
.contact-list > *:last-child { border-bottom: 1px solid var(--hair); }
.contact-list > * > * + * { margin-top: 6px; }
.contact-list p:first-child { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.contact-list p:last-child { font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }

/* ---------- formularz kontaktowy ---------- */
.form { display: flex; flex-direction: column; gap: 34px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.field input, .field textarea, .field select {
	width: 100%;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid var(--hair-strong);
	border-radius: 0;
	background: transparent;
	color: var(--white);
	font: inherit;
	font-size: var(--fs-m);
}
.field textarea { min-height: 120px; resize: vertical; }
.contact-topic { max-width: 22rem; }
.contact-topic select { color-scheme: dark; }
.contact-topics:has(option[value="wdrozenie"]:checked) [data-temat="szkolenie"],
.contact-topics:has(option[value="szkolenie"]:checked) [data-temat="wdrozenie"] { display: none; }
.form ::placeholder { color: var(--dim); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; border-bottom-color: var(--violet); box-shadow: 0 1px 0 var(--violet); }
.field[data-invalid] input, .field[data-invalid] textarea, .check[data-invalid] input { border-color: var(--coral); }
/* Komunikat błędu nie zajmuje miejsca w układzie: jego zniknięcie nie przesuwa przycisku pod kursorem. */
.field, .check { position: relative; }
.field__error { position: absolute; top: 100%; left: 0; margin-top: 6px; font-size: 0.8125rem; line-height: 1.3; color: var(--coral); }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: var(--fs-s); color: var(--grey); cursor: pointer; }
.check a { color: var(--white); }
.check input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	border: 1px solid var(--hair-strong);
	background: transparent;
	cursor: pointer;
}
.check input::after { content: ""; width: 10px; height: 10px; background: var(--violet); transform: scale(0); transition: transform .12s; }
.check input:checked { border-color: var(--violet); }
.check input:checked::after { transform: scale(1); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; align-items: center; gap: 16px; }
.form__status { padding: 16px 18px; border: 1px solid var(--coral); color: var(--coral); font-size: 0.9375rem; }
.form__status[data-ok] { border-color: var(--white); color: var(--white); }

/* ---------- dokumenty (polityka prywatności, regulamin) ---------- */
.legal-head { padding-top: var(--space-60); padding-bottom: var(--space-50); }
.legal-head .flow > * + * { margin-top: var(--gap); }
.legal { max-width: 760px; }
.legal > * + * { margin-top: 1rem; }
.legal > h2 { margin-top: 3rem; font-size: var(--fs-l); font-weight: 600; letter-spacing: 0.06em; line-height: 1.2; }
.legal > .callout + h2 { margin-top: 2.5rem; }
.legal p:not([class]), .legal li { color: var(--grey); }
.legal p strong { color: var(--white); }
.legal a { color: var(--white); }
.legal ol { padding-left: 1.4em; }
.legal ol > li + li { margin-top: 0.75rem; }
.legal ol > li::marker { color: var(--violet); font-weight: 700; }
.legal li > ul, .legal li > ol { margin-top: 0.625rem; }
.legal .table { margin-block: 1.5rem; }

/* ---------- kontakt: kafelki e-mail i telefon nad formularzem ---------- */
.contact-tiles { margin-bottom: var(--space-50); }
.contact-tiles strong { color: var(--white); }
.contact-tiles .btns { margin-top: 22px; }
.contact-form { max-width: 640px; }
/* Sekcja, do której prowadzi link z kotwicą (#zapytanie), nie chowa się pod przyklejonym menu ani paskiem sekcji. */
[id] { scroll-margin-top: 80px; }

/* ---------- artykuły: lista (karty) ---------- */
/* Obrazek sięga krawędzi karty, tekst ma wcięcie. Najnowszy artykuł (pierwsza karta) na szerokim ekranie zajmuje cały wiersz:
   obrazek po lewej, tekst po prawej. */
.article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.article-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-bottom: 30px;
	overflow: hidden;
	border: 1px solid var(--hair);
	border-radius: 18px;
	background: var(--panel);
	transition: border-color .4s ease, transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .5s ease;
}
.article-card > :not(img) { margin-inline: 30px; }
.article-card > img + * { margin-top: 10px; }
.article-card:hover { border-color: rgba(182, 156, 255, .6); transform: translateY(-4px); box-shadow: 0 28px 60px -30px rgba(182, 156, 255, .45); }
.article-card:has(a:focus-visible) { outline: 2px solid var(--violet); outline-offset: 4px; }
.article-card h2 a:focus-visible { outline: none; }
.article-card img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.article-card h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.1; }
.article-card h2 a { text-decoration: none; }
/* Cała karta jest linkiem: obszar linku z tytułu rozciąga się na kartę. */
.article-card h2 a::after { content: ""; position: absolute; inset: 0; }
.article-card p:not([class]) { max-width: 60ch; color: var(--grey); font-size: 1rem; line-height: 1.6; }
.article-card__more { margin-top: auto; padding-top: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); }
@media (min-width: 1200px) {
	.article-list > .article-card:first-child {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		grid-template-rows: 1fr auto auto auto auto 1fr;
		column-gap: 8px;
		row-gap: 18px;
		padding-bottom: 0;
	}
	.article-list > .article-card:first-child > img { grid-column: 1; grid-row: 1 / -1; height: 100%; }
	.article-list > .article-card:first-child > :not(img) { grid-column: 2; margin: 0 48px 0 40px; }
	.article-list > .article-card:first-child > .article-meta { grid-row: 2; }
	.article-list > .article-card:first-child > h2 { grid-row: 3; font-size: clamp(2rem, 1.2rem + 1.4vw, 2.75rem); line-height: 1.02; }
	.article-list > .article-card:first-child > p:not([class]) { grid-row: 4; font-size: var(--fs-m); }
	.article-list > .article-card:first-child > .article-card__more { grid-row: 5; margin-top: 6px; }
}
@media (max-width: 480px) {
	.article-card > :not(img) { margin-inline: 22px; }
	.article-card .article-meta { letter-spacing: 0.12em; }
}
/* Lista zaczyna się bliżej panelu z nagłówkiem strony. */
.art + .section { padding-top: var(--space-50); }
@media (prefers-reduced-motion: reduce) {
	.article-card { transition: border-color .4s ease; }
	.article-card:hover { transform: none; }
}

/* Animowana sieć w panelu (canvas[data-mesh], rysuje ją site.js) pojawia się płynnie nad obrazkiem zastępczym. */
.mesh { opacity: 0; transition: opacity 1.2s ease; }
.mesh.is-live { opacity: 1; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.article-meta > :first-child { color: var(--violet); }

/* ---------- artykuły: strona artykułu ---------- */
.article-head > *, .article-body { max-width: 760px; margin-inline: auto; }
.article-head .back { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); text-decoration: none; }
.article-head h1 { font-size: clamp(2.25rem, 2.25rem + ((1vw - 0.2rem) * 1.9), 3.75rem); line-height: 1; }
.article-author { display: flex; align-items: center; gap: 12px; font-size: var(--fs-s); color: var(--grey); }
.article-author strong { color: var(--white); }
.article-body { font-size: 1.0625rem; line-height: 1.75; color: #d9d5e3; }
.article-body > * + * { margin-top: 1.25rem; }
.article-body h2 { margin-top: 3rem; font-size: 2.125rem; line-height: 1.05; color: var(--white); }
.article-body h3 { margin-top: 2rem; font-size: var(--fs-l); color: var(--white); }
.article-body figure img { display: block; width: 100%; height: auto; }
.article-body figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--grey); }
.article-body blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--violet); font-size: 1.1875rem; line-height: 1.6; color: var(--white); }
.article-body pre { overflow-x: auto; padding: 20px 24px; border: 1px solid var(--hair); background: var(--raised); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; line-height: 1.6; color: var(--white); white-space: pre-wrap; }
.article-body pre.pre--nowrap { white-space: pre; } /* drzewa katalogów, tabele w tekście: przewijanie w bok zamiast zawijania */
.article-body ol { padding-left: 1.4em; }
.article-body ol > li + li { margin-top: 0.625rem; }
.article-body ol > li::marker { color: var(--violet); font-weight: 700; }
.article-body > :is(pre, .table, figure, .divided) + * { margin-top: 1.75rem; }
.article-body .divided { border-bottom: 1px solid var(--hair); } /* porównanie dwóch rzeczy w artykule: .cols.divided */
.article-body .divided > .col { padding-top: 28px; padding-bottom: 28px; }
.article-body .divided h3 { margin-top: 0; }
.article-body > p:has(+ :is(pre, .table, ol)) + * { margin-top: .75rem; }
.article-body .table table { font-size: 1rem; }
.article-body td code { overflow-wrap: anywhere; } /* długie nazwy i ścieżki w wąskiej kolumnie; miejsca podziału wskaż przez <wbr> */
.article-body .table :is(th, td):first-child { width: 30%; }
.article-body .table:has(th:nth-child(3)) :is(th, td):last-child { width: 42%; }
@media (max-width: 600px) {
	.article-body .table table { min-width: 0; }
	.article-body .table :is(th, td):first-child { width: 38%; }
	/* tabela z 3 kolumnami na telefonie: każdy wiersz jako karta */
	.article-body .table:has(th:nth-child(3)) :is(table, thead, tbody, tr, th, td) { display: block; width: auto; }
	.article-body .table:has(th:nth-child(3)) thead { display: none; }
	.article-body .table:has(th:nth-child(3)) tr { padding: 16px 0; border-bottom: 1px solid var(--hair); }
	.article-body .table:has(th:nth-child(3)) tr:first-child { border-top: 1px solid var(--hair); }
	.article-body .table:has(th:nth-child(3)) td { padding: 0; border: 0; }
	.article-body .table:has(th:nth-child(3)) td:is(:first-child, :last-child) { width: auto; }
	.article-body .table:has(th:nth-child(3)) td:first-child { font-weight: 600; }
	.article-body .table:has(th:nth-child(3)) td:nth-child(2) { font-size: .8125rem; color: var(--grey); }
	.article-body .table:has(th:nth-child(3)) td:nth-child(3) { margin-top: 4px; color: #d9d5e3; }
}
.article-body a { color: var(--violet); }
.article-body a:hover { color: var(--white); }
.article-sources { font-size: var(--fs-xs); color: var(--grey); }

