/* GENERATED by @prep-partner/waypoint scripts/build.mjs from tokens/waypoint.tokens.json — never hand-edit.
   Waypoint 1.2.0. The site family of the component layer (src/components/site.css); load it after components.css. */

/* ============================================================
   SITE — the drawings and blocks of svelte5/ (WS1.14)
   ============================================================

   dist/components/site.css. prepgraph.ai's spine, voice line, ledger,
   rail, country doors, lead form, legal pages, policy note and not-found
   page, moved into the package so partners can adopt them and the
   umbrella renders from them unchanged (the header, footer and page head
   are chrome.css). They were Svelte-scoped rules; here they
   are wp-* rules. Scoping added one class of specificity to every rule,
   which only mattered where a rule met a package rule on the same
   element — the doors' hover and focus, where the tile's own rule wins
   through :is(a), exactly as the scoped rule did. Every other rule meets
   no competitor, or sits after the package rule it overrides, so order
   alone decides as it did.
   ============================================================ */

/* ---- Voice line: a hairline that becomes a speech waveform ---------- */
.wp-voice {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.wp-voice__halo,
.wp-voice__line {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1;
	stroke-dashoffset: var(--wp-voice-offset, 0);
}
@media (prefers-reduced-motion: no-preference) {
	.wp-voice__halo,
	.wp-voice__line {
		transition: stroke-dashoffset var(--u-t-2) var(--u-ease);
	}
}
.wp-voice__halo {
	stroke: var(--u-laser-halo);
	stroke-width: 6;
}
.wp-voice__line {
	stroke: var(--u-laser-line);
	stroke-width: 1.5;
}

/* ---- The spine: a graph of waypoints drawn from data ---------------- */
.wp-spine {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.wp-spine--v {
	height: 100%;
}
.wp-spine__halo {
	fill: none;
	stroke: var(--u-laser-halo);
	stroke-width: 10;
	stroke-linecap: round;
}
.wp-spine__lit {
	fill: none;
	stroke: var(--u-laser-line);
	stroke-width: 2;
	stroke-linecap: round;
}
.wp-spine__g--secondary .wp-spine__lit,
.wp-spine__g--secondary .wp-spine__halo {
	stroke-opacity: 0.6;
}
.wp-spine__node-halo {
	fill: var(--u-laser-line);
	opacity: 0.18;
}
.wp-spine__dot {
	fill: var(--u-paper);
	stroke: var(--u-laser-line);
	stroke-width: 2;
}
/* Label sizes are SVG user units, not type tokens: inside the viewBox a px
   is one unit, so a label keeps its place against SPINE_LINE's 14-unit
   line pitch and the offsets geometry.mjs draws. A rem would follow the
   reader's default font size and the drawing would not. The lint's
   svg-units rule holds this (lint.config.json svgTextClasses). */
.wp-spine__lbl {
	font-family: var(--u-font-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	fill: var(--u-text);
}
.wp-spine--h .wp-spine__lbl {
	font-size: 13px;
}
/* Two tracks in a column (a home band on a phone): a narrower box, so the labels stay legible at 360px. */
.wp-spine--v.wp-spine--two .wp-spine__lbl {
	font-size: 14px;
}
/* The draw. `wp-spine--anim` (set on mount) arms it and `is-in` (200ms
   later, or on entering the viewport) releases it: the strokes draw over
   --u-t-4 and each node lights in turn. Armed only where motion is
   welcome — with reduced motion, or without script, the finished spine is
   what the reader sees. */
.wp-spine--anim .wp-spine__lit,
.wp-spine--anim .wp-spine__halo {
	stroke-dasharray: 1;
}
@media (prefers-reduced-motion: no-preference) {
	.wp-spine--anim .wp-spine__lit,
	.wp-spine--anim .wp-spine__halo {
		stroke-dashoffset: 1;
	}
	.wp-spine--anim .wp-spine__node {
		opacity: 0.25;
	}
	.wp-spine--anim.is-in .wp-spine__lit,
	.wp-spine--anim.is-in .wp-spine__halo {
		stroke-dashoffset: 0;
		transition: stroke-dashoffset var(--u-t-4) var(--u-ease);
	}
	.wp-spine--anim.is-in .wp-spine__node {
		opacity: 1;
		transition: opacity var(--u-t-3) var(--u-ease);
		transition-delay: calc(var(--i, 0) * 280ms);
	}
}
.wp-spine__node[data-i='0'] {
	--i: 0;
}
.wp-spine__node[data-i='1'] {
	--i: 1;
}
.wp-spine__node[data-i='2'] {
	--i: 2;
}
.wp-spine__node[data-i='3'] {
	--i: 3;
}
.wp-spine__node[data-i='4'] {
	--i: 4;
}
.wp-spine__node[data-i='5'] {
	--i: 5;
}
.wp-spine__node[data-i='6'] {
	--i: 6;
}
.wp-spine__node[data-i='7'] {
	--i: 7;
}
.wp-spine__node[data-i='8'] {
	--i: 8;
}

/* ---- Ledger: a numbered, dated record ------------------------------- */
.wp-lg {
	display: flex;
	flex-direction: column;
	max-width: 76ch;
}
.wp-lg__row {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	gap: 0.75rem;
	padding-block: 0.9rem;
	border-bottom: 1px solid var(--u-rule);
	font-size: var(--u-fs-15);
	line-height: 1.6;
}
.wp-lg__key {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding-top: 0.2rem;
}
.wp-lg__n {
	font-size: var(--u-fs-12);
	color: var(--u-laser-text);
}
.wp-lg__date {
	font-size: var(--u-fs-12);
	color: var(--u-text-3);
	white-space: nowrap;
}
.wp-lg__body {
	color: var(--u-text);
}
/* Timeline: date column, a node on a hairline, the sentence. */
.wp-lg--timeline .wp-lg__row {
	grid-template-columns: 7.5rem 14px minmax(0, 1fr);
	gap: 1rem;
	border-bottom: 0;
	padding-block: 0;
	padding-bottom: 1.75rem;
}
.wp-lg--timeline .wp-lg__node {
	position: relative;
	display: block;
	height: 100%;
}
.wp-lg--timeline .wp-lg__node::before {
	content: '';
	position: absolute;
	left: 6.5px;
	top: 14px;
	bottom: -1.75rem;
	width: 1px;
	background: var(--u-rule-strong);
}
.wp-lg--timeline .wp-lg__row:last-child .wp-lg__node::before {
	display: none;
}
.wp-lg--timeline .wp-lg__node svg {
	position: relative;
	display: block;
	margin-top: 0.3rem;
}
.wp-lg--timeline .wp-lg__node circle {
	fill: var(--u-paper);
	stroke: var(--u-laser-line);
	stroke-width: 2;
}
@media (max-width: 639px) {
	.wp-lg--timeline .wp-lg__row {
		grid-template-columns: 14px minmax(0, 1fr);
	}
	.wp-lg--timeline .wp-lg__key {
		grid-column: 2;
		flex-direction: row;
		gap: 0.75rem;
	}
	.wp-lg--timeline .wp-lg__node {
		grid-row: 1 / span 2;
	}
}
/* The source bracket (WS1.5): where the record comes from, and when. */
.wp-lg__source {
	margin-top: 1rem;
	font-size: var(--u-fs-13);
	color: var(--u-text-3);
}
.wp-lg__source a {
	color: var(--u-laser-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/* ---- Ledger rule: a hairline with ticks every 16px ------------------ */
.wp-lrule {
	display: block;
	width: 100%;
	height: 24px;
}
.wp-lrule__hair,
.wp-lrule__tick {
	stroke: var(--u-rule-strong);
	stroke-width: 1;
}

/* ---- Rail: the properties, one tile each ---------------------------- */
.wp-rail {
	display: grid;
	gap: 1rem;
}
@media (min-width: 640px) {
	.wp-rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.wp-rail {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.wp-rail__tile {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	height: 100%;
	text-decoration: none;
}
.wp-rail__glyph {
	display: flex;
	align-items: center;
	height: 24px;
	margin-bottom: 0.75rem;
}
.wp-rail__voice {
	display: block;
	width: 72px;
}
.wp-rail__node {
	fill: none;
	stroke: var(--u-laser-line);
	stroke-width: 1.5;
}
.wp-rail__edge {
	fill: none;
	stroke: var(--u-laser-line);
	stroke-width: 1.5;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}
@media (prefers-reduced-motion: no-preference) {
	.wp-rail__node {
		transition: fill var(--u-t-2) var(--u-ease);
	}
	.wp-rail__edge {
		transition: stroke-dashoffset var(--u-t-2) var(--u-ease);
	}
}
.wp-rail__tile:hover .wp-rail__edge,
.wp-rail__tile:focus-visible .wp-rail__edge {
	stroke-dashoffset: 0;
}
.wp-rail__tile:hover .wp-rail__node,
.wp-rail__tile:focus-visible .wp-rail__node {
	fill: var(--u-laser-line);
}
.wp-rail__host {
	font-size: var(--u-fs-13);
	color: var(--u-laser-text);
}
.wp-rail__name {
	margin-top: 0.15rem;
}
.wp-rail__line {
	font-size: var(--u-fs-15);
	line-height: 1.5;
	color: var(--u-text-2);
}
.wp-rail__st {
	align-self: flex-start;
	margin-top: 0.75rem;
	font-size: var(--u-fs-12);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--u-text-3);
}

/* ---- Country doors: one tutor, two countries ------------------------ */
.wp-door__line {
	margin-top: 0.75rem;
	font-weight: 500;
}
.wp-door__grid {
	position: relative;
	margin-top: 1.25rem;
	display: grid;
	gap: 1rem;
}
@media (max-width: 639px) {
	.wp-door__grid {
		margin-top: 1rem;
	}
}
@media (min-width: 640px) {
	.wp-door__grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 4.5rem;
	}
}
.wp-door__tile {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.5rem;
	border-color: var(--u-rule-strong);
	text-decoration: none;
	color: var(--u-text);
}
/* :is(a) matches the tile's own weight to .wp-tile:is(a)'s, so the door's
   glow — not the tile's lift — is what hover and focus show. */
.wp-door__tile:is(a):hover,
.wp-door__tile:is(a):focus-visible {
	border-color: var(--u-laser-line);
	box-shadow: var(--u-glow-laser);
	transform: none;
}
.wp-door__exams {
	font-size: var(--u-fs-12);
	letter-spacing: 0.08em;
	color: var(--u-laser-text);
}
.wp-door__name {
	font-family: var(--u-font-display);
	font-size: var(--u-fs-24);
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--u-text-hi);
	line-height: 1.15;
}
.wp-door__body {
	font-size: var(--u-fs-15);
	line-height: 1.55;
	color: var(--u-text-2);
	margin-top: 0.25rem;
}
.wp-door__cta {
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: var(--u-fs-13);
	color: var(--u-laser-text);
}
/* The bridge: centred on the gap, hidden when the tiles stack. Hovering or
   focusing a tile completes the voice line from that side. */
.wp-door__bridge {
	display: none;
}
@media (min-width: 640px) {
	.wp-door__bridge {
		display: block;
		position: absolute;
		left: 50%;
		top: 50%;
		width: 64px;
		height: 24px;
		transform: translate(-50%, -50%);
		pointer-events: none;
	}
}
.wp-door__b {
	position: absolute;
	inset: 0;
	display: block;
	--wp-voice-offset: 0.62;
}
.wp-door__grid:has(.wp-door__tile--in:hover, .wp-door__tile--in:focus-visible) .wp-door__b--l,
.wp-door__grid:has(.wp-door__tile--us:hover, .wp-door__tile--us:focus-visible) .wp-door__b--r {
	--wp-voice-offset: 0;
}

/* ---- Policy note ---------------------------------------------------- */
.wp-policy {
	margin-top: 1.25rem;
	padding: 0.9rem 1.1rem;
	border-left: 3px solid var(--u-laser-600);
	background: var(--u-laser-wash);
	border-radius: 0 var(--u-r-2) var(--u-r-2) 0;
	font-size: var(--u-fs-14);
	line-height: 1.6;
	color: var(--u-text);
	max-width: 70ch;
}

/* ---- Legal document: contents rail and numbered sections ------------ */
.wp-legal {
	display: grid;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.wp-legal {
		grid-template-columns: 15rem minmax(0, 1fr);
		gap: 4rem;
	}
	.wp-legal__toc {
		position: sticky;
		top: 5rem;
		align-self: start;
	}
}
.wp-legal__toc-list {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	font-family: var(--u-font-sans);
	font-size: var(--u-fs-14);
	border-left: 1px solid var(--u-rule);
}
.wp-legal__toc-link {
	display: flex;
	gap: 0.75rem;
	padding: 0.35rem 0.75rem;
	color: var(--u-text-2);
	text-decoration: none;
	border-radius: 0 var(--u-r-1) var(--u-r-1) 0;
}
.wp-legal__toc-link:hover {
	color: var(--u-text-hi);
	background: var(--u-paper-2);
}
.wp-legal__toc-n {
	font-size: var(--u-fs-12);
	color: var(--u-laser-text);
	padding-top: 0.1rem;
}
.wp-legal__prose {
	max-width: 66ch;
}
.wp-legal__section + .wp-legal__section {
	margin-top: 2.5rem;
}
.wp-legal__h {
	margin-bottom: 0.6rem;
	scroll-margin-top: 5rem;
}
.wp-legal__n {
	font-size: var(--u-fs-12);
	color: var(--u-laser-text);
	margin-right: 0.75rem;
	vertical-align: 0.3em;
}
.wp-legal__section code {
	font-family: var(--u-font-mono);
	font-size: 0.9em;
}

/* ---- Not found ------------------------------------------------------ */
.wp-nf {
	padding-block: clamp(4rem, 10vw, 8rem);
}
.wp-nf__in {
	margin-inline: auto;
	max-width: 42rem;
	text-align: center;
}
.wp-nf__in .wp-d2 {
	margin-inline: auto;
	color: var(--u-on-ink-hi);
}
.wp-nf__h1 {
	margin-top: 2rem;
}
.wp-nf__lede {
	margin-inline: auto;
	margin-top: 1.25rem;
}
.wp-nf__actions {
	margin-top: 2.25rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}
.wp-nf__spine {
	margin: 0 auto 1.5rem;
	max-width: 520px;
	height: 94px;
}
.wp-nf__spine .wp-spine {
	height: 94px;
}
.wp-nf__code {
	font-size: var(--u-fs-numeral);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--u-laser-on-ink);
}
.wp-nf__note {
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--u-rule);
	font-size: var(--u-fs-13);
	line-height: 1.8;
	color: var(--u-on-ink-3);
}

/* ---- Lead form ------------------------------------------------------ */
/* The card, its fields, the consent block and the two outcomes. A control's
   border is --u-rule-input (the lint holds it); the error text is
   --u-error on plate, 6.35:1. */
.wp-lf__card {
	background: var(--u-plate);
	border: 1px solid var(--u-rule);
	border-left: 3px solid var(--u-laser-600);
	border-radius: var(--u-r-3);
	box-shadow: var(--u-shadow-2);
	padding: 1.5rem 1.5rem 1.65rem;
}
.wp-lf__card--done {
	border-left-color: var(--u-ok);
}
.wp-lf__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.wp-lf__error {
	margin-bottom: 0.9rem;
	border: 1px solid var(--u-error);
	background: var(--u-error-wash);
	color: var(--u-error);
	border-radius: var(--u-r-2);
	padding: 0.65rem 0.85rem;
	font-size: var(--u-fs-14);
	font-weight: 600;
	font-family: var(--u-font-sans);
}
.wp-lf__error-list {
	margin-top: 0.35rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.9rem;
}
.wp-lf__error-list a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: inherit;
	text-decoration: underline;
}
.wp-lf__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.95rem;
}
@media (min-width: 640px) {
	.wp-lf__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wp-lf__item--wide {
		grid-column: 1 / -1;
	}
}
.wp-lf__label {
	display: block;
	font-family: var(--u-font-sans);
	font-size: var(--u-fs-13);
	font-weight: 600;
	color: var(--u-text-hi);
	margin-bottom: 0.3rem;
}
.wp-lf__input {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--u-rule-input);
	border-radius: var(--u-r-1);
	padding: 0.55rem 0.75rem;
	font-family: var(--u-font-sans);
	font-size: var(--u-fs-15);
	background: var(--u-plate);
	color: var(--u-text);
}
@media (prefers-reduced-motion: no-preference) {
	.wp-lf__input {
		transition: border-color var(--u-t-1) var(--u-ease);
	}
}
.wp-lf__input:hover {
	border-color: var(--u-text-2);
}
.wp-lf__input:focus-visible {
	border-color: var(--u-laser-500);
	box-shadow: var(--u-focus);
}
.wp-lf__input--error {
	border-color: var(--u-error);
}
.wp-lf__hint {
	display: block;
	margin-top: 0.3rem;
	font-family: var(--u-font-sans);
	font-size: var(--u-fs-13);
	font-weight: 600;
	color: var(--u-error);
}
.wp-lf__aside {
	margin-top: 0.5rem;
	font-size: var(--u-fs-13);
	line-height: 1.55;
	color: var(--u-text-2);
}
.wp-lf__consent {
	margin-top: 1.25rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--u-laser-200);
	background: var(--u-laser-wash);
	border-radius: var(--u-r-2);
}
.wp-lf__consent--error {
	border-color: var(--u-error);
}
.wp-lf__consent-head {
	font-family: var(--u-font-sans);
	font-weight: 600;
	font-size: var(--u-fs-13);
	color: var(--u-text-hi);
}
.wp-lf__consent-line {
	margin-top: 0.4rem;
	font-size: var(--u-fs-13);
	line-height: 1.55;
	color: var(--u-text);
}
.wp-lf__consent-line a {
	color: var(--u-laser-text);
	font-weight: 600;
	text-decoration: underline;
}
.wp-lf__consent-row {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-top: 0.7rem;
}
.wp-lf__consent-row input {
	margin-top: 0.05rem;
	width: 1.5rem;
	height: 1.5rem;
	accent-color: var(--u-laser-600);
	flex-shrink: 0;
}
.wp-lf__consent-text {
	font-family: var(--u-font-sans);
	font-size: var(--u-fs-13);
	line-height: 1.5;
	color: var(--u-text);
	cursor: pointer;
}
.wp-lf__submit {
	margin-top: 1.25rem;
}
.wp-lf__meta {
	margin-top: 0.75rem;
	font-size: var(--u-fs-12);
	line-height: var(--u-lh-12);
	color: var(--u-text-3);
}
.wp-lf__done-body {
	margin-top: 0.75rem;
	font-size: var(--u-fs-14);
	line-height: var(--u-lh-14);
	color: var(--u-text-2);
}
.wp-lf__handoff {
	margin-top: 1.25rem;
}
.wp-lf__done-note {
	margin-top: 1.25rem;
	font-size: var(--u-fs-12);
	line-height: var(--u-lh-12);
	color: var(--u-text-3);
}
/* The address offered in place of the reply promise: the mono register
   for an address, regular weight, in the consent link's ink. In the 12px
   meta line it keeps that size; in the 14px thank-you body it steps down
   to 0.9em (12.6px), Geist Mono's optical match for the Inter around it. */
.wp-lf__mail {
	font-weight: 400;
	color: var(--u-laser-text);
	text-decoration: underline;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}
.wp-lf__done-body .wp-lf__mail {
	font-size: 0.9em;
}
