/*
 * StaticScope — the talk, as a page.
 *
 * The visual system comes from the marketing theme: Inter, 2px radii,
 * WordPress blues and a light/dark pair of token sets. The diagrams are the
 * deck graphics, rebuilt as fluid HTML so they keep their shape at any width.
 */

@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	color-scheme: light;

	--bg: #fcfcfc;
	--surface: #ffffff;
	--surface-2: #f4f4f5;
	--surface-3: #ececee;
	--ink: #1e1e1e;
	--ink-soft: #3c434a;
	--muted: #5f6368;
	--line: #e2e2e5;
	--line-strong: #cfcfd4;
	--blue: #3858e9;
	--blue-hover: #2a45c9;
	--accent: #3858e9;
	--accent-soft: #eef1fe;
	--cyan: #00a8d6;
	--green: #007a1b;
	--green-soft: #eef9f0;
	--green-line: rgba(0, 122, 27, 0.35);
	--yellow: #8a6100;
	--yellow-soft: #fff4d6;
	--red: #c01717;
	--on-accent: #ffffff;
	--glow: rgba(56, 88, 233, 0.16);
	--glow-soft: rgba(0, 168, 214, 0.08);
	--grid-dot: rgba(30, 30, 30, 0.1);
	--texture-opacity: 0.12;
	--closing-bg: #fcfcfc;
	--closing-ink: #1e1e1e;
	--closing-muted: #5f6368;
	--closing-link: #3858e9;
	--closing-glow: rgba(56, 88, 233, 0.1);
	--closing-glow-soft: rgba(0, 185, 235, 0.06);
	--panel-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 50px rgba(0, 0, 0, 0.06);
	--window-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 16px 44px rgba(0, 0, 0, 0.08);
	--topbar-h: 64px;
	--container: 1200px;
	--edge: clamp(20px, 4vw, 48px);
	--gutter: clamp(16px, 2.2vw, 28px);
	--section-space: clamp(76px, 9.5vw, 132px);
	--radius: 2px;
	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

html[data-theme="dark"] {
	color-scheme: dark;

	--bg: #0e1318;
	--surface: #1d2327;
	--surface-2: #151b20;
	--surface-3: #232a30;
	--ink: #f0f0f1;
	--ink-soft: #c3c4c7;
	--muted: #a7aaad;
	--line: #2c3338;
	--line-strong: #3c434a;
	--blue: #3858e9;
	--blue-hover: #4d6bff;
	--accent: #6d8bff;
	--accent-soft: #1c2f3d;
	--cyan: #00b9eb;
	--green: #68de7c;
	--green-soft: rgba(18, 51, 27, 0.62);
	--green-line: rgba(104, 222, 124, 0.5);
	--yellow: #f0c33c;
	--yellow-soft: #3a2c00;
	--red: #ff8085;
	--on-accent: #0e1318;
	--glow: rgba(56, 88, 233, 0.28);
	--glow-soft: rgba(0, 185, 235, 0.1);
	--grid-dot: rgba(255, 255, 255, 0.11);
	--texture-opacity: 0.18;
	--closing-bg: #090d11;
	--closing-ink: #f0f0f1;
	--closing-muted: #a7aaad;
	--closing-link: #8aa4ff;
	--closing-glow: rgba(56, 88, 233, 0.28);
	--closing-glow-soft: rgba(0, 185, 235, 0.1);
	--panel-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 22px 60px rgba(0, 0, 0, 0.34);
	--window-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--bg);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color 300ms ease, color 300ms ease;
}

body.menu-open {
	overflow: hidden;
}

::selection {
	color: var(--ink);
	background: var(--accent-soft);
}

a {
	color: var(--accent);
	text-decoration: none;
	text-underline-offset: 0.16em;
}

a:hover {
	text-decoration: underline;
}

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

.icon-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

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

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

[id] {
	scroll-margin-top: calc(var(--topbar-h) + 68px);
}

main:focus {
	outline: none;
}

.container {
	width: min(calc(100% - (var(--edge) * 2)), var(--container));
	margin-inline: auto;
}

.grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--gutter);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }

/* The shorthand above leaves the end line implicit, so an offset has to
   restate both the start and the span. */
.col-5.offset-1 { grid-column: 8 / span 5; }
.col-6.offset-1 { grid-column: 7 / span 6; }

/* Shared type */

.display,
.heading {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.display {
	font-size: clamp(3.25rem, 8.2vw, 7.25rem);
	line-height: 0.94;
}

.heading {
	font-size: clamp(2.25rem, 4.6vw, 4.25rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

/* A slanted accent word and a dotted fill give the two display headlines
   a little texture without touching the rest of the type. */
.display .slant {
	display: inline-block;
	font-style: normal;
	transform: skewX(-7deg);
	transform-origin: 50% 100%;
}

.closing-line {
	white-space: nowrap;
}

/* The clipped fill needs a little padding under the line box so descenders
   like the g in publishing are not cut off. */
.grain {
	padding-bottom: 0.18em;
	background-image:
		radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45) 18%, transparent 42%),
		linear-gradient(100deg, var(--accent), var(--cyan));
	background-size: 0.06em 0.06em, 100% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {
	.grain {
		color: CanvasText;
		-webkit-text-fill-color: CanvasText;
		background: none;
	}
}

.lede {
	max-width: 58ch;
	margin: 20px 0 0;
	color: var(--muted);
	font-size: clamp(1.0625rem, 1.15vw, 1.25rem);
	line-height: 1.6;
}

.eyebrow {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 18px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 26px;
	height: 1px;
	flex: none;
	content: '';
	background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.eyebrow--center {
	justify-content: center;
}

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

.rule {
	display: block;
	width: 48px;
	height: 2px;
	background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.rule--center {
	margin-inline: auto;
}

/* Buttons */

.button {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 19px;
	color: var(--ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
	text-decoration: none;
}

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

.button--primary {
	color: #fff;
	background: var(--blue);
}

.button--primary:hover {
	color: #fff;
	background: var(--blue-hover);
}

html[data-theme="dark"] .button--primary {
	color: #fff;
}

.button--ghost {
	color: var(--ink);
	border-color: var(--line-strong);
}

.button--ghost:hover {
	color: var(--ink);
	background: var(--surface);
	border-color: var(--ink);
}

.button--small {
	height: 36px;
	padding: 0 14px;
	font-size: 13px;
}

.button--large {
	height: 52px;
	padding: 0 24px;
	font-size: 15px;
}

.button-arrow {
	font-size: 16px;
	line-height: 1;
	transition: transform 180ms ease;
}

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

/* Header */

.skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 300;
	padding: 10px 14px;
	color: #fff;
	background: var(--blue);
	border-radius: var(--radius);
	transform: translateY(-160%);
	transition: transform 160ms ease;
}

.skip-link:focus {
	color: #fff;
	transform: none;
}

.scroll-progress {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 210;
	height: 2px;
	pointer-events: none;
}

.scroll-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.topbar {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 200;
	height: var(--topbar-h);
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.topbar.is-scrolled,
.topbar.is-open {
	background: var(--bg);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	border-bottom-color: var(--line);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.topbar-inner {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	width: min(calc(100% - (var(--edge) * 2)), var(--container));
	height: 100%;
	margin-inline: auto;
}

.brand {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.015em;
	text-decoration: none;
}

.brand:hover {
	color: var(--ink);
	text-decoration: none;
}

.brand-mark {
	width: 24px;
	height: 24px;
	flex: none;
}

.brand-mark .symbol-s,
.hero-symbol .symbol-s,
.closing-symbol .symbol-s {
	stroke: var(--accent);
}

html[data-theme="dark"] .hero-symbol .symbol-s {
	stroke: var(--ink);
}

.brand-mark .symbol-line,
.hero-symbol .symbol-line,
.closing-symbol .symbol-line {
	stroke: var(--accent);
	opacity: 0.65;
}

html[data-theme="dark"] .brand-mark .symbol-s {
	stroke: var(--ink);
}

html[data-theme="dark"] .brand-mark .symbol-line {
	stroke: var(--accent);
}

.nav {
	display: flex;
	gap: clamp(16px, 2.2vw, 30px);
	align-items: center;
	margin-left: auto;
}

.nav a {
	position: relative;
	padding: 6px 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: color 160ms ease;
}

.nav a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	content: '';
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 200ms ease;
}

.nav a:hover,
.nav a.is-active {
	color: var(--ink);
	text-decoration: none;
}

.nav a.is-active::after {
	transform: scaleX(1);
}

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

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--muted);
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.icon-button:hover {
	color: var(--ink);
	background: var(--surface-2);
	border-color: var(--line);
}

.icon {
	width: 18px;
	height: 18px;
}

.theme-toggle .icon-sun {
	display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
	display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
	display: none;
}

.menu-button {
	display: none;
}

.menu-lines {
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	width: 18px;
	height: 18px;
}

.menu-lines span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] .menu-lines span:first-child {
	transform: translateY(3.25px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines span:last-child {
	transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
	display: none;
}

/* Hero */

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100svh;
	padding: calc(var(--topbar-h) + clamp(58px, 8vw, 106px)) 0 clamp(28px, 4vw, 42px);
	overflow: hidden;
}

.hero::before,
.hero::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: '';
	pointer-events: none;
}

.hero::before {
	background:
		radial-gradient(ellipse 62% 54% at 78% 28%, var(--glow), transparent 68%),
		radial-gradient(ellipse 46% 40% at 8% 90%, var(--glow-soft), transparent 70%);
}

.hero::after {
	background: linear-gradient(135deg, rgba(56, 88, 233, 0.85), rgba(0, 185, 235, 0.32));
	opacity: var(--texture-opacity);
	-webkit-mask-image: url('assets/img/texture-connect-grid.svg'), linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
	mask-image: url('assets/img/texture-connect-grid.svg'), linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
	-webkit-mask-size: 150px 150px, 100% 100%;
	mask-size: 150px 150px, 100% 100%;
	-webkit-mask-repeat: repeat, no-repeat;
	mask-repeat: repeat, no-repeat;
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

.hero > .container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hero-grid {
	align-items: center;
	flex: 1;
}

.hero-copy {
	min-width: 0;
}

.hero-title {
	margin-top: 2px;
}

.hero-title .line {
	display: block;
}

.hero-title .line > span {
	display: block;
	white-space: nowrap;
}

.hero-lede {
	max-width: 36ch;
	margin-top: 26px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.hero-art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.hero-glow {
	position: absolute;
	inset: 6% 0;
	background: radial-gradient(circle at 52% 48%, var(--glow), transparent 64%);
	filter: blur(10px);
	animation: breathes 9s ease-in-out infinite;
}

.hero-symbol {
	position: relative;
	z-index: 1;
	width: min(100%, 430px);
	height: auto;
	filter: drop-shadow(0 24px 50px rgba(56, 88, 233, 0.18));
}

@keyframes breathes {
	0%,
	100% { opacity: 0.72; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.04); }
}

/* Sections */

.section {
	padding: var(--section-space) 0;
}

.section--tint {
	background: var(--surface-2);
	border-block: 1px solid var(--line);
}

/* Every section gets the opening treatment: a colour radial, a short
   heading, a fading paragraph, then its visual, all left aligned. */

.section:not(.opening),
.band {
	position: relative;
	isolation: isolate;
}

.section:not(.opening)::before,
.band::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: '';
	background: radial-gradient(ellipse 55% 65% at 18% 14%, var(--section-glow, var(--accent-soft)), transparent 68%);
	pointer-events: none;
}

.section:not(.opening) > .container,
.band > .container {
	position: relative;
	z-index: 1;
}

#problem { --section-glow: rgba(192, 23, 23, 0.07); }
#how { --section-glow: rgba(0, 168, 214, 0.08); }
#split { --section-glow: var(--accent-soft); }
#plugin { --section-glow: var(--green-soft); }
#static { --section-glow: rgba(0, 168, 214, 0.08); }
#result { --section-glow: var(--green-soft); }
#publishing { --section-glow: var(--accent-soft); }
#report { --section-glow: rgba(0, 168, 214, 0.08); }
#sync { --section-glow: var(--green-soft); }
#review { --section-glow: rgba(240, 195, 60, 0.1); }
#setup { --section-glow: var(--accent-soft); }
.band--change { --section-glow: rgba(0, 122, 27, 0.06); }

html[data-theme="dark"] #problem { --section-glow: rgba(255, 128, 133, 0.12); }
html[data-theme="dark"] #how,
html[data-theme="dark"] #static,
html[data-theme="dark"] #report { --section-glow: rgba(0, 185, 235, 0.14); }
html[data-theme="dark"] #review { --section-glow: rgba(240, 195, 60, 0.14); }
html[data-theme="dark"] .band--change { --section-glow: rgba(104, 222, 124, 0.12); }

.section-head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--gutter);
	align-items: end;
	margin-bottom: clamp(34px, 4.5vw, 58px);
}

.section-head-copy {
	align-self: end;
}

.section-head--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 780px;
	margin-inline: auto;
	text-align: center;
}

.section-head--center .eyebrow {
	justify-content: center;
}

.section-head--center .lede {
	margin-inline: auto;
}

/* Opening sequence */

.opening {
	position: relative;
	isolation: isolate;
	padding: clamp(72px, 8vw, 104px) 0;
	overflow: hidden;
}

.opening::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: '';
	background: radial-gradient(ellipse 55% 65% at 22% 18%, var(--opening-glow), transparent 68%);
	pointer-events: none;
}

.opening > .container {
	position: relative;
	z-index: 1;
}

.opening--know,
.opening--imagine {
	--opening-glow: var(--accent-soft);
}

.opening--yes {
	--opening-glow: var(--green-soft);
}

.opening-title {
	margin: 0 0 clamp(28px, 4vw, 44px);
	color: var(--ink);
	font-size: clamp(2.6rem, 7vw, 6.5rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.9;
	text-wrap: balance;
}

.opening-title-line {
	display: block;
}

.opening-title--yes {
	color: var(--green);
}

.opening-title .accent {
	color: var(--accent);
}

.opening-copy {
	max-width: 58ch;
}

.opening-copy p {
	margin: 0;
	color: var(--ink);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.5;
	letter-spacing: -0.015em;
}

.opening-copy .accent {
	color: var(--accent);
}

.opening-copy .accent-green {
	color: var(--green);
}

.opening-copy strong {
	color: var(--ink);
	font-weight: 700;
}

/* Two sticky chapter headers, one per part, pinned under the fixed nav. */
.chapter {
	position: relative;
}

.chapter-bar {
	position: sticky;
	top: var(--topbar-h);
	z-index: 90;
	display: flex;
	align-items: center;
	min-height: 50px;
	background: var(--bg);
}

.chapter-bar::before {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 1px;
	content: '';
	background: linear-gradient(90deg, var(--line-strong), var(--line-strong) 48%, var(--blue) 82%, var(--cyan));
	pointer-events: none;
}

.chapter-bar .container {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 50px;
}

.chapter-bar-label {
	position: relative;
	z-index: 1;
	margin-left: -18px;
	padding: 0 18px;
	color: var(--ink);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
	background: var(--bg);
}

.statement-grid {
	align-items: start;
}

/* The change section still uses the original two-column statement. */
.statement-copy {
	padding-top: 6px;
}

.statement-body {
	max-width: 38.5rem;
	margin: clamp(28px, 4vw, 44px) 0 0;
	color: var(--ink);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.5;
	letter-spacing: -0.015em;
}

.band {
	padding: clamp(58px, 7vw, 96px) 0;
	background: var(--surface-2);
	border-block: 1px solid var(--line);
}

.band--change {
	background: var(--bg);
}

.section-grid {
	align-items: start;
}

.sticky-copy {
	position: sticky;
	top: calc(var(--topbar-h) + 42px);
	max-width: 520px;
}

.section-grid .heading {
	max-width: 22ch;
}

.section-grid .lede {
	max-width: 42ch;
}

/* Panels */

.panel {
	padding: clamp(20px, 2.4vw, 28px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--panel-shadow);
}

.panel-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.panel-head span:last-child {
	color: var(--accent);
}

.stack {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stack-row {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding: 13px 15px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.2;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 160ms ease, background-color 160ms ease;
}

.stack-row:hover {
	background: var(--surface-2);
	border-color: var(--line-strong);
}

.stack-row strong {
	color: var(--ink);
	font-weight: 500;
}

.hazard {
	flex: none;
	color: var(--red);
	font-size: 12px;
}

.panel-foot {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

/* Files */

.files-panel {
	padding: clamp(20px, 2.4vw, 28px);
}

.file-flow {
	display: flex;
	gap: 18px;
	align-items: center;
}

.folder {
	position: relative;
	flex: 1;
	min-width: 0;
	padding: 22px 20px 20px;
	background: var(--accent-soft);
	border: 1px solid var(--blue);
	border-radius: var(--radius);
}

.folder::before {
	position: absolute;
	top: -1px;
	left: 18px;
	width: 86px;
	height: 13px;
	content: '';
	background: var(--blue);
	border-radius: 0 0 2px 2px;
	opacity: 0.62;
}

.folder-label,
.cdn-label {
	display: block;
	margin-bottom: 10px;
	color: var(--accent);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.file-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.file-chip {
	padding: 5px 8px;
	color: var(--muted);
	font-size: 11px;
	line-height: 1;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.flow-arrow {
	flex: none;
	color: var(--accent);
	font-size: 22px;
}

.cdn {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	text-align: center;
	background: var(--green-soft);
	border: 1px solid var(--green-line);
	border-radius: 50%;
}

.cdn-label {
	margin: 0;
	color: var(--green);
}

.cdn strong {
	display: block;
	color: var(--green);
	font-size: 13px;
	font-weight: 600;
}

.zero-block {
	display: flex;
	gap: 18px;
	align-items: flex-end;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.zero {
	color: var(--accent);
	font-size: clamp(74px, 10vw, 112px);
	font-weight: 600;
	letter-spacing: -0.06em;
	line-height: 0.72;
}

.zero-label {
	max-width: 160px;
	padding-bottom: 3px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.45;
}

/* Diagrams */

.diagram {
	position: relative;
	padding: clamp(20px, 3vw, 36px);
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--panel-shadow);
}

.diagram::before {
	position: absolute;
	inset: 0;
	content: '';
	background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
	background-size: 18px 18px;
	opacity: 0.55;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
	pointer-events: none;
}

.diagram > * {
	position: relative;
	z-index: 1;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
	gap: 6px;
	align-items: stretch;
}

.edit-side,
.plugin-side {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.panel-label {
	margin-bottom: 12px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.edit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.edit-site {
	display: flex;
	flex-direction: column;
	padding: 15px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
}

.edit-site-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	margin-bottom: 9px;
	color: var(--on-accent);
	background: var(--accent);
	border-radius: 3px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.edit-site strong {
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.edit-site span:last-child {
	margin-top: 3px;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.4;
}

.edit-site--more {
	background: transparent;
	border-style: dashed;
}

.edit-site-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	margin-bottom: 9px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1;
	border: 1px dashed var(--line-strong);
	border-radius: 3px;
}

.edit-caption {
	margin: 13px 0 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.4;
}

.split-arrow {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-size: 26px;
}

.split-arrow span {
	color: var(--muted);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.split .panel {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

.panel--live {
	background: var(--green-soft);
	border-color: var(--green-line);
}

.panel--live .panel-label {
	color: var(--green);
}

.split .panel h3 {
	margin: 0;
	color: var(--ink);
	font-size: clamp(22px, 2.2vw, 27px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.split .panel p {
	max-width: 34ch;
	margin: 9px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.panel-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 22px;
}

.panel-chip {
	padding: 5px 8px;
	color: var(--muted);
	font-size: 11px;
	line-height: 1;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.panel--live .panel-chip {
	color: var(--green);
	background: transparent;
	border-color: var(--green-line);
}

.split-meta {
	margin: 24px 0 0;
}

.split-note,
.split-slogan {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.5;
}

.split-slogan {
	margin-top: 4px;
}

/* Plugins */

.split--plugins {
	min-height: 300px;
}

.plugin-stack {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.plugin-card {
	display: flex;
	gap: 11px;
	align-items: center;
	padding: 11px 13px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
}

.plugin-card--core {
	background: var(--accent-soft);
	border-color: var(--blue);
}

.plugin-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	flex: none;
	color: var(--on-accent);
	background: var(--accent);
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.plugin-card:not(.plugin-card--core) .plugin-mark {
	color: var(--muted);
	background: var(--bg);
	border: 1px solid var(--line);
}

.plugin-card strong {
	display: block;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.plugin-card div span {
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.3;
}

.panel--wordpress {
	background: var(--accent-soft);
	border-color: rgba(56, 88, 233, 0.38);
}

html[data-theme="dark"] .panel--wordpress {
	border-color: rgba(109, 139, 255, 0.45);
}

.panel--wordpress .panel-label {
	color: var(--accent);
}

.wp-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: auto;
	padding-top: 22px;
}

.wp-square {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	background: var(--bg);
	border: 1px solid rgba(56, 88, 233, 0.26);
	border-radius: var(--radius);
}

html[data-theme="dark"] .wp-square {
	border-color: rgba(109, 139, 255, 0.32);
}

/* Static capabilities */

.static-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.static-item {
	padding: 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.static-item:hover {
	border-color: var(--line-strong);
	box-shadow: var(--panel-shadow);
	transform: translateY(-2px);
}

.static-item strong {
	display: block;
	color: var(--ink);
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.static-item span {
	display: block;
	margin-top: 5px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}

.caveat {
	max-width: 76ch;
	margin: 24px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}

/* Result */

.result-grid {
	align-items: center;
}

.result-copy {
	min-width: 0;
}

.result-words {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 900px;
	margin-top: 40px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.result-word {
	padding: 24px;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.result-word:nth-child(1),
.result-word:nth-child(2) {
	border-top: 0;
}

.result-word:nth-child(odd) {
	border-left: 0;
}

.result-index {
	display: block;
	margin-bottom: 18px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.result-word h3 {
	margin: 0;
	color: var(--ink);
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
}

.result-word p {
	max-width: none;
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

.result-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 330px;
	padding: clamp(20px, 3vw, 38px);
}

.result-stage::before {
	position: absolute;
	inset: 0;
	content: '';
	background:
		radial-gradient(ellipse at 30% 38%, var(--glow), transparent 62%),
		radial-gradient(ellipse at 72% 64%, var(--glow-soft), transparent 60%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 22%, transparent 76%);
	mask-image: radial-gradient(ellipse at center, #000 22%, transparent 76%);
	pointer-events: none;
}

.result-folder {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(100%, 900px);
	min-height: 220px;
	padding: 46px 40px 40px;
	background: var(--accent-soft);
	border: 1px solid var(--blue);
	border-radius: var(--radius);
	box-shadow: var(--panel-shadow);
}

.result-folder::before {
	position: absolute;
	top: -1px;
	left: 40px;
	width: 220px;
	height: 24px;
	content: '';
	background: var(--blue);
	border-radius: 0 0 3px 3px;
	opacity: 0.62;
}

.result-folder .folder-label {
	margin-bottom: 20px;
	font-size: 12px;
}

.result-folder .file-chip {
	padding: 11px 15px;
	font-size: 14px;
}

/* Product features */

.feature {
	border-top: 1px solid var(--line);
}

.feature-grid {
	align-items: center;
}

.feature-copy {
	min-width: 0;
}

.feature-copy .heading {
	max-width: 12ch;
}

/* Product windows
   These are the marketing site's real UI components, not captures. The
   token aliases let the same markup work on this page's light/dark pair. */

.ssc-window,
.ssc-admin-panel {
	--ssc-ink: var(--ink);
	--ssc-muted: var(--muted);
	--ssc-paper: var(--surface);
	--ssc-soft: var(--surface-2);
	--ssc-surface-soft: var(--surface-2);
	--ssc-line: var(--line);
	--ssc-line-soft: var(--line);
	--ssc-line-strong: var(--line-strong);
	--ssc-admin-line: var(--line-strong);
	--ssc-admin-soft: var(--line-strong);
	--ssc-blue: var(--blue);
	--ssc-blue-dark: var(--accent);
	--ssc-blue-soft: var(--accent-soft);
	--ssc-green: var(--green);
	--ssc-green-soft: var(--green-soft);
	--ssc-success-line: var(--green-line);
	--ssc-yellow: var(--yellow);
	--ssc-yellow-soft: var(--yellow-soft);
	--ssc-red: var(--red);
	--ssc-avatar-bg: var(--surface-3);
	--ssc-avatar-green-ink: var(--green);
	--ssc-radius: 2px;
	--ssc-radius-large: 4px;
	--ssc-card-radius: 2px;
	--ssc-shadow: none;
	--ssc-shadow-lift: var(--window-shadow);
}

.ui-stage {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	width: 100%;
	padding: clamp(6px, 1.8vw, 22px);
}

.ui-stage::before {
	position: absolute;
	inset: -6% -4%;
	z-index: -1;
	content: '';
	background:
		radial-gradient(ellipse at 28% 34%, var(--glow), transparent 64%),
		radial-gradient(ellipse at 74% 68%, var(--glow-soft), transparent 62%);
	-webkit-mask-image: radial-gradient(ellipse 70.71% 70.71% at center, #000 30%, transparent 82%);
	mask-image: radial-gradient(ellipse 70.71% 70.71% at center, #000 30%, transparent 82%);
	pointer-events: none;
}

.ui-stage > * {
	position: relative;
	z-index: 1;
	width: 100%;
}

.ui-stage--wide {
	max-width: 1040px;
	margin-inline: auto;
}

/* The paper theme keeps a clean edge. The glow belongs to the dark stage. */
html[data-theme="light"] .ui-stage::before {
	display: none;
}

.ssc-window {
	min-width: 0;
	overflow: hidden;
	color: var(--ssc-ink);
	background: var(--ssc-paper);
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius-large);
	box-shadow: var(--window-shadow);
}

.ssc-window-bar {
	position: relative;
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	padding: 11px 16px;
	background: var(--ssc-soft);
	border-bottom: 1px solid var(--ssc-line-soft);
}

.ssc-window-mark {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 16px;
	height: 16px;
	color: var(--ssc-muted);
	transform: translateY(-50%);
}

.ssc-window-mark .symbol-s {
	stroke: currentColor;
}

.ssc-window-mark .symbol-line {
	stroke: var(--accent);
}

.ssc-window-title {
	margin: 0;
	color: var(--ssc-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.ssc-window-body {
	display: grid;
	gap: 16px;
	min-width: 0;
	padding: 20px 22px 22px;
}

.ssc-window p,
.ssc-admin-panel p {
	margin: 0;
}

.ssc-mock-header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	min-width: 0;
}

.ssc-mock-header > div {
	min-width: 0;
}

.ssc-mock-eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--ssc-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ssc-mock-title {
	margin: 0;
	color: var(--ssc-ink);
	font-size: clamp(17px, 1.6vw, 19px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.ssc-mock-pill {
	display: inline-flex;
	flex: none;
	gap: 4px;
	align-items: center;
	padding: 3px 9px;
	color: var(--ssc-green);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	background: var(--ssc-green-soft);
	border-radius: 2px;
}

.ssc-mock-pill--warn {
	color: var(--ssc-yellow);
	background: var(--ssc-yellow-soft);
}

.ssc-mock-progress {
	height: 8px;
	overflow: hidden;
	background: var(--ssc-soft);
	border-radius: 2px;
}

.ssc-mock-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--ssc-blue), var(--cyan));
}

.ssc-mock-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	align-items: center;
	justify-content: space-between;
	color: var(--ssc-muted);
	font-size: 11px;
	line-height: 1.4;
}

.ssc-mock-list {
	display: grid;
	min-width: 0;
}

.ssc-mock-row {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	gap: 9px;
	align-items: center;
	padding: 9px 0;
	border-top: 1px solid var(--ssc-line-soft);
	font-size: 12px;
	line-height: 1.4;
}

.ssc-mock-row p {
	color: var(--ssc-ink);
}

.ssc-mock-row p:last-child {
	color: var(--ssc-muted);
	font-size: 10px;
	font-weight: 600;
	white-space: nowrap;
}

.ssc-mock-row--muted p {
	color: var(--ssc-muted);
}

.ui-icon {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--ssc-green);
}

.ssc-mock-row--warn .ui-icon {
	color: var(--ssc-yellow);
}

.ssc-mock-row--muted .ui-icon {
	color: var(--ssc-muted);
}

.ssc-mock-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
	padding-top: 14px;
	border-top: 1px solid var(--ssc-line-soft);
}

.button--window {
	height: 30px;
	padding: 0 12px;
	font-size: 11px;
}

.ssc-team {
	display: flex;
	align-items: center;
}

.ssc-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: -7px;
	color: var(--ssc-ink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: var(--ssc-avatar-bg);
	border: 2px solid var(--ssc-paper);
	border-radius: 50%;
}

.ssc-avatar--blue {
	color: var(--ssc-blue-dark);
	background: var(--ssc-blue-soft);
}

.ssc-avatar--green {
	color: var(--ssc-avatar-green-ink);
	background: var(--ssc-green-soft);
}

.ssc-team-label {
	margin-left: 16px;
	color: var(--ssc-muted);
	font-size: 11px;
	line-height: 1.3;
}

.ssc-merge {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.ssc-merge-col {
	padding: 10px;
	background: var(--ssc-soft);
	border: 1px solid var(--ssc-admin-soft);
	border-radius: 2px;
}

.ssc-merge-col--result {
	background: var(--ssc-green-soft);
	border-color: var(--ssc-success-line);
}

.ssc-merge-label {
	display: block;
	margin-bottom: 6px;
	color: var(--ssc-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ssc-merge-col--result .ssc-merge-label {
	color: var(--ssc-avatar-green-ink);
}

.ssc-merge-col p {
	color: var(--ssc-ink);
	font-size: 11px;
	line-height: 1.45;
}

/* Build report */

.ssc-admin-panel {
	min-width: 0;
	overflow: hidden;
	color: var(--ssc-ink);
	background: var(--ssc-paper);
	border: 1px solid var(--ssc-admin-line);
	border-radius: var(--ssc-card-radius);
	box-shadow: var(--window-shadow);
}

.ssc-admin-panel-head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--ssc-line-soft);
}

.ssc-panel-title {
	margin: 0;
	color: var(--ssc-ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.ssc-panel-action {
	font-size: 12px;
	white-space: nowrap;
}

.ssc-panel-action a {
	color: var(--ssc-blue-dark);
	font-weight: 500;
}

.ssc-report {
	padding: 16px 18px;
}

.ssc-report-bar {
	display: flex;
	gap: 2px;
	height: 10px;
	overflow: hidden;
	background: var(--ssc-line-soft);
	border-radius: 2px;
}

.ssc-report-bar span {
	display: block;
	height: 100%;
	background: var(--ssc-blue);
	transform-origin: left;
}

.ssc-report-bar .ssc-seg-1,
.ssc-report-legend .ssc-seg-1 {
	background: var(--ssc-blue);
}

.ssc-report-bar .ssc-seg-2,
.ssc-report-legend .ssc-seg-2 {
	opacity: 0.7;
}

.ssc-report-bar .ssc-seg-3,
.ssc-report-legend .ssc-seg-3 {
	opacity: 0.45;
}

.ssc-report-bar .ssc-seg-4,
.ssc-report-legend .ssc-seg-4 {
	opacity: 0.28;
}

.ssc-report-bar .ssc-seg-5 {
	background: var(--ssc-line-strong);
}

.ssc-report-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 12px;
	color: var(--ssc-muted);
	font-size: 11px;
}

.ssc-report-legend span {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

.ssc-report-legend i {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: var(--ssc-blue);
	border-radius: 2px;
}

.ssc-report-legend .ssc-seg-5 {
	background: var(--ssc-line-strong);
}

.ssc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.ssc-table thead {
	border-bottom: 1px solid var(--ssc-line);
}

.ssc-table tfoot {
	border-top: 1px solid var(--ssc-line);
}

.ssc-table th,
.ssc-table td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--ssc-line-soft);
}

.ssc-table thead th {
	color: var(--ssc-muted);
	font-size: 12px;
	font-weight: 600;
	background: var(--ssc-soft);
	border-bottom: 1px solid var(--ssc-line);
}

.ssc-table td {
	color: var(--ssc-muted);
}

.ssc-table tbody tr:nth-child(odd) {
	background: var(--ssc-surface-soft);
}

.ssc-table tbody tr:hover {
	background: var(--ssc-line-soft);
}

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

.ssc-table--report th:nth-child(2),
.ssc-table--report td:nth-child(2) {
	width: 70px;
	text-align: right;
	white-space: nowrap;
}

.ssc-table--report th:nth-child(3),
.ssc-table--report td:nth-child(3) {
	width: 80px;
	text-align: right;
	white-space: nowrap;
}

.ssc-table--report tfoot td {
	color: var(--ssc-ink);
	font-weight: 600;
	background: var(--ssc-soft);
}

.ssc-checks {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.ssc-check {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	font-size: 13px;
	line-height: 1.5;
}

.ssc-check .ui-icon {
	margin-top: 2px;
	color: var(--ssc-green);
}

.ssc-checks--report {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 20px;
	padding: 14px 18px 16px;
	background: var(--ssc-surface-soft);
	border-top: 1px solid var(--ssc-line-soft);
}

.feature--reverse .feature-visual {
	min-width: 0;
}

.feature-head {
	max-width: 760px;
	margin-bottom: clamp(32px, 4vw, 52px);
}

.feature-full {
	width: 100%;
}

.feature-full .ssc-window--diff {
	max-width: 1000px;
	margin-inline: auto;
}

/* The two status bars fill when the window scrolls into view. Without JS
   they are already complete, so the static page loses nothing. */
.js [data-reveal] .ssc-window--publish .ssc-mock-progress span {
	width: 0;
	transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 220ms;
}

.js [data-reveal].is-visible .ssc-window--publish .ssc-mock-progress span {
	width: 100%;
}

.js [data-reveal] .ssc-report-bar span {
	transform: scaleX(0);
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal] .ssc-report-bar span:nth-child(2) { transition-delay: 60ms; }
.js [data-reveal] .ssc-report-bar span:nth-child(3) { transition-delay: 120ms; }
.js [data-reveal] .ssc-report-bar span:nth-child(4) { transition-delay: 180ms; }
.js [data-reveal] .ssc-report-bar span:nth-child(5) { transition-delay: 240ms; }

.js [data-reveal].is-visible .ssc-report-bar span {
	transform: none;
}

/* Timeline */

.timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 64px 0 0;
	padding: 0;
	list-style: none;
}

.timeline::before {
	position: absolute;
	top: 5px;
	right: 0;
	left: 0;
	height: 1px;
	content: '';
	background: linear-gradient(90deg, var(--blue), var(--cyan));
	opacity: 0.55;
	transform-origin: left;
	transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 120ms;
}

.js .timeline:not(.is-visible)::before {
	transform: scaleX(0);
}

.step {
	position: relative;
	padding-top: 30px;
}

.step::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 11px;
	height: 11px;
	content: '';
	background: var(--blue);
	border: 2px solid var(--surface-2);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(56, 88, 233, 0.16);
}

.step-time {
	display: block;
	color: var(--accent);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.step-label {
	display: block;
	max-width: 14ch;
	margin-top: 6px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.timeline-note {
	margin: 24px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}

/* Closing */

.closing {
	position: relative;
	padding: clamp(88px, 12vw, 158px) 0;
	overflow: hidden;
	color: var(--closing-ink);
	text-align: center;
	background: var(--closing-bg);
	border-top: 1px solid var(--line);
}

.closing-glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 54% 62% at 50% 42%, var(--closing-glow), transparent 70%),
		radial-gradient(ellipse 40% 40% at 82% 100%, var(--closing-glow-soft), transparent 70%);
	pointer-events: none;
}

.closing-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.closing-symbol {
	width: 78px;
	height: 78px;
	margin-bottom: 24px;
}

.closing-symbol .symbol-s {
	stroke: var(--closing-ink);
}

html[data-theme="light"] .closing-symbol .symbol-s {
	stroke: var(--accent);
}

.closing .eyebrow {
	color: var(--closing-link);
	margin-bottom: 20px;
}

.closing-title {
	max-width: 1000px;
	color: var(--closing-ink);
}

.closing-slogan {
	margin: 24px 0 0;
	color: var(--closing-muted);
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.closing .rule {
	margin-top: 34px;
	margin-bottom: 34px;
}

.closing-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 24px;
	align-items: center;
	justify-content: center;
}

.closing-link {
	color: var(--closing-muted);
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}

.closing-link:hover {
	color: var(--closing-ink);
}

.closing-next {
	margin: 20px 0 0;
	color: var(--closing-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* Footer */

.footer {
	padding: 58px 0 28px;
	color: var(--muted);
	background: var(--surface-2);
	border-top: 1px solid var(--line);
}

.footer-main {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: clamp(28px, 5vw, 64px);
}

.footer-brand .brand {
	margin-bottom: 12px;
}

.footer-brand p {
	max-width: 26ch;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.footer-column h2 {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.footer-column a {
	display: block;
	padding: 5px 0;
	color: var(--ink-soft);
	font-size: 14px;
}

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

.footer-legal {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 48px;
	padding-top: 20px;
	font-size: 12px;
	border-top: 1px solid var(--line);
}

.footer-legal p {
	margin: 0;
}

/* The shared editorial body */

/* The opening copy measures 58ch at the base size, about 616px. Sections
   use the same column so every blurb wraps at the same width. */
.section .lede {
	max-width: 38.5rem;
	margin-top: clamp(28px, 4vw, 44px);
	color: var(--ink);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.5;
	letter-spacing: -0.015em;
}

.section .lede p {
	margin: 0;
}

.section .lede p + p {
	margin-top: 0.9em;
}

/* Every section: heading, blurb, then the visual. */

.section-head {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.section-head-copy {
	align-self: stretch;
}

.statement-grid {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.statement-copy {
	padding-top: 0;
}

.change-visual {
	max-width: 900px;
	margin-top: clamp(36px, 5vw, 56px);
}

.section-head,
.section-grid,
.result-grid,
.feature-grid,
.statement-grid {
	grid-template-columns: 1fr;
}

.section .section-head,
.section .section-grid,
.section .result-grid,
.section .feature-grid,
.band .statement-grid {
	grid-template-columns: minmax(0, 1fr);
}

.section-head > *,
.section-head > .col-5.offset-1,
.section-grid > *,
.result-grid > *,
.feature-grid > *,
.statement-grid > *,
.statement-grid > .col-6.offset-1 {
	grid-column: 1 / -1;
}

.section-grid,
.result-grid,
.feature-grid,
.statement-grid {
	row-gap: clamp(36px, 5vw, 56px);
}

/* The paragraph's own top margin sets the gap after a heading; a grid gap
   here would add to it and push the statement copy too far down. */
.statement-grid {
	row-gap: 0;
}

.sticky-copy {
	position: static;
	max-width: none;
}

.section-grid > .col-7 {
	max-width: 900px;
	margin-inline: 0;
}

.result-grid .result-stage {
	justify-content: flex-start;
	min-height: 0;
	padding-left: 0;
}

/* The four result words read as one row under the heading; the folder
   follows underneath like every other section visual. */
@media (min-width: 901px) {
	.result-words {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.result-word {
		border-top: 0;
	}

	.result-word:nth-child(odd) {
		border-left: 1px solid var(--line);
	}

	.result-word:first-child {
		border-left: 0;
	}
}

.feature--reverse .feature-copy {
	order: 1;
}

.feature--reverse .feature-visual {
	order: 2;
}

.feature .ui-stage {
	max-width: 900px;
	margin-inline: 0;
	padding: 0;
}

.feature-full .ui-stage {
	max-width: 900px;
	margin-inline: 0;
	padding: 0;
}

.split-meta {
	text-align: left;
}

.timeline-note {
	text-align: left;
}

.section-head--center {
	align-items: stretch;
	max-width: none;
	margin-inline: 0;
	text-align: left;
}

.section-head--center .lede {
	margin-inline: 0;
}

/* Scroll reveals */

.js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition:
		opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--delay, 0ms);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.js [data-reveal-group] > * {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition:
		opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal-group].is-visible > * {
	opacity: 1;
	transform: none;
}

.js [data-reveal-group] > *:nth-child(1) { transition-delay: 40ms; }
.js [data-reveal-group] > *:nth-child(2) { transition-delay: 110ms; }
.js [data-reveal-group] > *:nth-child(3) { transition-delay: 180ms; }
.js [data-reveal-group] > *:nth-child(4) { transition-delay: 250ms; }
.js [data-reveal-group] > *:nth-child(5) { transition-delay: 320ms; }
.js [data-reveal-group] > *:nth-child(6) { transition-delay: 390ms; }
.js [data-reveal-group] > *:nth-child(7) { transition-delay: 460ms; }

/* The blurred rise used by the section headings and the hero. */
.js [data-rise] {
	opacity: 0.01;
	filter: blur(8px);
	transform: translate3d(0, 16px, 0);
	transition:
		opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
		filter 700ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--delay, 0s);
}

.js [data-rise].is-visible {
	opacity: 1;
	filter: blur(0);
	transform: none;
}

.scroll-word {
	opacity: 0.2;
}

/* Hero entrance */

.js .hero-copy .eyebrow,
.js .hero-title,
.js .hero-lede,
.js .hero-actions {
	opacity: 0.01;
	animation: rise-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js .hero-copy .eyebrow { animation-delay: 150ms; }
.js .hero-title { animation-delay: 250ms; }
.js .hero-lede { animation-delay: 350ms; }
.js .hero-actions { animation-delay: 450ms; }

.js .hero-symbol {
	opacity: 0;
	animation: symbol-in 1200ms cubic-bezier(0.16, 1, 0.3, 1) 350ms both;
}

@keyframes rise-in {
	0% {
		opacity: 0.01;
		filter: blur(8px);
		transform: translate3d(0, 16px, 0);
	}
	100% {
		opacity: 1;
		filter: blur(0);
		transform: none;
	}
}

@keyframes symbol-in {
	from { opacity: 0; transform: translate3d(0, 22px, 0) scale(0.96); }
	to { opacity: 1; transform: none; }
}

/* Responsive */

@media (max-width: 1100px) {
	:root {
		--container: 1040px;
	}

	.nav {
		gap: 18px;
	}

	.hero-symbol {
		width: min(100%, 360px);
	}
}

@media (max-width: 900px) {
	:root {
		--topbar-h: 58px;
	}

	.nav,
	.topbar-cta {
		display: none;
	}

	.menu-button {
		display: inline-flex;
	}

	.mobile-menu {
		display: block;
		position: fixed;
		top: var(--topbar-h);
		right: 0;
		left: 0;
		z-index: 190;
		height: calc(100svh - var(--topbar-h));
		padding: 12px var(--edge) 32px;
		overflow-y: auto;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px rgba(0, 0, 0, 0.12);
	}

	.mobile-menu[hidden] {
		display: none;
	}

	.mobile-menu nav {
		display: flex;
		flex-direction: column;
	}

	.mobile-menu nav a {
		padding: 13px 2px;
		color: var(--ink);
		font-size: 16px;
		font-weight: 500;
		text-decoration: none;
		border-bottom: 1px solid var(--line);
	}

	.mobile-menu > .button {
		width: 100%;
		margin-top: 16px;
	}

	.hero {
		min-height: auto;
		padding-top: calc(var(--topbar-h) + 64px);
	}

	.hero-grid {
		row-gap: 42px;
	}

	.hero-copy,
	.hero-art {
		grid-column: span 12;
	}

	.hero-lede {
		max-width: 44ch;
	}

	.hero-art {
		justify-content: flex-start;
	}

	.hero-symbol {
		width: min(46vw, 270px);
	}

	.col-3,
	.col-4,
	.col-5,
	.col-6,
	.col-7,
	.col-8,
	.col-9,
	.col-5.offset-1,
	.col-6.offset-1 {
		grid-column: span 12;
	}

	.result-grid,
	.feature-grid {
		row-gap: 38px;
	}

	.sticky-copy {
		position: static;
		max-width: none;
	}

	.section-grid .heading {
		max-width: 20ch;
	}

	.section-grid .lede {
		max-width: 38.5rem;
	}

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

	.split {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.split-arrow {
		flex-direction: row;
		gap: 8px;
		padding: 2px 0;
		font-size: 22px;
		transform: rotate(90deg);
	}

	.split-arrow span {
		transform: rotate(-90deg);
	}

	.panel-chips,
	.wp-grid {
		padding-top: 18px;
	}

	.result-stage {
		min-height: 250px;
	}

	.feature--reverse .feature-visual {
		order: 2;
	}

	.feature--reverse .feature-copy {
		order: 1;
	}

	.feature-copy .heading {
		max-width: 18ch;
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	:root {
		--section-space: 72px;
		--edge: 20px;
	}

	.display {
		font-size: clamp(3rem, 11.8vw, 4.75rem);
	}

	.hero {
		justify-content: flex-start;
		min-height: auto;
		padding-top: calc(var(--topbar-h) + 58px);
		padding-bottom: 28px;
	}

	.hero-grid {
		row-gap: 30px;
	}

	.hero-symbol {
		width: min(58vw, 240px);
	}

	.hero-actions {
		gap: 10px;
	}

	.hero-actions .button {
		flex: 1 1 auto;
	}

	.chapter-bar-label {
		margin-left: -10px;
		padding: 0 10px;
	}

	.opening-title {
		font-size: clamp(2.5rem, 10.5vw, 3.75rem);
	}

	.file-flow {
		flex-direction: column;
		align-items: stretch;
	}

	.flow-arrow {
		align-self: center;
		transform: rotate(90deg);
	}

	.cdn {
		align-self: flex-start;
		border-radius: var(--radius);
	}

	.zero-block {
		align-items: flex-start;
	}

	.result-words {
		gap: 12px;
	}

	.timeline {
		grid-template-columns: 1fr;
		gap: 26px;
		margin-top: 44px;
	}

	.timeline::before {
		display: none;
	}

	.step {
		padding-top: 0;
		padding-left: 30px;
	}

	.step::after {
		position: absolute;
		top: 10px;
		bottom: -26px;
		left: 5px;
		width: 1px;
		content: '';
		background: linear-gradient(to bottom, var(--blue), var(--cyan));
		opacity: 0.55;
	}

	.step:last-child::after {
		display: none;
	}

	.step::before {
		top: 4px;
		left: 0;
	}

	.ui-stage {
		padding: 0;
	}

	.ssc-window-body {
		gap: 14px;
		padding: 17px 16px 18px;
	}

	.ssc-window-bar {
		padding: 10px 14px;
	}

	.ssc-window-mark {
		left: 13px;
		width: 15px;
		height: 15px;
	}

	.ssc-window-title {
		font-size: 10px;
	}

	.ssc-mock-header {
		flex-wrap: wrap;
		gap: 10px;
	}

	.ssc-mock-title {
		font-size: 17px;
	}

	.ssc-mock-row {
		grid-template-columns: 16px minmax(0, 1fr) auto;
		gap: 8px;
		font-size: 11.5px;
	}

	.ssc-mock-row p:last-child {
		font-size: 9.5px;
	}

	.ssc-mock-actions {
		align-items: stretch;
	}

	.ssc-mock-actions .button {
		flex: 1 1 auto;
	}

	.ssc-admin-panel-head {
		padding: 14px 16px;
	}

	.ssc-report {
		padding: 14px 16px;
	}

	.ssc-table {
		font-size: 12px;
	}

	.ssc-table th,
	.ssc-table td {
		padding: 8px 9px;
	}

	.ssc-table--report th:nth-child(2),
	.ssc-table--report td:nth-child(2) {
		width: 58px;
	}

	.ssc-table--report th:nth-child(3),
	.ssc-table--report td:nth-child(3) {
		width: 68px;
	}

	.ssc-checks--report {
		grid-template-columns: 1fr;
		padding: 12px 16px 14px;
	}

	.ssc-merge {
		grid-template-columns: 1fr;
	}

	.ssc-team-label {
		margin-left: 14px;
		font-size: 10px;
	}

	.ssc-avatar {
		width: 26px;
		height: 26px;
		font-size: 9px;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-legal {
		flex-direction: column;
		gap: 6px;
	}
}

@media (max-width: 460px) {
	.topbar-inner {
		gap: 10px;
	}

	.brand {
		gap: 7px;
		font-size: 14px;
	}

	.topbar-actions {
		gap: 2px;
	}

	.icon-button {
		width: 34px;
		height: 34px;
	}

	.hero-symbol {
		width: 190px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions .button {
		width: 100%;
	}

	.stack-row {
		padding: 12px 13px;
	}

	.hazard {
		font-size: 11px;
	}

	.ssc-window-bar {
		padding: 9px 12px;
	}

	.ssc-window-mark {
		left: 11px;
	}

	.ssc-mock-pill {
		padding: 3px 7px;
		font-size: 9px;
	}

	.ssc-mock-actions .button {
		padding: 0 9px;
		font-size: 10px;
	}

	.ssc-panel-action {
		white-space: normal;
	}
}

@media (min-width: 701px) {
	/* The last two steps share the final fifth so the dots land at
	   0, 20, 40, 60, 80 and 100 percent. Every label centres under its
	   dot, so the last one stays at the end without a right-aligned box. */
	.step {
		width: 0;
	}

	.step:nth-child(5),
	.step:nth-child(6) {
		grid-row: 1;
		grid-column: 5;
	}

	.step:nth-child(6) {
		justify-self: end;
	}

	.step::before {
		left: -2.5px;
	}

	.step:last-child::before {
		right: -7.5px;
		left: auto;
	}

	.step-time,
	.step-label {
		width: max-content;
		max-width: 14ch;
		text-align: left;
	}

	.step-label {
		margin-top: 6px;
	}
}

@media (max-width: 1100px) {
	/* Give the last label room to hang past the end of the rule without
	   pushing the page into a horizontal scroll. */
	.timeline {
		margin-right: 20px;
	}
}

@media (min-width: 701px) and (max-width: 800px) {
	/* The fourth label would otherwise run into Publish at this width. */
	.step:nth-child(4) .step-label {
		max-width: 10ch;
	}
}

@media (max-width: 360px) {
	.edit-grid,
	.static-grid {
		grid-template-columns: 1fr;
	}
}

/* On stacked layouts the mark leads the hero, sized and aligned to the
   text column rather than sitting below the buttons. */
@media (max-width: 900px) {
	.hero-art {
		order: -1;
		justify-content: flex-start;
	}

	.hero-symbol {
		--hero-mark-size: clamp(110px, 28vw, 160px);
		width: var(--hero-mark-size);
		margin-left: calc(var(--hero-mark-size) * -0.279);
	}
}

/* Reduced motion */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js [data-reveal],
	.js [data-reveal-group] > *,
	.js [data-rise],
	.js .hero-copy .eyebrow,
	.js .hero-title,
	.js .hero-lede,
	.js .hero-actions,
	.js .hero-symbol {
		opacity: 1 !important;
		filter: none !important;
		transform: none !important;
	}

	.js .hero-symbol {
		filter: drop-shadow(0 24px 50px rgba(56, 88, 233, 0.18)) !important;
	}

	.scroll-word {
		opacity: 1 !important;
	}

	.js .timeline:not(.is-visible)::before {
		transform: none;
	}

	.hero-glow {
		animation: none;
	}
}
