/* ==========================================================================
   wtyczkownia.pl - design system
   Orange / black / white. Inter Tight (display) + Inter (text), self-hosted.
   ========================================================================== */

/* Inter and Inter Tight (OFL), variable 400-800, one file each: Latin + Latin Extended-A (Polish). */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-pl-wght.c5cda6c40fef.woff2") format("woff2");
}

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-tight-pl-wght.2518d01b2648.woff2") format("woff2");
}

:root {
	/* colour */
	--accent: #ff5a00;
	--accent-600: #c24100; /* orange for text: 5:1 on white, 4.8:1 on --accent-50 */
	--accent-50: #fff4ed;
	--accent-100: #ffe4d2;
	--ink: #0e0e0e;
	--ink-2: #1b1b1b;
	--ink-3: #2a2a2a;
	--text: #0e0e0e;
	--muted: #5f5f5f;
	--subtle: #6f6f6f;
	--line: #e9e7e4;
	--line-strong: #d9d6d2;
	--paper: #ffffff;
	--paper-2: #faf9f7;
	--paper-3: #f3f1ee;
	--ok: #1f8a4c;
	--err: #c62828;

	/* type */
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	/* layout */
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(14, 14, 14, 0.06);
	--shadow: 0 1px 2px rgba(14, 14, 14, 0.04), 0 8px 24px -8px rgba(14, 14, 14, 0.12);
	--shadow-lg: 0 2px 4px rgba(14, 14, 14, 0.04), 0 24px 60px -16px rgba(14, 14, 14, 0.22);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------------------------------------------------------------- reset */

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 400 17px/1.65 var(--font);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--accent-600);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--accent);
	color: #fff;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 5.6vw, 4.5rem);
	font-weight: 750;
	letter-spacing: -0.035em;
}

h2 {
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

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

.narrow {
	max-width: 760px;
}

.center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.skip {
	position: absolute;
	left: -999px;
}

.skip:focus {
	left: 16px;
	top: 16px;
	z-index: 100;
	padding: 10px 14px;
	background: var(--paper);
	border-radius: var(--r-sm);
}

.dot {
	color: var(--accent);
}

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

.testbar {
	padding: 7px 16px;
	background: var(--ink);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
}

.testbar--maintenance {
	background: var(--accent);
	color: var(--ink);
}

/* ---------------------------------------------------------------- header */

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.header.is-scrolled {
	border-bottom-color: var(--line);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 72px;
}

.logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.logo img {
	display: block;
	width: auto;
	height: 26px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-right: auto;
}

.nav a {
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s, background-color 0.15s;
}

.nav a:hover {
	color: var(--ink);
	background: var(--paper-3);
}

/* Current section: just orange text, no pill */
.nav a[aria-current="page"],
.nav a[aria-current="page"]:hover {
	color: var(--accent-600);
	background: none;
}

.header__cta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header__link {
	padding: 8px 12px;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--ink);
}

/* Burger: three lines, no frame; turns into an X while the menu is open. */
.menu-btn {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.menu-btn span {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s var(--ease), opacity 0.15s var(--ease), top 0.25s var(--ease);
}

.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }

.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.menu-btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 10px;
}

/* Mobile menu: drawer from the left, full height, over a darkened and blurred page. */
.drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(14, 14, 14, 0.42);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}

.drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 90;
	display: flex;
	flex-direction: column;
	width: min(84vw, 360px);
	padding: 22px var(--gutter) 28px;
	background: var(--paper);
	box-shadow: var(--shadow-lg);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.menu-open .drawer {
	transform: none;
	visibility: visible;
	transition: transform 0.3s var(--ease);
}

.menu-open .drawer-backdrop {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s var(--ease);
}

.menu-open,
.menu-open body {
	overflow: hidden;
}

/* The header (with the X) stays above the darkened page, the drawer above both. */
.menu-open .header {
	z-index: 85;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: transparent;
}

.menu-open .header__inner > .logo {
	visibility: hidden;
}

.menu-open .menu-btn {
	color: #fff;
}

.drawer__logo {
	margin: 6px 0 28px;
}

.drawer__links {
	display: grid;
}

.drawer__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 2px;
	border-bottom: 1px solid var(--line);
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	color: var(--ink);
	text-decoration: none;
}

.drawer__links a::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--line-strong);
	border-top: 2px solid var(--line-strong);
	transform: rotate(45deg);
}

.drawer__links a[aria-current="page"] {
	color: var(--accent-600);
}

.drawer__links a[aria-current="page"]::after {
	border-color: var(--accent-600);
}

.drawer__foot {
	display: grid;
	gap: 14px;
	margin-top: auto;
	padding-top: 28px;
}

.drawer__mail {
	justify-self: center;
	color: var(--muted);
	font-size: 0.92rem;
	text-decoration: none;
}

@media (min-width: 641px) {
	.drawer,
	.drawer-backdrop {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.drawer,
	.drawer-backdrop,
	.menu-btn span {
		transition: none;
	}
}

/* icons:start - generated by scripts/make_icons.py, do not edit by hand */
/* Phosphor Bold icons (MIT), subset to the icons below */

@font-face {
	font-family: "WtkIcons";
	src: url("../fonts/icons.579aef026702.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
	font-display: swap; /* preloaded in base.html, so the icons are there before the first paint */
}

.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 1em;
	height: 1em;
	font-family: "WtkIcons" !important;
	font-size: 22px;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	text-transform: none;
	speak: never;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon--arrow::before {
	content: "\e06c";
}

.icon--blocks::before {
	content: "\e464";
}

.icon--bolt::before {
	content: "\e2de";
}

.icon--book::before {
	content: "\e0e6";
}

.icon--box::before {
	content: "\e390";
}

.icon--calendar::before {
	content: "\e10a";
}

.icon--card::before {
	content: "\e1d2";
}

.icon--cart::before {
	content: "\e420";
}

.icon--chart::before {
	content: "\e156";
}

.icon--chat::before {
	content: "\e168";
}

.icon--check::before {
	content: "\e182";
}

.icon--clock::before {
	content: "\e19a";
}

.icon--code::before {
	content: "\e1bc";
}

.icon--coins::before {
	content: "\e78e";
}

.icon--download::before {
	content: "\e20c";
}

.icon--flag::before {
	content: "\e244";
}

.icon--gear::before {
	content: "\e272";
}

.icon--globe::before {
	content: "\e28e";
}

.icon--heart::before {
	content: "\e2a8";
}

.icon--info::before {
	content: "\e2ce";
}

.icon--key::before {
	content: "\e2d6";
}

.icon--label::before {
	content: "\e478";
}

.icon--lock::before {
	content: "\e308";
}

.icon--mail::before {
	content: "\e218";
}

.icon--map::before {
	content: "\e316";
}

.icon--palette::before {
	content: "\e6c8";
}

.icon--plug::before {
	content: "\e946";
}

.icon--printer::before {
	content: "\e3dc";
}

.icon--puzzle::before {
	content: "\e596";
}

.icon--receipt::before {
	content: "\e3ec";
}

.icon--refresh::before {
	content: "\e094";
}

.icon--search::before {
	content: "\e30c";
}

.icon--shield::before {
	content: "\e40c";
}

.icon--star::before {
	content: "\e46a";
}

.icon--store::before {
	content: "\e470";
}

.icon--truck::before {
	content: "\e4b4";
}

.icon--users::before {
	content: "\e4d6";
}

.icon--warning::before {
	content: "\e4e0";
}

.icon--x::before {
	content: "\e4f6";
}
/* icons:end */

/* ---------------------------------------------------------------- buttons */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: #fff;
	--btn-bd: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1.5px solid var(--btn-bd);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 600 1rem/1 var(--font);
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none;
	transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}

/* Hover = clear colour swap: black <-> orange, outline -> filled. No shadows, no glow. */
.btn:hover {
	--btn-bg: var(--accent);
	--btn-bd: var(--accent);
	--btn-fg: #fff;
	color: var(--btn-fg);
}

.btn:active {
	transform: translateY(1px);
}

.btn .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.18s var(--ease);
	font-size: 18px;
}

.btn:hover .icon--arrow {
	transform: translateX(3px);
}

.btn--accent {
	--btn-bg: var(--accent);
	--btn-bd: var(--accent);
	--btn-fg: var(--ink); /* black on orange: 6.7:1 (white was 3.1:1) */
}

.btn--accent:hover {
	--btn-bg: var(--ink);
	--btn-bd: var(--ink);
	--btn-fg: #fff;
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bd: var(--line-strong);
}

.btn--ghost:hover {
	--btn-bg: var(--ink);
	--btn-fg: #fff;
	--btn-bd: var(--ink);
}

.btn--light {
	--btn-bg: #fff;
	--btn-fg: var(--ink);
	--btn-bd: #fff;
}

/* Light buttons live on the orange CTA: hover goes black, not orange. */
.btn--light:hover {
	--btn-bg: var(--ink);
	--btn-fg: #fff;
	--btn-bd: var(--ink);
}

.btn--sm {
	min-height: 40px;
	padding: 0 16px;
	font-size: 0.92rem;
}

.btn--block {
	width: 100%;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink);
}

.text-link .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	transition: transform 0.18s var(--ease);
	font-size: 18px;
}

.text-link:hover .icon {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------- type helpers */

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--ink);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kicker::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}

.section--ink .kicker {
	color: #fff;
}

.lead {
	max-width: 640px;
	color: var(--muted);
	font-size: clamp(1.1rem, 1.6vw, 1.28rem);
	line-height: 1.55;
}

.section--ink .lead {
	color: #a9a9a9;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 6px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: 0.88rem;
	color: var(--muted);
	text-decoration: none;
}

.pill b {
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
}

a.pill:hover {
	border-color: var(--line-strong);
	color: var(--ink);
}

/* ---------------------------------------------------------------- sections */

.section {
	padding: clamp(72px, 10vw, 128px) 0;
}

.section--tight {
	padding: clamp(48px, 6vw, 80px) 0;
}

.section--paper {
	background: var(--paper-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.section--ink {
	background: var(--ink);
	color: #fff;
}

.section__head {
	max-width: 720px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.section__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section__head--center .lead {
	margin-left: auto;
	margin-right: auto;
}

.section__head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}

.section__head--split > div {
	max-width: 640px;
}

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

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}

.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.hero h1 {
	margin: 22px 0 22px;
	font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.hero .lead {
	margin-bottom: 34px;
}

.hero__notes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 0.92rem;
}

.hero__notes li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero__notes .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	font-size: 18px;
}

.page-hero {
	padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
	border-bottom: 1px solid var(--line);
	background: var(--paper-2);
}

.page-hero h1 {
	font-size: clamp(2.3rem, 5vw, 3.8rem);
	margin-top: 8px;
}

/* ---------------------------------------------------------------- product mockup */

.mock {
	position: relative;
	padding: 18px;
	border-radius: var(--r-lg);
	background: var(--ink);
	box-shadow: var(--shadow-lg);
}

.mock__window {
	overflow: hidden;
	border-radius: 14px;
	background: var(--paper);
}

.mock__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	background: var(--paper-2);
}

.mock__bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--line-strong);
}

.mock__bar span {
	margin-left: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--subtle);
	font-size: 0.72rem;
}

.mock__body {
	padding: 20px;
}

.mock__label {
	margin-bottom: 10px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--muted);
}

.mock__rate {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	font-size: 0.86rem;
}

.mock__rate:first-of-type {
	border-radius: 10px 10px 0 0;
}

.mock__rate + .mock__rate {
	border-top: 0;
}

.mock__rate:last-of-type {
	border-radius: 0 0 10px 10px;
}

.mock__rate b {
	margin-left: auto;
	font-weight: 600;
}

.mock__rate.is-on {
	border: 1.5px solid var(--ink);
	position: relative;
	z-index: 1;
}

.mock__radio {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid var(--line-strong);
}

.is-on .mock__radio {
	border: 5px solid var(--ink);
}

.mock__map {
	position: relative;
	height: 150px;
	margin-top: 14px;
	border-radius: 10px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(0deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
		#eef0ea;
}

.mock__map::before,
.mock__map::after {
	content: "";
	position: absolute;
	background: #fff;
}

.mock__map::before {
	left: -10%;
	top: 46%;
	width: 120%;
	height: 14px;
	transform: rotate(-8deg);
}

.mock__map::after {
	left: 58%;
	top: -10%;
	width: 12px;
	height: 120%;
	transform: rotate(14deg);
}

.mock__pin {
	position: absolute;
	z-index: 1;
	width: 22px;
	height: 22px;
	border-radius: 50% 50% 50% 0;
	background: var(--accent);
	border: 3px solid #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
	transform: rotate(-45deg);
}

.mock__pin--ink {
	background: var(--ink);
	width: 28px;
	height: 28px;
	border-color: var(--accent);
}

.mock__card {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: 10px;
	font-size: 0.84rem;
}

.mock__card strong {
	display: block;
	font-size: 0.9rem;
}

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

.mock__card em {
	margin-left: auto;
	padding: 5px 10px;
	border: 1px solid var(--ink);
	border-radius: 6px;
	font-style: normal;
	font-weight: 600;
	font-size: 0.78rem;
}

.mock__chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--shadow-lg);
	font-size: 0.82rem;
	font-weight: 600;
}

.mock__chip .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	font-size: 18px;
}

.mock__chip--a {
	left: -28px;
	bottom: -20px;
}

.mock__chip--b {
	right: -18px;
	top: 40px;
}

.mock__plugins {
	display: grid;
	gap: 8px;
}

.mock__plugin {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
}

.mock__plugin strong {
	display: block;
	font-size: 0.86rem;
	line-height: 1.3;
}

.mock__plugin span:not(.mock__plugin-icon):not(.mock__toggle) {
	display: block;
	color: var(--subtle);
	font-size: 0.74rem;
}

.mock__plugin-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--paper-3);
	color: var(--muted);
}

.mock__plugin-icon .icon {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.mock__plugin.is-on {
	border-color: var(--ink);
}

.mock__plugin.is-on .mock__plugin-icon {
	background: var(--ink);
	color: var(--accent);
}

.mock__toggle {
	position: relative;
	width: 34px;
	height: 20px;
	border-radius: 999px;
	background: var(--line-strong);
}

.mock__toggle::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s var(--ease);
}

.is-on .mock__toggle {
	background: var(--accent);
}

.is-on .mock__toggle::after {
	transform: translateX(14px);
}

.mock__plugin--new {
	border-style: dashed;
	background: var(--paper-2);
}

.mock__plugin--new em {
	color: var(--accent-600);
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 600;
}

/* ---------------------------------------------------------------- logos / proof strip */

.strip {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--paper-2);
}

.strip__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.strip__item {
	padding: 26px 24px;
	border-left: 1px solid var(--line);
}

.strip__item:first-child {
	border-left: 0;
}

.strip__item strong {
	display: block;
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.strip__item span {
	color: var(--muted);
	font-size: 0.9rem;
}

/* ---------------------------------------------------------------- areas (what we build) */

.areas {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.area {
	padding: 28px 26px 30px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
}

.area__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--accent);
}

.area__icon .icon {
	width: 24px;
	height: 24px;
	font-size: 24px;
}

.area h3 {
	margin-bottom: 8px;
	font-size: 1.15rem;
}

.area p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.quote-card {
	padding: clamp(28px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
	box-shadow: var(--shadow);
}

.quote-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: var(--accent-50);
	color: var(--accent);
}

.quote-card h3 {
	margin-bottom: 14px;
	font-size: 1.25rem;
}

.quote-card ol {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
	padding-left: 20px;
}

.quote-card ol li::marker {
	color: var(--accent);
	font-weight: 700;
}

.quote-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.pcard--custom {
	border-color: var(--accent-100);
	background: var(--accent-50);
}

.pcard--custom .pcard__icon {
	background: var(--accent);
	color: #fff;
}

.pcard--custom .pcard__foot span {
	font-weight: 600;
	color: var(--accent-600);
}

.section--ink .btn--accent:hover,
.price--featured .btn--accent:hover,
.summary .btn--accent:hover,
.cta .btn--accent:hover {
	--btn-bg: #fff;
	--btn-bd: #fff;
	--btn-fg: var(--ink);
}

.btn--outline-light {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bd: rgba(14, 14, 14, 0.35);
}

.btn--outline-light:hover {
	--btn-bg: #fff;
	--btn-fg: var(--ink);
	--btn-bd: #fff;
}

@media (max-width: 1024px) {
	.areas {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.areas {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------- feature grid */

.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.feature {
	padding: 34px 32px 36px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	transition: background-color 0.2s;
}

.feature__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 22px;
	border-radius: 12px;
	background: var(--accent-50);
	color: var(--accent);
}

.feature h3 {
	margin-bottom: 8px;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 0.97rem;
}

.section--ink .features,
.section--ink .feature {
	border-color: var(--ink-3);
	background: transparent;
}

.section--ink .feature__icon {
	background: rgba(255, 90, 0, 0.14);
}

.section--ink .feature p {
	color: #a9a9a9;
}

/* ---------------------------------------------------------------- plugin cards */

.cards {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

a.pcard:hover {
	color: inherit;
	border-color: var(--ink);
	transform: translateY(-2px);
}

.pcard__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.pcard__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--accent);
}

.pcard__logo,
.download__logo,
.mock__plugin-logo {
	display: block;
	border-radius: 14px;
}

.download__logo {
	border-radius: 11px;
}

.mock__plugin-logo {
	border-radius: 10px;
}

.pcard__icon .icon {
	width: 26px;
	height: 26px;
	font-size: 26px;
}

.tag {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--paper-3);
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.tag--accent {
	background: var(--accent-50);
	color: var(--accent-600);
}

.pcard h3 {
	font-size: 1.4rem;
	margin-bottom: 10px;
}

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

.pcard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 0.92rem;
}

.pcard__foot b {
	font-weight: 600;
}

.pcard__foot .icon {
	color: var(--accent);
	transition: transform 0.2s var(--ease);
}

a.pcard:hover .pcard__foot .icon {
	transform: translateX(4px);
}

.pcard--soon {
	border-style: dashed;
	background: var(--paper-2);
}

.pcard--soon .pcard__icon {
	background: var(--paper-3);
	color: var(--subtle);
}

/* ---------------------------------------------------------------- steps */

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: step;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	position: relative;
	padding: 30px;
	border-radius: var(--r-lg);
	background: var(--paper);
	border: 1px solid var(--line);
	counter-increment: step;
}

.step::before {
	content: "0" counter(step);
	display: block;
	margin-bottom: 40px;
	font-family: var(--display);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--accent);
}

.step p {
	margin: 0;
	color: var(--muted);
}

/* ---------------------------------------------------------------- split */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.checks {
	display: grid;
	gap: 14px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.checks li {
	display: flex;
	gap: 12px;
}

.checks .icon {
	margin-top: 3px;
	width: 20px;
	height: 20px;
	color: var(--accent);
	font-size: 20px;
}

/* ---------------------------------------------------------------- compare table */

.compare {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
}

.compare table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.97rem;
}

.compare th,
.compare td {
	padding: 16px 22px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.compare thead th {
	background: var(--paper-2);
	font-family: var(--display);
	font-size: 1rem;
	font-weight: 700;
}

.compare thead th:last-child {
	background: var(--ink);
	color: #fff;
}

.compare td:nth-child(2),
.compare td:nth-child(3),
.compare th:nth-child(2),
.compare th:nth-child(3) {
	width: 140px;
	text-align: center;
}

.compare td:last-child {
	background: var(--paper-2);
}

.compare tr:last-child td {
	border-bottom: 0;
}

.yes,
.no {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
}

.yes {
	background: var(--accent-50);
	color: var(--accent);
}

.no {
	color: var(--line-strong);
}

.yes .icon,
.no .icon {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

/* ---------------------------------------------------------------- pricing */

.pricing {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
}

.price {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
}

.price--featured {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.price__badge {
	position: absolute;
	top: 22px;
	right: 22px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--accent);
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.price__name {
	font-family: var(--display);
	font-size: 1.15rem;
	font-weight: 700;
}

.price__desc {
	margin: 4px 0 26px;
	color: var(--muted);
	font-size: 0.92rem;
}

.price--featured .price__desc,
.price--featured .price__note {
	color: #a9a9a9;
}

.price__amount {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-family: var(--display);
	font-size: 3.2rem;
	font-weight: 750;
	letter-spacing: -0.04em;
	line-height: 1;
}

.price__amount small {
	font-family: var(--font);
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--muted);
}

.price--featured .price__amount small {
	color: #a9a9a9;
}

.price__note {
	margin: 10px 0 26px;
	color: var(--muted);
	font-size: 0.88rem;
}

.price ul {
	display: grid;
	gap: 12px;
	margin: 0 0 30px;
	padding: 26px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: 0.95rem;
}

.price--featured ul {
	border-color: var(--ink-3);
}

.price li {
	display: flex;
	gap: 10px;
}

.price li .icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--accent);
	font-size: 18px;
}

.price .btn {
	margin-top: auto;
}

.price--featured .btn--ghost {
	--btn-fg: #fff;
	--btn-bd: var(--ink-3);
}

.price--featured .btn--ghost:hover {
	--btn-bg: #fff;
	--btn-fg: var(--ink);
	--btn-bd: #fff;
}

.pricing__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin-top: 28px;
	color: var(--muted);
	font-size: 0.9rem;
}

.pricing__foot span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pricing__foot .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	font-size: 18px;
}

/* ---------------------------------------------------------------- faq */

.faq-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq details:first-child {
	border-top: 1px solid var(--line);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-family: var(--display);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 12px 1.75px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 1.75px 12px no-repeat,
		var(--paper-3);
	transition: transform 0.2s var(--ease), background-color 0.2s;
}

.faq details[open] summary::after {
	transform: rotate(45deg);
	background-color: var(--accent-100);
}

.faq details > div {
	padding: 0 48px 22px 0;
	color: var(--muted);
}

/* ---------------------------------------------------------------- CTA band */

.cta {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 7vw, 88px);
	border-radius: 28px;
	background: var(--accent);
	color: var(--ink);
}

.cta::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -120px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	border: 60px solid rgba(255, 255, 255, 0.16);
}

.cta h2 {
	max-width: 640px;
	color: var(--ink);
}

.cta p {
	max-width: 560px;
	color: var(--ink-3);
	font-size: 1.15rem;
}

.cta .actions {
	position: relative;
	z-index: 1;
	margin-top: 30px;
}

/* ---------------------------------------------------------------- sub navigation (plugin page) */

.subnav {
	position: sticky;
	top: 72px;
	z-index: 40;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.subnav__inner {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 58px;
	overflow-x: auto;
	scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar {
	display: none;
}

.subnav a:not(.btn) {
	flex: none;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
}

.subnav a:not(.btn):hover {
	color: var(--ink);
	background: var(--paper-3);
}

.subnav .btn {
	flex: none;
	margin-left: auto;
}

/* ---------------------------------------------------------------- breadcrumbs */

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	color: var(--subtle);
	font-size: 0.88rem;
}

.crumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--line-strong);
}

.crumbs a {
	text-decoration: none;
	color: var(--muted);
}

.crumbs a:hover {
	color: var(--ink);
}

/* ---------------------------------------------------------------- article / docs layout */

.article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}

.toc {
	position: sticky;
	top: 96px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--paper-2);
	font-size: 0.9rem;
}

.toc__title {
	margin-bottom: 10px;
	font-weight: 600;
}

.toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.toc ul ul {
	padding-left: 14px;
}

.toc li {
	margin: 6px 0;
}

.toc a {
	color: var(--muted);
	text-decoration: none;
}

.toc a:hover {
	color: var(--accent-600);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 0.92rem;
}

.article-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.article-meta .icon {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

/* ---------------------------------------------------------------- prose */

.prose {
	max-width: 720px;
	font-size: 1.06rem;
	line-height: 1.75;
}

/* Simple pages (terms, privacy policy, about): text across the whole container. */
.prose--wide {
	max-width: none;
}

/* Wide tables scroll sideways on phones instead of squeezing the page. */
@media (max-width: 860px) {
	.prose table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.prose > :first-child {
	margin-top: 0;
}

.prose h2 {
	margin: 2.2em 0 0.6em;
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.prose h3 {
	margin: 1.8em 0 0.5em;
	font-size: 1.25rem;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li {
	margin: 0.4em 0;
}

.prose li::marker {
	color: var(--accent);
}

.prose a {
	font-weight: 500;
	text-decoration-thickness: 2px;
}

.prose strong {
	font-weight: 650;
}

.prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--paper-3);
	font-family: var(--mono);
	font-size: 0.86em;
}

.prose pre {
	padding: 20px 22px;
	border-radius: var(--r);
	background: var(--ink);
	color: #ededed;
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.6;
}

.prose pre code {
	padding: 0;
	background: none;
	color: inherit;
}

.prose blockquote {
	margin: 1.8em 0;
	padding: 18px 22px;
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--r) var(--r) 0;
	background: var(--accent-50);
	color: var(--ink);
}

.prose blockquote p:last-child {
	margin: 0;
}

.prose table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.prose th,
.prose td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.prose th {
	background: var(--paper-2);
	font-weight: 600;
}

.prose hr {
	margin: 3em 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.prose img {
	border-radius: var(--r);
}

/* ---------------------------------------------------------------- posts */

.posts {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
}

.post-card {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

a.post-card:hover {
	color: inherit;
	border-color: var(--ink);
	transform: translateY(-2px);
}

.post-card__meta {
	margin-bottom: 14px;
	color: var(--subtle);
	font-size: 0.85rem;
}

.post-card h3 {
	margin-bottom: 10px;
	font-size: 1.3rem;
}

.post-card p {
	color: var(--muted);
	font-size: 0.97rem;
}

.post-card .text-link {
	margin-top: auto;
}

.post-card--wide {
	grid-column: span 2;
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.post-card--wide p,
.post-card--wide .post-card__meta {
	color: #a9a9a9;
}

.post-card--wide .text-link {
	color: #fff;
}

a.post-card--wide:hover {
	color: #fff;
	border-color: var(--accent);
}

.post-card--wide h3 {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 48px;
}

.related {
	margin-top: 72px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}

.promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin-top: 56px;
	padding: 28px;
	border-radius: var(--r-lg);
	background: var(--ink);
	color: #fff;
}

.promo h3 {
	margin: 0 0 4px;
}

.promo p {
	margin: 0;
	color: #a9a9a9;
}

/* ---------------------------------------------------------------- forms */

.form {
	display: grid;
	gap: 18px;
}

.field label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.92rem;
	font-weight: 600;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field select,
.field textarea {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
	height: auto;
	min-height: 160px;
	padding: 14px 16px;
	line-height: 1.55;
	resize: vertical;
}

.field input:not([type="checkbox"]):not([type="radio"]):hover,
.field select:hover,
.field textarea:hover {
	border-color: var(--subtle);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-100);
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--subtle);
}

/* Validation (static/js/forms.js + server errors) */
.field.has-error input:not([type="checkbox"]):not([type="radio"]),
.field.has-error select,
.field.has-error textarea {
	border-color: var(--err);
	background: #fffafa;
}

.field.has-error input:focus,
.field.has-error textarea:focus {
	box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.14);
}

.field--check.has-error input {
	outline: 2px solid var(--err);
	outline-offset: 2px;
}

.field__error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	margin: 7px 0 0;
	color: var(--err);
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.4;
	animation: field-error-in 0.18s var(--ease);
}

.field__error::before {
	content: "!";
	flex: none;
	display: grid;
	place-items: center;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--err);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
}

.field--check .field__error,
.field--check .errorlist {
	flex-basis: 100%;
	margin-top: 0;
	padding-left: 39px; /* under the label, not under the box */
}

.field--check.has-error {
	flex-wrap: wrap;
}

@keyframes field-error-in {
	from { opacity: 0; transform: translateY(-3px); }
}

.form__alert {
	padding: 13px 16px;
	border-radius: 12px;
	font-size: 0.92rem;
	font-weight: 500;
	animation: field-error-in 0.18s var(--ease);
}

.form__alert--error {
	border: 1px solid #f5c6c6;
	background: #fdf1f1;
	color: #8f1d1d;
}

.form__alert--success {
	border: 1px solid #cbe8d5;
	background: #f0f9f3;
	color: #17643a;
}

.form__actions {
	display: grid;
	gap: 12px;
}

.form__note {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

/* Busy submit button: label stays for width, spinner on top */
.btn.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.btn.is-loading .icon {
	opacity: 0;
}

.btn.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 20px;
	height: 20px;
	margin: auto;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: btn-spin 0.7s linear infinite;
}

.btn--ghost.is-loading::after {
	border-color: rgba(14, 14, 14, 0.2);
	border-top-color: var(--ink);
}

.btn:disabled:not(.is-loading) {
	opacity: 0.55;
	cursor: not-allowed;
}

@keyframes btn-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.field__error,
	.form__alert {
		animation: none;
	}
	.btn.is-loading::after {
		animation-duration: 1.6s;
	}
}

.form-success {
	padding: 28px;
	border: 1px solid #cbe8d5;
	border-radius: var(--r-lg);
	background: #f0f9f3;
	outline: none;
}

.form-success__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--ok);
	color: #fff;
}

.form-success__icon .icon {
	width: 22px;
	height: 22px;
	font-size: 22px;
}

.form-success h2 {
	margin: 0 0 8px;
	font-size: 1.35rem;
}

.form-success p {
	margin: 0;
	color: var(--muted);
}

.field--check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.field--check label {
	flex: 1 1 0; /* stays next to the box, also when an error line is added below */
	min-width: 0;
	margin: 0;
	font-weight: 500;
}

.field--check input {
	flex: none; /* a long label must not squeeze the box */
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--accent);
}

.errorlist {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	color: var(--err);
	font-size: 0.88rem;
}

.form-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.buyer {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.buyer__legend {
	margin-bottom: 10px;
	padding: 0;
	font-weight: 600;
}

.buyer__switch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.buyer__option {
	position: relative;
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r);
	background: var(--paper);
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.buyer__option:hover {
	border-color: var(--subtle);
}

.buyer__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.buyer__option:has(input:checked) {
	border-color: var(--accent);
	background: var(--accent-50);
	box-shadow: 0 0 0 1px var(--accent);
}

.buyer__option:has(input:focus-visible) {
	box-shadow: 0 0 0 4px var(--accent-100);
}

.buyer__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 650;
}

.buyer__title .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	font-size: 18px;
}

.buyer__desc {
	color: var(--muted);
	font-size: 0.88rem;
}

.buyer__hint {
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.nip-row {
	display: flex;
	gap: 10px;
}

.nip-row input {
	flex: 1;
	min-width: 0;
}

.nip-row .btn {
	flex: none;
	height: 52px;
}

.field__help {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.summary__tax {
	margin-bottom: 10px !important;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #a9a9a9;
	font-size: 0.9rem;
}

.price__net {
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.9rem;
}

.price--featured .price__net {
	color: #a9a9a9;
}

@media (max-width: 480px) {
	.buyer__switch {
		grid-template-columns: 1fr;
	}
}

.company-fields[hidden] {
	display: none;
}

.billing-fields {
	display: grid;
	gap: 18px;
}

.billing-fields .field__help {
	margin-top: -6px;
}

.company-fields {
	display: grid;
	gap: 18px;
	padding: 22px;
	border-radius: var(--r);
	background: var(--paper-2);
	border: 1px solid var(--line);
}

.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(64px, 8vw, 112px);
}

.summary {
	position: sticky;
	top: 96px;
	padding: 30px;
	border-radius: var(--r-lg);
	background: var(--ink);
	color: #fff;
}

.summary h2 {
	font-size: 1.5rem;
}

.summary .kicker {
	color: #fff; /* dark summary card: the default kicker colour is the same as the background */
}

.summary__product {
	display: flex;
	align-items: center;
	gap: 14px;
}

.summary__product img {
	flex: none;
	border-radius: 12px;
}

.section__logo {
	display: block;
	margin: 0 auto 16px;
	border-radius: 16px;
}

.summary dl {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	margin: 22px 0;
	padding: 22px 0;
	border-top: 1px solid var(--ink-3);
	border-bottom: 1px solid var(--ink-3);
	font-size: 0.95rem;
}

.summary dt {
	color: #a9a9a9;
}

.summary dd {
	margin: 0;
	text-align: right;
	font-weight: 600;
}

.summary__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-family: var(--display);
	font-size: 1.7rem;
	font-weight: 750;
	letter-spacing: -0.03em;
}

.summary__total span:first-child {
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	color: #a9a9a9;
}

.summary__secure {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	color: #a9a9a9;
	font-size: 0.88rem;
}

.summary__secure li {
	display: flex;
	gap: 10px;
}

.summary__secure .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	font-size: 18px;
}

/* ---------------------------------------------------------------- contact */

.section--tight-top {
	padding-top: clamp(40px, 5vw, 64px);
}

.contact {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}

.contact__info {
	display: grid;
	gap: 28px;
}

.contact__block h2 {
	margin: 0 0 8px;
	font-family: var(--font);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--subtle);
}

.contact__block p {
	margin: 0;
	color: var(--muted);
}

.contact__mail {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-family: var(--display);
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--ink);
	transition: color 0.15s;
}

.contact__mail .icon {
	width: 24px;
	height: 24px;
	color: var(--accent);
	font-size: 24px;
}

.contact__mail:hover {
	color: var(--accent-600);
}

.contact__form {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
	box-shadow: var(--shadow);
}

.checks--sm {
	gap: 8px;
	margin: 0;
	color: var(--muted);
}

.checks--sm .icon {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

/* honeypot: off-screen, not display:none (some bots skip those) */
.hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.select {
	position: relative;
}

.select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg);
	pointer-events: none;
}

.field .select select {
	appearance: none;
	padding-right: 44px;
	cursor: pointer;
}

.form__note .icon {
	width: 14px;
	height: 14px;
	margin-right: 4px;
	vertical-align: -2px;
	color: var(--accent);
	font-size: 14px;
}

.form-success__hint {
	margin-top: 12px !important;
	font-size: 0.9rem;
}

/* ---------------------------------------------------------------- auth */

.auth {
	display: grid;
	justify-items: center;
	gap: 20px;
	padding: clamp(48px, 8vw, 104px) 16px clamp(64px, 9vw, 120px);
	background: var(--paper-2);
	border-bottom: 1px solid var(--line);
}

.auth__card {
	width: 100%;
	max-width: 460px;
	padding: clamp(28px, 5vw, 44px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
	box-shadow: var(--shadow-lg);
}

.auth__card h1 {
	margin: 8px 0 10px;
	font-size: clamp(2rem, 5vw, 2.6rem);
}

.auth__lead {
	margin: 0 0 24px;
	color: var(--muted);
}

.auth__points {
	display: grid;
	gap: 10px;
	margin: 26px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	color: var(--muted);
	font-size: 0.9rem;
}

.auth__points li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.auth__points .icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
	font-size: 18px;
}

.auth__foot {
	max-width: 460px;
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	text-align: center;
}

.auth .form-success {
	border: 0;
	padding: 0;
	background: none;
}

@media (max-width: 860px) {
	.contact {
		grid-template-columns: 1fr;
	}
	.contact__form {
		order: -1;
	}
}

/* ---------------------------------------------------------------- notices */

.notice {
	margin: 20px 0 0;
	padding: 14px 18px;
	border-radius: 12px;
	border: 1px solid var(--accent-100);
	background: var(--accent-50);
}

.notice--error {
	border-color: #f5c6c6;
	background: #fdf1f1;
}

.notice--success {
	border-color: #cbe8d5;
	background: #f0f9f3;
}

/* ---------------------------------------------------------------- account */

.licence {
	margin-bottom: 24px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
	box-shadow: var(--shadow-sm);
}



.subinfo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0;
	margin: 0 0 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}

.subinfo__item {
	padding: 16px 18px;
	border-right: 1px solid var(--line);
	background: var(--paper-2);
}

.subinfo__item:last-child {
	border-right: 0;
}

.subinfo dt {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 6px;
	color: var(--subtle);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.subinfo dt .icon {
	width: 15px;
	height: 15px;
	color: var(--accent);
	font-size: 15px;
}

.subinfo dd {
	margin: 0;
	font-family: var(--display);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.subinfo dd span {
	display: block;
	margin-top: 2px;
	font-family: var(--font);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--muted);
}

.downloads {
	display: grid;
	gap: 10px;
	margin: 0 0 22px;
}

.download {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
}

.download__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--ink);
	color: var(--accent);
}

.download__icon--free {
	background: var(--paper-3);
	color: var(--ink);
}

.download__icon .icon {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.download__text strong {
	display: block;
	font-size: 0.98rem;
}

.download__text span {
	color: var(--muted);
	font-size: 0.86rem;
}

.download .btn .icon {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

@media (max-width: 640px) {
	.download {
		grid-template-columns: auto 1fr;
	}
	.download .btn {
		grid-column: 1 / -1;
	}
}





.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f0f9f3;
	color: var(--ok);
	font-size: 0.8rem;
	font-weight: 600;
}

.badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.badge--expired {
	background: #fdf1f1;
	color: var(--err);
}

.badge--soon {
	background: var(--accent-50);
	color: var(--accent-600);
}

.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.table th,
.table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: middle;
}

.table th {
	color: var(--subtle);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.link-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.link-btn:hover {
	color: var(--err);
}

/* ---------------------------------------------------------------- customer panel (accounts/dashboard.html) */

.account__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 32px;
}

.account__head h1 {
	margin: 0;
}

.account__head .kicker {
	margin-bottom: 10px;
}

.account__user {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	font-size: 0.92rem;
}

.account__email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--paper-3);
	color: var(--ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account__email .icon {
	flex: none;
	color: var(--accent);
}

.account__logout {
	flex: none;
	text-decoration: none;
	font-weight: 600;
	color: var(--muted);
}

.licence__top {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.licence__logo {
	display: block;
	border-radius: 14px;
}

.licence__title h2 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}

.licence__title p {
	margin: 2px 0 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.licence .form__alert {
	margin: 0 0 18px;
}

.form__alert--info {
	border: 1px solid var(--accent-100);
	background: var(--accent-50);
	color: var(--ink);
}

.licence__key {
	display: inline-block;
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--ink);
	color: #fff;
	font-family: var(--mono);
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
	user-select: all;
}

.keybox {
	margin: 0 0 18px;
}

.keybox__label {
	display: block;
	margin-bottom: 8px;
	color: var(--subtle);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.keybox__row {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 620px;
}

.keybox__key {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-family: var(--mono);
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
	user-select: all;
}

.keybox__copy {
	flex: none;
	min-height: 46px;
}

.licence__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
}

.licence__actions:empty {
	display: none;
}

.account__sub {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 1.05rem;
}

.account__count {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--paper-3);
	font-family: var(--font);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--muted);
}

.account__note,
.account__empty {
	margin: -4px 0 12px;
	color: var(--muted);
	font-size: 0.88rem;
}

.sites {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sites__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.sites__item strong {
	display: block;
	overflow-wrap: anywhere;
}

.sites__item span {
	display: block;
	color: var(--muted);
	font-size: 0.84rem;
}

.sites__item .sites__tag {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--paper-3);
	font-size: 0.74rem;
	vertical-align: middle;
}

.account__orders-title {
	margin: 56px 0 16px;
}

.orders {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.orders__item {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 12px 20px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
}

.orders__main strong {
	display: block;
}

.orders__main span {
	color: var(--muted);
	font-size: 0.86rem;
}

.orders__amount {
	font-family: var(--display);
	font-size: 1.1rem;
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.account .wrap {
		padding-left: 16px;
		padding-right: 16px;
	}

	.account__head {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 24px;
	}

	.account__user {
		justify-content: space-between;
	}

	.licence {
		padding: 20px 16px;
		border-radius: 18px;
	}

	.licence__top {
		grid-template-columns: auto 1fr;
		gap: 12px;
	}

	.licence__top .badge {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.licence__logo {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	.licence__title h2 {
		font-size: 1.15rem;
	}

	/* Two columns on a phone instead of four rows */
	.subinfo {
		grid-template-columns: 1fr 1fr;
	}

	.subinfo__item {
		padding: 12px 14px;
		border-right: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
	}

	.subinfo__item:nth-child(2n) {
		border-right: 0;
	}

	.subinfo__item:nth-last-child(-n + 2):nth-child(odd),
	.subinfo__item:last-child {
		border-bottom: 0;
	}

	.subinfo dd {
		font-size: 1rem;
	}

	.keybox__key {
		font-size: 0.86rem;
		padding: 12px 14px;
	}

	.licence__actions .btn,
	.licence__actions form {
		width: 100%;
	}

	.licence__actions form .btn {
		width: 100%;
	}

	.orders__item {
		grid-template-columns: 1fr auto;
		padding: 14px 16px;
	}

	.orders__invoice {
		grid-column: 1 / -1;
	}

	.orders__invoice .btn {
		width: 100%;
	}
}

/* ---------------------------------------------------------------- PRO emphasis, changelog, docs search */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.pro-tag,
.free-tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-family: var(--font);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	vertical-align: middle;
}

.pro-tag {
	background: var(--accent);
	color: var(--ink);
}

.pro-tag--sm {
	margin-left: 6px;
	padding: 2px 7px;
	font-size: 0.66rem;
}

.free-tag {
	background: var(--paper-3);
	color: var(--ink);
}

.pro-teaser {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 8px 14px 8px 8px;
	border: 1px solid var(--accent-100);
	border-radius: 999px;
	background: var(--accent-50);
	color: var(--ink);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.pro-teaser:hover {
	border-color: var(--accent);
}

.pro-band {
	margin-top: 40px;
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--r-lg);
	background: var(--ink);
	color: #fff;
}

.pro-band__head {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.pro-band__head img {
	flex: none;
	border-radius: 14px;
}

.pro-band__head h3 {
	margin: 10px 0 6px;
	color: #fff;
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.pro-band__head p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.pro-band__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px 24px;
	margin: 26px 0;
	padding: 0;
	list-style: none;
}

.pro-band__list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #fff;
}

.pro-band__list .icon {
	flex: none;
	margin-top: 3px;
	color: var(--accent);
}

.pro-band__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.pro-band__cta span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
}

.pro-band .btn--accent:hover {
	--btn-bg: #fff;
	--btn-bd: #fff;
	--btn-fg: var(--ink);
}

.compare td:last-child {
	background: var(--accent-50);
}

.compare__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 20px;
	padding: 20px 24px;
	border: 1px solid var(--accent-100);
	border-radius: var(--r);
	background: var(--accent-50);
}

.compare__cta p {
	margin: 0;
	max-width: 560px;
}

.changelog {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.changelog__item {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 8px 32px;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--paper);
}

.changelog__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	align-self: start;
}

.changelog__meta strong {
	font-family: var(--display);
	font-size: 1.15rem;
}

.changelog__meta time {
	flex-basis: 100%;
	color: var(--muted);
	font-size: 0.86rem;
}

.changelog__body {
	font-size: 0.97rem;
}

.changelog__body > :last-child {
	margin-bottom: 0;
}

.changelog__item--more {
	display: none;
}

.changelog.is-all .changelog__item--more {
	display: grid;
}

.changelog__toggle {
	margin-top: 16px;
}

.faq summary {
	position: relative;
}

.faq__link {
	margin-left: 8px;
	color: var(--subtle);
	font-weight: 500;
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.15s;
}

.faq summary:hover .faq__link,
.faq__link:focus-visible {
	opacity: 1;
}

.faq details:target summary {
	color: var(--accent-600);
}

.docsearch {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0 0 20px;
}

.docsearch .icon {
	position: absolute;
	left: 16px;
	color: var(--subtle);
	font-size: 18px;
}

.docsearch input {
	width: 100%;
	min-height: 52px;
	padding: 0 92px 0 46px;
	border: 1.5px solid var(--line-strong);
	border-radius: 14px;
	background: var(--paper);
	font: inherit;
	color: var(--ink);
}

.docsearch input:focus {
	outline: none;
	border-color: var(--ink);
}

.docsearch__count {
	position: absolute;
	right: 16px;
	color: var(--muted);
	font-size: 0.86rem;
}

.docsearch__empty {
	padding: 18px 20px;
	border-radius: var(--r);
	background: var(--paper-2);
	color: var(--muted);
}

.pro-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin: 0 0 32px;
	padding: 18px 20px;
	border: 1px solid var(--accent-100);
	border-radius: var(--r);
	background: var(--accent-50);
	font-size: 0.95rem;
}

.pro-note img {
	flex: none;
	border-radius: 12px;
}

.pro-note > div {
	flex: 1 1 280px;
}

@media (max-width: 640px) {
	.changelog__item {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.pro-band__head {
		flex-direction: column;
	}

	.compare__cta .btn,
	.pro-band__cta .btn {
		width: 100%;
	}

	.faq__link {
		opacity: 1;
	}
}

/* ---------------------------------------------------------------- screenshots gallery (plugin page) */

.shots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shot[hidden] {
	display: none;
}

.shot__open {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--paper);
	overflow: hidden;
	cursor: zoom-in;
	box-shadow: var(--shadow);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.shot__open:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.shot__open img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.shot__caption {
	margin: 12px 2px 0;
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 500;
}

.lightbox {
	width: min(1240px, 94vw);
	max-width: none;
	max-height: 94vh;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.lightbox::backdrop {
	background: rgba(14, 14, 14, 0.82);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.lightbox__frame {
	border-radius: var(--r);
	background: var(--paper);
	overflow: hidden;
}

.lightbox__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: calc(94vh - 64px);
	object-fit: contain;
	background: var(--paper-3);
}

.lightbox__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
}

.lightbox__caption {
	flex: 1;
	margin: 0;
	font-weight: 600;
}

.lightbox__count {
	color: var(--muted);
	font-size: 0.86rem;
	white-space: nowrap;
}

.lightbox__btn,
.lightbox__close {
	position: fixed;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow);
}

.lightbox__prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 2vw; top: 2vh; font-size: 26px; }

.lightbox__btn:hover,
.lightbox__close:hover {
	background: var(--accent);
}

@media (max-width: 980px) {
	.shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.shots {
		grid-template-columns: 1fr;
	}

	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 3vh;
		transform: none;
	}
}

/* ---------------------------------------------------------------- footer */

.footer {
	padding: clamp(64px, 8vw, 96px) 0 32px;
	background: var(--ink);
	color: #fff;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 40px;
}

.footer__about {
	max-width: 320px;
	margin-top: 18px;
	color: #a9a9a9;
	font-size: 0.95rem;
}

.footer__mail {
	display: inline-block;
	margin-top: 4px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.footer h2 {
	margin-bottom: 16px;
	color: #fff;
	font-family: var(--font);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
}

.footer a {
	color: #cfcfcf;
	text-decoration: none;
}

.footer a:hover {
	color: var(--accent);
}

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--ink-3);
	color: #8f8f8f;
	font-size: 0.85rem;
}

/* ---------------------------------------------------------------- reveal on scroll */

.reveal {
	/* Movement only: content is never transparent (readable for screen readers, crawlers and contrast checks). */
	transform: translateY(14px);
	transition: transform 0.6s var(--ease);
}

.reveal.is-visible {
	transform: none;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
	.hero__grid,
	.split,
	.faq-grid {
		grid-template-columns: 1fr;
	}

	.mock {
		max-width: 560px;
	}

	.mock__chip--a {
		left: -8px;
	}

	.mock__chip--b {
		right: -8px;
	}

	.features {
		grid-template-columns: repeat(2, 1fr);
	}

	.pricing {
		grid-template-columns: 1fr;
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
	}

	.posts {
		grid-template-columns: repeat(2, 1fr);
	}

	.article {
		grid-template-columns: 1fr;
	}

	.toc {
		position: static;
		order: -1;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.checkout {
		grid-template-columns: 1fr;
	}

	.summary {
		position: static;
	}

	.strip__inner {
		grid-template-columns: 1fr 1fr;
	}

	.strip__item:nth-child(3) {
		border-left: 0;
	}

	.strip__item:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}

	.steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.nav {
		display: none;
	}

	.header__inner {
		justify-content: space-between;
	}

	.header__link,
	.header__cta .btn {
		display: none;
	}

	.menu-btn {
		display: block;
	}

	.features,
	.posts {
		grid-template-columns: 1fr;
	}

	.post-card--wide {
		grid-column: auto;
	}

	.form-cols {
		grid-template-columns: 1fr;
	}

	.hero .actions .btn {
		width: 100%;
	}

	.compare th,
	.compare td {
		padding: 12px 12px;
	}

	.compare td:nth-child(2),
	.compare td:nth-child(3),
	.compare th:nth-child(2),
	.compare th:nth-child(3) {
		width: 64px;
	}

	.mock__chip {
		display: none;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.table .hide-sm {
		display: none;
	}

	.cta {
		border-radius: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}

	.reveal {
		transform: none;
	}
}

/* Phosphor glyphs have more inner padding than the old SVGs: a bit larger inside icon tiles */
.area__icon .icon,
.pcard__icon .icon,
.quote-card__icon .icon,
.form-success__icon .icon {
	width: 28px;
	height: 28px;
	font-size: 28px;
}

.feature__icon .icon,
.download__icon .icon {
	width: 24px;
	height: 24px;
	font-size: 24px;
}

.mock__plugin-icon .icon {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

/* ---------------------------------------------------------------- cookie banner (partials/consent.html) */

/* Centered modal over a blurred page: the visitor has to accept, reject or choose.
   Shown by the "consent-open" class on <html>, set in <head> before the first paint (no fade, so it is
   painted with the page and does not delay LCP). */
.consent-backdrop,
.consent {
	display: none;
}

.consent-open .consent-backdrop,
.consent-open .consent {
	display: block;
}

.consent-open,
.consent-open body {
	overflow: hidden;
}

.consent-backdrop {
	position: fixed;
	z-index: 89;
	inset: 0;
	background: rgba(14, 14, 14, 0.38);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.consent {
	position: fixed;
	z-index: 90;
	left: 50%;
	top: 50%;
	width: min(520px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	overscroll-behavior: contain;
	padding: 28px 28px 24px;
	background: var(--paper);
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	transform: translate(-50%, -50%);
}

.consent [hidden] {
	display: none !important;
}

.consent__title {
	margin: 0 0 10px;
	font: 750 1.35rem/1.2 var(--display);
	letter-spacing: -0.02em;
}

.consent__text {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.consent__text a {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.consent__prefs {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.consent__opt {
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--paper-2);
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--muted);
}

.consent__head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 14px 8px;
	cursor: pointer;
}

.consent__head input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--accent);
}

.consent__head input:disabled {
	cursor: not-allowed;
}

.consent__head b {
	display: block;
	color: var(--text);
	font-weight: 600;
}

.consent__more {
	padding: 0 14px 12px 44px;
}

.consent__more summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.consent__more summary::-webkit-details-marker {
	display: none;
}

.consent__more summary::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.15s var(--ease);
}

.consent__more[open] summary::after {
	transform: rotate(-135deg) translateY(-1px);
}

.consent__more summary:hover {
	color: var(--accent);
}

.consent__list {
	display: grid;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.consent__list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 10px;
	padding: 8px 10px;
	border-radius: 6px;
	background: var(--paper);
	border: 1px solid var(--line);
}

.consent__list code {
	color: var(--text);
	font: 600 0.8rem/1.4 var(--mono);
	word-break: break-all;
}

.consent__list span {
	justify-self: end;
	color: var(--subtle);
	font-size: 0.78rem;
	text-align: right;
}

.consent__list em {
	grid-column: 1 / -1;
	font-style: normal;
	font-size: 0.8rem;
}

.consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 18px;
}

.consent__actions .btn {
	width: 100%;
	padding: 0 12px;
}

.consent__actions [data-consent="settings"],
.consent__actions [data-consent="save"] {
	grid-column: 1 / -1;
}

.footer__cookies {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.footer__cookies:hover {
	color: var(--accent);
}

@media (max-width: 480px) {
	.consent {
		width: calc(100vw - 20px);
		padding: 20px 16px 16px;
	}

	.consent__more {
		padding-left: 14px;
	}
}


/* ---------------------------------------------------------------- invoice link in the customer panel */

.invoice-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	white-space: nowrap;
}

.invoice-link .icon {
	font-size: 16px;
	color: var(--accent);
}

/* ---------------------------------------------------------------- legal note (plugin page) */

.legal-short {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 560px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 0.85rem;
	line-height: 1.5;
}

.legal-short .icon {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: var(--subtle);
	font-size: 16px;
}

.legal-short a {
	color: var(--ink);
}

.legal-note {
	max-width: 860px;
	padding: 24px 28px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper-2);
}

.legal-note h2 {
	margin: 0 0 8px;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}

.legal-note p {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.65;
}
