/*
Theme Name: PSW-IT
Theme URI: https://psw-it.pl
Author: Piotr Suchecki
Description: Motyw wizytówki PSW-IT — studio natywnych aplikacji iOS. Strona główna z sekcjami (hero, aplikacje, usługi, proces, kontakt), dwa języki PL/EN bez wtyczek, typ treści „Aplikacje” z podstronami produktowymi, ustawienia w Customizerze i automatyczny tryb ciemny. Bez zewnętrznych fontów i skryptów.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: psw-it
Tags: one-column, custom-logo, custom-menu, featured-images, portfolio, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #f5f5f3;
	--surface: #ffffff;
	--surface-2: #eceae6;
	--ink: #0e1116;
	--ink-2: #4a505c;
	--ink-3: #7b818c;
	--line: rgba(14, 17, 22, .10);
	--accent: #3355ff;
	--accent-ink: #ffffff;
	--accent-soft: rgba(51, 85, 255, .10);
	--warm: #ff6a3d;
	--ok: #18a058;
	--hero-bg: #0b0d12;
	--hero-ink: #f3f4f6;
	--hero-ink-2: #a3a9b5;
	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(14,17,22,.06), 0 12px 40px -12px rgba(14,17,22,.18);
	--max: 1160px;
	--gutter: clamp(16px, 4vw, 40px);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0b0d12;
		--surface: #14171e;
		--surface-2: #1b1f28;
		--ink: #f3f4f6;
		--ink-2: #b4bac5;
		--ink-3: #858c99;
		--line: rgba(255, 255, 255, .09);
		--accent: #6b85ff;
		--accent-soft: rgba(107, 133, 255, .14);
		--hero-bg: #06070a;
		--shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 40px -12px rgba(0,0,0,.6);
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.022em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--surface); padding: 10px 14px; border-radius: 10px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(32px, 4.6vw, 52px); max-width: 18ch; }
.section-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: 999px;
	font-weight: 600; font-size: 16px; line-height: 1;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--hero-bg) 82%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(255,255,255,.06);
	color: var(--hero-ink);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--hero-ink); font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark {
	width: 34px; height: 34px; border-radius: 9px; flex: none;
	background: linear-gradient(145deg, var(--accent), #8a5cff 70%, var(--warm));
	display: grid; place-items: center;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand-mark svg { width: 18px; height: 18px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 17px; }
.brand-sub { font-size: 12px; font-weight: 500; color: var(--hero-ink-2); }
.custom-logo { max-height: 40px; width: auto; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.primary-nav a { color: var(--hero-ink-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; display: block; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--hero-ink); background: rgba(255,255,255,.08); text-decoration: none; }
.primary-nav .menu-cta > a, .primary-nav a.menu-cta { background: var(--hero-ink); color: var(--hero-bg); margin-left: 8px; }
.primary-nav .menu-cta > a:hover, .primary-nav a.menu-cta:hover { background: #fff; color: #000; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.header-tools .primary-nav { order: 1; }
.lang-switch { order: 2; display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.lang-switch a { color: var(--hero-ink-2); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; line-height: 1; }
.lang-switch a:hover { color: var(--hero-ink); text-decoration: none; }
.lang-switch a.is-current { background: rgba(255,255,255,.14); color: var(--hero-ink); }
.nav-toggle { order: 3; }
.nav-toggle { display: none; background: none; border: 0; color: var(--hero-ink); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 860px) {
	.nav-toggle { display: grid; place-items: center; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--hero-bg); border-bottom: 1px solid rgba(255,255,255,.08);
		padding: 8px var(--gutter) 20px;
		display: none;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; }
	.primary-nav a { padding: 14px 12px; font-size: 17px; }
	.primary-nav .menu-cta > a, .primary-nav a.menu-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--hero-bg); color: var(--hero-ink);
	padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
}
.hero::before {
	content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
	background: radial-gradient(closest-side, rgba(51,85,255,.38), rgba(138,92,255,.16) 55%, transparent 75%);
	filter: blur(10px);
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .eyebrow { color: #9fb0ff; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.035em; max-width: 15.5ch; margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #8ea2ff, #c39bff 60%, #ff9a76); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--hero-ink-2); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: #fff; color: #0b0d12; }
.hero .btn-primary:hover { background: #e7e9ee; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: var(--hero-ink-2); }
.hero-meta strong { display: block; color: var(--hero-ink); font-size: 15px; }

/* Phone mockup */
.phone {
	--pw: min(300px, 72vw);
	width: var(--pw); aspect-ratio: 9 / 19.2; margin: 0 auto;
	border-radius: calc(var(--pw) * .16);
	padding: calc(var(--pw) * .035);
	background: linear-gradient(160deg, #3a3f4b, #15171c 40%, #2b2f38);
	box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.7), 0 0 120px -30px rgba(51,85,255,.6);
	position: relative;
	transform: rotate(-3deg);
}
.phone-screen {
	height: 100%; border-radius: calc(var(--pw) * .13); overflow: hidden;
	background: #f2f2f7; color: #111;
	display: flex; flex-direction: column;
	font-size: calc(var(--pw) * .042);
	position: relative;
}
.phone-island { position: absolute; top: 2.2%; left: 50%; transform: translateX(-50%); width: 32%; height: 3.6%; background: #000; border-radius: 999px; z-index: 2; }
.ph-status { display: flex; justify-content: space-between; padding: 4.2% 9% 0; font-weight: 600; font-size: .9em; }
.ph-status span:last-child { letter-spacing: .1em; }
.ph-head { padding: 6% 6% 3%; }
.ph-head small { color: #8e8e93; font-weight: 500; font-size: .8em; }
.ph-head b { display: block; font-size: 1.75em; letter-spacing: -0.02em; line-height: 1.1; }
.ph-search { margin: 0 6% 4%; background: #e3e3e8; border-radius: 10px; padding: 2.4% 4%; color: #8e8e93; font-size: .9em; }
.ph-chips { display: flex; gap: 6px; padding: 0 6% 4%; }
.ph-chips i { font-style: normal; font-size: .78em; font-weight: 600; padding: 1.5% 3.5%; border-radius: 999px; background: #fff; color: #3a3a3c; }
.ph-chips i.on { background: #3355ff; color: #fff; }
.ph-list { margin: 0 4%; background: #fff; border-radius: 14px; overflow: hidden; }
.ph-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 4% 4.5%; border-bottom: 1px solid #ececf0; }
.ph-row:last-child { border-bottom: 0; }
.ph-ico { width: 2.3em; height: 2.3em; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8em; }
.ph-row p { margin: 0; line-height: 1.25; }
.ph-row p b { display: block; font-size: .92em; }
.ph-row p span { color: #8e8e93; font-size: .76em; }
.ph-amt { text-align: right; font-weight: 600; font-size: .9em; line-height: 1.25; }
.ph-amt small { display: block; font-size: .72em; font-weight: 600; }
.ph-amt .ok { color: #18a058; }
.ph-amt .new { color: #3355ff; }
.ph-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 3% 4% 7%; background: rgba(249,249,249,.94); border-top: 1px solid #e5e5ea; font-size: .66em; color: #8e8e93; }
.ph-tab span { display: grid; justify-items: center; gap: 2px; }
.ph-tab span.on { color: #3355ff; }
.ph-tab svg { width: 1.9em; height: 1.9em; }

@media (max-width: 900px) {
	.hero .wrap { grid-template-columns: 1fr; }
	.hero-visual { order: -1; margin-bottom: 8px; }
	.phone { --pw: min(240px, 62vw); }
}

/* ---------- Apps ---------- */
.apps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.apps-grid { display: grid; gap: 24px; }
.app-card {
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
	background: var(--surface); border-radius: calc(var(--radius) + 6px);
	box-shadow: var(--shadow); overflow: hidden;
	border: 1px solid var(--line);
}
.app-card-body { padding: clamp(28px, 4vw, 52px); }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-icon {
	width: 72px; height: 72px; border-radius: 17px; flex: none; overflow: hidden;
	background: linear-gradient(150deg, #3355ff, #7a5cff);
	display: grid; place-items: center; color: #fff;
	box-shadow: 0 8px 20px -8px rgba(51,85,255,.6), inset 0 0 0 1px rgba(255,255,255,.15);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon svg { width: 36px; height: 36px; }
.app-id h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 4px; }
.app-id p { margin: 0; color: var(--ink-3); font-size: 15px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-live { background: rgba(24,160,88,.12); color: var(--ok); }
.badge-beta { background: rgba(255,106,61,.13); color: var(--warm); }
.app-desc { color: var(--ink-2); font-size: 18px; max-width: 52ch; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink); font-size: 16px; }
.feature-list li::before {
	content: ""; width: 22px; height: 22px; border-radius: 7px; margin-top: 2px;
	background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233355ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.appstore-btn {
	display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
	background: #000; color: #fff; border-radius: 13px; border: 1px solid #3a3a3c;
}
.appstore-btn:hover { text-decoration: none; background: #111; }
.appstore-btn svg { width: 24px; height: 24px; }
.appstore-btn span { display: flex; flex-direction: column; line-height: 1.05; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.appstore-btn small { font-size: 11px; font-weight: 500; letter-spacing: 0; }
.appstore-btn.is-soon { background: transparent; color: var(--ink-2); border: 1px dashed var(--line); cursor: default; border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.app-card-visual {
	background: radial-gradient(120% 90% at 70% 10%, rgba(51,85,255,.22), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--bg));
	display: grid; place-items: center; padding: 40px 20px; position: relative; overflow: hidden;
}
.app-card-visual .phone { --pw: min(250px, 60vw); transform: rotate(4deg) translateY(12%); margin-bottom: -18%; }
.app-card-visual > img { max-height: 520px; width: auto; object-fit: contain; }
@media (max-width: 860px) {
	.app-card { grid-template-columns: 1fr; }
	.app-card-visual { min-height: 320px; }
}

/* App art (no screenshot) */
.app-art {
	width: min(260px, 62%); aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; color: #fff;
	box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--app-accent, #3355ff) 70%, transparent), inset 0 0 0 1px rgba(255,255,255,.18);
	transform: rotate(-4deg);
}
.app-art svg { width: 46%; height: 46%; stroke-width: 1.5; }
.hero-visual .app-art { margin: 0 auto; width: min(300px, 70vw); }

/* More apps grid */
.apps-more { margin-top: 56px; }
.apps-more-title { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
.apps-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-tile {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
}
.app-tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--app-accent, var(--accent)); opacity: .85; }
.app-tile .app-id { margin: 0; gap: 14px; }
.app-tile .app-icon { width: 56px; height: 56px; border-radius: 14px; }
.app-tile .app-icon svg { width: 28px; height: 28px; }
.app-tile h3 { font-size: 20px; margin: 0 0 2px; letter-spacing: -0.015em; }
.app-tile .app-id p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.35; }
.app-tile .badge { align-self: flex-start; }
.app-tile-desc { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.feature-list-sm { margin: 0; gap: 8px; }
.feature-list-sm li { font-size: 14.5px; grid-template-columns: 18px 1fr; gap: 10px; }
.feature-list-sm li::before { width: 18px; height: 18px; border-radius: 6px; background-size: 11px; }
.app-tile-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--app-accent, var(--accent)); }
.app-tile-link svg { width: 16px; height: 16px; }
.apps-tiles-2, .apps-tiles-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .apps-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .apps-tiles { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.service {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 10px;
}
.service-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.service-ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 20px; margin: 0; letter-spacing: -0.015em; }
.service p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-photo {
	aspect-ratio: 4 / 5; border-radius: calc(var(--radius) + 6px); overflow: hidden;
	background: linear-gradient(160deg, #1d2333, #0b0d12);
	display: grid; place-items: center; color: #fff; position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-initials { font-family: var(--font-display); font-size: clamp(72px, 10vw, 128px); font-weight: 700; letter-spacing: -0.05em; background: linear-gradient(150deg, #8ea2ff, #c39bff 60%, #ff9a76); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-text .section-lead { margin-bottom: 28px; }
.about-text p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.fact { border-top: 2px solid var(--ink); padding-top: 14px; }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.fact span { font-size: 14px; color: var(--ink-2); display: block; line-height: 1.45; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.stack li { font-family: var(--mono); font-size: 13px; padding: 6px 11px; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); }
@media (max-width: 860px) {
	.about .wrap { grid-template-columns: 1fr; }
	.about-photo { max-width: 360px; aspect-ratio: 1; }
	.facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 28px 24px 0 0; position: relative; }
.steps li::before { content: "0" counter(step); font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; display: block; margin-bottom: 18px; }
.steps li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.steps h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }
.steps p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); padding-left: 24px; } .steps li { padding: 0 0 8px; } .steps li::after { left: -29px; top: 4px; } }

/* ---------- Contact ---------- */
.contact-card {
	background: var(--hero-bg); color: var(--hero-ink);
	border-radius: calc(var(--radius) + 10px);
	padding: clamp(36px, 6vw, 80px);
	display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center;
	position: relative; overflow: hidden; isolation: isolate;
}
.contact-card::before { content: ""; position: absolute; right: -15%; bottom: -60%; width: 70%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgba(51,85,255,.45), transparent); }
.contact-card h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.03em; max-width: 16ch; }
.contact-card p { color: var(--hero-ink-2); font-size: 18px; max-width: 46ch; }
.contact-card .eyebrow { color: #9fb0ff; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a, .contact-list div {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px;
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 16px;
	color: var(--hero-ink); font-weight: 600; word-break: break-word;
}
.contact-list a:hover { background: rgba(255,255,255,.09); text-decoration: none; }
.contact-list small { display: block; font-weight: 500; font-size: 12.5px; color: var(--hero-ink-2); }
.contact-list svg { width: 22px; height: 22px; flex: none; color: #9fb0ff; }
.contact-form { grid-column: 1 / -1; margin-top: 8px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.contact-form input[type=submit] { width: auto; background: #fff; color: #000; border: 0; border-radius: 999px; padding: 12px 24px; font-weight: 600; cursor: pointer; }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; color: var(--ink-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.site-footer strong { color: var(--ink); font-weight: 600; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a { color: var(--ink-2); }

/* ---------- Content (pages, posts, single app) ---------- */
.page-hero { background: var(--hero-bg); color: var(--hero-ink); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.03em; max-width: 20ch; margin: 0; }
.page-hero p { color: var(--hero-ink-2); font-size: 19px; margin: 16px 0 0; max-width: 60ch; }
.entry { max-width: 740px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; }
.entry h3 { font-size: 22px; margin-top: 1.6em; }
.entry img { border-radius: var(--radius-sm); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--ink-2); font-size: 1.1em; }
.entry pre, .entry code { font-family: var(--mono); font-size: .9em; }
.entry pre { background: var(--surface-2); padding: 18px; border-radius: var(--radius-sm); overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.entry details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-top: 10px; }
.entry details + details { margin-top: 10px; }
.entry summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; font-weight: 400; }
.entry details[open] summary::after { content: "−"; }
.entry details p { color: var(--ink-2); margin: 0 0 18px; }
.pswit-firma { display: block; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.7; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.post-list { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); display: grid; gap: 18px; }
.post-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.post-item h2 { font-size: 24px; margin-bottom: 6px; }
.post-item h2 a { color: var(--ink); }
.post-meta { color: var(--ink-3); font-size: 14px; margin-bottom: 10px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }

.app-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-hero .app-id h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 6px; }
.app-hero .app-id p { color: var(--hero-ink-2); font-size: 18px; }
.app-hero .app-icon { width: 96px; height: 96px; border-radius: 22px; }
.app-hero .appstore-btn.is-soon { color: var(--hero-ink-2); border-color: rgba(255,255,255,.25); }
.app-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 15px; }
.app-links a { color: #9fb0ff; }
@media (max-width: 860px) { .app-hero .wrap { grid-template-columns: 1fr; } }

.error-404 { text-align: center; padding: 120px var(--gutter); }
.error-404 h1 { font-size: clamp(64px, 12vw, 140px); letter-spacing: -0.05em; margin: 0; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.btn:hover { transform: none; }
}

/* WP core classes */
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--ink-3); }
.sticky, .bypostauthor { }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
