/* Plejso: strona sprzedażowa e-booka "Automatyzacja dla Firm" */

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

:root {
	--ink: #0e0e10;
	--ink-2: #2a2a31;
	--muted: #5d5c66;
	--paper: #f4f3ef;
	--card: #fbfaf7;
	--line: #dedbd2;
	--line-strong: #c9c5b9;

	--blue: #2f6deb;
	--violet: #7c4df0;
	--indigo: #6366f1;
	--blue-lit: #5b9bff;
	--violet-lit: #a07bff;
	--grad: linear-gradient(100deg, #2f6deb 0%, #7c4df0 100%);
	--grad-lit: linear-gradient(100deg, #5b9bff 0%, #a07bff 100%);

	--red: #b9302a;
	--red-soft: #f8e4e1;
	--green: #17794b;
	--green-soft: #e0f1e7;
	--blue-soft: #e3ecfb;
	--violet-soft: #ece8fb;

	--on-dark: #f4f3ef;
	--on-dark-muted: #a9aab8;
	--dark-line: rgba(244, 243, 239, 0.14);

	--wrap: 1160px;
	--gutter: clamp(20px, 5vw, 48px);
	--sec: clamp(72px, 9vw, 128px);
	--r-btn: 12px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 76px;
}

body.pe {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.62;
	font-feature-settings: "cv11", "ss03";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Reset o zerowej specyficzności, żeby nie wygrywał z klasami komponentów. */
:where(.pe) :where(img, svg) {
	display: block;
	max-width: 100%;
}

:where(.pe) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
	margin: 0;
	padding: 0;
}

:where(.pe) :where(ul, ol) {
	list-style: none;
}

:where(.pe) a {
	color: inherit;
}

.pe :focus-visible {
	outline: 3px solid var(--indigo);
	outline-offset: 3px;
	border-radius: 4px;
}

.pe-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	background: var(--ink);
	color: var(--on-dark);
	padding: 10px 16px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
}
.pe-skip:focus {
	top: 12px;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- typografia ---------- */

.h2 {
	font-size: clamp(1.9rem, 1.15rem + 2.7vw, 3.1rem);
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.h3 {
	font-size: 1.3rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.lead {
	font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.35rem);
	line-height: 1.55;
	color: var(--ink-2);
	max-width: 56ch;
}

.measure {
	max-width: 62ch;
}

.muted {
	color: var(--muted);
}

.small {
	font-size: 0.875rem;
	line-height: 1.5;
}

.tag {
	display: inline-block;
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--grad);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.sec {
	padding-block: var(--sec);
}

.sec--flow {
	padding-top: 0;
}

.sec-head {
	margin-bottom: clamp(32px, 5vw, 56px);
}
.sec-head .lead {
	margin-top: 18px;
}

/* ---------- przyciski ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 14px 26px;
	border: 0;
	border-radius: var(--r-btn);
	background: var(--grad);
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 1.0625rem;
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
	box-shadow: 0 10px 28px -12px rgba(76, 60, 200, 0.7);
}
.btn:hover {
	filter: brightness(1.06);
	box-shadow: 0 14px 32px -12px rgba(76, 60, 200, 0.85);
}
.btn:active {
	transform: translateY(1px);
}
.btn--sm {
	min-height: 42px;
	padding: 9px 18px;
	font-size: 0.95rem;
	border-radius: 10px;
}
.btn--ghost {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover {
	filter: none;
	box-shadow: inset 0 0 0 1.5px var(--ink);
}

/* ---------- górny pasek ---------- */

.top {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(244, 243, 239, 0.9);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.top__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 800;
	font-size: 1.2rem;
	letter-spacing: -0.03em;
}
.brand img {
	height: 26px;
	width: auto;
}

/* ---------- hero ---------- */

.hero {
	padding-top: clamp(40px, 6vw, 88px);
	padding-bottom: clamp(48px, 7vw, 96px);
	overflow: hidden;
}
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(24px, 5vw, 72px);
	align-items: center;
}
.hero h1 {
	font-size: clamp(2.3rem, 1rem + 4.4vw, 4.3rem);
	line-height: 1.03;
	letter-spacing: -0.04em;
	text-wrap: balance;
}
.hero h1 .l1 {
	display: block;
	font-weight: 300;
}
.hero h1 .l2 {
	display: block;
	font-weight: 800;
	margin-top: 0.06em;
}
.hero h1 .l2::after {
	content: "";
	display: block;
	width: min(11ch, 60%);
	height: 5px;
	margin-top: 0.28em;
	border-radius: 3px;
	background: var(--grad);
}
.hero .lead {
	margin-top: 28px;
}
.hero__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-top: 34px;
}
.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 26px;
	font-size: 0.9375rem;
	color: var(--muted);
}
.hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.chk {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: var(--indigo);
	display: inline-grid;
	place-items: center;
}
.chk svg {
	width: 12px;
	height: 12px;
}
.hero__book {
	justify-self: end;
	width: min(138%, 760px);
	margin-right: -18%;
}
.hero__book img {
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
}

/* ---------- efekty ---------- */

.fx__list {
	border-top: 1px solid var(--ink);
}
.fx__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px clamp(32px, 6vw, 88px);
	padding-block: clamp(28px, 4vw, 44px);
	border-bottom: 1px solid var(--line-strong);
}
.fx__txt .tag {
	margin-bottom: 14px;
}
.fx__txt p {
	margin-top: 10px;
	color: var(--ink-2);
	max-width: 46ch;
}

.bars {
	display: grid;
	gap: 14px;
	align-content: start;
}
.bar {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	font-size: 0.9375rem;
}
.bar__label {
	color: var(--muted);
}
.bar__track {
	height: 14px;
	border-radius: 7px;
	background: rgba(14, 14, 16, 0.06);
	overflow: hidden;
}
.bar__fill {
	display: block;
	height: 100%;
	width: var(--w);
	border-radius: 7px;
	background: #b9b6ab;
	transform-origin: left center;
}
.bar__fill--after {
	background: var(--grad);
}
.bar__val {
	min-width: 5.5em;
	text-align: right;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.fx__save {
	margin-top: 18px;
	padding-left: 14px;
	border-left: 3px solid var(--violet);
	font-size: 0.9375rem;
	color: var(--ink-2);
}
.fx__save strong {
	color: var(--ink);
}

.js .fx__list .bar__fill {
	transform: scaleX(0);
	transition: transform 0.95s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--i, 0) * 140ms);
}
.js .fx__list.is-in .bar__fill {
	transform: scaleX(1);
}
.fx__row:nth-child(2) .bar__fill {
	--i: 1;
}
.fx__row:nth-child(4) .bar__fill {
	--i: 3;
}

.rhythm {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding-top: 6px;
}
.rhythm::before {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	top: 14px;
	height: 2px;
	background: var(--line-strong);
}
.rhythm li {
	position: relative;
	padding-top: 28px;
	font-size: 0.9375rem;
	line-height: 1.45;
}
.rhythm li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--grad);
	box-shadow: 0 0 0 4px var(--paper);
}
.rhythm b {
	display: block;
	font-weight: 800;
	margin-bottom: 2px;
}
.rhythm span {
	color: var(--muted);
}

/* ---------- ciemne sekcje ---------- */

.dark {
	position: relative;
	background: var(--ink);
	color: var(--on-dark);
	overflow: hidden;
	isolation: isolate;
}
.dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(48% 52% at 92% 6%, rgba(92, 70, 190, 0.55), transparent 72%), radial-gradient(44% 50% at 2% 98%, rgba(36, 82, 190, 0.5), transparent 70%);
}
.dark .lead,
.dark .muted {
	color: var(--on-dark-muted);
}
.dark :focus-visible {
	outline-color: var(--violet-lit);
}

/* ---------- kalkulator ---------- */

.calc__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.field {
	border: 0;
	padding: 0;
	margin: 0 0 30px;
	min-width: 0;
}
.field legend,
.field label.lbl {
	display: block;
	padding: 0;
	margin-bottom: 12px;
	font-weight: 600;
	font-size: 1rem;
}
.field .hint {
	display: block;
	margin-top: 4px;
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--on-dark-muted);
}
.range-row {
	display: flex;
	align-items: center;
	gap: 18px;
}
.range-val {
	flex: none;
	min-width: 5.2em;
	text-align: right;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.range-val small {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--on-dark-muted);
	letter-spacing: 0;
}

input[type="range"].rng {
	-webkit-appearance: none;
	appearance: none;
	flex: 1;
	min-width: 0;
	height: 32px;
	background: transparent;
	cursor: pointer;
}
input[type="range"].rng::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, #5b9bff var(--fill, 20%), rgba(244, 243, 239, 0.18) var(--fill, 20%));
}
input[type="range"].rng::-moz-range-track {
	height: 6px;
	border-radius: 3px;
	background: rgba(244, 243, 239, 0.18);
}
input[type="range"].rng::-moz-range-progress {
	height: 6px;
	border-radius: 3px;
	background: #5b9bff;
}
input[type="range"].rng::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 26px;
	height: 26px;
	margin-top: -10px;
	border-radius: 50%;
	background: #fff;
	border: 0;
	box-shadow: 0 0 0 5px rgba(124, 77, 240, 0.55), 0 4px 10px rgba(0, 0, 0, 0.4);
}
input[type="range"].rng::-moz-range-thumb {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	border: 0;
	box-shadow: 0 0 0 5px rgba(124, 77, 240, 0.55), 0 4px 10px rgba(0, 0, 0, 0.4);
}

.money {
	display: flex;
	align-items: center;
	max-width: 240px;
	border-radius: 12px;
	background: rgba(244, 243, 239, 0.08);
	box-shadow: inset 0 0 0 1.5px rgba(244, 243, 239, 0.22);
}
.money:focus-within {
	box-shadow: inset 0 0 0 2px var(--violet-lit);
}
.money input {
	flex: 1;
	min-width: 0;
	width: 100%;
	padding: 14px 6px 14px 18px;
	border: 0;
	background: transparent;
	color: var(--on-dark);
	font: inherit;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	outline: none;
	-moz-appearance: textfield;
}
.money input::-webkit-outer-spin-button,
.money input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.money span {
	padding-right: 18px;
	color: var(--on-dark-muted);
	font-weight: 600;
}

.seg {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.seg label {
	position: relative;
	display: block;
	cursor: pointer;
}
.seg input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.seg span {
	display: block;
	padding: 11px 8px;
	border-radius: 10px;
	text-align: center;
	font-weight: 700;
	font-size: 0.95rem;
	background: rgba(244, 243, 239, 0.08);
	box-shadow: inset 0 0 0 1.5px rgba(244, 243, 239, 0.22);
	transition: background 0.15s ease, box-shadow 0.15s ease;
}
.seg span small {
	display: block;
	font-weight: 500;
	font-size: 0.78rem;
	color: var(--on-dark-muted);
}
.seg input:checked + span {
	background: rgba(124, 77, 240, 0.32);
	box-shadow: inset 0 0 0 2px var(--violet-lit);
}
.seg input:checked + span small {
	color: var(--on-dark);
}
.seg input:focus-visible + span {
	outline: 3px solid var(--violet-lit);
	outline-offset: 3px;
}

.calc__out {
	padding-top: 6px;
}
.calc__label {
	font-weight: 600;
	color: var(--on-dark-muted);
}
.calc__big {
	margin-top: 6px;
	font-size: clamp(4.2rem, 1rem + 14vw, 8.5rem);
	line-height: 0.98;
	font-weight: 800;
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
	color: var(--blue-lit);
	background: var(--grad-lit);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	padding-bottom: 0.06em;
}
.calc__big small {
	font-size: 0.34em;
	letter-spacing: -0.02em;
	font-weight: 700;
	margin-left: 0.12em;
}
.calc__sub {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin-top: 30px;
	border-top: 1px solid var(--dark-line);
}
.calc__sub > div {
	padding: 18px 0 4px;
}
.calc__sub > div + div {
	padding-left: 24px;
	border-left: 1px solid var(--dark-line);
}
.calc__sub dt {
	font-size: 0.9rem;
	color: var(--on-dark-muted);
}
.calc__sub dd {
	margin-top: 2px;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.calc__eq {
	margin-top: 22px;
	padding: 14px 16px;
	border-left: 3px solid var(--violet-lit);
	background: rgba(244, 243, 239, 0.06);
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	color: var(--on-dark);
}
.calc__pay {
	margin-top: 22px;
	font-size: 1.0625rem;
	max-width: 48ch;
}
.calc__pay strong {
	font-weight: 800;
}
.calc__note {
	margin-top: 14px;
	color: var(--on-dark-muted);
	font-size: 0.875rem;
	max-width: 52ch;
}

/* ---------- co jest w środku ---------- */

.inside__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}
.toc {
	border-top: 1px solid var(--ink);
}
.toc details {
	border-bottom: 1px solid var(--line-strong);
}
.toc summary {
	display: grid;
	grid-template-columns: 2.4rem minmax(0, 1fr) 1.5rem;
	align-items: baseline;
	gap: 6px;
	padding: 18px 0;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	font-size: 1.1875rem;
	letter-spacing: -0.02em;
	line-height: 1.3;
}
.toc summary::-webkit-details-marker {
	display: none;
}
.toc summary .no {
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: -0.04em;
	color: var(--violet);
}
.toc summary::after {
	content: "";
	justify-self: end;
	align-self: center;
	width: 11px;
	height: 11px;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 0.2s ease;
}
.toc details[open] summary::after {
	transform: rotate(-135deg) translate(-2px, -2px);
}
.toc ul {
	padding: 0 0 20px 2.4rem;
	display: grid;
	gap: 7px;
	font-size: 1rem;
	color: var(--ink-2);
}
.toc li {
	position: relative;
	padding-left: 16px;
}
.toc li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 6px;
	height: 6px;
	border-radius: 2px;
	background: var(--indigo);
}
.toc__more {
	margin-top: 14px;
	font-size: 0.9375rem;
	color: var(--muted);
}

.inside__side {
	position: sticky;
	top: 92px;
	display: grid;
	gap: 28px;
}
.count {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--ink);
}
.count > div {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line-strong);
}
.count dt {
	order: 2;
	color: var(--ink-2);
}
.count dd {
	order: 1;
	min-width: 2.2ch;
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--indigo);
}

.sample {
	background: var(--violet-soft);
	border-left: 3px solid var(--violet);
	padding: 18px 20px 20px;
	border-radius: 0 6px 6px 0;
}
.sample__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--violet);
}
.copy {
	flex: none;
	padding: 6px 12px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: inset 0 0 0 1.5px rgba(124, 77, 240, 0.35);
}
.copy:hover {
	box-shadow: inset 0 0 0 1.5px var(--violet);
}
.sample p {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--ink);
}
.sample p + p {
	margin-top: 10px;
}
.sample em {
	font-style: normal;
	font-weight: 700;
	color: var(--blue);
}
.sample__cap {
	margin-top: 12px;
	font-size: 0.8125rem;
	color: var(--muted);
}

/* ---------- dla kogo ---------- */

.fit__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
}
.fit__grid h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ink);
}
.fit__grid li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.fit__grid li .chk,
.fit__grid li .nok {
	margin-top: 3px;
}
.nok {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: var(--red);
	display: inline-grid;
	place-items: center;
}
.nok svg {
	width: 11px;
	height: 11px;
}
.fit__grid li b {
	font-weight: 700;
}
.fit__grid li span {
	display: block;
	color: var(--muted);
	font-size: 0.9375rem;
}
.branches {
	margin-top: clamp(32px, 5vw, 52px);
}
.branches p {
	font-weight: 700;
	margin-bottom: 14px;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chips li {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--card);
	box-shadow: inset 0 0 0 1px var(--line-strong);
	font-size: 0.9375rem;
}

/* ---------- cena ---------- */

.price__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.price__txt .lead {
	margin-top: 20px;
}
.guar {
	margin-top: 32px;
	padding: 18px 20px;
	background: var(--green-soft);
	border-left: 3px solid var(--green);
	border-radius: 0 6px 6px 0;
	max-width: 52ch;
}
.guar b {
	display: block;
	margin-bottom: 4px;
	color: var(--green);
	font-weight: 800;
}
.guar a {
	font-weight: 600;
}
.buy {
	position: relative;
	padding: clamp(26px, 3.5vw, 40px);
	border-radius: 8px;
	background: var(--ink);
	color: var(--on-dark);
	overflow: hidden;
	isolation: isolate;
}
.buy::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(70% 50% at 100% 0%, rgba(92, 70, 190, 0.5), transparent 70%), radial-gradient(60% 45% at 0% 100%, rgba(36, 82, 190, 0.4), transparent 70%);
}
.buy__price {
	font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.045em;
}
.buy__price small {
	font-size: 0.4em;
	letter-spacing: -0.02em;
	margin-left: 0.15em;
	font-weight: 700;
	color: var(--on-dark-muted);
}
.buy__once {
	margin-top: 8px;
	color: var(--on-dark-muted);
	font-size: 0.9375rem;
}
.buy ul {
	display: grid;
	gap: 10px;
	margin: 26px 0 28px;
	padding-top: 22px;
	border-top: 1px solid var(--dark-line);
	font-size: 1rem;
}
.buy li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
}
.buy li .chk {
	margin-top: 3px;
}
.buy .btn {
	width: 100%;
}
.buy__trust {
	margin-top: 14px;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--on-dark-muted);
}

/* ---------- FAQ ---------- */

.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(28px, 6vw, 88px);
	align-items: start;
}
.faq__head {
	position: sticky;
	top: 96px;
}
.faq__list {
	border-top: 1px solid var(--ink);
}
.faq details {
	border-bottom: 1px solid var(--line-strong);
}
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: -0.015em;
	line-height: 1.35;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
	transition: transform 0.2s ease;
}
.faq details[open] summary::after {
	transform: rotate(45deg);
}
.faq details > div {
	padding: 0 0 22px;
	max-width: 60ch;
	color: var(--ink-2);
}

/* ---------- końcowe CTA ---------- */

.final h2 {
	font-size: clamp(2.3rem, 1rem + 5vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
	text-wrap: balance;
}
.final h2 .l1 {
	display: block;
	font-weight: 800;
}
.final h2 .l2 {
	display: block;
	font-weight: 300;
}
.final .lead {
	margin-top: 24px;
}
.final .btn {
	margin-top: 34px;
}
.final__price {
	margin-top: 16px;
	color: var(--on-dark-muted);
	font-size: 0.9375rem;
}

/* ---------- stopka ---------- */

.foot {
	background: var(--ink);
	color: var(--on-dark-muted);
	border-top: 1px solid var(--dark-line);
	padding-block: 44px 56px;
	font-size: 0.875rem;
}
.foot__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
}
.foot .brand {
	color: var(--on-dark);
}
.foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}
.foot a {
	color: var(--on-dark);
}
.foot__legal {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--dark-line);
	max-width: 80ch;
	line-height: 1.6;
}

/* ---------- pasek na telefonie ---------- */

.sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: rgba(14, 14, 16, 0.96);
	color: var(--on-dark);
	transform: translateY(110%);
	transition: transform 0.25s ease;
}
.sticky.is-on {
	transform: none;
}
.sticky b {
	display: block;
	font-size: 1.15rem;
	letter-spacing: -0.03em;
	line-height: 1.1;
}
.sticky span {
	font-size: 0.78rem;
	color: var(--on-dark-muted);
}

/* ---------- strona z dostępem ---------- */

.thx {
	min-height: 100vh;
}
.thx__main {
	padding-block: clamp(48px, 8vw, 110px);
}
.thx h1 {
	font-size: clamp(2.3rem, 1rem + 5vw, 4.4rem);
	line-height: 1.03;
	letter-spacing: -0.04em;
	text-wrap: balance;
}
.thx h1 .l1 {
	display: block;
	font-weight: 800;
}
.thx h1 .l2 {
	display: block;
	font-weight: 300;
}
.thx__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.thx .lead {
	margin-top: 24px;
}
.thx .btn {
	margin-top: 30px;
}
.thx__steps {
	margin-top: 40px;
	counter-reset: s;
	border-top: 1px solid var(--ink);
}
.thx__steps li {
	counter-increment: s;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line-strong);
}
.thx__steps li::before {
	content: counter(s);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--grad);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 0.95rem;
}
.thx__steps b {
	display: block;
}
.thx__steps span {
	color: var(--muted);
	font-size: 0.9375rem;
}
.thx .guar {
	margin-top: 36px;
	background: var(--blue-soft);
	border-left-color: var(--blue);
}
.thx .guar b {
	color: var(--blue);
}
.warn {
	margin-top: 26px;
	padding: 14px 16px;
	background: var(--red-soft);
	border-left: 3px solid var(--red);
	border-radius: 0 6px 6px 0;
	font-size: 0.9375rem;
}

/* ---------- responsywność ---------- */

@media (max-width: 920px) {
	.hero__grid,
	.calc__grid,
	.inside__grid,
	.price__grid,
	.faq__grid,
	.thx__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.hero__book {
		justify-self: center;
		width: min(86%, 440px);
		margin-right: 0;
		margin-top: 8px;
	}
	.inside__side,
	.faq__head {
		position: static;
	}
	.fx__row {
		grid-template-columns: minmax(0, 1fr);
	}
	.fit__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.sticky {
		display: flex;
	}
	body.pe {
		padding-bottom: 76px;
	}
	.top .btn {
		display: none;
	}
	.bar {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 4px 12px;
	}
	.bar__val {
		grid-column: 2;
		text-align: left;
		margin-top: -2px;
	}
	.calc__sub {
		grid-template-columns: minmax(0, 1fr);
	}
	.calc__sub > div + div {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var(--dark-line);
		margin-top: 14px;
	}
	.rhythm {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding-left: 4px;
	}
	.rhythm::before {
		left: 11px;
		right: auto;
		top: 14px;
		bottom: 18px;
		width: 2px;
		height: auto;
	}
	.rhythm li {
		padding: 0 0 0 36px;
	}
	.rhythm li::before {
		top: 3px;
	}
	.range-val {
		min-width: 4.4em;
	}
	.toc summary {
		grid-template-columns: 2rem minmax(0, 1fr) 1.2rem;
	}
	.toc ul {
		padding-left: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.js .fx__list .bar__fill {
		transition: none;
		transform: none;
	}
	.sticky,
	.btn,
	.toc summary::after,
	.faq summary::after {
		transition: none;
	}
}

@media print {
	.top,
	.sticky {
		display: none;
	}
}
