/*
 * Plenum — design system and components.
 *
 * Tokens first, then base, layout, components (buttons, chips, cards,
 * forms), then each block in page order, then templates, then responsive.
 * Modern CSS throughout: nesting, :has(), container queries, color-mix(),
 * scroll-driven animations, @starting-style, view transitions, popover and
 * <dialog>, interpolate-size for <details>.
 */

@view-transition { navigation: auto; }

:root {
	interpolate-size: allow-keywords;
	--ink: #0a0c10;
	--ink-2: #0f1218;
	--ink-3: #161a22;
	--ink-4: #1d222c;
	--ink-line: rgb(255 255 255 / .08);
	--ink-line-2: rgb(255 255 255 / .14);
	--ink-text: #eceef2;
	--ink-muted: #8d95a3;
	--paper: #f6f7f9;
	--white: #fff;
	--text: #0e1116;
	--text-2: #2e3440;
	--muted: #5d6573;
	--faint: #8a919d;
	--line: #e5e8ed;
	--line-2: #d3d8e0;
	--accent: #4d6bfe;
	--accent-2: #3b56ea;
	--accent-3: #7c8cff;
	--accent-soft: rgb(77 107 254 / .1);
	--ok: #17b26a;
	--warn: #f79009;
	--crit: #f04438;
	--maint: #7a5af8;
	--cold: #2e90fa;
	--hot: #ff6b2c;
	--f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--r-xs: 5px;
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 16px;
	--r-xl: 22px;
	--sh-1: 0 1px 2px rgb(16 24 40 / .05), 0 1px 3px rgb(16 24 40 / .06);
	--sh-2: 0 1px 2px rgb(16 24 40 / .04), 0 12px 32px -12px rgb(16 24 40 / .16);
	--sh-3: 0 2px 4px rgb(16 24 40 / .04), 0 32px 64px -24px rgb(16 24 40 / .28);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--wrap: 1200px;
	--wrap-wide: 1360px;
	--gutter: clamp(20px, 4vw, 40px);
	--header: 64px;
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 400 1.0625rem/1.6 var(--f-sans);
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, canvas { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pln-skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: .6em 1em; border-radius: var(--r-sm); text-decoration: none; transition: top .2s; &:focus { top: 12px; } }
.pln-mono { font-family: var(--f-mono); font-feature-settings: "zero"; letter-spacing: -0.01em; }
.pln-muted { color: var(--muted); }
.pln-small { font-size: .8125rem; color: var(--muted); }
.pln-opt { font-weight: 400; color: var(--faint); font-size: .8125rem; }
[hidden] { display: none !important; }

/* -------------------------------------------------------------- layout */

.pln-wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.pln-wrap--wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); }
.pln-wrap--text { width: min(100% - 2 * var(--gutter), 720px); }
.pln-section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.pln-section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.pln-section--tint { background: var(--white); border-block: 1px solid var(--line); }
.pln-blocks > .pln-section:nth-of-type(even):not(.pln-section--dark) { background: var(--white); border-block: 1px solid var(--line); }
.pln-main { min-height: 60vh; }

.pln-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 46rem; }
.pln-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 4rem; align-items: end; }
.pln-head__intro { color: var(--muted); font-size: 1.0625rem; margin: 0; max-width: 46ch; justify-self: end; }
.pln-eyebrow {
	display: inline-flex; align-items: center; gap: .55em; margin: 0 0 1rem;
	font: 500 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
	&::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
}
.pln-eyebrow--dark { color: var(--accent-3); }
.pln-h2 { font-size: clamp(2rem, 3.5vw, 2.875rem); letter-spacing: -0.035em; line-height: 1.04; }
.pln-h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.03em; }
.pln-h4 { font-size: 1rem; letter-spacing: -0.01em; font-weight: 600; }
.pln-lead { font-size: 1.1875rem; line-height: 1.55; color: var(--text-2); max-width: 54ch; }
.pln-link { color: var(--accent); text-decoration: none; font-weight: 500; &:hover { text-decoration: underline; } }

/* ---------------------------------------------------------- components */

.pln-btn {
	--bg: var(--white); --fg: var(--text); --bd: var(--line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	height: 44px; padding: 0 1.1rem; border-radius: 10px; border: 1px solid var(--bd);
	background: var(--bg); color: var(--fg); font: 500 .9375rem/1 var(--f-sans); letter-spacing: -0.01em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
	&:hover { transform: translateY(-1px); }
	&:active { transform: translateY(0); }
}
.pln-btn--primary {
	--bg: var(--accent); --fg: #fff; --bd: transparent;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 1px 2px rgb(16 24 40 / .2), 0 6px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent);
	&:hover { --bg: var(--accent-2); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 1px 2px rgb(16 24 40 / .2), 0 10px 28px -6px color-mix(in srgb, var(--accent) 75%, transparent); }
}
.pln-btn--ghost { &:hover { --bd: var(--faint); background: var(--white); } }
.pln-btn--sm { height: 36px; padding: 0 .85rem; font-size: .875rem; border-radius: 9px; }
.pln-btn--block { width: 100%; }
.pln-btn__kbd { font: 500 .75rem/1 var(--f-mono); padding: .25em .45em; border-radius: 5px; background: rgb(255 255 255 / .18); }
.pln-btn--ghost .pln-btn__kbd { background: var(--paper); color: var(--muted); }
.pln-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.pln-kbd { display: inline-block; min-width: 1.6em; padding: .18em .42em; border-radius: 5px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--white); font: 500 .6875rem/1.2 var(--f-mono); color: var(--muted); text-align: center; }

.pln-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; display: inline-block; }
[data-state="ok"] .pln-dot, .pln-dot.is-ok { background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pln-pulse 2.4s infinite; }
[data-state="maintenance"] .pln-dot { background: var(--maint); }
[data-state="minor"] .pln-dot { background: var(--warn); }
[data-state="major"] .pln-dot { background: var(--crit); animation: pln-pulse 1.4s infinite; }
@keyframes pln-pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.pln-pill {
	--c: var(--faint);
	display: inline-flex; align-items: center; gap: .4em; padding: .3em .6em; border-radius: 999px;
	font: 500 .75rem/1 var(--f-sans); white-space: nowrap;
	color: color-mix(in srgb, var(--c) 82%, black); background: color-mix(in srgb, var(--c) 12%, transparent);
	&::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
	&[data-state="ok"] { --c: var(--ok); }
	&[data-state="maintenance"] { --c: var(--maint); }
	&[data-state="minor"] { --c: var(--warn); }
	&[data-state="major"] { --c: var(--crit); }
	&[data-state="avail"] { --c: var(--accent); }
	&[data-state="used"] { --c: var(--faint); }
}
.pln-badge { display: inline-block; padding: .15em .45em; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font: 600 .6875rem/1.3 var(--f-mono); vertical-align: .1em; }

.pln-card {
	position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}

/* Spotlight: a soft highlight that follows the pointer (set by site.js). */
.pln-sitecard, .pln-postcard, .pln-cert, .pln-option, .pln-metric {
	&::after {
		content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
		background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
	}
	&:hover::after { opacity: 1; }
}

.pln-chip {
	display: inline-flex; align-items: center; gap: .6em; padding: .45em .8em .45em .7em; border-radius: 999px;
	font: 500 .8125rem/1 var(--f-sans); text-decoration: none; color: var(--ink-text);
	background: rgb(255 255 255 / .06); border: 1px solid var(--ink-line-2); backdrop-filter: blur(8px);
	transition: background .2s, border-color .2s;
	& .pln-mono { color: var(--ink-muted); font-size: .75rem; }
	&:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .22); }
}
.pln-chip__arrow { color: var(--ink-muted); transition: transform .2s var(--ease); }
.pln-chip:hover .pln-chip__arrow { transform: translateX(2px); }

/* Segmented control. */
.pln-seg {
	display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line);
	& button {
		display: inline-flex; align-items: center; gap: .45em; height: 32px; padding: 0 .8rem; border: 0; border-radius: 7px; background: none;
		font: 500 .875rem/1 var(--f-sans); color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
		&:hover { color: var(--text); }
		&.is-on { background: var(--white); color: var(--text); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
	}
}
.pln-seg--dark {
	background: rgb(255 255 255 / .04); border-color: var(--ink-line);
	& button { color: var(--ink-muted); height: 28px; font-size: .8125rem; &:hover { color: var(--ink-text); } &.is-on { background: var(--ink-4); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 0 0 1px var(--ink-line-2); } }
}

/* Switch. */
.pln-switch {
	display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font: 500 .8125rem/1 var(--f-sans); user-select: none;
	& input { appearance: none; margin: 0; width: 30px; height: 18px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background .2s; flex: none; }
	& input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .3); transition: translate .25s var(--ease-out); }
	& input:checked { background: var(--accent); }
	& input:checked::after { translate: 12px 0; }
	& b { font-weight: 500; color: var(--accent-3); margin-left: .2em; }
}
.pln-switch--dark { color: var(--ink-muted); & input { background: rgb(255 255 255 / .16); } }

/* Tabs (horizontal). */
.pln-tabs {
	display: flex; gap: .25rem; margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: none;
	& button {
		display: inline-flex; align-items: center; gap: .5em; height: 36px; padding: 0 .9rem; border-radius: 9px; border: 1px solid transparent; background: none;
		font: 500 .875rem/1 var(--f-sans); color: var(--muted); cursor: pointer; white-space: nowrap; transition: all .2s;
		& .pln-mono { font-size: .75rem; color: var(--faint); }
		&:hover { color: var(--text); background: var(--white); }
		&.is-on { color: var(--text); background: var(--white); border-color: var(--line); box-shadow: var(--sh-1); & .pln-mono { color: var(--accent); } }
	}
}

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

.pln-header {
	position: sticky; top: 0; z-index: 50; height: var(--header);
	color: var(--text); background: rgb(246 247 249 / .78); backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid transparent; transition: background .3s, color .3s, border-color .3s;
	view-transition-name: header;
	&.is-scrolled { border-bottom-color: var(--line); }
	&.is-dark { color: var(--ink-text); background: transparent; backdrop-filter: none; position: fixed; inset: 0 0 auto; }
	&.is-dark.is-scrolled { background: rgb(10 12 16 / .72); backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--ink-line); }
	&.is-dark.is-past { color: var(--text); background: rgb(246 247 249 / .82); border-bottom-color: var(--line); }
}
.pln-header__inner { height: 100%; width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.pln-brand {
	display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none;
	--pln-mark-ink: var(--paper);
	& .pln-mark { color: var(--text); }
}
.pln-header.is-dark:not(.is-past) .pln-brand { --pln-mark-ink: var(--ink); & .pln-mark { color: #fff; } }
.pln-brand__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.03em; }
.pln-brand__logo { max-height: 32px; width: auto; }
.pln-nav[popover] { position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; display: flex; align-items: center; overflow: visible; }
.pln-nav__top, .pln-nav__cta { display: none; }
.pln-nav__list {
	list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem;
	& a {
		display: inline-flex; align-items: center; height: 34px; padding: 0 .75rem; border-radius: 8px; text-decoration: none;
		font-size: .9063rem; font-weight: 500; opacity: .72; transition: opacity .2s, background .2s;
		&:hover { opacity: 1; background: color-mix(in srgb, currentColor 7%, transparent); }
	}
	& .current-menu-item > a, & .current_page_item > a, & a[aria-current="page"] { opacity: 1; }
}
.pln-header__actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.pln-statuspill {
	display: inline-flex; align-items: center; gap: .5em; height: 30px; padding: 0 .7rem; border-radius: 999px; text-decoration: none;
	font: 500 .8125rem/1 var(--f-sans); border: 1px solid color-mix(in srgb, currentColor 14%, transparent); opacity: .9;
	&:hover { opacity: 1; background: color-mix(in srgb, currentColor 6%, transparent); }
}
.pln-search-btn {
	display: inline-flex; align-items: center; gap: .5rem; height: 34px; padding: 0 .45rem 0 .7rem; border-radius: 9px; cursor: pointer;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent); background: color-mix(in srgb, currentColor 4%, transparent);
	font: 500 .8125rem/1 var(--f-sans); color: inherit; opacity: .85; transition: opacity .2s, background .2s;
	&:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
	& .pln-search-btn__t { opacity: .75; margin-right: .6rem; }
	& .pln-kbd { background: transparent; border-color: color-mix(in srgb, currentColor 18%, transparent); color: inherit; opacity: .7; }
}
.pln-header__menu { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 10px 9px; flex-direction: column; justify-content: center; gap: 6px; & span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; } }

/* ------------------------------------------------------- command palette */

.pln-cmd {
	width: min(640px, calc(100vw - 32px)); max-height: min(560px, 80vh); margin: 12vh auto auto; padding: 0;
	border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--text); box-shadow: 0 24px 80px -12px rgb(10 12 16 / .45), 0 0 0 1px rgb(10 12 16 / .04);
	overflow: hidden;
	&::backdrop { background: rgb(10 12 16 / .45); backdrop-filter: blur(4px); }
	&[open] { animation: pln-pop .22s var(--ease-out); }
	&[open]::backdrop { animation: pln-fade .22s ease; }
}
@keyframes pln-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes pln-fade { from { opacity: 0; } }
.pln-cmd__box { display: flex; flex-direction: column; max-height: inherit; }
.pln-cmd__input {
	display: flex; align-items: center; gap: .75rem; padding: 0 1rem; height: 56px; border-bottom: 1px solid var(--line); color: var(--muted);
	& input { flex: 1; border: 0; outline: 0; background: none; font-size: 1.0625rem; color: var(--text); height: 100%; &::placeholder { color: var(--faint); } &::-webkit-search-cancel-button { display: none; } }
}
.pln-cmd__list { overflow-y: auto; padding: .5rem; overscroll-behavior: contain; }
.pln-cmd__group { margin: .6rem .6rem .35rem; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pln-cmd__item {
	display: flex; align-items: center; gap: .75rem; min-height: 42px; padding: .45rem .7rem; border-radius: 9px; text-decoration: none; color: var(--text-2); font-size: .9375rem;
	& svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--faint); }
	& > span:nth-of-type(1) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	& .pln-mono { color: var(--accent); font-size: .8125rem; }
	&.is-active { background: var(--paper); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); & svg { color: var(--accent); } }
}
.pln-cmd__meta { font-size: .8125rem; color: var(--faint); }
.pln-cmd__hint { font: .75rem var(--f-mono); color: var(--faint); opacity: 0; }
.pln-cmd__item.is-active .pln-cmd__hint { opacity: 1; }
.pln-cmd__empty { padding: 1.5rem; text-align: center; color: var(--muted); font-size: .9375rem; }
.pln-cmd__foot { display: flex; gap: 1.25rem; padding: .6rem 1rem; border-top: 1px solid var(--line); background: var(--paper); font-size: .75rem; color: var(--muted); & .pln-kbd { margin-right: .2em; } }

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

.pln-hero {
	position: relative; isolation: isolate; overflow: clip; color: var(--ink-text); background: var(--ink);
	padding: calc(var(--header) + clamp(3rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem);
	&::before {
		/* Blueprint grid, fading out from the top centre. */
		content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
		background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
		background-size: 64px 64px; background-position: center top;
		mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 30%, transparent 75%);
	}
}
.pln-hero__glow {
	position: absolute; z-index: -1; inset: -20% 0 auto; height: 900px; pointer-events: none;
	background: radial-gradient(ellipse 50% 40% at 50% 20%, rgb(77 107 254 / .28), transparent 70%), radial-gradient(ellipse 30% 30% at 75% 35%, rgb(46 144 250 / .12), transparent 70%), radial-gradient(ellipse 25% 25% at 22% 40%, rgb(255 107 44 / .07), transparent 70%);
}
.pln-hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pln-hero__kicker { margin: 0 0 1.4rem; font-size: .8125rem; letter-spacing: .02em; color: var(--ink-muted); animation: pln-in .8s .05s var(--ease-out) both; }
.pln-hero__title {
	font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; max-width: 15ch;
	background: linear-gradient(180deg, #fff 30%, #b9c0cc); -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: pln-in .9s .1s var(--ease-out) both;
	& em { font-style: normal; background: linear-gradient(100deg, #c9d1ff 0%, var(--accent-3) 45%, #fff 100%); -webkit-background-clip: text; background-clip: text; }
}
.pln-hero__lead { margin: 1.5rem 0 2rem; max-width: 58ch; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.55; color: var(--ink-muted); animation: pln-in .9s .2s var(--ease-out) both; }
.pln-hero .pln-actions { justify-content: center; animation: pln-in .9s .3s var(--ease-out) both; }
.pln-hero .pln-btn--ghost { --bg: rgb(255 255 255 / .04); --fg: var(--ink-text); --bd: var(--ink-line-2); &:hover { --bd: rgb(255 255 255 / .3); background: rgb(255 255 255 / .08); } }
.pln-hero__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; animation: pln-in .9s .4s var(--ease-out) both; }
.pln-hero__proof {
	list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; font-size: .875rem; color: var(--ink-muted);
	& li { display: inline-flex; gap: .35em; align-items: baseline; }
	& li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-line-2); align-self: center; margin-right: .9rem; }
	& strong { color: var(--ink-text); font-weight: 500; }
}
@keyframes pln-in { from { opacity: 0; translate: 0 12px; filter: blur(6px); } }

/* The twin: an application window. */
.pln-twin {
	position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); border-radius: 18px; overflow: hidden;
	background: var(--ink-2); border: 1px solid var(--ink-line-2);
	box-shadow: 0 0 0 1px rgb(0 0 0 / .4), 0 40px 120px -20px rgb(77 107 254 / .25), 0 30px 60px -30px rgb(0 0 0 / .8), inset 0 1px 0 rgb(255 255 255 / .06);
	animation: pln-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 40%;
	transform-origin: 50% 0%;
}
@keyframes pln-tilt { from { transform: perspective(1600px) rotateX(12deg) scale(.96); opacity: .6; } to { transform: none; opacity: 1; } }
.pln-twin__bar {
	display: flex; align-items: center; gap: 1rem; padding: .6rem .75rem .6rem 1rem; border-bottom: 1px solid var(--ink-line);
	background: linear-gradient(180deg, rgb(255 255 255 / .035), transparent);
	& .pln-seg { margin-inline: auto; }
}
.pln-twin__title { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; min-width: 0; & .pln-mono { color: var(--ink-text); } }
.pln-twin__sub { color: var(--ink-muted); }
.pln-twin__lights { display: inline-flex; gap: 6px; & i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); box-shadow: inset 0 0 0 1px var(--ink-line-2); } }
.pln-twin__stage { position: relative; aspect-ratio: 16 / 8; min-height: 360px; background: #0a0c10; }
.pln-twin__poster, .pln-twin__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pln-twin__canvas { opacity: 0; transition: opacity 1s var(--ease); cursor: grab; touch-action: pan-y; &:active { cursor: grabbing; } }
.pln-twin.is-live .pln-twin__canvas { opacity: 1; }
.pln-twin__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pln-tlabel {
	position: absolute; left: 0; top: 0; white-space: nowrap; font: 500 .625rem/1 var(--f-mono); letter-spacing: .08em; color: rgb(255 255 255 / .55);
	padding: .3em .45em; border-radius: 4px; background: rgb(10 12 16 / .55); border: 1px solid var(--ink-line);
	&.is-crah { color: rgb(160 190 255 / .65); }
}
.pln-twin__tip {
	position: absolute; left: 0; top: 0; z-index: 3; width: 184px; padding: .7rem .8rem; border-radius: 12px; pointer-events: none;
	background: rgb(16 19 26 / .86); border: 1px solid var(--ink-line-2); backdrop-filter: blur(12px); box-shadow: 0 12px 32px -8px rgb(0 0 0 / .6);
	font-size: .8125rem; color: var(--ink-text); transition: translate .08s linear;
	& dl { margin: .55rem 0 0; display: grid; gap: .3rem; }
	& dl div { display: flex; justify-content: space-between; }
	& dt { color: var(--ink-muted); }
	& dd { margin: 0; }
	& .pln-pill { --c: var(--ok); font-size: .6875rem; color: #fff; }
	& .pln-pill[data-state="avail"] { --c: var(--accent-3); }
	& .pln-pill[data-state="used"] { --c: var(--ok); }
}
.pln-twin__tip-hint { margin: .6rem 0 0; padding-top: .55rem; border-top: 1px solid var(--ink-line); font-size: .75rem; color: var(--accent-3); }
.pln-twin__tip-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 0; & .pln-mono { font-size: .875rem; } }
.pln-twin__legend {
	position: absolute; left: 1rem; bottom: 1rem; z-index: 2; pointer-events: none;
	& .pln-legend { display: none; }
	&[data-view="thermal"] .pln-legend--thermal, &[data-view="airflow"] .pln-legend--airflow, &[data-view="power"] .pln-legend--power { display: grid; }
}
.pln-legend {
	grid-template-columns: auto 140px auto; align-items: center; gap: .3rem .55rem; padding: .55rem .7rem; border-radius: 10px;
	background: rgb(10 12 16 / .7); border: 1px solid var(--ink-line); backdrop-filter: blur(10px); font-size: .6875rem; color: var(--ink-muted);
	& i { height: 6px; border-radius: 3px; }
	& small { grid-column: 1 / -1; font-size: .6875rem; }
}
.pln-legend--thermal i { background: linear-gradient(90deg, #09144d, #0d45c7 15%, #1499ad 33%, #f5c238 52%, #ff6b1a 74%, #e61a1a); }
.pln-legend--power i { background: linear-gradient(90deg, #1f293d, #2e57ff 40%, #8c5cff 75%, #ff52a0); }
.pln-legend--airflow { grid-template-columns: 34px 1fr; max-width: 300px; & i { height: 2px; background: linear-gradient(90deg, transparent, #7fb6ff, #ffb36b); } & small { grid-column: auto; } }
.pln-twin__hint { position: absolute; right: 1rem; top: .9rem; z-index: 2; margin: 0; font: 500 .6875rem/1 var(--f-mono); color: rgb(255 255 255 / .4); letter-spacing: .04em; opacity: 0; transition: opacity .6s; pointer-events: none; }
.pln-twin.is-live .pln-twin__hint { opacity: 1; }
.pln-twin__renderer { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; margin: 0; display: inline-flex; align-items: center; gap: .45em; font-size: .6875rem; color: rgb(255 255 255 / .5); pointer-events: none; }
.pln-twin.is-live .pln-twin__renderer .pln-dot { background: var(--ok); animation: pln-pulse 2.4s infinite; }

.pln-kpis { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); }
.pln-kpi {
	position: relative; padding: 1rem 1.15rem 1.05rem; border-right: 1px solid var(--ink-line); min-width: 0;
	&:last-child { border-right: 0; }
	& dt { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
	& dd { margin: 0; }
	& dd:first-of-type { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; margin-top: .55rem; }
}
.pln-kpi__v { font-size: 1.625rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pln-kpi__unit { font-size: .875rem; color: var(--ink-muted); align-self: flex-end; margin-right: auto; padding-bottom: .1em; }
.pln-kpi--plain dd:first-of-type { justify-content: flex-start; align-items: baseline; gap: .35rem; }
.pln-kpi__note { margin-top: .4rem !important; font-size: .75rem; color: rgb(141 149 163 / .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pln-spark { display: block; width: 72px; height: 26px; flex: none; background: var(--accent-3); mask-size: 100% 100%; mask-repeat: no-repeat; }
.pln-spark--lg { width: 100%; height: 44px; margin-top: .75rem; background: var(--accent); }

/* --------------------------------------------------------------- status */

.pln-status__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; transition: opacity .25s; }
.pln-status__grid.is-loading { opacity: .5; pointer-events: none; }
.pln-status__main { padding: 1.25rem 1.5rem 1.25rem; }
.pln-banner {
	--c: var(--ok);
	display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; margin: -.25rem -.5rem 1.25rem; border-radius: 12px;
	background: color-mix(in srgb, var(--c) 9%, var(--white)); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
	&[data-state="maintenance"] { --c: var(--maint); }
	&[data-state="minor"] { --c: var(--warn); }
	&[data-state="major"] { --c: var(--crit); }
}
.pln-banner__icon {
	width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--c); position: relative;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent);
	&::after { content: ""; position: absolute; left: 11px; top: 8px; width: 8px; height: 13px; border: solid #fff; border-width: 0 2.2px 2.2px 0; rotate: 45deg; }
}
.pln-banner:not([data-state="ok"]) .pln-banner__icon::after { left: 14.5px; top: 8px; width: 0; height: 10px; border-width: 0 0 0 2.4px; rotate: 0deg; box-shadow: 0 13px 0 -0.2px #fff; }
.pln-banner__title { margin: 0; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em; }
.pln-banner__meta { margin: .15rem 0 0; font-size: .75rem; color: var(--muted); }
.pln-comps { list-style: none; margin: 0; padding: 0; }
.pln-comp { padding: .9rem 0; border-top: 1px solid var(--line); &:first-child { border-top: 0; padding-top: 0; } }
.pln-comp__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.pln-comp__name { font-weight: 500; font-size: .9375rem; }
.pln-comp__uptime { margin-left: auto; font-size: .8125rem; color: var(--muted); }
.pln-bars { display: flex; gap: 2px; height: 30px; }
.pln-bars__d {
	flex: 1 1 0; min-width: 1px; border-radius: 2px; background: color-mix(in srgb, var(--ok) 78%, white); transition: transform .15s, filter .15s; transform-origin: bottom;
	&[data-state="maintenance"] { background: color-mix(in srgb, var(--maint) 80%, white); }
	&[data-state="minor"] { background: var(--warn); }
	&[data-state="major"] { background: var(--crit); }
	&:hover { transform: scaleY(1.12); filter: brightness(.9); }
}
.pln-bars__axis { display: flex; justify-content: space-between; margin: .6rem 0 0; font-size: .6875rem; color: var(--faint); }
.pln-metrics { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pln-metric {
	padding: 1rem 1.1rem .9rem; overflow: hidden; border-radius: var(--r-lg);
	& dt { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
	& dd { margin: 0; }
}
.pln-metric__v { margin-top: .55rem !important; font-size: 1.75rem; font-weight: 500; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.pln-metric__sub { margin-top: .4rem !important; font-size: .75rem; color: var(--muted); & .pln-mono { color: var(--text-2); } }
.pln-status__side .pln-small { margin-top: .75rem; }

.pln-notices { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pln-notices__col { & .pln-h4 { margin-bottom: 1rem; } }
.pln-notices__empty { display: none; font-size: .875rem; color: var(--muted); padding: .9rem 1rem; border: 1px dashed var(--line-2); border-radius: 12px; }
.pln-notices__col.is-empty .pln-notices__empty { display: block; }
.pln-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.pln-timeline__item {
	--c: var(--ok);
	position: relative; padding: 0 0 1.25rem 1.4rem;
	&::before { content: ""; position: absolute; left: 3px; top: .55rem; bottom: -.2rem; width: 1px; background: var(--line); }
	&:last-child::before { display: none; }
	&::after { content: ""; position: absolute; left: 0; top: .35rem; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
	&[data-state="maintenance"] { --c: var(--maint); }
	&[data-state="minor"] { --c: var(--warn); }
	&[data-state="major"] { --c: var(--crit); }
}
.pln-timeline__meta { margin: 0 0 .25rem; font-size: .6875rem; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.pln-timeline__title { font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: .2rem; }
.pln-timeline__when { margin: 0 0 .4rem; font-size: .8125rem; color: var(--muted); }
.pln-timeline__body { margin: 0; font-size: .875rem; color: var(--text-2); line-height: 1.5; }

/* ---------------------------------------------------------------- quote */

.pln-quote__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 2rem; align-items: start; }
.pln-quote__form { display: grid; gap: 1rem; }
.pln-step {
	margin: 0; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-1); min-width: 0;
	& legend { float: left; width: 100%; display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: 1.1rem; font-weight: 600; font-size: 1rem; letter-spacing: -0.015em; }
	& legend + * { clear: both; }
}
.pln-step__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.pln-options { display: grid; gap: .75rem; }
.pln-options--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pln-option {
	position: relative; display: grid; gap: .3rem; justify-items: start; text-align: left; padding: 1rem; border-radius: 12px; cursor: pointer;
	border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s, background .2s;
	&:hover { border-color: var(--line-2); }
	&.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: color-mix(in srgb, var(--accent) 3%, var(--white)); }
	&.is-on::before { content: ""; position: absolute; right: .75rem; top: .75rem; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
}
.pln-option__label { font-weight: 600; font-size: .9375rem; margin-top: .5rem; }
.pln-option__meta { font-size: .75rem; color: var(--muted); }
.pln-option__price { font-weight: 500; font-variant-numeric: tabular-nums; margin-top: .25rem; & small { color: var(--muted); font-weight: 400; } }
.pln-rackicon {
	position: relative; width: 26px; height: 40px; border-radius: 3px; border: 1.5px solid var(--line-2); background: var(--paper); overflow: hidden;
	& i { position: absolute; inset: auto 3px 3px; height: calc((100% - 6px) * var(--fill)); border-radius: 1.5px; background: repeating-linear-gradient(0deg, var(--text-2) 0 3px, transparent 3px 5px); opacity: .65; }
	&.is-cage { box-shadow: 8px 0 0 -2px var(--paper), 8px 0 0 -0.5px var(--line-2), 16px 0 0 -2px var(--paper), 16px 0 0 -0.5px var(--line-2); margin-right: 16px; }
}
.pln-option.is-on .pln-rackicon { border-color: var(--accent); & i { background: repeating-linear-gradient(0deg, var(--accent) 0 3px, transparent 3px 5px); opacity: .9; } }
.pln-row2 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem 2rem; align-items: start; }
.pln-field { display: grid; gap: .5rem; margin: 0; min-width: 0; }
.pln-label { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--text-2); margin: 0; }
.pln-label__v { color: var(--accent); font-size: .875rem; }
.pln-stepper {
	display: inline-grid; justify-self: start; grid-template-columns: 40px 56px 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--white);
	& button { border: 0; background: none; cursor: pointer; font-size: 1.125rem; color: var(--muted); transition: background .15s, color .15s; &:hover { background: var(--paper); color: var(--text); } &:active { background: var(--line); } }
	& output { display: grid; place-items: center; border-inline: 1px solid var(--line); font-size: .9375rem; font-variant-numeric: tabular-nums; }
}
.pln-range {
	--p: 50%;
	appearance: none; width: 100%; height: 22px; margin: 0; background: none; cursor: pointer;
	&::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line) var(--p)); }
	&::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line) var(--p)); }
	&::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 1px 3px rgb(16 24 40 / .2), 0 0 0 4px var(--accent-soft); transition: box-shadow .2s; }
	&::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 1px 3px rgb(16 24 40 / .2), 0 0 0 4px var(--accent-soft); }
	&:hover::-webkit-slider-thumb { box-shadow: 0 1px 3px rgb(16 24 40 / .2), 0 0 0 6px var(--accent-soft); }
}
.pln-range__scale { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--faint); }
.pln-check {
	display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; cursor: pointer; font-size: .9375rem; line-height: 1.45;
	& input { position: absolute; opacity: 0; width: 1px; height: 1px; }
	& .pln-muted { display: block; font-size: .8125rem; margin-top: .15rem; }
}
.pln-check__box {
	flex: none; width: 20px; height: 20px; margin-top: .1rem; border-radius: 6px; border: 1px solid var(--line-2); background: var(--white); transition: background .15s, border-color .15s, box-shadow .15s;
	display: grid; place-items: center;
	&::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -1px; opacity: 0; transition: opacity .15s; }
}
.pln-check input:checked + .pln-check__box { background: var(--accent); border-color: var(--accent); &::after { opacity: 1; } }
.pln-check input:focus-visible + .pln-check__box { box-shadow: 0 0 0 4px var(--accent-soft); outline: 2px solid var(--accent); outline-offset: 1px; }

.pln-summary { position: sticky; top: calc(var(--header) + 1.5rem); }
.pln-summary__card {
	position: relative; padding: 1.5rem; border-radius: 20px; color: var(--ink-text); background: var(--ink-2); border: 1px solid var(--ink-line);
	box-shadow: var(--sh-3); overflow: hidden;
	&::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; background: radial-gradient(ellipse 80% 100% at 80% 0%, rgb(77 107 254 / .3), transparent 70%); pointer-events: none; }
	& > * { position: relative; }
}
.pln-summary__total { margin: .5rem 0 .25rem; font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; & small { font-size: 1rem; font-weight: 400; color: var(--ink-muted); letter-spacing: -0.01em; margin-left: .3rem; } }
.pln-summary__per { margin: 0 0 1.25rem; font-size: .75rem; color: var(--ink-muted); }
.pln-lines {
	margin: 0 0 1rem; padding: 1rem 0 0; border-top: 1px solid var(--ink-line); display: grid; gap: .55rem; font-size: .875rem;
	& div { display: flex; justify-content: space-between; gap: 1rem; }
	& dt { color: var(--ink-muted); }
	& dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink-text); }
	& .is-disc dd { color: #6ee7a8; }
}
.pln-lines--foot { margin-bottom: 1.25rem; & dd { font-weight: 500; } }
.pln-summary__fine { margin: .9rem 0 0; font-size: .75rem; color: var(--ink-muted); line-height: 1.5; }

/* ---------------------------------------------------------------- sites */

.pln-sitegrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pln-sitegrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pln-sitecard {
	position: relative; height: 100%; display: flex; flex-direction: column; padding: 1.4rem; border-radius: var(--r-lg);
	background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
	&:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
	&:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
}
.pln-sitecard__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.pln-code { display: inline-flex; align-items: center; height: 26px; padding: 0 .55rem; border-radius: 7px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 500; letter-spacing: .02em; }
.pln-sitecard__title { font-size: 1.375rem; letter-spacing: -0.03em; & a { text-decoration: none; &::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; } } }
.pln-sitecard__city { margin: .2rem 0 1.25rem; color: var(--muted); font-size: .875rem; }
.pln-sitecard__facts {
	margin: 0 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
	& div { background: var(--white); padding: .65rem .75rem; }
	& dt { font-size: .6875rem; color: var(--faint); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
	& dd { margin: .25rem 0 0; font-weight: 500; font-variant-numeric: tabular-nums; & small { color: var(--muted); font-weight: 400; font-size: .8125rem; } }
}
.pln-meter { margin-top: auto; }
.pln-meter__bar { height: 6px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; & i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-3)); } }
.pln-meter__text { display: flex; justify-content: space-between; margin: .55rem 0 0; font-size: .8125rem; color: var(--muted); & strong { color: var(--text); font-weight: 600; } & > .pln-mono { color: var(--faint); font-size: .75rem; } }
.pln-sitecard__more { margin-top: 1.1rem; font-size: .875rem; font-weight: 500; color: var(--accent); text-decoration: none; & span { display: inline-block; transition: transform .2s var(--ease); } }
.pln-sitecard:hover .pln-sitecard__more span { transform: translateX(3px); }

/* ---------------------------------------------------------------- specs */

.pln-specs__summary {
	margin: 0; justify-self: end; display: grid; grid-template-columns: repeat(4, auto); gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden;
	& div { padding: .7rem 1rem; border-right: 1px solid var(--line); &:last-child { border-right: 0; } }
	& dt { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
	& dd { margin: .35rem 0 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
}
.pln-specs__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.pln-vtabs {
	display: grid; gap: .25rem; position: sticky; top: calc(var(--header) + 1.5rem);
	& button {
		display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 .9rem; border-radius: 10px; border: 1px solid transparent; background: none; text-align: left;
		font-weight: 500; font-size: .9375rem; color: var(--muted); cursor: pointer; transition: all .2s;
		&:hover { color: var(--text); background: var(--white); }
		&.is-on { color: var(--text); background: var(--white); border-color: var(--line); box-shadow: var(--sh-1); }
	}
}
.pln-vtabs__n { font-size: .75rem; color: var(--faint); }
.pln-vtabs button.is-on .pln-vtabs__n { color: var(--accent); }
.pln-specs__panel { padding: .4rem 1.5rem; animation: pln-fade .3s ease; }
.pln-spec {
	margin: 0;
	& div { display: grid; grid-template-columns: minmax(140px, .38fr) minmax(0, 1fr); gap: 1.5rem; padding: .95rem 0; border-top: 1px solid var(--line); &:first-child { border-top: 0; } }
	& dt { color: var(--muted); font-size: .9375rem; }
	& dd { margin: 0; font-size: .9375rem; color: var(--text); }
}
.pln-spec--plain { margin-top: 1.5rem; & div { padding: .75rem 0; } }

/* -------------------------------------------------------------- network */

.pln-section--dark { background: var(--ink); color: var(--ink-text); border: 0 !important; }
.pln-section--dark .pln-h2 { color: #fff; }
.pln-section--dark .pln-lead { color: var(--ink-muted); }
.pln-network { overflow: clip; &::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 78% 50%, rgb(77 107 254 / .16), transparent 70%); pointer-events: none; } }
.pln-network__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.pln-tiles {
	margin: 2rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: 14px; overflow: hidden;
}
.pln-tile {
	display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: 1rem 1.1rem; background: var(--ink-2);
	& dt { font-size: .8125rem; color: var(--ink-muted); line-height: 1.35; }
	& dd { margin: 0; font-size: 1.75rem; font-weight: 500; letter-spacing: -0.035em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
}
.pln-table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums;
	& th, & td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
	& thead th { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
	& tbody th { font-weight: 500; }
}
.pln-table--dark { & th, & td { border-color: var(--ink-line); } & thead th { color: var(--ink-muted); } & td { color: var(--ink-text); text-align: right; } & thead th:last-child { text-align: right; } & tbody th { color: var(--ink-text); } }
.pln-radar {
	margin: 0; position: relative;
	& svg { width: 100%; height: auto; overflow: visible; }
	& figcaption { margin-top: .75rem; text-align: center; color: var(--ink-muted); }
}
.pln-radar__ring { fill: none; stroke: rgb(255 255 255 / .09); stroke-dasharray: 2 4; }
.pln-radar__rl { font: 500 9px var(--f-mono); fill: rgb(255 255 255 / .3); }
.pln-radar__axis { stroke: rgb(255 255 255 / .06); }
.pln-radar__sweep { animation: pln-spin 9s linear infinite; transform-origin: 0 0; opacity: .45; }
.pln-radar__leader { fill: none; stroke: rgb(255 255 255 / .25); stroke-width: 1; }
@keyframes pln-spin { to { rotate: 360deg; } }
.pln-radar__link { stroke: url(#pln-radar-g); stroke: rgb(124 140 255 / .45); stroke-width: 1; stroke-dasharray: 3 3; animation: pln-dash 1.6s linear infinite; animation-delay: var(--d); }
@keyframes pln-dash { to { stroke-dashoffset: -12; } }
.pln-radar__pt { fill: var(--accent-3); stroke: var(--ink); stroke-width: 2; filter: drop-shadow(0 0 6px rgb(124 140 255 / .8)); }
.pln-radar__lbl { font: 500 11.5px var(--f-sans); fill: var(--ink-text); paint-order: stroke; stroke: var(--ink); stroke-width: 4px; stroke-linejoin: round; }
.pln-radar__ms { font-family: var(--f-mono); font-size: 10px; fill: var(--ink-muted); }
.pln-radar__home { fill: #fff; stroke: var(--accent); stroke-width: 3; animation: pln-ping 2.4s var(--ease-out) infinite; }
@keyframes pln-ping { 0% { stroke-width: 3; stroke-opacity: 1; } 100% { stroke-width: 26; stroke-opacity: 0; } }
.pln-radar__homel { font: 600 11px var(--f-mono); fill: #fff; letter-spacing: .04em; }

/* ----------------------------------------------------------- compliance */

.pln-figures { margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.pln-figure {
	padding: 1.75rem 1.5rem 1.75rem 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .5rem;
	& + .pln-figure { padding-left: 1.5rem; border-left: 1px solid var(--line); }
	& dd { margin: 0; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--text), #4a5262); -webkit-background-clip: text; background-clip: text; color: transparent; }
	& dt { font-size: .875rem; color: var(--muted); max-width: 26ch; }
}
.pln-certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pln-cert {
	position: relative; padding: 1.25rem; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1);
	display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem;
}
.pln-cert__seal { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.pln-cert__name { margin: 0; font-weight: 600; font-size: .9375rem; letter-spacing: -0.01em; }
.pln-cert__text { margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.45; }

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

.pln-faq__grid .pln-head .pln-muted { margin-top: 1rem; }
.pln-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; & .pln-head { position: sticky; top: calc(var(--header) + 2rem); } }
.pln-accordion { border-top: 1px solid var(--line); }
.pln-qa {
	border-bottom: 1px solid var(--line);
	& summary {
		display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none;
		font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.015em;
		&::-webkit-details-marker { display: none; }
		&:hover { color: var(--accent); }
	}
	&::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
	&[open]::details-content { block-size: auto; }
}
.pln-qa__icon {
	position: relative; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line-2);
	&::before, &::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: rotate .3s var(--ease-out); }
	&::after { rotate: 90deg; }
}
.pln-qa[open] .pln-qa__icon::after { rotate: 0deg; }
.pln-qa__a { padding: 0 3rem 1.4rem 0; color: var(--text-2); }

/* ------------------------------------------------------------- insights */

.pln-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.pln-postcard {
	position: relative; display: flex; flex-direction: column;
	& .pln-postcard__media { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; background: var(--ink); }
	& .pln-postcard__media img, & .pln-postcard__media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
	&:hover .pln-postcard__media > * { transform: scale(1.04); }
	&::after { inset: -10px; border-radius: 18px; }
}
.pln-postcard__meta { margin: 0 0 .5rem; font-size: .75rem; color: var(--faint); }
.pln-postcard__title { font-size: 1.1875rem; letter-spacing: -0.025em; line-height: 1.25; margin-bottom: .5rem; & a { text-decoration: none; &::before { content: ""; position: absolute; inset: 0; z-index: 1; } &:hover { color: var(--accent); } } }
.pln-postcard__ex { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.pln-postcard--plain { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.pln-cover__bg { fill: #0b0e14; }
.pln-cover rect[style] { fill: color-mix(in oklab, #ff6b2c calc(var(--t) * 100%), #1d3d9e); opacity: calc(.35 + var(--t) * .65); }

/* ------------------------------------------------------------------ cta */

.pln-cta {
	position: relative; overflow: clip; color: var(--ink-text); background: var(--ink); padding-block: clamp(4rem, 8vw, 6.5rem);
	&::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 80% at 85% 50%, black, transparent 70%); }
	&::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgb(124 140 255 / .6), transparent); }
	& .pln-lead { color: var(--ink-muted); margin-top: 1rem; }
	& .pln-btn--ghost { --bg: transparent; --fg: var(--ink-text); --bd: var(--ink-line-2); &:hover { background: rgb(255 255 255 / .06); } }
}
.pln-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem 4rem; align-items: end; }
.pln-cta__title { font-size: clamp(2.2rem, 4.4vw, 3.5rem); letter-spacing: -0.045em; line-height: 1; color: #fff; }
.pln-cta__side { display: grid; gap: 1.25rem; justify-items: start; }
.pln-cta__noc { margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-muted); & a { color: var(--ink-text); text-decoration: none; &:hover { color: #fff; } } & .pln-dot { background: var(--ok); animation: pln-pulse 2.4s infinite; } }

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

.pln-footer { background: var(--ink); color: var(--ink-muted); border-top: 1px solid var(--ink-line); padding: 4rem 0 2rem; font-size: .9375rem;
	& a { color: var(--ink-text); text-decoration: none; &:hover { color: #fff; } }
	& .pln-brand { color: #fff; --pln-mark-ink: var(--ink); & .pln-mark { color: #fff; } }
	& ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
	& address { font-style: normal; line-height: 1.7; margin: 1rem 0; }
	& .pln-badge { background: rgb(124 140 255 / .14); color: var(--accent-3); }
	& .pln-btn--ghost { --bg: transparent; --fg: var(--ink-text); --bd: var(--ink-line-2); margin-top: .5rem; }
}
.pln-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.pln-footer__brand p { margin: 1rem 0 0; max-width: 34ch; }
.pln-footer__h { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1.1rem; }
.pln-footer__col .pln-mono { color: var(--accent-3); font-size: .8125rem; margin-right: .35em; }
.pln-footer__col .pln-nav__list { display: grid; gap: .6rem; & a { height: auto; padding: 0; opacity: 1; &:hover { background: none; } } }
.pln-footer__noc { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--ink-line); font-size: .8125rem; & .pln-dot { background: var(--ok); animation: pln-pulse 2.4s infinite; } }
.pln-footer__base { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8125rem; & p { margin: 0; } }
.pln-footer__legal { display: flex; gap: 1.5rem; align-items: center; }

/* ------------------------------------------------------------ templates */

.pln-pagehead {
	position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: var(--white); overflow: clip;
	&::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent 40%, black 100%), linear-gradient(transparent, black); mask-composite: intersect; opacity: .6; pointer-events: none; }
	& > .pln-wrap { position: relative; }
}
.pln-pagehead__title { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 20ch; }
.pln-pagehead__lead { margin: 1rem 0 0; max-width: 60ch; font-size: 1.1875rem; color: var(--muted); }
.pln-pagehead--article .pln-pagehead__title { max-width: 26ch; }
.pln-crumbs { margin-bottom: 1.5rem; & ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font: 500 .75rem/1.4 var(--f-mono); color: var(--faint); } & li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); } & a { text-decoration: none; color: var(--muted); &:hover { color: var(--accent); } } & [aria-current] { color: var(--text-2); } }
.pln-sitepage__crumbs { padding-top: 1.5rem; & .pln-crumbs { margin: 0; } }
.pln-sitepage__crumbs + .pln-section { padding-top: clamp(2rem, 4vw, 3rem); }
.pln-filterbar { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.75rem; & a { height: 32px; padding: 0 .85rem; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: .875rem; color: var(--muted); transition: all .2s; &:hover { color: var(--text); border-color: var(--line-2); } &[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); } } }
.pln-searchbar { margin-top: 1.5rem; max-width: 520px; & form { display: flex; gap: .5rem; } & input[type="search"] { flex: 1; } }
.pln-empty { padding: 3rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.pln-pagination { margin-top: 3rem; & .nav-links { display: flex; gap: .4rem; justify-content: center; } & .page-numbers { min-width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0 .6rem; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: .9375rem; &.current { background: var(--ink); color: #fff; border-color: var(--ink); } } }

.pln-prose {
	font-size: 1.0938rem; line-height: 1.75; color: var(--text-2); max-width: 70ch;
	& > * + * { margin-top: 1.25em; }
	& h2 { font-size: 1.625rem; letter-spacing: -0.03em; margin-top: 2.2em; color: var(--text); scroll-margin-top: calc(var(--header) + 1.5rem); }
	& h3 { font-size: 1.25rem; margin-top: 1.8em; color: var(--text); }
	& p { margin-bottom: 0; }
	& ul, & ol { padding-left: 1.3em; margin-bottom: 0; }
	& li + li { margin-top: .4em; }
	& ul li::marker { color: var(--accent); }
	& a { color: var(--accent); }
	& blockquote { margin-inline: 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--accent); background: var(--white); border-radius: 0 12px 12px 0; font-size: 1.1875rem; color: var(--text); letter-spacing: -0.015em; & p { margin: 0; } }
	& code { font: .875em var(--f-mono); background: var(--white); border: 1px solid var(--line); padding: .1em .35em; border-radius: 5px; }
	& img { border-radius: 14px; }
}
.pln-article__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4rem; padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.pln-article__grid:not(:has(.pln-toc)) { grid-template-columns: minmax(0, 1fr); & .pln-prose { margin-inline: auto; } }
.pln-article__meta { margin: 1.25rem 0 0; font-size: .8125rem; color: var(--faint); }
.pln-article__media { margin: 0 0 2rem; }
.pln-toc {
	position: sticky; top: calc(var(--header) + 2rem); font-size: .875rem;
	& .pln-label { margin-bottom: .75rem; color: var(--faint); font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
	& ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); display: grid; }
	& a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.35; &:hover { color: var(--text); border-left-color: var(--accent); } }
}
.pln-tags a { display: inline-block; margin: 0 .4rem .4rem 0; padding: .2em .6em; border-radius: 6px; background: var(--white); border: 1px solid var(--line); font-size: .8125rem; text-decoration: none; }
.pln-related { background: var(--white); border-top: 1px solid var(--line); & .pln-h3 { margin-bottom: 2rem; } }

.pln-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-1); margin-top: 1.5rem; }
.pln-table--compare {
	min-width: 720px;
	& th, & td { padding: .85rem 1.1rem; }
	& thead th { font: 600 .9375rem/1.3 var(--f-sans); letter-spacing: -0.01em; text-transform: none; color: var(--text); & a { text-decoration: none; } & .pln-mono { color: var(--accent); font-size: .75rem; margin-right: .35em; } }
	& tbody th { color: var(--muted); font-weight: 400; width: 22%; position: sticky; left: 0; background: var(--white); }
	& tbody tr:last-child > * { border-bottom: 0; }
	& tbody tr:hover > * { background: var(--paper); }
}

.pln-sitepage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.pln-sitepage__content { margin-top: 2rem; }
.pln-locator { margin: 0; overflow: hidden; padding: 0; }
.pln-locator__map { display: block; width: 100%; height: auto; }
.pln-locator__bg { fill: #f1f3f6; }
.pln-locator__water { fill: #dfe8f6; }
.pln-locator__road { stroke: #fff; fill: none; stroke-linecap: round; filter: drop-shadow(0 0 .5px #cfd5de); }
.pln-locator__plot { fill: var(--ink); }
.pln-locator__pulse { fill: color-mix(in srgb, var(--accent) 12%, transparent); stroke: color-mix(in srgb, var(--accent) 40%, transparent); animation: pln-breathe 3s var(--ease) infinite; transform-origin: 250px 178px; &.is-2 { animation-delay: -1.5s; } }
@keyframes pln-breathe { 0%, 100% { scale: .9; opacity: .7; } 50% { scale: 1.08; opacity: 1; } }
.pln-locator__pin { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.pln-locator__scale { stroke: var(--muted); fill: var(--muted); font: 500 11px var(--f-mono); }
.pln-locator__north { fill: var(--text); font: 600 11px var(--f-mono); }
.pln-locator__cap { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.1rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

.pln-notfound { padding: clamp(4rem, 12vw, 9rem) 0; text-align: center; & .pln-pagehead__title, & .pln-pagehead__lead { margin-inline: auto; } & .pln-actions { justify-content: center; margin-top: 2rem; } }
.pln-notfound__code { font-size: clamp(5rem, 16vw, 10rem); line-height: 1; margin: 0 0 1rem; font-weight: 500; letter-spacing: -0.06em; background: linear-gradient(180deg, var(--line-2), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

.pln-request__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr); gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.pln-request__form { padding: clamp(1.25rem, 3vw, 2rem); }
.pln-request__aside { position: sticky; top: calc(var(--header) + 1.5rem); display: grid; gap: 1.5rem; }
.pln-steps {
	list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1.1rem;
	& li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: .1rem .8rem; font-size: .9375rem; }
	& li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); font: 500 .75rem/1 var(--f-mono); color: var(--accent); }
	& strong { font-weight: 600; }
	& span { color: var(--muted); font-size: .875rem; line-height: 1.5; }
}
.pln-contactcard { padding: 1.25rem; & p { margin: .4rem 0 0; } & .pln-label { color: var(--faint); font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; } }
.pln-form { display: grid; gap: 1.25rem; }
.pln-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.pln-field--full { grid-column: 1 / -1; }
.pln-input {
	width: 100%; min-height: 44px; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); color: var(--text);
	font-size: .9688rem; transition: border-color .15s, box-shadow .15s;
	&::placeholder { color: var(--faint); }
	&:hover { border-color: var(--faint); }
	&:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
	&[aria-invalid="true"] { border-color: var(--crit); box-shadow: 0 0 0 4px color-mix(in srgb, var(--crit) 10%, transparent); }
}
select.pln-input { appearance: none; padding-right: 2.2rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235d6573' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .7rem center / 16px no-repeat; }
textarea.pln-input { min-height: 112px; resize: vertical; line-height: 1.5; }
.pln-error { margin: 0; font-size: .8125rem; color: var(--crit); }
.pln-hint { font-size: .75rem; color: var(--faint); }
.pln-alert { padding: .85rem 1rem; border-radius: 10px; background: color-mix(in srgb, var(--crit) 8%, var(--white)); border: 1px solid color-mix(in srgb, var(--crit) 25%, transparent); color: color-mix(in srgb, var(--crit) 80%, black); font-size: .9375rem; }
.pln-hp { position: absolute; left: -9999px; }
.pln-kind {
	margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
	& legend { margin-bottom: .6rem; }
	& label { position: relative; display: block; cursor: pointer; }
	& input { position: absolute; opacity: 0; }
	& span { display: grid; gap: .2rem; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line-2); transition: all .2s; }
	& strong { font-weight: 600; }
	& small { color: var(--muted); font-size: .8125rem; }
	& input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: color-mix(in srgb, var(--accent) 3%, var(--white)); }
	& input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
}
.pln-form[data-kind="quote"] .pln-only-tour, .pln-form[data-kind="tour"] .pln-only-quote { display: none; }
.pln-form .pln-check { margin-top: 0; }
.pln-cfg { padding: 1rem 1.1rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); & .pln-label { color: var(--faint); font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; } & p { margin: .45rem 0 0; } }
.pln-cfg__sum { font-size: .9375rem; color: var(--text); }
.pln-cfg__price { font-size: .875rem; color: var(--muted); & strong { color: var(--text); font-size: 1.0625rem; } }
.pln-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; & .pln-small { margin: 0; } }
.pln-done { text-align: center; padding: 2rem 1rem; outline: 0; & .pln-h3 { margin: 1.25rem 0 .75rem; } & p { max-width: 46ch; margin-inline: auto; } }
.pln-done__icon { display: inline-block; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, var(--white)); position: relative; box-shadow: 0 0 0 8px color-mix(in srgb, var(--ok) 6%, transparent); &::after { content: ""; position: absolute; left: 20px; top: 14px; width: 12px; height: 22px; border: solid var(--ok); border-width: 0 3px 3px 0; rotate: 45deg; } }

/* Search form and comments (WordPress markup). */
.search-form { display: flex; gap: .5rem; & label { flex: 1; } & .search-field { width: 100%; min-height: 44px; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line-2); } & .search-submit { height: 44px; padding: 0 1rem; border-radius: 10px; border: 0; background: var(--accent); color: #fff; font-weight: 500; cursor: pointer; } }
.pln-comments { padding-block: 3rem; & input:not([type="checkbox"]):not([type="submit"]), & textarea { width: 100%; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line-2); } }

/* -------------------------------------------------------------- gallery */

.pln-gallery { background: var(--ink) !important; color: var(--ink-text); border: 0 !important; overflow: clip;
	& .pln-h2 { color: #fff; }
	& .pln-head__intro { color: var(--ink-muted); }
	& .pln-eyebrow { color: var(--accent-3); }
}
.pln-bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 250px); gap: 12px;
	& .pln-bento__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
	& .pln-bento__item:nth-child(4), & .pln-bento__item:nth-child(5), & .pln-bento__item:nth-child(6) { grid-column: span 2; }
	& .pln-bento__item:nth-child(5) { grid-column: 1 / span 2; }
}
.pln-shot {
	position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--ink-2);
	box-shadow: 0 0 0 1px var(--ink-line-2), 0 20px 40px -24px rgb(0 0 0 / .8); isolation: isolate; text-align: left; color: #fff;
	& img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
	&::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgb(5 7 10 / .82)); transition: opacity .4s; }
	&::after { z-index: 2; }
	&:hover img { transform: scale(1.045); }
	&:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; }
}
.pln-shot__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: .3rem; padding: 1rem 1.1rem; transition: transform .5s var(--ease-out); }
.pln-shot__title { font-weight: 600; font-size: 1rem; letter-spacing: -0.015em; }
.pln-shot__meta { font-size: .6875rem; color: rgb(255 255 255 / .62); letter-spacing: .02em; }
.pln-shot__zoom { position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgb(10 12 16 / .55); border: 1px solid var(--ink-line-2); backdrop-filter: blur(8px); opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease-out); }
.pln-shot:hover .pln-shot__zoom, .pln-shot:focus-visible .pln-shot__zoom { opacity: 1; transform: none; }
.pln-bento__item:nth-child(1) .pln-shot__title { font-size: 1.375rem; }

.pln-viewer {
	width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(1rem, 4vw, 3rem); border: 0; background: rgb(5 7 10 / .94); color: #fff;
	&::backdrop { background: transparent; }
	&[open] { display: grid; place-items: center; animation: pln-fade .25s ease; }
}
.pln-viewer__fig { margin: 0; display: grid; gap: 1rem; max-width: min(1500px, 100%); view-transition-name: pln-viewer;
	& img { width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .9); }
	& figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; font-size: .9375rem; }
}
.pln-viewer__title { font-weight: 600; }
.pln-viewer__meta, .pln-viewer__count { font-size: .75rem; color: rgb(255 255 255 / .55); }
.pln-viewer__count { margin-left: auto; }
.pln-viewer__btn, .pln-viewer__close { position: fixed; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ink-line-2); background: rgb(255 255 255 / .06); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.125rem; transition: background .2s; &:hover { background: rgb(255 255 255 / .14); } }
.pln-viewer__btn { top: 50%; translate: 0 -50%; &.is-prev { left: 1rem; } &.is-next { right: 1rem; } }
.pln-viewer__close { top: 1rem; right: 1rem; }

/* Card and page-head imagery. */
.pln-sitecard__media { margin: -1.4rem -1.4rem 1.25rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--ink); border-bottom: 1px solid var(--line);
	& img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out); }
}
.pln-sitecard:hover .pln-sitecard__media img { transform: scale(1.05); }
.pln-pagehead__grid { position: relative; }
.pln-pagehead.has-media .pln-pagehead__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
.pln-pagehead__media {
	margin: 0; position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--ink);
	box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(16 24 40 / .5), 0 10px 20px -12px rgb(16 24 40 / .25);
	animation: pln-in .9s .15s var(--ease-out) both;
	& img { width: 100%; height: 100%; object-fit: cover; display: block; }
	& figcaption { position: absolute; left: .75rem; bottom: .75rem; padding: .35rem .55rem; border-radius: 7px; background: rgb(10 12 16 / .66); backdrop-filter: blur(8px); color: rgb(255 255 255 / .8); font-size: .6875rem; border: 1px solid var(--ink-line-2); }
}
.pln-article__hero { margin-block: clamp(2rem, 4vw, 3rem) 0; & img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 18px; display: block; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -32px rgb(16 24 40 / .45); } }
@media (max-width: 1080px) { .pln-pagehead.has-media .pln-pagehead__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
@media (max-width: 760px) {
	.pln-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; & .pln-bento__item:nth-child(n) { grid-column: span 1; grid-row: span 1; } & .pln-bento__item:nth-child(1), & .pln-bento__item:nth-child(6) { grid-column: 1 / -1; grid-row: span 2; } }
	.pln-shot__meta { display: none; }
	.pln-viewer__btn { top: auto; bottom: 1rem; translate: none; }
}
/* ------------------------------------------------------ warped backgrounds */

.pln-warp { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.has-warp > .pln-warp { opacity: 1; }
.pln-hero.has-warp::before { opacity: .25; transition: opacity 1.4s var(--ease); }
.pln-network, .pln-cta, .pln-notfound--dark { isolation: isolate; }
.pln-cta.has-warp::before { opacity: .2; }
.pln-notfound--dark { position: relative; overflow: clip; background: var(--ink); color: var(--ink-text); margin-top: calc(var(--header) * -1); padding-top: calc(var(--header) + clamp(4rem, 12vw, 9rem)); & .pln-pagehead__title { color: #fff; } & .pln-pagehead__lead { color: var(--ink-muted); } & .pln-notfound__code { background: linear-gradient(180deg, rgb(124 140 255 / .5), transparent); -webkit-background-clip: text; background-clip: text; } & .pln-btn--ghost { --bg: transparent; --fg: var(--ink-text); --bd: var(--ink-line-2); } }
/* ------------------------------------------------------------- reveals */

@supports (animation-timeline: view()) {
	.pln-sitecard, .pln-postcard, .pln-cert, .pln-figure, .pln-comp, .pln-step, .pln-metric {
		animation: pln-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 18%;
	}
}
@keyframes pln-rise { from { opacity: 0; translate: 0 18px; } }
.no-st :is(.pln-sitecard, .pln-postcard, .pln-cert, .pln-figure, .pln-comp) { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.no-st .is-in { opacity: 1 !important; translate: 0 0 !important; }

::view-transition-group(header) { animation: none; }

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

@media (max-width: 1180px) {
	.pln-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); & .pln-kpi:nth-child(3) { border-right: 0; } & .pln-kpi:nth-child(n + 4) { border-top: 1px solid var(--ink-line); } }
	.pln-options--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pln-search-btn__t { display: none; }
}
@media (max-width: 1080px) {
	.pln-status__grid, .pln-quote__grid, .pln-network__grid, .pln-request__grid, .pln-sitepage__grid { grid-template-columns: minmax(0, 1fr); }
	.pln-summary, .pln-request__aside { position: static; }
	.pln-specs__body { grid-template-columns: minmax(0, 1fr); }
	.pln-vtabs { position: static; display: flex; overflow-x: auto; & button { flex: none; } }
	.pln-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; & .pln-head { position: static; } }
	.pln-head--split { grid-template-columns: minmax(0, 1fr); & .pln-head__intro, & .pln-specs__summary { justify-self: start; } }
	.pln-sitegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pln-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pln-footer__grid { grid-template-columns: 1fr 1fr; }
	.pln-article__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; & .pln-toc { position: static; } }
	.pln-cta__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
	.pln-header__menu { display: flex; }
	.pln-header__cta, .pln-statuspill__t { display: none; }
	.pln-statuspill { width: 30px; padding: 0; justify-content: center; }
	.pln-nav[popover] {
		position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 2rem;
		background: var(--white); color: var(--text); overflow-y: auto;
		&:popover-open { display: flex; animation: pln-fade .2s ease; }
		& .pln-nav__top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 1.5rem; }
		& .pln-nav__close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: none; cursor: pointer; display: grid; place-items: center; }
		& .pln-nav__list { flex-direction: column; gap: 0; & a { height: 56px; font-size: 1.375rem; letter-spacing: -0.02em; opacity: 1; border-radius: 0; border-bottom: 1px solid var(--line); padding: 0; } }
		& .pln-nav__cta { display: inline-flex; margin-top: 2rem; height: 52px; }
	}
}
@media (max-width: 760px) {
	:root { --header: 58px; }
	.pln-twin__bar { flex-wrap: wrap; gap: .6rem; padding: .6rem; & .pln-seg { margin: 0; order: 3; width: 100%; & button { flex: 1; justify-content: center; } } }
	.pln-twin__sub, .pln-twin__lights, .pln-twin__hint { display: none; }
	.pln-twin__stage { aspect-ratio: 4 / 3.4; min-height: 0; }
	.pln-twin { animation: none; }
	.pln-twin__legend { left: .6rem; bottom: .6rem; & .pln-legend { grid-template-columns: auto 90px auto; } & small { display: none; } }
	.pln-twin__renderer { right: .6rem; bottom: auto; top: .6rem; }
	.pln-kpis { grid-template-columns: 1fr 1fr; & .pln-kpi { border-top: 1px solid var(--ink-line); } & .pln-kpi:nth-child(-n + 2) { border-top: 0; } & .pln-kpi:nth-child(2n) { border-right: 0; } & .pln-kpi:nth-child(3) { border-right: 1px solid var(--ink-line); } & .pln-kpi:last-child { grid-column: 1 / -1; } }
	.pln-spark { width: 44px; height: 22px; }
	.pln-kpi__v { font-size: 1.3rem; }
	.pln-kpi { padding: .85rem .9rem; }
	.pln-search-btn { padding: 0; width: 34px; justify-content: center; & .pln-kbd { display: none; } }
	.pln-hero__proof li + li::before { display: none; }
	.pln-sitegrid, .pln-sitegrid--2, .pln-postgrid, .pln-certs, .pln-notices { grid-template-columns: minmax(0, 1fr); }
	.pln-metrics, .pln-tiles { grid-template-columns: 1fr 1fr; }
	.pln-figures { grid-template-columns: 1fr 1fr; & .pln-figure:nth-child(3) { padding-left: 0; border-left: 0; } & .pln-figure:nth-child(n + 3) { border-top: 1px solid var(--line); } }
	.pln-row2, .pln-form__grid, .pln-kind { grid-template-columns: minmax(0, 1fr); }
	.pln-specs__summary { grid-template-columns: 1fr 1fr; width: 100%; & div:nth-child(2) { border-right: 0; } & div:nth-child(n + 3) { border-top: 1px solid var(--line); } }
	.pln-spec div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
	.pln-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.pln-qa__a { padding-right: 0; }
	.pln-bars { gap: 1px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	@view-transition { navigation: none; }
}
