/* =========================================================================
   educa.city — the stylesheet.

   ONE RULE ABOVE ALL: no component names a colour. Everything is a custom
   property, and a theme is one block that redefines those properties.

   THE PALETTE COMES FROM THE MARK and nothing is invented beside it (§7.1):

       ink     #00232E   the mark's body — ground, headings, the serious voice
       brand   #009185   the mark's left facet — the product, structure
       accent  #F19C1C   the mark's roof — attention, action, anything live

   plus the four semantic colours the house uses (ok/no/warn/info), fixed
   across every theme.

   SECOND RULE, FROM THE FIRST COMMIT (§3.3): logical properties everywhere.
   No `left`, no `right`, no `margin-left` in any component — Arabic and Urdu
   are not built now, but they are made possible now, and retrofitting is
   three times the cost. Directional icons carry .ico-dir so one rule flips
   them later; the mark and the screenshots never flip.

   THIRD: per-language type. Fraunces has no Han coverage; the zh blocks at
   the bottom re-point the display tokens and the rhythm, and the Noto faces
   load ONLY under html[lang="zh"] (stage 5 adds the @font-face pair there).

   ORDER: fonts, tokens, themes, axes, reset, typography, layout, chrome,
   components, bands, forms, motion, per-language, responsive, print.
   ========================================================================= */

/* ------------------------------------------------------------------ fonts --
   Self-hosted, variable. Three faces, three jobs: Lexend is what a reader
   looks AT — chosen after the 2026-09-03 feedback (education and technology,
   not press: no editorial serif) and because it is literally the face drawn
   from reading-proficiency research in classrooms; Inter is what they read
   THROUGH; JetBrains Mono is the small tracked labels and anything literal. */
@font-face {
	font-family: 'Lexend';
	src: url('../fonts/lexend-latin.woff2') format('woff2');
	font-weight: 300 700; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Lexend';
	src: url('../fonts/lexend-latin-ext.woff2') format('woff2');
	font-weight: 300 700; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-latin.woff2') format('woff2');
	font-weight: 100 900; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-latin-ext.woff2') format('woff2');
	font-weight: 100 900; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'JetBrains Mono';
	src: url('../fonts/jetbrainsmono-latin.woff2') format('woff2');
	font-weight: 100 800; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'JetBrains Mono';
	src: url('../fonts/jetbrainsmono-latin-ext.woff2') format('woff2');
	font-weight: 100 800; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ----------------------------------------------------------------- tokens --*/
:root {
	/* type — per-language custom properties, not magic numbers in components:
	   the zh block re-points these and every component follows (§3.2) */
	--font-display: 'Lexend', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
	--lh-body: 1.65;
	--lh-head: 1.1;

	/* rhythm */
	--maxw: 1220px;
	--maxw-text: 68ch;
	--gutter: clamp(20px, 5vw, 56px);
	--band: clamp(64px, 9vw, 124px);
	--gap: clamp(16px, 2.2vw, 28px);

	--radius: 14px;
	--radius-sm: 9px;
	--radius-lg: 22px;
	--pill: 999px;

	/* THE BRAND THREE, from the mark. --brand-deep exists because white text
	   ON the teal needs a darker step to hold 4.5:1 — declared beside it, not
	   guessed in a component. */
	--brand: #009185;
	--brand-deep: #00766b;
	--brand-soft: #2cb3a6;
	--accent: #f19c1c;
	--accent-soft: #ffb54d;
	--accent-ink: #2a1a00;

	/* the semantic four — one hue everywhere, darkened as TEXT on the light
	   ground (see the paper block), because a colour that stops being
	   legible has stopped meaning anything */
	--ok: #34d399;
	--no: #fb7185;
	--warn: #fbbf24;
	--info: #38bdf8;

	--speed: 220ms;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ themes --
   `school` is what the site opens as: a deep petrol ground drawn from the
   mark's own ink. `paper` is the light one; `contrast` is the high-contrast
   variant (§7.1). One attribute on <html>, stamped before paint. */
[data-theme='school'] {
	--ground: #021d26;
	--ground-2: #04242f;
	--panel: #073040;
	--panel-2: #0a3a4c;
	--line: #10475c;
	--line-soft: #0b3a4b;
	--ink: #eef7f9;
	--ink-2: #a7c4cd;
	--ink-3: #7fa6b4;   /* 4.5:1 on --panel too — small labels sit on cards */
	--mark-main: #ffffff;
	--mark-roof: #ffffff;
	--mark-facet: #ffffff;
	--glow: 0, 145, 133;
	--shadow: 0 24px 60px -30px rgba(0, 10, 14, .95);
	color-scheme: dark;
}
[data-theme='paper'] {
	--ground: #faf8f4;
	--ground-2: #f2eee7;
	--panel: #ffffff;
	--panel-2: #f5f1ea;
	--line: #ddd5c8;
	--line-soft: #e9e3d8;
	--ink: #00232e;
	--ink-2: #47606b;
	--ink-3: #5c6f78;   /* 4.5:1 on white panels, not only on the cream ground */
	--mark-main: #00232e;
	--mark-roof: #f19c1c;
	--mark-facet: #009185;
	--glow: 0, 145, 133;
	--shadow: 0 20px 46px -28px rgba(20, 32, 38, .35);
	/* Bright colours that read fine on petrol stop being legible as TEXT on
	   paper (the nuclework precedent): the amber, the teal link tint and the
	   two semantic voices all darken here — audited to 4.5:1 by
	   scratchpad/audit_contrast.js. Fills keep the true brand hues through
	   --accent-soft and the mark tokens. */
	--accent: #9a5b00;
	--accent-soft: #f19c1c;
	--brand-soft: #00766b;
	--ok: #047857;
	--no: #be123c;
	color-scheme: light;
}
[data-theme='contrast'] {
	--ground: #000000;
	--ground-2: #050505;
	--panel: #0c0c0c;
	--panel-2: #141414;
	--line: #3a3a3a;
	--line-soft: #262626;
	--ink: #ffffff;
	--ink-2: #d6d6d6;
	--ink-3: #a8a8a8;
	--mark-main: #ffffff;
	--mark-roof: #ffffff;
	--mark-facet: #ffffff;
	--brand: #00b3a4;
	--brand-soft: #2cd3c4;
	--glow: 0, 179, 164;
	--shadow: 0 24px 60px -30px rgba(0, 0, 0, 1);
	color-scheme: dark;
}

/* ------------------------------------------------------------------- axes --*/
[data-density='tight'] { --band: clamp(44px, 6vw, 84px); }
[data-density='roomy'] { --band: clamp(64px, 9vw, 124px); }


/* ------------------------------------------------------------------ reset --*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: var(--lh-body);
	font-feature-settings: 'cv05' 1;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-block-start: 1px solid var(--line); margin: 0; }

::selection { background: var(--brand); color: #fff; }

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

.skip-link {
	position: absolute; inset-inline-start: -9999px; inset-block-start: 8px; z-index: 200;
	background: var(--brand-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { inset-inline-start: 12px; }


/* ------------------------------------------------------------- typography --*/
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: var(--lh-head);
	letter-spacing: -.022em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -.026em; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 550; letter-spacing: -.015em; }
h4 { font-size: 1rem; font-weight: 550; }
p { margin: 0 0 1em; }
p:last-child { margin-block-end: 0; }

.lead {
	font-size: clamp(1.06rem, 1.5vw, 1.26rem);
	line-height: 1.6;
	color: var(--ink-2);
	max-width: var(--maxw-text);
}

/* the small tracked label above a heading — mono, quiet, literal */
.eyebrow {
	font-family: var(--font-mono);
	font-size: .715rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: .6rem;
}
.eyebrow::before {
	content: '';
	inline-size: 22px; block-size: 1px;
	background: currentColor;
	opacity: .6;
	flex: none;
}
.eyebrow.is-plain::before { display: none; }
.eyebrow.is-plain { justify-content: center; }

.mono { font-family: var(--font-mono); font-size: .92em; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
strong, b { font-weight: 620; color: var(--ink); }

/* no letter-spacing on Han text, ever — see the zh block at the bottom */


/* ---------------------------------------------------------------- layout --*/
.wrap {
	inline-size: 100%;
	max-inline-size: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap-narrow { max-inline-size: 880px; }

.band { padding-block: var(--band); position: relative; }
.band[id] { scroll-margin-block-start: 88px; }
.band + .band { padding-block-start: 0; }
.band.has-line { border-block-start: 1px solid var(--line-soft); padding-block-start: var(--band); }
.band.is-panel { background: var(--ground-2); padding-block: var(--band); }
.band.is-panel + .band { padding-block-start: var(--band); }

.band-head { max-width: 780px; margin-block-end: clamp(32px, 4vw, 56px); }
.band-head:last-child { margin-block-end: 0; }
.band-head.is-wide { max-width: 980px; }
.band-head h2 + .lead, .band-head h1 + .lead { margin-block-start: -.15em; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-side { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 5vw, 64px); }
.grid-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 72px); }

.stack { display: grid; gap: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.is-center { justify-content: center; }

/* The faint lattice the site is printed on. Its cell is the mark's own grid
   unit; fixed, because it is the surface, not an element of the page. */
.page-grid {
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		linear-gradient(var(--line-soft) 1px, transparent 1px),
		linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
	background-size: 76px 76px;
	opacity: .38;
	mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
	-webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
}
.nw-view, .site-header, .site-footer { position: relative; z-index: 1; }


/* --------------------------------------------------------------- buttons --*/
.btn {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-line: var(--line);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--font-body);
	font-weight: 560;
	font-size: .965rem;
	letter-spacing: -.01em;
	line-height: 1;
	padding: .92em 1.4em;
	border-radius: var(--pill);
	border: 1px solid var(--btn-line);
	background: var(--btn-bg);
	color: var(--btn-fg);
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--speed) var(--ease), background var(--speed) var(--ease),
		border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), color var(--speed) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
	--btn-bg: var(--brand-deep);
	--btn-fg: #fff;
	--btn-line: var(--brand-deep);
	box-shadow: 0 10px 30px -12px rgba(var(--glow), .8);
}
.btn-primary:hover { --btn-bg: var(--brand); --btn-line: var(--brand); }

.btn-ghost { --btn-bg: transparent; --btn-line: var(--line); }
.btn-ghost:hover { --btn-line: var(--ink-3); background: color-mix(in srgb, var(--ink) 5%, transparent); }

.btn-sm { font-size: .875rem; padding: .7em 1.05em; }
.btn-lg { font-size: 1.03rem; padding: 1.02em 1.7em; }
.btn .ico { inline-size: 1.05em; block-size: 1.05em; }

.more {
	display: inline-flex; align-items: center; gap: .45em;
	font-weight: 560;
	color: var(--brand-soft);
	font-size: .95rem;
}
[data-theme='paper'] .more { color: var(--brand-deep); }
.more .ico { inline-size: 1em; block-size: 1em; transition: transform var(--speed) var(--ease); }
.more:hover .ico { transform: translateX(3px); }
/* the arrow is directional: one rule flips it when an RTL pack arrives */
.more .ico, .ico-dir { }
[dir='rtl'] .more .ico, [dir='rtl'] .ico-dir { transform: scaleX(-1); }

.ico { inline-size: 18px; block-size: 18px; }


/* ----------------------------------------------------------------- chrome --*/
.site-header {
	position: sticky; inset-block-start: 0; z-index: 60;
	background: color-mix(in srgb, var(--ground) 82%, transparent);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	border-block-end: 1px solid transparent;
	transition: border-color var(--speed) var(--ease);
}
.site-header.is-stuck { border-block-end-color: var(--line-soft); }

.header-in {
	display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px);
	block-size: 68px;
}

/* THE LOCKUP IS NOT REDESIGNED (2026-09-03 feedback): the header and footer
   carry the official files — white_logo.svg on the dark themes, logo.svg on
   paper — toggled by theme, never restyled. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { block-size: 30px; inline-size: auto; display: block; }
.brand .logo-light { display: none; }
[data-theme='paper'] .brand .logo-dark { display: none; }
[data-theme='paper'] .brand .logo-light { display: block; }

/* THE ISOTYPE'S COLOUR RULE (same feedback): full white on any dark ground;
   the coloured original ONLY on white or very light grounds. The three
   tokens are set per theme block above and nowhere else — a component may
   not invent a tint for the mark. */
.mark-cap, .mark-body { fill: var(--mark-main); }
.mark-roof { fill: var(--mark-roof); }
.mark-facet { fill: var(--mark-facet); }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a {
	font-size: .935rem; font-weight: 450;
	color: var(--ink-2);
	padding: .55em .78em;
	border-radius: var(--radius-sm);
	position: relative;
	transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav a.is-on { color: var(--ink); }
.nav a.is-on::after {
	content: ''; position: absolute; inset-inline: .78em; inset-block-end: .1em;
	block-size: 2px; border-radius: 2px; background: var(--accent);
}

.header-tools { display: flex; align-items: center; gap: 6px; flex: none; }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	inline-size: 38px; block-size: 38px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	background: transparent; color: var(--ink-2); cursor: pointer;
	transition: color var(--speed) var(--ease), background var(--speed) var(--ease),
		border-color var(--speed) var(--ease);
}
.icon-btn:hover, .icon-btn[aria-expanded='true'] {
	color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent);
	border-color: var(--line-soft);
}
.icon-btn.is-wide { inline-size: auto; padding-inline: .7em; font-size: .85rem; }
.icon-btn.is-wide #lang-cur { font-family: var(--font-mono); }
.icon-btn .ico { inline-size: 18px; block-size: 18px; }
.icon-btn.is-wa:hover { color: var(--ok); }

.burger { display: none; }

/* the drop-downs (persona, language, appearance) */
.menu {
	position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 70;
	min-inline-size: 240px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 8px;
	max-block-size: min(70vh, 560px); overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-anchor { position: relative; }

.menu-group + .menu-group { margin-block-start: 10px; border-block-start: 1px solid var(--line-soft); padding-block-start: 10px; }
.menu-label {
	font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3);
	padding: 4px 8px 6px;
}
.menu-opt {
	display: flex; align-items: center; gap: .6em; inline-size: 100%;
	padding: .5em .6em; border-radius: var(--radius-sm);
	border: 0; background: transparent; text-align: start;
	font-size: .9rem; color: var(--ink-2); cursor: pointer;
}
.menu-opt:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.menu-opt.is-on { color: var(--ink); }
.menu-opt.is-on .tick { opacity: 1; }
.menu-opt .tick { margin-inline-start: auto; inline-size: 15px; block-size: 15px; opacity: 0; color: var(--brand-soft); flex: none; }
.menu-opt .code { margin-inline-start: auto; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }
.menu-opt .code + .tick { margin-inline-start: .5em; }

.swatch {
	inline-size: 15px; block-size: 15px; border-radius: 5px; flex: none;
	border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.swatch-school   { background: linear-gradient(135deg, #021d26 50%, #009185 50%); }
.swatch-paper    { background: linear-gradient(135deg, #faf8f4 50%, #f19c1c 50%); }
.swatch-contrast { background: linear-gradient(135deg, #000 50%, #fff 50%); }
.swatch-roomy, .swatch-tight, .swatch-motion, .swatch-still { display: none; }

/* the mobile sheet */
.sheet {
	position: fixed; inset: 68px 0 0; z-index: 55;
	background: var(--ground);
	padding: 24px var(--gutter) 48px;
	overflow-y: auto;
	display: none;
}
.sheet[data-open='1'] { display: block; }
.sheet a:not(.btn) {
	display: block; padding: .85em 0;
	border-block-end: 1px solid var(--line-soft);
	font-size: 1.24rem; font-weight: 550;
	letter-spacing: -.02em;
}
.sheet a.is-on { color: var(--brand-soft); }
.sheet .btn { margin-block-start: 26px; inline-size: 100%; }
.sheet-block { margin-block-start: 22px; }
.sheet-block .menu-opt { padding-inline: 8px; }
.sheet-block .who-option { margin-block-end: 8px; }


/* ----------------------------------------------------------------- footer --*/
.site-footer {
	border-block-start: 1px solid var(--line-soft);
	background: var(--ground-2);
	padding-block: clamp(48px, 6vw, 80px) 28px;
	margin-block-start: var(--band);
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.footer-brand { max-inline-size: 340px; }
.footer-brand .lead { font-size: .95rem; margin-block-start: 14px; }
.footer-col h4 {
	font-family: var(--font-mono); font-size: .7rem; letter-spacing: .15em;
	text-transform: uppercase; color: var(--ink-3); margin-block-end: 1.1em; font-weight: 500;
}
.footer-col a { display: block; color: var(--ink-2); font-size: .93rem; padding: .3em 0; }
.footer-col a:hover { color: var(--brand-soft); }
.footer-bottom {
	display: flex; justify-content: space-between; align-items: center;
	gap: 18px; flex-wrap: wrap;
	margin-block-start: clamp(36px, 5vw, 64px); padding-block-start: 22px;
	border-block-start: 1px solid var(--line-soft);
	font-size: .855rem; color: var(--ink-3);
}
.footer-bottom a:hover { color: var(--brand-soft); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }


/* ------------------------------------------------------------------ hero --*/
.hero {
	position: relative;
	padding-block: clamp(56px, 8vw, 108px) clamp(40px, 6vw, 80px);
	overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-block-end: .38em; }
.hero .lead { font-size: clamp(1.1rem, 1.65vw, 1.34rem); }
.hero-cta { margin-block-start: 34px; }

/* the glow behind it — one radial in the brand teal */
.hero::before {
	content: ''; position: absolute; z-index: 0;
	inset-block-start: -30%; inset-inline-start: 50%; transform: translateX(-50%);
	inline-size: min(1400px, 150%); aspect-ratio: 2 / 1;
	background: radial-gradient(ellipse at center,
		rgba(var(--glow), .2) 0%, rgba(var(--glow), .06) 38%, transparent 68%);
	pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-art { display: grid; gap: 0; position: relative; }
.hero-mark {
	inline-size: clamp(84px, 9vw, 128px);
	margin-inline-start: auto; margin-block-end: -34px;
	z-index: 2; position: relative;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25));
}
/* On a dark ground the mark may not float in colour and turns to mush in
   white — so it sits on ITS OWN white chip, the way the product's app icon
   does. The chip is a very light ground, which is exactly where the colour
   rule allows the coloured original; the token override below is scoped to
   that chip and is the one sanctioned exception to the per-theme fills. */
[data-theme='school'] .hero-mark, [data-theme='contrast'] .hero-mark {
	--mark-main: #00232e; --mark-roof: #f19c1c; --mark-facet: #009185;
	background: #ffffff;
	padding: clamp(12px, 1.3vw, 18px);
	border-radius: clamp(16px, 1.8vw, 24px);
	box-shadow: var(--shadow);
}

/* The screenshot frame: a quiet browser chrome around the real thing. The
   image inside is never cropped or filtered (rule 6) — the frame is the only
   dressing it gets. */
.shot-frame {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.shot-frame img { inline-size: 100%; block-size: auto; display: block; }
.shot-bar {
	display: flex; gap: 6px; padding: 12px 14px;
	border-block-end: 1px solid var(--line-soft);
	background: color-mix(in srgb, var(--ink) 4%, var(--panel));
}
.shot-bar i { inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--line); display: block; }

/* A card's screenshot: a FULL SCREEN, never a crop (2026-09-03 feedback —
   a full image gives the message of an application working; the crops are
   reserved for the future 3D showcases). Full screens share one aspect, so
   the frame is simply the image, bordered and never cropped or filtered
   (rule 6). */
.proof-shot {
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
	margin-block-end: 18px;
	overflow: hidden;
	background: var(--ground-2);
}
.proof-shot img { inline-size: 100%; block-size: auto; display: block; }
.proof-shot.is-tall { max-inline-size: 560px; }

.proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-card h3 { font-size: 1.06rem; }
.proof-card p { font-size: .92rem; }


/* -------------------------------------------------------- the persona band --*/
.band-who { padding-block: 0; }
.who-panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-inline-start: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 3vw, 40px);
	box-shadow: var(--shadow);
}
.who-q {
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	margin-block-end: .35em;
}
.who-hint { color: var(--ink-2); font-size: .95rem; max-inline-size: 62ch; margin-block-end: 20px; }
.who-options { display: flex; gap: 10px; flex-wrap: wrap; }

.who-option {
	display: inline-flex; align-items: center; gap: .55em;
	font-size: .95rem; font-weight: 500;
	padding: .7em 1.15em;
	border-radius: var(--pill);
	border: 1px solid var(--line);
	background: transparent; color: var(--ink-2); cursor: pointer;
	transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease),
		background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.who-option:hover { color: var(--ink); border-color: var(--ink-3); transform: translateY(-1px); }
.who-option .who-dot {
	inline-size: 9px; block-size: 9px; border-radius: 50%;
	background: var(--line); flex: none;
	transition: background var(--speed) var(--ease);
}
.who-option.is-on {
	color: var(--ink);
	border-color: color-mix(in srgb, var(--brand) 60%, var(--line));
	background: color-mix(in srgb, var(--brand) 14%, transparent);
}
.who-option.is-on .who-dot { background: var(--accent); }


/* ------------------------------------------------------------------ cards --*/
.card {
	background: var(--panel);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: clamp(20px, 2.4vw, 30px);
	position: relative;
	transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease),
		box-shadow var(--speed) var(--ease);
}
.card h3 { margin-block-end: .45em; }
.card p { color: var(--ink-2); font-size: .95rem; }
a.card:hover {
	border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.chip {
	inline-size: 42px; block-size: 42px; border-radius: var(--radius-sm);
	display: grid; place-items: center;
	background: color-mix(in srgb, var(--brand) 16%, transparent);
	color: var(--brand-soft);
	border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
	margin-block-end: 18px;
}
[data-theme='paper'] .chip { color: var(--brand-deep); }
.chip .ico { inline-size: 21px; block-size: 21px; }
.chip.is-accent { background: color-mix(in srgb, var(--accent-soft) 15%, transparent); color: var(--accent); border-color: color-mix(in srgb, var(--accent-soft) 32%, transparent); }
.chip.is-soft { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); border-color: var(--line); }

.tag {
	display: inline-flex; align-items: center; gap: .4em;
	font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em;
	padding: .3em .6em; border-radius: var(--pill);
	border: 1px solid var(--line);
	color: var(--ink-3);
	white-space: nowrap;
}


/* --------------------------------------------------------------- the stub --
   The honest reservation: a band whose content belongs to a later stage says
   so, in so many words, instead of faking it. Every stub disappears as its
   stage lands; none may reach production (they are Spanish-only notes and
   the build check will flag a page that still carries one). */
.stub {
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 40px);
	font-family: var(--font-mono); font-size: .82rem; color: var(--ink-3);
	text-align: center;
}


/* --------------------------------------------------------- testimonials --*/
.sample-flag {
	display: inline-flex; align-items: center; gap: .6em;
	font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
	color: var(--accent-ink);
	background: var(--accent-soft);
	border-radius: var(--radius-sm);
	padding: .55em .9em;
	margin-block-end: 22px;
}
.sample-flag .ico { inline-size: 15px; block-size: 15px; flex: none; }

.testimonial { display: grid; gap: 18px; align-content: start; margin: 0; }
.testimonial blockquote {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.08rem; line-height: 1.5;
	color: var(--ink);
}
.testimonial blockquote::before { content: '\201C'; color: var(--accent); }
.testimonial blockquote::after { content: '\201D'; color: var(--accent); }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; }
.testi-avatar { inline-size: 44px; block-size: 44px; border-radius: 50%; flex: none; }
.testimonial figcaption b { display: block; font-size: .92rem; }
.testimonial figcaption small { color: var(--ink-3); font-size: .8rem; }


/* --------------------------------------------------------------- quote/cta --*/
.cta {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(var(--glow), .16), transparent 55%),
		var(--panel);
	padding: clamp(34px, 5vw, 66px);
	text-align: center;
	position: relative; overflow: hidden;
}
.cta h2 { margin-block-end: .35em; }
.cta .lead { margin-inline: auto; margin-block-end: 30px; }
.cta .row { justify-content: center; }
.cta-note { margin-block-start: 22px; font-size: .84rem; color: var(--ink-3); font-family: var(--font-mono); }


/* ------------------------------------------------------------------ forms --*/
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > label {
	font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3);
}
.field .req { color: var(--accent); }
.input {
	inline-size: 100%;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: .85em 1em;
	color: var(--ink);
	font-size: .96rem;
	transition: border-color var(--speed) var(--ease);
}
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.input::placeholder { color: var(--ink-3); }
select.input { appearance: none; cursor: pointer; }
.field-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* the honeypot: reachable by a bot, invisible and unreachable to a person */
.hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }

.form-note { font-size: .82rem; color: var(--ink-3); }
.notice {
	display: flex; gap: .8em; align-items: flex-start;
	padding: 14px 18px; border-radius: var(--radius-sm);
	border: 1px solid var(--line); font-size: .92rem;
}
.notice .ico { inline-size: 18px; block-size: 18px; flex: none; margin-block-start: .2em; }
.notice.is-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.notice.is-bad { color: var(--no); border-color: color-mix(in srgb, var(--no) 35%, transparent); background: color-mix(in srgb, var(--no) 8%, transparent); }
.notice[hidden] { display: none; }

.contact-aside { align-content: start; }
.contact-lines { display: grid; gap: 14px; }
.contact-line { display: flex; gap: 14px; align-items: center; }
.contact-line .ico { inline-size: 18px; block-size: 18px; color: var(--brand-soft); flex: none; }
[data-theme='paper'] .contact-line .ico { color: var(--brand-deep); }
.contact-line a, .contact-line span { color: var(--ink-2); font-size: .95rem; }
.contact-line a:hover { color: var(--brand-soft); }


/* ------------------------------------------------------------------ misc --*/
.nw-loading { display: grid; place-items: center; min-block-size: 60vh; }
.spinner {
	inline-size: 26px; block-size: 26px; border-radius: 50%;
	border: 2px solid var(--line); border-block-start-color: var(--brand-soft);
	animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }

.legal-body { max-inline-size: var(--maxw-text); }
.legal-body h2 { font-size: 1.4rem; margin-block-start: 2.2em; }
.legal-body h2:first-child { margin-block-start: 0; }


/* ---------------------------------------------------------------- motion --
   NOTHING IS HIDDEN UNTIL SOMETHING IS CERTAIN TO SHOW IT AGAIN. `.rise` on
   its own is visible; app.js stamps data-rise="on" at boot, and only then
   does the hidden state apply — a crawler or a blocked script reads the
   server-rendered page whole. */
[data-rise='on'] .rise { opacity: 0; transform: translateY(14px); }
[data-rise='on'] .rise.is-in {
	opacity: 1; transform: none;
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
	[data-rise='on'] .rise, [data-rise='on'] .rise.is-in { opacity: 1; transform: none; transition: none; }
}
[data-anim='still'] .rise, [data-anim='still'] .rise.is-in,
[data-anim='still'][data-rise='on'] .rise { opacity: 1; transform: none; transition: none; }


/* ------------------------------------------------------------ the year --*/
.year { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.year-side { display: grid; gap: 20px; }
.year-mark { inline-size: clamp(56px, 5vw, 76px); }
.year-spine { display: grid; gap: 4px; position: relative; }
/* the spine's own thread */
.year-spine::before {
	content: ''; position: absolute; inset-block: 14px; inset-inline-start: 17px;
	inline-size: 1px; background: var(--line);
}
.year-stop {
	display: flex; align-items: center; gap: 14px;
	padding: .55em .6em; border: 0; background: transparent;
	border-radius: var(--radius-sm);
	color: var(--ink-2); font-size: .95rem; font-weight: 500;
	cursor: pointer; text-align: start;
	position: relative;
	transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.year-stop:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.year-num {
	font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
	inline-size: 24px; block-size: 24px; flex: none;
	display: grid; place-items: center;
	border: 1px solid var(--line); border-radius: 50%;
	background: var(--ground-2);
	color: var(--ink-3);
	transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease),
		background var(--speed) var(--ease);
}
.year-stop.is-on { color: var(--ink); }
.year-stop.is-on .year-num {
	border-color: var(--accent); color: var(--accent-ink);
	background: var(--accent-soft);
}
.year-panel .shot-frame img { inline-size: 100%; block-size: auto; }
.year-line { margin-block-start: 14px; color: var(--ink-2); font-size: .95rem; max-inline-size: 62ch; }

/* the isotype assembles along the journey (§7.3.4): app.js maps the active
   stop to 1–4 built pieces whatever the persona's walk length; with no
   JavaScript, data-year-built stays 1 and the cap stands */
.year-mark .mark-roof, .year-mark .mark-facet, .year-mark .mark-body {
	opacity: .14;
	transition: opacity .5s var(--ease);
}
.year-band:is([data-year-built='2'], [data-year-built='3'], [data-year-built='4']) .year-mark .mark-roof { opacity: 1; }
.year-band:is([data-year-built='3'], [data-year-built='4']) .year-mark .mark-facet { opacity: 1; }
.year-band[data-year-built='4'] .year-mark .mark-body { opacity: 1; }

/* a pending stop's panel: the placeholder sits inside the browser frame —
   the reserved space Camilo asked to see, to imagine the capture it needs */
.year-panel .proof-shot.is-pending { border: 0; margin: 0; border-radius: 0; min-block-size: clamp(240px, 30vw, 380px); }

/* the for-everybody promises, two readable columns */
.assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em 2.5em; max-inline-size: 980px; }
.assurance-grid li { font-size: 1rem; }
.assurance-grid .ico { color: var(--ok); }


/* ---------------------------------------------------------- the hotspots --*/
.hotspot-wrap { max-inline-size: 980px; margin-inline: auto; }
.hotspot-stage { position: relative; }
.hotspot-stage img { inline-size: 100%; block-size: auto; display: block; }
.hotspot-layer { position: absolute; inset: 0; }
/* Physical left/top on the buttons themselves (see parts/hotspot.html):
   the screenshot never flips, so neither do its coordinates. */
.hotspot {
	position: absolute;
	inline-size: 28px; block-size: 28px;
	margin: -14px 0 0 -14px;
	border: 0; background: transparent; padding: 0; cursor: pointer;
	display: grid; place-items: center;
}
.hotspot-dot {
	inline-size: 14px; block-size: 14px; border-radius: 50%;
	background: var(--accent-soft);
	border: 2px solid #fff;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent), 0 2px 8px rgba(0, 0, 0, .35);
	transition: transform var(--speed) var(--ease);
}
.hotspot:hover .hotspot-dot, .hotspot:focus-visible .hotspot-dot { transform: scale(1.35); }
.hotspot.is-on .hotspot-dot { background: var(--brand); transform: scale(1.35); }
@keyframes hs-breathe {
	0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent), 0 2px 8px rgba(0, 0, 0, .35); }
	50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 14%, transparent), 0 2px 8px rgba(0, 0, 0, .35); }
}
[data-anim='motion'] .hotspot-dot { animation: hs-breathe 3.2s var(--ease) infinite; }
.hotspot-caption {
	margin-block-start: 16px;
	font-size: .95rem; color: var(--ink);
	min-block-size: 2.6em;
	padding: .7em 1em;
	border-inline-start: 3px solid var(--accent);
	background: color-mix(in srgb, var(--ink) 4%, transparent);
	border-radius: var(--radius-sm);
	max-inline-size: 70ch;
}


/* ---------------------------------------------------- the pending proof --
   A capability Camilo has stated whose capture is on its way: a placeholder
   that never pretends. Dashed, flagged, with the mark on its white chip. */
.proof-shot.is-pending {
	border: 1px dashed var(--line);
	display: grid; place-items: center; gap: 12px;
	align-content: center;
	aspect-ratio: 2266 / 1210;   /* the space a full screen will take */
	background: color-mix(in srgb, var(--ink) 4%, var(--ground-2));
}
.pending-mark {
	display: block; inline-size: 46px;
	background: #ffffff; padding: 9px; border-radius: 12px;
	--mark-main: #00232e; --mark-roof: #f19c1c; --mark-facet: #009185;
}
.pending-flag {
	font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent-ink); background: var(--accent-soft);
	padding: .4em .8em; border-radius: var(--pill);
}


/* ------------------------------------------------------ the mark, alive --
   §7.3, inside the brand's colour rule. The assembly plays once per session
   (app.js gates it); the hinge folds the facet a few degrees around the
   shared vertex at 533.5,742 — barely noticed and quietly alive; the nod is
   the same fold played once when the persona changes. transform-box:
   view-box puts the origin on the mark's own grid. */
.hero-mark .mark path { transform-box: view-box; }
.mark-intro path { animation: mark-piece .5s var(--ease) both; }
.mark-intro .mark-cap { animation-delay: .05s; }
.mark-intro .mark-roof { animation-delay: .2s; }
.mark-intro .mark-facet { animation-delay: .35s; }
.mark-intro .mark-body { animation-delay: .5s; }
@keyframes mark-piece {
	from { opacity: 0; transform: translateY(-26px); }
	to { opacity: 1; transform: none; }
}
[data-anim='motion'] .hero-mark .mark-facet {
	transform-origin: 50.02% 69.54%;
	animation: mark-hinge 7.5s var(--ease) infinite;
}
@keyframes mark-hinge {
	0%, 78%, 100% { transform: rotate(0); }
	86% { transform: rotate(-3.2deg); }
}
.mark-nod .mark-facet {
	animation: mark-nod-once .5s var(--ease) 1 !important;
	transform-origin: 50.02% 69.54%;
}
@keyframes mark-nod-once {
	40% { transform: rotate(-5deg); }
	to { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
	.mark-intro path, .hero-mark .mark-facet, .mark-nod .mark-facet,
	.hotspot-dot { animation: none !important; }
}
[data-anim='still'] .mark-intro path,
[data-anim='still'] .hero-mark .mark-facet { animation: none !important; }


/* ------------------------------------------------------- text animation --
   The visual half of nw_anim (the timing half is assets/js/nw_anim.js): one
   keyframe block and one class per effect. Adapted from the
   promotoracultural.org original with this site's tokens. */
.nw-anim { display: inline; }
.nw-anim-tilt, .nw-anim-shine { display: inline-block; }
.nw-anim-w { white-space: nowrap; }
.nw-anim[data-anim-when*="click"] { cursor: pointer; }
.nw-anim[data-anim-when*="click"]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
	border-radius: 2px;
}
.nw-anim-c {
	display: inline-block; font-style: inherit;
	will-change: transform, opacity, color;
}
.nw-anim-typewritter .nw-anim-c { opacity: 0; }
.nw-anim-typewritter.is-anim .nw-anim-c {
	animation: nwType .001s linear var(--d, 0s) forwards;
}
@keyframes nwType { to { opacity: 1; } }

.nw-anim-change-color.is-anim .nw-anim-c {
	animation: nwColor var(--anim-dur, .6s) ease-in-out var(--d, 0s) both;
}
@keyframes nwColor {
	40% { color: var(--c, var(--brand-soft)); }
	60% { color: var(--c, var(--brand-soft)); }
	to  { color: inherit; }
}

.nw-anim-bend.is-anim .nw-anim-c {
	animation: nwBend var(--anim-dur, .6s) ease-in-out var(--d, 0s) both;
}
@keyframes nwBend {
	40% { transform: translateY(-.24em) rotate(-6deg); }
	to  { transform: none; }
}

.nw-anim-flip.is-anim .nw-anim-c {
	animation: nwFlip var(--anim-dur, .6s) ease-in-out var(--d, 0s) both;
}
@keyframes nwFlip {
	50% { transform: rotateX(-90deg); }
	to  { transform: none; }
}

.nw-anim-rise.is-anim .nw-anim-c {
	animation: nwRise var(--anim-dur, .6s) var(--ease) var(--d, 0s) both;
}
@keyframes nwRise {
	from { transform: translateY(.7em); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.nw-anim-blur.is-anim .nw-anim-c {
	animation: nwBlur var(--anim-dur, .6s) ease-out var(--d, 0s) both;
}
@keyframes nwBlur {
	from { filter: blur(8px); opacity: 0; }
	to   { filter: none; opacity: 1; }
}

.nw-anim-tilt.is-anim {
	animation: nwTilt var(--anim-dur, .6s) ease-in-out both;
	transform-origin: left center;
}
@keyframes nwTilt {
	35% { transform: rotate(-2.2deg) scale(1.03); }
	to  { transform: none; }
}

/* the sweep rides a gradient through the text; -webkit-text-fill-color alone
   hides the painted glyph without touching what currentColor means */
.nw-anim-shine.is-anim {
	background: linear-gradient(100deg,
		currentColor 0%, currentColor 38%,
		color-mix(in srgb, var(--accent-soft) 55%, #fff) 50%,
		currentColor 62%, currentColor 100%);
	background-size: 300% 100%;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: nwShine var(--anim-dur, 1.8s) linear both;
}
@keyframes nwShine {
	from { background-position: 120% 0; }
	to   { background-position: -60% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.nw-anim, .nw-anim-c { animation: none !important; opacity: 1 !important; }
	.nw-anim-shine.is-anim {
		background: none; -webkit-text-fill-color: currentColor;
	}
}


/* ---------------------------------------------------------- per-language --
   Chinese re-points the type tokens (§3.2): both roles go to Noto Sans SC
   (loaded ONLY here, in stage 5 — a Colombian visitor never downloads it),
   the rhythm rises to Han line heights, letter-spacing is zeroed, and
   headline containers survive break-anywhere wrapping. These rules cost
   nothing while zh is unpublished and are the contract stage 5 builds
   against. */
html[lang='zh'] {
	--font-display: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--lh-body: 1.7;
	--lh-head: 1.25;
}
html[lang='zh'] h1, html[lang='zh'] h2, html[lang='zh'] h3, html[lang='zh'] h4 {
	letter-spacing: 0;
	line-break: strict;
	overflow-wrap: anywhere;
	text-wrap: balance;
}
html[lang='zh'] .eyebrow { letter-spacing: .04em; }

/* §3.6: the one line that owns the Spanish screenshots, in en and zh */
.shots-note {
	margin-block-start: 14px;
	padding: .6em .9em;
	border-inline-start: 3px solid var(--brand);
	background: color-mix(in srgb, var(--brand) 8%, transparent);
	border-radius: var(--radius-sm);
	font-size: .9rem; color: var(--ink-2);
	max-inline-size: 62ch;
}


/* ------------------------------------------------------------- responsive --*/
@media (max-width: 1080px) {
	.hero-in { grid-template-columns: 1fr; }
	.hero-art { order: -1; max-inline-size: 560px; }
	.footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; max-inline-size: none; }
	.grid-side { grid-template-columns: 1fr; }
	.contact-aside { order: 1; }
}

@media (max-width: 900px) {
	.nav, .header-tools .is-desk { display: none; }
	.burger { display: inline-flex; }
	.header-in { justify-content: space-between; }
	.grid-3, .grid-2, .proof-grid, .grid-split { grid-template-columns: 1fr; }
	.who-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.who-option { justify-content: flex-start; }
	.year { grid-template-columns: 1fr; }
	.year-side { grid-template-columns: auto 1fr; align-items: start; }
	.year-spine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
	.year-spine::before { display: none; }
	.year-stop { font-size: .88rem; padding: .5em; }
	.hotspot-caption { min-block-size: 3.6em; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.field-2 { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.assurance-grid { grid-template-columns: 1fr; }
	.who-options { grid-template-columns: 1fr; }
	.hero-mark { margin-block-end: -24px; }
	.brand img { block-size: 26px; }
}


/* ------------------------------------------------------------------ print --*/
@media print {
	.site-header, .site-footer, .page-grid, .hero::before, .btn, .sheet { display: none !important; }
	body { background: #fff; color: #000; }
	.card, .who-panel, .cta { border-color: #ccc; box-shadow: none; }
}
