/* Hybrid Athlete – main.css
   Zasady: treść na jasnym tle (czytelność), marka w ciemnym hero i stopce,
   limonka jako wypełnienie i podkreślenie – nigdy jako kolor tekstu na jasnym tle. */

/* ---------- Fonty (lokalne, RODO) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
	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: "Archivo"; src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
	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: "Archivo Black"; src: url("../fonts/archivo-black-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap;
	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: "Archivo Black"; src: url("../fonts/archivo-black-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap;
	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; }

/* ---------- Tokeny ---------- */
:root {
	--bg: #f5f6f2;        /* kreda */
	--surface: #ffffff;
	--ink: #17191c;
	--text: #24272c;
	--muted: #59606b;
	--line: #d9dcd3;
	--acid: #d4f03c;      /* limonka marki – tylko wypełnienia */
	--acid-line: #a3c214; /* podkreślenia na jasnym tle */
	--asphalt: #18191c;
	--asphalt-2: #222428;
	--on-dark: #eceee8;
	--on-dark-muted: #a7adb5;

	--f-body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-display: "Archivo Black", "Archivo", ui-sans-serif, system-ui, sans-serif;

	--measure: 44rem;
	--wrap: 76rem;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--head-h: 4rem;
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #121316; --surface: #1a1c20; --ink: #f1f3ed; --text: #dfe2dc; --muted: #a3a9b2;
		--line: #2d3036; --acid-line: #d4f03c; --asphalt: #0d0e10; --asphalt-2: #1a1c20;
	}
}
:root[data-theme="dark"] {
	--bg: #121316; --surface: #1a1c20; --ink: #f1f3ed; --text: #dfe2dc; --muted: #a3a9b2;
	--line: #2d3036; --acid-line: #d4f03c; --asphalt: #0d0e10; --asphalt-2: #1a1c20;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
	font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
@media (min-width: 700px) { body { font-size: 1.125rem; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--acid-line); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--acid-line); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; margin: 0; }
p, li, dd { text-wrap: pretty; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--acid); color: #17191c; padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--text { width: min(100% - 2 * var(--gutter), var(--measure)); }

/* ---------- Przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 3rem; padding: .7rem 1.35rem; border: 2px solid transparent; border-radius: 0;
	font: 700 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
}
.btn--acid { background: var(--acid); color: #17191c; }
.btn--acid:hover { background: #e3fb5c; }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgb(255 255 255 / .08); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--acid)); }
.btn--lg { min-height: 3.4rem; padding-inline: 1.6rem; font-size: 1.05rem; }
::selection { background: var(--acid); color: #17191c; }

/* ---------- Nagłówek ---------- */
.site-head {
	position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.site-head__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; background: var(--acid); color: #17191c; font: 400 .95rem/1 var(--f-display); letter-spacing: -.04em; }
.brand__name { font: 400 1.15rem/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__item > a, .nav__group > summary {
	display: block; padding: .5rem .7rem; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink); cursor: pointer; list-style: none;
}
.nav__group > summary::-webkit-details-marker { display: none; }
.nav__group > summary::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
.nav__group[open] > summary::after { transform: translateY(.05em) rotate(-135deg); }
.nav__item.is-current > a, .nav__item.is-current > .nav__group > summary { box-shadow: inset 0 -3px 0 var(--acid-line); }
.nav__item > a:hover, .nav__group > summary:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav__group { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: .4rem; }
.nav__sub a { display: block; padding: .55rem .75rem; text-decoration: none; font-size: .97rem; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--acid); color: #17191c; }
.nav-toggle { display: none; }
.nav__phone { display: none; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 1280px) { .nav__phone { display: inline; } }

@media (min-width: 1080px) {
	.nav__sub { position: absolute; top: calc(100% + .35rem); left: 0; min-width: 15rem; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 28px rgb(0 0 0 / .12); }
}
@media (max-width: 1079.98px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: .55rem; margin-left: auto; min-height: 2.75rem; padding: 0 .9rem;
		background: none; border: 2px solid var(--ink); color: var(--ink); font: 700 .95rem var(--f-body); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
	.nav {
		display: none; position: fixed; inset: var(--head-h) 0 0; flex-direction: column; align-items: stretch; gap: 1rem;
		padding: 1rem var(--gutter) 2rem; background: var(--bg); overflow-y: auto; border-top: 1px solid var(--line);
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__item { border-bottom: 1px solid var(--line); }
	.nav__item > a, .nav__group > summary { padding: .95rem .25rem; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
	.nav__sub { padding: 0 0 .75rem .5rem; }
	.nav__cta { width: 100%; }
	body.nav-open { overflow: hidden; }
}

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--acid-line); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Okruszki ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 699.98px) { .crumbs li[aria-current] { display: none; } }
.crumbs [aria-current] { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Hero (strona główna) ---------- */
.hero { position: relative; overflow: hidden; background: var(--asphalt); color: var(--on-dark); }
.hero__in { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.hero__kicker { margin: 0 0 1rem; color: var(--acid); font-weight: 700; font-size: .98rem; }
.hero__title { color: #fff; font: 400 clamp(2.1rem, 5.6vw, 4.1rem)/1.04 var(--f-display); letter-spacing: -.025em; max-width: 16ch; }
.hero__lead { max-width: 46ch; margin: 1.4rem 0 2rem; color: var(--on-dark-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__img { margin: 0; }
.hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.15); }

@media (min-width: 900px) {
	.hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 4rem; }
	.hero__img img { max-height: 34rem; }
}
@media (max-width: 899.98px) { .hero__img { max-width: 22rem; } }

/* ---------- Sekcje strony głównej ---------- */
.home-content, .home-faq, .record, .services, .latest, .tools, .related { padding-block: clamp(3rem, 7vw, 5rem); }
.home-faq { border-top: 1px solid var(--line); }
.home-faq .ha-faq { margin-top: 0 !important; }
.record { background: var(--surface); border-block: 1px solid var(--line); }
.section-title { font: 400 clamp(1.6rem, 3.2vw, 2.3rem)/1.12 var(--f-display); letter-spacing: -.02em; margin-bottom: 1.5rem; }
.section-lead { max-width: 52ch; margin: -.75rem 0 2rem; color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.section-head .section-title { margin: 0; }
.link-more { font-weight: 700; }

.record__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 0; margin: 0; border-top: 3px solid var(--ink); }
.record__list > div { padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .record__list > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); } }
.record__list dt { font-weight: 700; color: var(--muted); font-size: .92rem; }
.record__list dd { margin: .3rem 0 0; font: 700 1.05rem/1.35 var(--f-body); color: var(--ink); letter-spacing: -.01em; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.tile { position: relative; padding: 1.5rem 1.5rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); }
.tile h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p { margin: .6rem 0 0; color: var(--muted); font-size: 1rem; }
.tile:hover { border-top-color: var(--acid-line); }
.tile:hover h3 a { text-decoration: underline; text-decoration-color: var(--acid-line); }
.tile:focus-within { outline: 3px solid var(--acid-line); outline-offset: 2px; }
.tiles--tools .tile { border-top-color: var(--acid-line); }

/* ---------- Karty wpisów ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2rem 1.5rem; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { aspect-ratio: 16 / 9; background: var(--asphalt-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { display: grid; place-items: center; height: 100%; color: var(--acid); font: 400 1.4rem var(--f-display); }
.card__body { padding-top: .9rem; }
.card__cat { margin: 0 0 .35rem; font-size: .88rem; font-weight: 700; color: var(--muted); }
.card__title { font-size: 1.2rem; line-height: 1.3; font-weight: 750; letter-spacing: -.005em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--acid-line); text-decoration-thickness: 3px; }
.card:focus-within { outline: 3px solid var(--acid-line); outline-offset: 4px; }
.card__meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }
@media (min-width: 1100px) {
	.cards--lead > .card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: center; }
	.cards--lead > .card:first-child .card__title { font: 400 2rem/1.15 var(--f-display); letter-spacing: -.02em; }
}

/* ---------- Listy (blog, kategorie) ---------- */
.listing { padding-bottom: 4rem; }
.listing__head { padding-block: 2.25rem 2rem; }
.listing__title, .page-head__title { font: 400 clamp(2rem, 4.6vw, 3.1rem)/1.08 var(--f-display); letter-spacing: -.025em; }
.listing__lead { max-width: 56ch; margin: 1rem 0 0; color: var(--muted); font-size: 1.1rem; }
.cat-nav ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.cat-nav a { display: inline-flex; gap: .4rem; align-items: center; min-height: 2.5rem; padding: .35rem .85rem; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cat-nav a span { color: var(--muted); font-weight: 500; font-size: .85rem; }
.cat-nav a:hover { border-color: var(--ink); }
.cat-nav a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cat-nav a[aria-current] span { color: inherit; opacity: .7; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .75rem; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.search { display: flex; gap: .5rem; margin-top: 1.5rem; max-width: 34rem; }
.search input { flex: 1; min-height: 3rem; padding: 0 1rem; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: inherit; border-radius: 0; }

/* ---------- Wpis ---------- */
.post { padding-bottom: 1rem; }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 2rem; }
.post__grid > * { min-width: 0; }
@media (min-width: 700px) { .post__grid { width: min(100% - 2 * var(--gutter), var(--measure)); } }
@media (min-width: 1140px) {
	.post__grid { width: min(100% - 2 * var(--gutter), var(--wrap)); grid-template-columns: 15rem minmax(0, var(--measure)); column-gap: clamp(2.5rem, 5vw, 5rem); justify-content: center; }
	.post__grid > * { grid-column: 2; }
	.post__grid > .toc { grid-column: 1; grid-row: 1 / span 6; align-self: start; position: sticky; top: calc(var(--head-h) + 1.5rem); margin: 0; padding: 0; border: 0; background: none; max-height: calc(100vh - var(--head-h) - 3rem); overflow: auto; }
	.toc > summary { pointer-events: none; }
	.toc > summary::after { display: none; }
}
.post-head__cat { margin: 0 0 .6rem; font-weight: 700; font-size: .95rem; }
.post-head__cat a { text-decoration: none; background: var(--acid); color: #17191c; padding: .2rem .55rem; }
.post-head__title { font: 400 clamp(1.85rem, 3.8vw, 2.6rem)/1.12 var(--f-display); letter-spacing: -.025em; }
.post-head__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; margin: 1.15rem 0 0; font-size: .95rem; color: var(--muted); }
.post-head__meta a { color: var(--ink); font-weight: 600; }

.summary { margin: 1.75rem 0 0; padding: 1.15rem 1.35rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--acid-line); }
.summary__label { font: 700 .95rem/1.2 var(--f-body); color: var(--ink); margin: 0 0 .4rem; }
.summary p, p.summary { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.post__cover { margin: 1.75rem 0 0; }
.post__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.toc { margin: 1.75rem 0 0; border: 1px solid var(--line); background: var(--surface); }
.toc > summary { padding: .9rem 1.1rem; font-weight: 700; cursor: pointer; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.toc[open] > summary::after { content: "–"; }
.toc ol { list-style: none; margin: 0; padding: 0 1.1rem 1rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .4rem 0; text-decoration: none; font-size: .95rem; line-height: 1.4; color: var(--muted); }
.toc a::before { content: counter(toc); font-variant-numeric: tabular-nums; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 650; }
.toc a.is-active::before { color: var(--ink); }
@media (min-width: 1140px) {
	.toc > summary { padding: 0 0 .75rem; font-size: .95rem; }
	.toc ol { padding: 0; border-left: 2px solid var(--line); }
	.toc a { padding: .4rem 0 .4rem .9rem; margin-left: -2px; border-left: 2px solid transparent; }
	.toc a.is-active { border-left-color: var(--acid-line); }
}

/* ---------- Typografia treści ---------- */
.prose { margin-top: 2.25rem; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font: 400 clamp(1.45rem, 2.6vw, 1.85rem)/1.2 var(--f-display); letter-spacing: -.018em; margin-top: 2.4em; }
.prose h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 750; margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { color: var(--ink); font-weight: 680; }
.prose a { font-weight: 550; }
.prose a:hover { background: var(--acid); color: #17191c; text-decoration-color: #17191c; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--muted); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--ink); font-size: 1.15em; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose img, .prose figure { margin-inline: 0; }
.prose figcaption { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.prose code { font-size: .9em; padding: .1em .3em; background: color-mix(in srgb, var(--ink) 7%, transparent); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--asphalt-2); color: var(--on-dark); font-weight: 700; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.prose td:first-child { font-weight: 600; color: var(--ink); }

/* Listy linków (miasta, podstrony) */
.prose .ha-links { columns: 2 12rem; column-gap: 2rem; }
.prose .ha-links li { break-inside: avoid; }

/* FAQ – pytania zawsze widoczne (czytelnik skanuje, AI cytuje) */
.ha-faq { margin-top: 3em !important; padding-top: .25rem; }
.ha-faq > h2 { margin-top: 0; margin-bottom: .25em; }
.ha-faq__item, .ha-faq > h3 { border-top: 1px solid var(--line); }
.ha-faq__item { padding-top: 1.1rem; margin-top: 1.1rem; }
.ha-faq__q, .ha-faq h3 { margin-top: 0 !important; font-size: 1.15rem; }
.ha-faq > h3 { padding-top: 1.1rem; margin-top: 1.1rem !important; }
.ha-faq__a > * { margin: .5em 0 0; }

/* TL;DR i werdykt */
.ha-tldr, .ha-verdict { padding: 1.4rem 1.5rem 1.5rem; background: var(--asphalt); color: var(--on-dark); margin-top: 3em !important; }
.ha-tldr h2, .ha-verdict h3 { color: var(--acid); margin-top: 0 !important; font-size: 1.25rem; }
.ha-tldr p, .ha-verdict p, .ha-tldr li { color: var(--on-dark); }
.ha-tldr strong, .ha-verdict strong { color: #fff; }
.ha-tldr > * + *, .ha-verdict > * + * { margin-top: .75em; }
.ha-tldr a, .ha-verdict a { text-decoration-color: var(--acid); }

/* Gutenberg: szerokie i pełne bloki na stronach */
.page__body .alignwide { width: min(100vw - 2 * var(--gutter), var(--wrap)); margin-inline: calc(50% - min(100vw - 2 * var(--gutter), var(--wrap)) / 2); }
.page__body .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-block-button__link { border-radius: 0; background: var(--acid); color: #17191c; font-weight: 700; }

/* ---------- Stopka wpisu ---------- */
.post__foot { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
.author { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); }
.author__photo { width: 5rem; height: 5rem; }
.author__photo img { width: 100%; height: 100%; object-fit: cover; }
.author__photo span { display: grid; place-items: center; width: 100%; height: 100%; background: var(--asphalt); color: var(--acid); font: 400 1.5rem var(--f-display); }
.author__label { margin: 0; font-size: .85rem; font-weight: 700; color: var(--muted); }
.author__name { margin: .1rem 0 0; font: 400 1.3rem/1.2 var(--f-display); }
.author__name a { text-decoration: none; }
.author__job { margin: .2rem 0 .65rem; color: var(--muted); font-size: .95rem; }
.author__body > p:not([class]) { margin: 0; font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .9rem 0 0; padding: 0; }
.tags li { padding: .2rem .55rem; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
@media (max-width: 559.98px) { .author { grid-template-columns: 1fr; } }

.cta { padding: 1.75rem 1.5rem; background: var(--asphalt); color: var(--on-dark); }
.cta h2 { color: #fff; font: 400 1.5rem/1.2 var(--f-display); letter-spacing: -.015em; }
.cta p { margin: .6rem 0 1.25rem; color: var(--on-dark-muted); max-width: 48ch; }

.related { background: var(--surface); border-top: 1px solid var(--line); margin-top: 3.5rem; }

/* ---------- Strona ---------- */
.page-head { padding-top: 2.25rem; }
.page-head__lead { margin-top: 1.5rem; padding: 1.1rem 1.3rem; }
.page__body { padding-bottom: 4rem; }

/* ---------- Stopka serwisu ---------- */
.site-foot { background: var(--asphalt); color: var(--on-dark-muted); font-size: .97rem; margin-top: 0; }
.site-foot a { color: var(--on-dark); text-decoration-color: rgb(212 240 60 / .6); }
.site-foot__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); padding-block: 3.5rem 2.5rem; }
.site-foot__about { grid-column: 1 / -1; max-width: 32rem; }
@media (min-width: 1000px) { .site-foot__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .site-foot__about { grid-column: auto; } }
.site-foot__brand { margin: 0 0 .75rem; font: 400 1.4rem var(--f-display); color: #fff; letter-spacing: -.02em; }
.site-foot__title { margin: 0 0 .75rem; color: #fff; font-weight: 700; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot__col li + li { margin-top: .5rem; }
.site-foot__col a { text-decoration: none; }
.site-foot__col a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem !important; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem; }
.site-foot__base p { margin: 0; max-width: 60ch; }
.site-foot__extra { display: flex; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-head, .site-foot, .toc, .cta, .related, .progress { display: none !important; } body { background: #fff; color: #000; } }


/* =========================================================
   v1.1 – strona główna: tydzień, ścieżki, kroki, zamknięcie
   ========================================================= */
.hero__price { margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: baseline; color: var(--on-dark-muted); font-size: .95rem; }
.hero__price strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__price span { color: rgb(255 255 255 / .25); }
.hero__img { position: relative; }
.hero__img figcaption { position: absolute; left: 0; bottom: 0; padding: .45rem .7rem; background: var(--asphalt); color: var(--on-dark-muted); font-size: .8rem; letter-spacing: .01em; }

.week { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.week__title { margin: 0 0 .9rem; color: var(--on-dark); font-weight: 700; font-size: .95rem; }
.week__days { display: grid; grid-template-columns: repeat(7, minmax(7.2rem, 1fr)); gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.week__day { scroll-snap-align: start; display: flex; flex-direction: column; gap: .15rem; min-height: 7.5rem; padding: .8rem .85rem; background: var(--asphalt-2); border-top: 4px solid transparent; font-size: .88rem; line-height: 1.35; color: var(--on-dark-muted); }
.week__day strong { color: #fff; font-size: 1rem; font-weight: 700; margin-top: auto; }
.week__dow { font: 400 .95rem/1 var(--f-display); color: var(--on-dark); letter-spacing: .02em; }
.week__day--sila { border-top-color: var(--acid); }
.week__day--tlen { border-top-color: #7fa7ff; }
.week__day--regen { border-top-color: #4b5058; }
.week__legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; align-items: center; margin: .9rem 0 0; font-size: .85rem; color: var(--on-dark-muted); }
.k { display: inline-block; width: .8rem; height: .8rem; margin-right: -.6rem; }
.k--sila { background: var(--acid); } .k--tlen { background: #7fa7ff; } .k--regen { background: #4b5058; }
@media (min-width: 900px) { .week__days { overflow: visible; } }

.define { padding-block: clamp(3rem, 7vw, 5rem); }
.define__in { display: grid; gap: 1rem 4rem; }
.define__h { font: 400 clamp(1.7rem, 3.4vw, 2.5rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.define__body { margin-top: 0; font-size: 1.12rem; }
.define__body > p:first-child { font-size: 1.2em; line-height: 1.55; color: var(--ink); }
@media (min-width: 960px) { .define__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .define__h { position: sticky; top: calc(var(--head-h) + 2rem); align-self: start; } }

.paths { padding-block: clamp(3rem, 7vw, 5rem); background: var(--surface); border-block: 1px solid var(--line); }
.paths__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.path { display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--bg); }
.path--main { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--acid); }
.path__label { margin: 0; font-size: .9rem; font-weight: 700; color: var(--muted); }
.path__title { margin-top: .3rem; font: 400 1.6rem/1.15 var(--f-display); letter-spacing: -.015em; }
.path__price { margin: 1rem 0 0; font: 400 2.2rem/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.path__price span { display: block; margin-top: .4rem; font: 500 .92rem/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; }
.path__points { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; display: grid; gap: .55rem; }
.path__points li { position: relative; padding-left: 1.6rem; font-size: 1rem; }
.path__points li::before { content: ""; position: absolute; left: 0; top: .55em; width: .85rem; height: .45rem; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.path .btn { margin-top: auto; align-self: flex-start; }
.paths__more { margin: 1.5rem 0 0; color: var(--muted); }
.paths__more a { color: var(--ink); font-weight: 600; }

.steps { padding-block: clamp(3rem, 7vw, 5rem); }
.steps__list { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: st; }
.steps__list li { counter-increment: st; padding-top: 1rem; border-top: 3px solid var(--ink); }
.steps__list li::before { content: "0" counter(st); display: block; font: 400 2.6rem/1 var(--f-display); color: var(--acid-line); margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
.steps__list h3 { font-size: 1.2rem; font-weight: 750; }
.steps__list p { margin: .4rem 0 .5rem; color: var(--muted); font-size: 1rem; }
.steps__list a { font-weight: 700; }

.record__in { display: grid; gap: 2rem 4rem; }
.record__intro p { margin: 0 0 1rem; color: var(--muted); max-width: 46ch; }
.record .section-title { margin-bottom: 1rem; }
@media (min-width: 960px) { .record__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .record__list { grid-template-columns: 1fr 1fr; } }
.record__list dd { font-size: 1.1rem; }

.cards--three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.toolbar { display: grid; gap: .75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.toolbar__label { margin: 0; font-weight: 700; color: var(--muted); font-size: .9rem; }
.toolbar ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem 2rem; list-style: none; margin: 0; padding: 0; }
.toolbar a { display: block; text-decoration: none; }
.toolbar strong { display: block; font-weight: 750; text-decoration: underline; text-decoration-color: var(--acid-line); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.toolbar span { display: block; margin-top: .2rem; font-size: .95rem; color: var(--muted); }
.toolbar a:hover strong { text-decoration-thickness: 3px; }
@media (min-width: 960px) { .toolbar { grid-template-columns: 9rem 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.05rem 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.08rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border: 1.5px solid currentColor; font-weight: 400; line-height: 1; }
.faq[open] summary::after { content: "–"; background: var(--acid); color: #17191c; border-color: var(--acid); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--acid-line); }
.faq__a { padding: 0 2.5rem 1.1rem 0; }
.faq__a > * { margin: 0; }
.home-faq .ha-faq > h2 { margin-bottom: 1rem; }

.closing { background: var(--asphalt); color: var(--on-dark); padding-block: clamp(3rem, 7vw, 5rem); }
.closing__in { max-width: 48rem; }
.closing h2 { color: #fff; font: 400 clamp(1.8rem, 4vw, 2.8rem)/1.08 var(--f-display); letter-spacing: -.02em; }
.closing p { color: var(--on-dark-muted); margin: 1rem 0 1.75rem; max-width: 52ch; }

/* =========================================================
   v1.1 – wpisy i strony
   ========================================================= */
.inline-cta { display: grid; gap: 1rem; align-items: center; margin-block: 2.5rem !important; padding: 1.25rem 1.35rem; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--ink); }
.inline-cta p { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.5; }
.inline-cta .btn { justify-self: start; }
@media (min-width: 700px) { .inline-cta { grid-template-columns: 1fr auto; } }
.post__body > p:first-child, .page__body > p:first-child { font-size: 1.12em; line-height: 1.6; color: var(--ink); }
.prose a:hover { text-decoration-thickness: 3px; background: none; color: inherit; }
.prose a { text-decoration-thickness: 2px; }
.prose a.gloss { text-decoration-style: dotted; text-decoration-color: var(--muted); font-weight: inherit; }
.prose a.gloss:hover { text-decoration-style: solid; text-decoration-color: var(--acid-line); }
.post-head__meta { font-variant-numeric: tabular-nums; }

/* Pasek szybkiego kontaktu na telefonie – strony usług lokalnych */
.dock { display: none; }
@media (max-width: 899.98px) {
	.dock { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
	.dock .btn { min-height: 2.9rem; }
	.dock .btn--ghost { color: var(--ink); }
	body:has(.dock) { padding-bottom: 4.5rem; }
}

.record__list > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.closing__in { max-width: none; }
.closing h2 { max-width: 18ch; }
.home-faq .prose { margin-top: 0; }
@media (min-width: 960px) {
	.home-faq .ha-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; }
	.home-faq .ha-faq > h2 { grid-column: 1; grid-row: 1 / span 20; align-self: start; position: sticky; top: calc(var(--head-h) + 2rem); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; }
	.home-faq .faq { grid-column: 2; }
	.home-faq .ha-faq > .faq:first-of-type { border-top: 1px solid var(--line); }
}
