/* ==========================================================================
   Pilcrow — design system
   Palette A-9 Aqua Drift · Fonts B-7 Wix Madefor · Direction C-7 Swiss
   Minimal · Edges E2-6 editorial soft-drop · Header E1-3 hairline · Gate D-3
   editorial caret · Accent strategy 1 (colour on the CTA and links only)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	--bg:            #F0F8F9;
	--surface:       #FBFEFE;
	--tint:          #E4F1F3;
	--text:          #123038;
	--muted:         #46656D;
	--accent:        #0E7490;
	--accent-2:      #8AD0DD;
	--on-accent:     #FFFFFF;
	--on-accent-2:   #123038;
	--rule:          rgba(18, 48, 56, .14);
	--rule-strong:   rgba(18, 48, 56, .30);
	--scrim:         rgba(8, 20, 23, .5);

	/* The gate paints a gradient, which reports no background colour of its
	   own, so its ink is a token in both themes rather than inherited. */
	--gate-wash:     linear-gradient(135deg, #E8F6F8, #D3EDF1 50%, #BEE3E9);
	--on-gate:       #123038;
	--on-gate-muted: #2F5058;
	--gate-line:     rgba(18, 48, 56, .22);
	--gate-ghost:    rgba(18, 48, 56, .16);
	--illus-skin:    #8AD0DD;
	--illus-ink:     #46656D;

	--shadow:        0 24px 48px -16px rgba(31, 36, 48, .14);
	--shadow-lift:   0 30px 60px -18px rgba(31, 36, 48, .20);
	--radius:        10px;
	--radius-sm:     6px;
	--grain:         .035;

	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;

	--fs-xs:   .75rem;
	--fs-sm:   .875rem;
	--fs-base: 1rem;
	--fs-md:   1.0625rem;
	--fs-lg:   clamp(1.2rem, 1.08rem + .5vw, 1.45rem);
	--fs-xl:   clamp(1.5rem, 1.24rem + 1.15vw, 2.05rem);
	--fs-2xl:  clamp(2rem, 1.42rem + 2.5vw, 3.05rem);
	--fs-huge: clamp(4.5rem, 2rem + 16vw, 11rem);

	--font-display: "Wix Madefor Display", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-text:    "Wix Madefor Text", "Segoe UI", system-ui, -apple-system, sans-serif;

	--container: 1160px;
	--pad:       clamp(16px, 4vw, 32px);
	--column:    44rem;
	--head-h:    64px;
	--sticky-h:  0px;

	--z-sticky: 30;
	--z-cookie: 35;
	--z-head:   40;
	--z-scrim:  50;
	--z-panel:  51;
	--z-skip:   60;
}

[data-theme="dark"] {
	--bg:            #0F1B1E;
	--surface:       #152529;
	--tint:          #17282C;
	--text:          #E2EFF2;
	--muted:         #95B7BF;
	--accent:        #1A7F9C;
	--accent-2:      #5FB3C7;
	--on-accent:     #FFFFFF;
	--on-accent-2:   #0F1B1E;
	--rule:          rgba(226, 239, 242, .16);
	--rule-strong:   rgba(226, 239, 242, .32);
	--scrim:         rgba(4, 12, 14, .62);

	--gate-wash:     linear-gradient(135deg, #122226, #16292E 50%, #1B3238);
	--on-gate:       #E2EFF2;
	--on-gate-muted: #9FC2CA;
	--gate-line:     rgba(226, 239, 242, .24);
	--gate-ghost:    rgba(226, 239, 242, .18);
	--illus-skin:    #3E7F92;
	--illus-ink:     #C9E4EA;

	--shadow:        0 24px 48px -16px rgba(0, 0, 0, .55);
	--shadow-lift:   0 30px 60px -18px rgba(0, 0, 0, .65);
	--grain:         .05;
}

/* --------------------------------------------------------------------------
   2. Page ground
   -------------------------------------------------------------------------- */

html { scroll-padding-top: calc(var(--head-h) + 16px); }

body {
	margin: 0;
	background-color: var(--bg);
	color: var(--text);
	font-family: var(--font-text);
	font-size: var(--fs-md);
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* F-14 grain: takes the plastic off the flat Aqua Drift fills. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: var(--grain);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -.015em;
	margin-block: 0;
}

p { margin-block: 0; }

::selection {
	background: var(--accent-2);
	color: var(--on-accent-2);
}

.plc-skip {
	position: fixed;
	top: -100px;
	left: var(--space-4);
	z-index: var(--z-skip);
	padding: var(--space-3) var(--space-5);
	background: var(--accent);
	color: var(--on-accent);
	border-radius: var(--radius-sm);
	text-decoration: none;
}
.plc-skip:focus { top: var(--space-4); }

:where(a, button, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   3. Header — E1-3 hairline: nothing at rest, a ground and one rule on scroll
   -------------------------------------------------------------------------- */

.plc-head {
	position: sticky;
	top: 0;
	z-index: var(--z-head);
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color .22s ease, border-color .22s ease;
}

.plc-head.is-stuck {
	background-color: var(--bg);
	border-bottom-color: var(--rule);
}

.plc-head__inner {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--pad);
	min-height: var(--head-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

.plc-head__brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	text-decoration: none;
	color: var(--text);
	min-width: 0;
}

.plc-head__mark { display: inline-grid; place-items: center; flex: 0 0 auto; }
.plc-mark__wedge { fill: var(--accent); }

.plc-head__word {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(.98rem, .84rem + .6vw, 1.2rem);
	letter-spacing: -.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.plc-head__actions {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	flex: 0 0 auto;
}

/* Icon-only controls: fixed box, centred glyph. No max-width on the svg —
   an iOS flex button clamps its only child to zero width if the reset has one. */
.plc-icobtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	color: var(--text);
	transition: background-color .18s ease;
}
.plc-icobtn:hover { background-color: var(--tint); }

.plc-toggle__stack { display: inline-grid; }
.plc-toggle__stack > svg {
	grid-area: 1 / 1;
	transition: opacity .2s ease, transform .3s ease;
}
.plc-toggle__moon { opacity: 0; transform: rotate(-45deg) scale(.7); }
[data-theme="dark"] .plc-toggle__sun { opacity: 0; transform: rotate(45deg) scale(.7); }
[data-theme="dark"] .plc-toggle__moon { opacity: 1; transform: none; }

/* The dropdown and the burger are a pair, so both halves are written out:
   shown here at base width, hidden above the breakpoint further down. */
.plc-burger { display: inline-grid; }

/* A three-bar glyph must be flex, not grid: implicit grid rows stretch and the
   gap between the bars then does nothing at all. */
.plc-burger__glyph {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 20px;
}
.plc-burger__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 2px;
	transition: transform .22s ease, opacity .18s ease;
}
.plc-burger[aria-expanded="true"] .plc-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.plc-burger[aria-expanded="true"] .plc-burger__bar:nth-child(2) { opacity: 0; }
.plc-burger[aria-expanded="true"] .plc-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language control — always in the main header row, never a top strip. */
.plc-lang { position: relative; }

.plc-lang__btn {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 44px;
	padding-inline: var(--space-3);
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--text);
	transition: background-color .18s ease;
}
.plc-lang__btn:hover { background-color: var(--tint); }
.plc-lang__chev { transition: transform .2s ease; }
.plc-lang__btn[aria-expanded="true"] .plc-lang__chev { transform: rotate(180deg); }

.plc-lang__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	padding: var(--space-2);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.plc-lang__panel[hidden] { display: none; }

.plc-lang__list,
.plc-lang__panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.plc-lang__panel li > a,
.plc-lang--sheet li > a,
.plc-lang__panel .trp-language-switcher-container a {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 44px;
	padding-inline: var(--space-3);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--text);
	font-size: var(--fs-sm);
}
.plc-lang__panel li > a:hover,
.plc-lang--sheet li > a:hover { background: var(--tint); }
.plc-lang__panel img,
.plc-lang--sheet img { width: 18px; height: auto; }

/* TranslatePress ships its own floating picker, switched on by default. The
   theme already provides one, so the plugin's is taken out here as well as in
   the plugin settings. */
#trp-floater-ls,
.trp-floater {
	display: none !important;
}

/* --------------------------------------------------------------------------
   4. Drawer — right-side panel, above the header and everything under it
   -------------------------------------------------------------------------- */

.plc-scrim {
	position: fixed;
	inset: 0;
	z-index: var(--z-scrim);
	background: var(--scrim);
	opacity: 0;
	transition: opacity .24s ease;
}
.plc-scrim[hidden] { display: none; }
.plc-scrim.is-open { opacity: 1; }

.plc-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: var(--z-panel);
	width: min(21rem, 88vw);
	padding: var(--space-5);
	background: var(--surface);
	border-left: 1px solid var(--rule);
	transform: translateX(100%);
	transition: transform .26s ease;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.plc-drawer[hidden] { display: none; }
.plc-drawer.is-open { transform: translateX(0); }

.plc-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-block-end: var(--space-5);
}
.plc-drawer__label,
.plc-drawer__heading {
	display: block;
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.plc-drawer__heading { margin-block-end: var(--space-2); }
.plc-drawer__links { margin-block-start: var(--space-6); }
.plc-drawer__list { list-style: none; margin: 0; padding: 0; }
.plc-drawer__list li > a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding-inline: var(--space-3);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--text);
	font-size: var(--fs-sm);
}
.plc-drawer__list li > a:hover { background: var(--tint); }

/* --------------------------------------------------------------------------
   5. Reading column
   -------------------------------------------------------------------------- */

.plc-main { display: block; }

.plc-entry {
	counter-reset: plc-sec;
	padding-inline: var(--pad);
	padding-block-end: var(--space-8);
}

/* Zero-specificity floor: every component rule outranks it, and the gate is
   the one block that opts out (it is a full-width card of its own). */
.plc-entry > :where(*:not(.plc-gate)) {
	max-width: var(--column);
	margin-inline: auto;
}

.plc-entry > * { margin-block: var(--space-5) 0; }
.plc-entry > .plc-gate { margin-block: 0 var(--space-7); }
.plc-entry > h2 { margin-block: var(--space-8) var(--space-4); }
.plc-entry > h1 { margin-block: var(--space-6) var(--space-5); }

.plc-entry h1 {
	font-size: var(--fs-2xl);
	scroll-margin-top: calc(var(--head-h) + 24px);
}

.plc-entry h2 {
	font-size: var(--fs-xl);
	scroll-margin-top: calc(var(--head-h) + 24px);
	counter-increment: plc-sec;
	border-top: 1px solid var(--rule);
	padding-block-start: var(--space-5);
}

/* The number sits above the heading text and below the rule — two separate
   coordinates, so the rule never strikes through the number. */
.plc-entry h2::before {
	content: counter(plc-sec, decimal-leading-zero);
	display: block;
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .14em;
	color: var(--muted);
	margin-block-end: var(--space-3);
}

.plc-entry h3 { font-size: var(--fs-base); letter-spacing: -.01em; }

.plc-entry p { margin-block: 0; }
.plc-entry > p + p { margin-block-start: var(--space-4); }

/* Gutenberg lists carry .wp-block-list, so a ul:not([class]) selector misses
   them entirely and a blanket ul[class] reset strips the markers. */
.plc-entry .wp-block-list {
	max-width: var(--column);
	margin-block: var(--space-5) 0;
	margin-inline: auto;
	padding-inline-start: var(--space-6);
	list-style: disc;
}
.plc-entry ol.wp-block-list { list-style: decimal; }
.plc-entry .wp-block-list li { margin-block: 0 var(--space-3); padding-inline-start: var(--space-1); }
.plc-entry .wp-block-list li::marker { color: var(--muted); }
.plc-entry .wp-block-list strong { font-weight: 600; }

/* Links get the accent; anything with a class of its own does not, or a
   button ends up with accent text on an accent ground. */
.plc-entry a:not([class]) {
	color: var(--accent);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1.5px;
	transition: background-size .25s ease;
}
.plc-entry a:not([class]):hover { background-size: 100% 1.5px; }

.plc-entry blockquote.wp-block-quote {
	max-width: var(--column);
	margin-block: var(--space-7) 0;
	margin-inline: auto;
	padding-block: var(--space-2);
	padding-inline-start: var(--space-5);
	border-inline-start: 2px solid var(--accent);
}
.plc-entry blockquote.wp-block-quote p {
	font-family: var(--font-display);
	font-size: var(--fs-lg);
	font-weight: 600;
	line-height: 1.36;
	letter-spacing: -.015em;
}

.plc-entry--page { padding-block-start: var(--space-8); }
.plc-page__title { font-size: var(--fs-xl); margin-block-end: var(--space-5); }
.plc-entry--page p { margin-block: var(--space-4) 0; }

/* --------------------------------------------------------------------------
   6. Age gate — D-3 editorial caret
   -------------------------------------------------------------------------- */

.plc-gate {
	position: relative;
	overflow: clip;
	background-image: var(--gate-wash);
	border: 1px solid var(--gate-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--on-gate);
	max-width: 62rem;
	margin-inline: auto;
	scroll-margin-top: calc(var(--head-h) + 24px);
}

.plc-gate__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
	padding: clamp(28px, 6vw, 56px);
}

.plc-gate__over {
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--on-gate-muted);
	margin-block-end: var(--space-4);
}

.plc-gate__q {
	font-family: var(--font-display);
	font-size: clamp(1.55rem, 1.1rem + 2.3vw, 2.6rem);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.02em;
	color: var(--on-gate);
	margin-block-end: var(--space-6);
	text-wrap: balance;
}
.plc-gate__caret::after {
	content: "";
	display: inline-block;
	width: .07em;
	height: .9em;
	margin-inline-start: .12em;
	vertical-align: -.08em;
	background: var(--accent);
	animation: plc-blink 1.1s steps(2, jump-none) infinite;
}
@keyframes plc-blink { 50% { opacity: 0; } }

.plc-gate__go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	min-height: 54px;
	padding-inline: var(--space-6);
	background: var(--accent);
	color: var(--on-accent);
	background-image: none;
	border-radius: var(--radius-sm);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--fs-md);
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}
.plc-gate__go:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.plc-gate__arrow { transition: transform .18s ease; }
.plc-gate__go:hover .plc-gate__arrow { transform: translateX(4px); }

/* The chat control is never allowed to render as a bare link, whatever markup
   an editor leaves behind. */
.plc-entry a[href="/chat.html"] {
	background-image: none;
	text-decoration: none;
}

.plc-gate__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.plc-gate__18 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-huge);
	line-height: .8;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 2px var(--gate-ghost);
	transform: rotate(-6deg);
	animation: plc-float 9s ease-in-out infinite;
}
@keyframes plc-float {
	50% { transform: rotate(-6deg) translateY(-8px); }
}

/* --------------------------------------------------------------------------
   7. Components
   -------------------------------------------------------------------------- */

/* F-4 figures — structural counts, not statistics. */
.plc-figs {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	max-width: var(--column);
	margin-block: var(--space-6) 0;
	margin-inline: auto;
	padding-block: var(--space-5);
	border-block: 1px solid var(--rule);
}
.plc-fig { display: flex; align-items: baseline; gap: var(--space-4); }
.plc-fig__num {
	font-family: var(--font-display);
	font-size: var(--fs-xl);
	font-weight: 700;
	letter-spacing: -.03em;
	min-width: 1.6em;
	color: var(--text);
	font-variant-numeric: tabular-nums;
}
.plc-fig__label { font-size: var(--fs-sm); color: var(--muted); }

.plc-figure {
	max-width: var(--column);
	margin-block: var(--space-6) 0;
	margin-inline: auto;
	padding: 0;
}
.plc-illus {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin-inline: auto;
	border-radius: var(--radius);
}

/* Illustration colours are tokens so the drawing lives in both themes. The
   skin and ink tones are their own pair rather than borrowed from the accent:
   in dark mode --accent-2 and --muted land within 1.12:1 of each other, which
   is two adjacent shapes in a flat drawing merging into one. */
.plc-illus { fill: var(--illus-ink); }
.plc-illus__bg   { fill: var(--tint); }
.plc-illus__tile { fill: var(--surface); stroke: var(--rule-strong); stroke-width: 1.2; }
.plc-illus__tile--on { stroke: var(--accent); stroke-width: 2.2; }
.plc-illus__skin { fill: var(--illus-skin); stroke: var(--rule-strong); stroke-width: 1; }
.plc-illus__hair { fill: var(--illus-ink); }
.plc-illus__fig  { fill: var(--illus-ink); opacity: .55; }
.plc-illus__dot  { fill: var(--accent); }
.plc-illus__rule { stroke: var(--rule); stroke-width: 1; fill: none; }
.plc-illus__tile-g--on .plc-illus__hair { fill: var(--text); }
.plc-illus__tile-g--on .plc-illus__fig  { fill: var(--text); opacity: .7; }

/* Anti-black floor: an unclassed shape from a hand-edited block still lands in
   the palette instead of defaulting to solid black. */
:where(.plc-illus) :where(rect, circle, path, line, polygon) {
	fill: var(--muted);
	stroke: none;
}
:where(.plc-illus) :where(line) { stroke: var(--rule); fill: none; }

.plc-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	max-width: var(--column);
	margin-block: var(--space-5) 0;
	margin-inline: auto;
}
.plc-card {
	padding: var(--space-5);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	transition: transform .2s ease, box-shadow .2s ease;
}
.plc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plc-card__ico {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-block-end: var(--space-3);
	border-radius: var(--radius-sm);
	background: var(--tint);
	color: var(--text);
}
.plc-card__title { margin-block-end: var(--space-2); }
.plc-card__text { font-size: var(--fs-sm); color: var(--muted); }

.plc-compare {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	max-width: var(--column);
	margin-block: var(--space-5) 0;
	margin-inline: auto;
}
.plc-compare__col {
	padding: var(--space-5);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--surface);
}
.plc-compare__col--alt { background: var(--tint); }
.plc-compare__label {
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-block-end: var(--space-4);
}
.plc-compare__list { list-style: none; margin: 0; padding: 0; }
.plc-compare__list li {
	position: relative;
	padding-block: var(--space-2);
	padding-inline-start: var(--space-5);
	font-size: var(--fs-sm);
	border-top: 1px solid var(--rule);
}
.plc-compare__list li:first-child { border-top: 0; }
.plc-compare__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05em;
	width: 10px;
	height: 1px;
	background: var(--accent);
}

.plc-faq {
	max-width: var(--column);
	margin-block: var(--space-5) 0;
	margin-inline: auto;
	border-top: 1px solid var(--rule);
}
.plc-faq__item { border-bottom: 1px solid var(--rule); }
.plc-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	min-height: 56px;
	padding-block: var(--space-3);
	font-family: var(--font-display);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.plc-faq__q::-webkit-details-marker { display: none; }
.plc-faq__q::after {
	content: "";
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-right: 1.6px solid var(--muted);
	border-bottom: 1.6px solid var(--muted);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s ease;
}
.plc-faq__item[open] .plc-faq__q::after { transform: rotate(-135deg) translate(-2px, -2px); }
.plc-faq__a { padding-block-end: var(--space-5); }
.plc-faq__a p { font-size: var(--fs-sm); color: var(--muted); max-width: 38rem; }

.plc-btn {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding-inline: var(--space-5);
	background: var(--accent);
	color: var(--on-accent);
	background-image: none;
	border-radius: var(--radius-sm);
	font-family: var(--font-display);
	font-weight: 600;
	text-decoration: none;
}

.plc-404 { text-align: center; }
.plc-404__label {
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.plc-404__figure {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-huge);
	line-height: .85;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 2px var(--rule-strong);
	margin-block: var(--space-4);
}

/* --------------------------------------------------------------------------
   8. Footer, sticky call bar, cookie notice
   -------------------------------------------------------------------------- */

.plc-foot {
	border-top: 1px solid var(--rule);
	margin-block-start: var(--space-8);
	padding-block: var(--space-6);
	padding-bottom: calc(var(--space-6) + var(--sticky-h));
}
.plc-foot__inner {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--pad);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
}
.plc-foot__copy { font-size: var(--fs-sm); color: var(--muted); }
.plc-foot__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-5);
}
.plc-foot__list a {
	font-size: var(--fs-sm);
	color: var(--muted);
	text-decoration: none;
	padding-block: var(--space-2);
}
.plc-foot__list a:hover { color: var(--text); }

.plc-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--z-sticky);
	display: none;
	padding: var(--space-3) var(--pad);
	padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
	background: var(--bg);
	border-top: 1px solid var(--rule);
	transform: translateY(110%);
	transition: transform .24s ease;
}
.plc-sticky.is-up { transform: translateY(0); }
.plc-sticky__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	background: var(--accent);
	color: var(--on-accent);
	background-image: none;
	border-radius: var(--radius-sm);
	font-family: var(--font-display);
	font-weight: 600;
	text-decoration: none;
}

.plc-cookie {
	position: fixed;
	left: var(--space-4);
	right: var(--space-4);
	bottom: var(--space-4);
	z-index: var(--z-cookie);
	max-width: 34rem;
	margin-inline: auto;
	padding: var(--space-5);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease, bottom .2s ease;
}
.plc-cookie[hidden] { display: none; }
.plc-cookie.is-up { opacity: 1; transform: none; pointer-events: auto; }
.plc-cookie[data-compact] { padding: var(--space-3) var(--space-4); }
.plc-cookie[data-compact] .plc-cookie__text { font-size: var(--fs-xs); }
.plc-cookie__inner { display: grid; gap: var(--space-4); }
.plc-cookie__text { font-size: var(--fs-sm); color: var(--muted); }
.plc-cookie__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.plc-cookie__btn {
	justify-self: start;
	min-height: 44px;
	padding-inline: var(--space-5);
	background: var(--accent);
	color: var(--on-accent);
	border-radius: var(--radius-sm);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   9. Reveal — O-3. The scroll-driven version is the primary; the observer is
   only the fallback, it is applied per element from JS, and a timer clears it
   no matter what, so a callback that never fires costs the animation and
   never the page.
   -------------------------------------------------------------------------- */

@keyframes plc-rise {
	from { opacity: .2; transform: translateY(16px); }
	to   { opacity: 1;  transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.plc-entry > h2,
		.plc-entry > p,
		.plc-entry > .wp-block-list,
		.plc-entry > blockquote,
		.plc-entry > figure,
		.plc-entry > .plc-cards,
		.plc-entry > .plc-compare,
		.plc-entry > .plc-figs,
		.plc-entry > .plc-faq {
			animation: plc-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% cover 20%;
		}
	}
}

.plc-veil {
	opacity: .2;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}
.plc-veil.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   10. Breakpoints
   -------------------------------------------------------------------------- */

@media (min-width: 480px) {
	.plc-figs { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
	.plc-fig { flex-direction: column; gap: var(--space-1); }
	.plc-cookie__inner { grid-template-columns: 1fr auto; align-items: center; }
	.plc-cookie__btn { justify-self: end; }
}

@media (max-width: 768px) {
	.plc-head__actions .plc-lang { display: none; }
	.plc-sticky { display: block; }
	.plc-gate__figure { position: absolute; inset: 0; opacity: .5; }
	.plc-gate__inner { position: relative; z-index: 1; }
	.plc-gate__18 { font-size: clamp(6rem, 34vw, 12rem); }
}

@media (min-width: 769px) {
	.plc-burger { display: none; }
	.plc-cards { grid-template-columns: 1fr 1fr; }
	.plc-compare { grid-template-columns: 1fr 1fr; }
	.plc-gate__inner { grid-template-columns: 1.35fr .65fr; align-items: center; }
	.plc-gate__figure { justify-content: flex-end; }
}

@media (min-width: 1024px) {
	:root { --head-h: 72px; }
}

/* Short phones: the gate gives up padding so its button clears the notice. */
@media (max-width: 600px) and (max-height: 740px) {
	.plc-gate__inner { padding: var(--space-5) var(--space-4); }
	.plc-gate__over { margin-block-end: var(--space-2); }
	.plc-gate__q { font-size: clamp(1.3rem, 1rem + 2vw, 1.8rem); margin-block-end: var(--space-4); }
	.plc-gate__go { min-height: 50px; }
}

/* The WordPress admin bar is fixed only above 782px. Below that it turns
   absolute and scrolls away, so an offset here hangs the header in mid-air. */
@media (min-width: 783px) {
	body.admin-bar .plc-head { top: 32px; }
	body.admin-bar .plc-drawer { top: 32px; }
}

@media (max-width: 782px) {
	body.admin-bar .plc-head { top: 0; }
	body.admin-bar .plc-drawer { top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.plc-gate__18 { transform: rotate(-6deg); }
	.plc-gate__caret::after { animation: none; }
}
