/*
 * ClassPing landing page.
 *
 * Loaded only by src/views/landing.pug. It is deliberately outside the
 * Tailwind build: the landing page is hand-written CSS, so editing a headline
 * never needs a rebuild of the app bundle. The tokens below are the subset of
 * public/css/src/app.css this page actually uses, kept in sync by hand so the
 * page reads as the same product. See
 * docs/adr/0005-landing-page-is-a-pug-view.md.
 *
 * Rule of the file: no inline `style` attributes in the view. One-off values
 * live here as named classes.
 */

/* ---------------------------------------------------------------
   Tokens
   --------------------------------------------------------------- */
:root {
	--brand-50: #f1f6fc;
	--brand-100: #e0ecf9;
	--brand-200: #c3daf2;
	--brand-300: #97bfe6;
	--brand-400: #649dd6;
	--brand-600: #2d63a3;
	--brand-700: #234f85;
	--brand-800: #1a3c66;
	--brand-900: #122b4d;

	--gray-50: #f5f8fc;
	--gray-100: #eaf0f7;
	--gray-300: #bccddd;
	--gray-400: #8ba0b8;
	--gray-500: #59738e;
	--gray-600: #44607d;
	--gray-700: #33506e;

	--surface: #ffffff;
	--line: #c3daf2;
	--line-subtle: #e0ecf9;
	--line-strong: #a5b8cc;

	--live: #22c55e;

	--shadow-card: 0 1px 2px 0 rgb(18 43 77 / 0.05), 0 8px 24px -8px rgb(18 43 77 / 0.14);
	--shadow-raised: 0 1px 2px 0 rgb(18 43 77 / 0.06), 0 14px 34px -10px rgb(18 43 77 / 0.2);
	--sidebar: linear-gradient(180deg, #1a3c66 0%, #122b4d 42%, #0a1b33 100%);

	--wrap: 1120px;
	--radius: 1rem;

	--font-sans:
		ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
		"Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	accent-color: var(--brand-700);
}

body {
	margin: 0;
	background: var(--brand-50);
	color: var(--brand-900);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
blockquote {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

svg {
	display: block;
}

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

.skip {
	position: absolute;
	left: -9999px;
}
.skip:focus {
	left: 1rem;
	top: 1rem;
	z-index: 100;
	background: var(--surface);
	padding: 0.6rem 1rem;
	border-radius: 999px;
	box-shadow: var(--shadow-raised);
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* Anchors land under the sticky nav instead of behind it. */
section[id] {
	scroll-margin-top: 4.5rem;
}

/* ---------------------------------------------------------------
   Primitives
   --------------------------------------------------------------- */
.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
}

/* A card that must not let a wide child (a table, a long row) bleed out. */
.card-clip {
	overflow: hidden;
}
.card-clip + .card-clip {
	margin-top: 1rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.75rem;
	flex-shrink: 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 0;
	border-radius: 999px;
	padding: 0.7rem 1.4rem;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
	background: var(--brand-900);
	color: #fff;
}
.btn-primary:hover {
	background: var(--brand-800);
}

.btn-ghost {
	background: transparent;
	color: var(--brand-900);
	border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
	border-color: var(--brand-900);
}
/* The same outline button on the dark closing card. */
.btn-ghost-onDark {
	border-color: rgb(255 255 255 / 0.35);
	color: #fff;
}

.btn-onDark {
	background: var(--brand-50);
	color: var(--brand-900);
}
.btn-onDark:hover {
	background: #fff;
}

/* Wordmark: Class in the reading colour, Ping in the brand accent. */
.mark {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.mark-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.75rem;
	background: var(--brand-50);
	color: var(--brand-900);
	flex-shrink: 0;
}
.mark-ping {
	color: var(--brand-600);
}
.footer-mark {
	display: flex;
	margin-bottom: 0.9rem;
}

/* Icon sizes. The shared icon mixin emits no dimensions, so the page
   states them. */
.ico-16 {
	width: 1rem;
	height: 1rem;
}
.ico-18 {
	width: 1.125rem;
	height: 1.125rem;
}
.ico-20 {
	width: 1.25rem;
	height: 1.25rem;
}
.ico-22 {
	width: 1.375rem;
	height: 1.375rem;
}
.ico-40 {
	width: 2.5rem;
	height: 2.5rem;
}
.ico-46 {
	width: 2.875rem;
	height: 2.875rem;
}

/* ---------------------------------------------------------------
   Nav
   --------------------------------------------------------------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgb(241 246 252 / 0.88);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line-subtle);
}
.nav-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 4rem;
}
.nav-links {
	display: none;
	align-items: center;
	gap: 1.75rem;
	font-size: 0.875rem;
	color: var(--gray-600);
}
.nav-links a:hover {
	color: var(--brand-900);
}
.nav-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.lang {
	appearance: none;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--brand-900);
	border-radius: 999px;
	padding: 0.4rem 0.75rem;
	font: inherit;
	font-size: 0.8rem;
	cursor: pointer;
}
@media (min-width: 900px) {
	.nav-links {
		display: flex;
	}
}
/*
 * The nav is the widest thing on the page, and an element that overflows takes
 * the whole document with it: body's overflow-x is propagated to the viewport,
 * so html grows to fit and every section lays out too wide and gets clipped.
 * Keep the bar inside the viewport at every width.
 */
@media (max-width: 719px) {
	.nav-in {
		gap: 0.5rem;
	}
	.mark {
		font-size: 0.95rem;
		min-width: 0;
	}
	.btn {
		padding: 0.55rem 0.9rem;
		font-size: 0.8rem;
	}
	.nav-signin {
		display: none;
	}
}
@media (max-width: 400px) {
	.btn {
		padding: 0.55rem 0.75rem;
		font-size: 0.76rem;
	}
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
	padding: 3.5rem 0 4rem;
}
.hero-grid {
	display: grid;
	gap: 3rem;
	align-items: center;
}
.eyebrow {
	font-size: 0.8rem;
	color: var(--brand-600);
	font-weight: 600;
	margin-bottom: 0.9rem;
}
.hero h1 {
	font-size: clamp(2rem, 5.2vw, 3.4rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	font-weight: 600;
	max-width: 20ch;
}
.hero-lead {
	margin-top: 1.25rem;
	font-size: 1.05rem;
	color: var(--gray-600);
	max-width: 46ch;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}
.hero-note {
	margin-top: 1.1rem;
	font-size: 0.85rem;
	color: var(--gray-500);
}

/* The ping: concentric rings leaving the school's number. */
.ping-stage {
	position: relative;
	display: grid;
	place-items: center;
	padding: 2.5rem 1.5rem 1.75rem;
	border-radius: 1.5rem;
	background: var(--sidebar);
	box-shadow: var(--shadow-raised);
	color: #fff;
	overflow: hidden;
}
.ping-wrap {
	position: relative;
	width: 12rem;
	height: 12rem;
	display: grid;
	place-items: center;
}
.ping-ring {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	border: 1px solid rgb(151 191 230 / 0.5);
	transform: scale(0.32);
	opacity: 0;
	animation: ping 3.6s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}
.ping-ring:nth-child(2) {
	animation-delay: 1.2s;
}
.ping-ring:nth-child(3) {
	animation-delay: 2.4s;
}
@keyframes ping {
	0% {
		transform: scale(0.32);
		opacity: 0;
	}
	12% {
		opacity: 0.85;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}
.ping-core {
	position: relative;
	width: 6.5rem;
	height: 6.5rem;
	border-radius: 1.25rem;
	background: var(--brand-50);
	color: var(--brand-900);
	display: grid;
	place-items: center;
	box-shadow: 0 10px 40px -12px rgb(0 0 0 / 0.5);
}
.ping-caption {
	text-align: center;
	margin-top: 1.5rem;
}
.ping-caption strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
}
.ping-caption span {
	display: block;
	font-size: 0.8rem;
	color: var(--gray-300);
	margin-top: 0.2rem;
}

.hero-facts {
	display: grid;
	gap: 0;
	margin-top: 1.25rem;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-card);
}
.hero-fact {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 1.1rem;
	font-size: 0.875rem;
}
.hero-fact + .hero-fact {
	border-top: 1px solid var(--line-subtle);
}
.hero-fact dt {
	color: var(--gray-500);
}
.hero-fact dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

@media (min-width: 900px) {
	.hero {
		padding: 5rem 0 5.5rem;
	}
	.hero-grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 4rem;
	}
}

/* ---------------------------------------------------------------
   Shared section furniture
   --------------------------------------------------------------- */
.section {
	padding: 4.5rem 0;
}
/* A section that follows one which already carries the vertical rhythm. */
.section-tight {
	padding-top: 0;
}
/* Copy pinned under a section header. */
.section-body {
	margin-top: 2.5rem;
}
.section-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--brand-600);
	margin-bottom: 0.75rem;
}
.section h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	font-weight: 600;
	max-width: 24ch;
}
.section-lead {
	margin-top: 1rem;
	color: var(--gray-600);
	max-width: 58ch;
}
.hero h1,
.section h2,
.closing-card h2 {
	text-wrap: balance;
}
.on-dark {
	background: var(--sidebar);
	color: #fff;
}
.on-dark .section-label {
	color: var(--brand-300);
}
.on-dark .section-lead {
	color: var(--gray-300);
}

/* ---------------------------------------------------------------
   The thread
   --------------------------------------------------------------- */
.thread-bar {
	position: sticky;
	top: 4rem;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1.1rem;
	background: var(--brand-900);
	color: #fff;
	border-radius: var(--radius) var(--radius) 0 0;
}
.thread-bar .mark-tile {
	width: 2.25rem;
	height: 2.25rem;
}
.thread-who {
	min-width: 0;
	flex: 1;
}
.thread-who strong {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
}
.thread-who span {
	display: block;
	font-size: 0.75rem;
	color: var(--gray-400);
}
.live {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: var(--gray-300);
}
.live-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--live);
}
.thread-progress {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background: var(--brand-300);
	transition: width 0.15s linear;
}

.thread-shell {
	position: relative;
	border-radius: var(--radius);
	box-shadow: var(--shadow-raised);
}
.beats {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 0.5rem 0 1.5rem;
}
.beat {
	display: grid;
	gap: 1.25rem;
	padding: 1.75rem 1.25rem;
}
.beat + .beat {
	border-top: 1px solid var(--line-subtle);
}
.step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 999px;
	background: var(--brand-100);
	color: var(--brand-700);
	font-size: 0.72rem;
	font-weight: 600;
	margin-bottom: 0.6rem;
}
.beat h3 {
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.beat-note p {
	margin-top: 0.45rem;
	font-size: 0.9rem;
	color: var(--gray-600);
	max-width: 44ch;
}
.beat-aside {
	margin-top: 0.7rem;
	font-size: 0.78rem;
	color: var(--gray-400);
}

/* Chat bubbles */
.bubble {
	max-width: 34rem;
	border-radius: 1rem;
	padding: 0.7rem 1rem;
	font-size: 0.9rem;
	box-shadow: 0 1px 1px 0 rgb(18 43 77 / 0.06);
}
/* A second bubble in the same stage (the parent's reply). */
.bubble-stack {
	margin-top: 0.6rem;
}
.bubble-out {
	background: var(--brand-100);
	border: 1px solid var(--brand-200);
	border-bottom-right-radius: 0.25rem;
	margin-left: auto;
}
.bubble-in {
	background: var(--gray-50);
	border: 1px solid var(--line);
	border-bottom-left-radius: 0.25rem;
}
.bubble-meta {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: var(--gray-400);
}
.bubble-out + .bubble-meta {
	text-align: right;
}
.link-chip {
	display: block;
	margin-top: 0.6rem;
	padding: 0.55rem 0.8rem;
	border-radius: 0.6rem;
	background: var(--surface);
	border: 1px dashed var(--line-strong);
	font-size: 0.78rem;
	color: var(--brand-700);
	word-break: break-all;
}
.files {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 0.6rem;
	background: var(--brand-50);
	border: 1px solid var(--line);
	font-size: 0.78rem;
	color: var(--gray-700);
}

/* The composer, copied from src/views/teacher/post.pug */
.composer {
	padding: 1.1rem;
}
.composer-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--gray-700);
	margin-bottom: 0.4rem;
}
.composer-input {
	width: 100%;
	border: 1px solid var(--line-strong);
	border-radius: 0.5rem;
	padding: 0.7rem 0.9rem;
	font: inherit;
	font-size: 0.88rem;
	color: var(--brand-900);
	background: var(--surface);
	resize: none;
}
.composer-help {
	margin-top: 0.4rem;
	font-size: 0.75rem;
	color: var(--gray-400);
}
.composer-slot + .composer-slot {
	margin-top: 1rem;
}
.composer-actions {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 1.1rem;
}
.composer-link {
	font-size: 0.85rem;
	color: var(--gray-500);
	text-decoration: underline;
}
.composer-status {
	margin-top: 0.7rem;
	font-size: 0.75rem;
	color: var(--gray-500);
}
/* Modifiers for the two states the beat stages show. */
.composer-help.is-tight {
	margin-top: 0.15rem;
}
.composer-actions.is-flush {
	margin-top: 0;
}

.pinger {
	display: grid;
	place-items: center;
	gap: 1.25rem;
	padding: 2rem 1rem;
	border-radius: var(--radius);
	background: var(--sidebar);
	color: #fff;
}
.pinger-line {
	font-size: 0.9rem;
	color: var(--gray-300);
	text-align: center;
	max-width: 30ch;
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 0.9rem 1rem;
	border-radius: 0.75rem;
	border: 1px solid var(--line);
	background: var(--gray-50);
	font-size: 0.88rem;
	color: var(--gray-700);
}
.notice-icon {
	flex-shrink: 0;
	margin-top: 2px;
}

.table-scroll {
	overflow-x: auto;
}
.log-table {
	width: 100%;
	min-width: 20rem;
	border-collapse: collapse;
	font-size: 0.85rem;
}
.log-table th {
	text-align: left;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--gray-500);
	background: var(--gray-50);
	padding: 0.6rem 0.9rem;
}
.log-table td {
	padding: 0.65rem 0.9rem;
	border-top: 1px solid var(--line-subtle);
}
.status-sent {
	color: var(--brand-900);
	font-weight: 600;
}
.status-failed {
	color: var(--gray-500);
	font-weight: 600;
}

@media (min-width: 860px) {
	.beat {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		padding: 2.25rem 1.75rem;
		align-items: start;
	}
	.beat-note {
		position: sticky;
		top: 9rem;
	}
}

/* ---------------------------------------------------------------
   Claims
   --------------------------------------------------------------- */
.claims {
	display: grid;
	gap: 1rem;
	margin-top: 2.5rem;
}
.claim {
	padding: 1.35rem;
}
.claim h3 {
	font-size: 0.98rem;
	font-weight: 600;
	margin-top: 0.9rem;
	letter-spacing: -0.01em;
}
.claim p {
	margin-top: 0.4rem;
	font-size: 0.88rem;
	color: var(--gray-600);
}
.claim-source {
	margin-top: 0.75rem;
	font-size: 0.72rem;
	color: var(--gray-400);
}
@media (min-width: 700px) {
	.claims {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 1000px) {
	.claims {
		grid-template-columns: repeat(3, 1fr);
	}
}

.chip-brand {
	background: var(--brand-100);
	color: var(--brand-700);
}
.chip-cyan {
	background: #cffafe;
	color: #0e7490;
}
.chip-indigo {
	background: #e0e7ff;
	color: #4338ca;
}
.chip-emerald {
	background: #d1fae5;
	color: #047857;
}
.chip-gray {
	background: var(--gray-100);
	color: var(--gray-500);
}

/* ---------------------------------------------------------------
   The school's side
   --------------------------------------------------------------- */
.school-side {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}
.shell {
	display: grid;
	grid-template-columns: 1fr;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-raised);
	background: var(--surface);
}
.shell-nav {
	background: var(--sidebar);
	color: #fff;
	padding: 1.25rem 1rem;
}
.shell-brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding-bottom: 1.1rem;
}
.shell-brand div strong {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
}
.shell-brand div span {
	display: block;
	font-size: 0.72rem;
	color: var(--gray-400);
}
.shell-nav ul {
	display: grid;
	gap: 0.25rem;
}
.shell-nav li a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.5rem 0.7rem;
	border-radius: 999px;
	font-size: 0.85rem;
	color: var(--gray-300);
}
.shell-nav li.is-active a {
	background: var(--brand-50);
	color: var(--brand-900);
	font-weight: 600;
}
.shell-body {
	padding: 1.25rem;
	background: var(--brand-50);
}
.shell-title {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.shell-sub {
	font-size: 0.82rem;
	color: var(--gray-500);
	margin-top: 0.15rem;
}
.stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin: 1.1rem 0;
}
.stat {
	padding: 0.9rem;
}
.stat-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.6rem;
}
.stat-label {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--gray-500);
}
.stat-value {
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-top: 0.4rem;
}
/* Text-valued stats: a phone number, a school name. */
.stat-value.is-sm {
	font-size: 0.9rem;
}
.stat-value.is-ok {
	color: var(--brand-700);
}
.stat-note {
	font-size: 0.72rem;
	color: var(--gray-400);
	margin-top: 0.15rem;
}
.panel-head {
	padding: 0.85rem 1.1rem;
	border-bottom: 1px solid var(--line-subtle);
	font-size: 0.85rem;
	font-weight: 600;
}
.panel-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.7rem 1.1rem;
}
.panel-row + .panel-row {
	border-top: 1px solid var(--line-subtle);
}
.panel-row p {
	font-size: 0.85rem;
}
.panel-row .when {
	font-size: 0.72rem;
	color: var(--gray-400);
	margin-top: 0.1rem;
}
.panel-status {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--brand-700);
}
/*
 * The mock stays full width rather than sitting beside the copy: at half the
 * wrap there is not enough room for the sidebar plus four stat tiles, and the
 * fourth one gets clipped.
 */
.school-copy {
	max-width: 58ch;
}
@media (min-width: 760px) {
	.shell {
		grid-template-columns: 13rem 1fr;
	}
	.stats {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ---------------------------------------------------------------
   Trust
   --------------------------------------------------------------- */
.trust-list {
	display: grid;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.trust-item {
	display: grid;
	gap: 0.6rem;
}
.trust-item h3 {
	font-size: 0.98rem;
	font-weight: 600;
}
.trust-item p {
	font-size: 0.88rem;
	color: var(--gray-300);
}
.pullquote {
	margin-top: 3rem;
	padding-left: 1.25rem;
	border-left: 2px solid var(--brand-400);
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
	line-height: 1.3;
	letter-spacing: -0.02em;
	font-weight: 600;
	max-width: 30ch;
}
@media (min-width: 760px) {
	.trust-list {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 3rem;
	}
}

/* ---------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------- */
.quotes {
	display: grid;
	gap: 1rem;
	margin-top: 2.5rem;
}
.quote {
	padding: 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.quote blockquote {
	font-size: 0.92rem;
	color: var(--gray-700);
}
.quote figcaption {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: auto;
}
.avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: var(--brand-100);
	color: var(--brand-700);
	font-size: 0.78rem;
	font-weight: 600;
	flex-shrink: 0;
}
.who strong {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
}
.who span {
	display: block;
	font-size: 0.75rem;
	color: var(--gray-500);
}
@media (min-width: 760px) {
	.quotes {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */
.faq {
	margin-top: 2.5rem;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
.faq details + details {
	border-top: 1px solid var(--line-subtle);
}
.faq summary {
	cursor: pointer;
	padding: 1.05rem 1.25rem;
	font-size: 0.95rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	list-style: none;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1.8px solid var(--brand-600);
	border-bottom: 1.8px solid var(--brand-600);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex-shrink: 0;
	margin-right: 0.25rem;
}
.faq details[open] summary::after {
	transform: rotate(-135deg);
}
.faq .answer {
	padding: 0 1.25rem 1.25rem;
	font-size: 0.9rem;
	color: var(--gray-600);
}

/* ---------------------------------------------------------------
   Closing CTA + footer
   --------------------------------------------------------------- */
.closing {
	padding: 4.5rem 0;
}
.closing-card {
	position: relative;
	border-radius: 1.5rem;
	background: var(--sidebar);
	color: #fff;
	padding: 2.75rem 1.75rem;
	box-shadow: var(--shadow-raised);
	overflow: hidden;
}
.closing-card h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	font-weight: 600;
	max-width: 22ch;
}
.closing-card p {
	margin-top: 0.9rem;
	color: var(--gray-300);
}
.closing-actions {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.closing-steps {
	margin-top: 2rem;
	display: grid;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--gray-300);
}
.closing-steps li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}
.closing-steps .n {
	color: var(--brand-300);
	font-weight: 600;
}
@media (min-width: 900px) {
	.closing-card {
		padding: 3.5rem;
	}
}

.footer {
	border-top: 1px solid var(--line);
	background: var(--surface);
	padding: 2.5rem 0;
}
.footer-in {
	display: grid;
	gap: 1.5rem;
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	font-size: 0.85rem;
	color: var(--gray-600);
}
.footer-links a:hover {
	color: var(--brand-900);
}
.footer-legal {
	font-size: 0.75rem;
	color: var(--gray-400);
	max-width: 62ch;
}
@media (min-width: 760px) {
	.footer-in {
		grid-template-columns: 1fr auto;
		align-items: start;
	}
}

/* ---------------------------------------------------------------
   Plans. The price-list is live plan rows; the toggle swaps the
   group shown, and every state works with JavaScript off.
   --------------------------------------------------------------- */
.plan-picker {
	display: inline-flex;
	gap: 0.25rem;
	margin-top: 1.5rem;
	padding: 0.25rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-card);
}
.plan-toggle {
	border: 0;
	border-radius: 999px;
	padding: 0.55rem 1.4rem;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--gray-500);
	background: transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.plan-toggle:hover {
	color: var(--brand-900);
}
.plan-toggle.is-active {
	background: var(--brand-900);
	color: #fff;
}

.plan-group {
	display: none;
}
.plan-group.is-active {
	display: block;
}
.plan-group-label {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gray-500);
	margin: 1.75rem 0 1rem;
}

.plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	align-items: stretch;
}

.plan {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: 1.75rem;
}
.plan-head {
	display: flex;
	align-items: center;
}
.plan-name {
	font-size: 1.05rem;
	font-weight: 650;
}
.plan-price {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
}
.plan-amount {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.plan-per {
	font-size: 0.85rem;
	color: var(--gray-500);
}
.plan-list {
	display: grid;
	gap: 0.55rem;
	font-size: 0.9rem;
	color: var(--gray-600);
}
.plan-list li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.plan-list .ico-16 {
	color: var(--brand-600);
	flex-shrink: 0;
}
.plan-cta {
	margin-top: auto;
	width: 100%;
}

.plans-note {
	font-size: 0.85rem;
	color: var(--gray-500);
	max-width: 62ch;
	margin-top: 1.75rem;
}

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

/* ---------------------------------------------------------------
   Reveal. Only active with JS, and disabled entirely when the
   visitor asks for reduced motion.
   --------------------------------------------------------------- */
.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.js .reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.ping-ring {
		animation: none !important;
		opacity: 0 !important;
	}
	* {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}
