/* ============================================================
   IAS.LTD — homepage, direction B "Instrument"
   Single committed light world. Every colour painted explicitly.
   ============================================================ */
:root {
	--ink:        #F6F9F9;
	--ink-2:      #EBF1F1;
	--surface:    #FFFFFF;
	--surface-2:  #EEF5F4;
	--line:       rgba(11, 100, 90, .16);
	--line-soft:  rgba(60, 85, 82, .22);
	--accent:     #0B7A6B;
	--accent-dim: #3E9A8C;
	--amber:      #9A5F06;
	--text:       #0B1A1D;
	--muted:      #455B58;
	--muted-2:    #5F7370;

	--display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--body:    'IBM Plex Sans', system-ui, sans-serif;
	--mono:    'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

	--rail: 60px;
	--maxw: 1220px;
	color-scheme: light;
}

/* ---------- self-hosted fonts ----------------------------
   Archivo (display, -3.5% tracking elsewhere), IBM Plex Sans (body) and
   IBM Plex Mono (eyebrows, codes, nav, all figures) — previously loaded
   from the Google Fonts CDN, now served from this repo. Weights match
   what the CDN request used to pull: Archivo 400/600/700/800/900, IBM
   Plex Sans 400/500/600, IBM Plex Mono 400/500/600. Each weight ships
   as two files, one per unicode-range subset (latin, latin-ext); see
   tools/fetch-fonts.sh, which downloaded these from Google's CSS2 API. */
@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../assets/fonts/archivo-400-latin.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../assets/fonts/archivo-400-latin-ext.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../assets/fonts/archivo-600-latin.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../assets/fonts/archivo-600-latin-ext.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../assets/fonts/archivo-700-latin.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../assets/fonts/archivo-700-latin-ext.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../assets/fonts/archivo-800-latin.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../assets/fonts/archivo-800-latin-ext.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('../assets/fonts/archivo-900-latin.woff2') format('woff2');
	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: 'Archivo';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('../assets/fonts/archivo-900-latin-ext.woff2') format('woff2');
	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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-sans-400-latin.woff2') format('woff2');
	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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-sans-400-latin-ext.woff2') format('woff2');
	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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-sans-500-latin.woff2') format('woff2');
	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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-sans-500-latin-ext.woff2') format('woff2');
	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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-sans-600-latin.woff2') format('woff2');
	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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-sans-600-latin-ext.woff2') format('woff2');
	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: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
	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: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
	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: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
	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: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
	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: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
	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: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../assets/fonts/ibm-plex-mono-600-latin-ext.woff2') format('woff2');
	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;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- chart-margin rail ---------------------------- */
.rail {
	position: fixed; top: 0; bottom: 0; left: 0; width: var(--rail);
	z-index: 30;
	border-right: 1px solid var(--line);
	background: var(--ink-2);
	display: flex; flex-direction: column; justify-content: space-between; align-items: center;
	padding-block: 18px;
}
.rail-ticks { flex: 1; width: 100%; position: relative; margin-block: 14px;
	background-image: repeating-linear-gradient(to bottom,
		var(--line) 0 1px, transparent 1px 28px);
}
.rail-ticks::after {
	content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 9px;
	background-image: repeating-linear-gradient(to bottom,
		var(--line-soft) 0 1px, transparent 1px 112px);
}
.rail-txt {
	font-family: var(--mono); font-size: 9.5px; letter-spacing: .28em;
	text-transform: uppercase; color: var(--muted-2);
	writing-mode: vertical-rl; white-space: nowrap;
}
.rail-mark { font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: .14em; color: var(--accent); }

/* ---------- shell ---------------------------------------- */
.shell { margin-left: var(--rail); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }

/* ---------- nav ------------------------------------------ */
.nav {
	position: sticky; top: 0; z-index: 25;
	background: rgba(246, 249, 249, .90);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 34px; padding-block: 16px; }
.brand { display: block; line-height: 0; }
.brand img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-family: var(--mono);
	font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
	font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--accent); border: 1px solid var(--accent-dim); padding: 10px 18px;
	transition: background .18s ease, color .18s ease;
}
.nav-cta:hover { background: var(--accent); color: var(--ink); }

/* ---------- hero ----------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 62px 62px;
	mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 20%, transparent 78%);
}
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fade { position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(246,249,249,.45) 0%, rgba(246,249,249,.04) 34%, rgba(246,249,249,.96) 100%); }

.hero-in { position: relative; z-index: 3; padding-block: 96px 68px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
	text-transform: uppercase; color: var(--accent); margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent-dim); }

h1 {
	font-family: var(--display); font-weight: 800;
	font-size: clamp(40px, 6.4vw, 82px); line-height: .98; letter-spacing: -.035em;
	margin: 0 0 26px; text-wrap: balance; max-width: 16ch; color: var(--text);
}
.lede { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 60ch; margin: 0 0 38px; }
.lede strong { color: var(--text); font-weight: 500; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
	padding: 16px 26px; border: 1px solid var(--accent-dim); color: var(--accent);
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-quiet { border-color: var(--line-soft); color: var(--muted); }
.btn-quiet:hover { background: transparent; border-color: var(--muted); color: var(--text); }

/* ---------- stat bar ------------------------------------- */
.stats {
	position: relative; z-index: 3;
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line);
}
.stat { padding: 26px 0 30px; border-right: 1px solid var(--line); padding-right: 20px; }
.stat:last-child { border-right: 0; }
.stat b {
	display: block; font-family: var(--display); font-weight: 800;
	font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--text);
	font-variant-numeric: tabular-nums; margin-bottom: 9px;
}
.stat span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
	text-transform: uppercase; color: var(--muted-2); }

/* ---------- section chrome ------------------------------- */
section { border-bottom: 1px solid var(--line); }
.sec-head {
	display: flex; align-items: baseline; gap: 18px;
	padding-block: 22px; border-bottom: 1px solid var(--line);
	font-family: var(--mono); font-size: 11px; letter-spacing: .24em;
	text-transform: uppercase; color: var(--muted-2);
}
.sec-head b { color: var(--accent); font-weight: 500; }
.sec-head i { flex: 1; height: 1px; background: var(--line); font-style: normal; }

h2 {
	font-family: var(--display); font-weight: 800;
	font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -.03em;
	margin: 0 0 20px; text-wrap: balance; color: var(--text);
}
h3 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.015em; margin: 0 0 8px; color: var(--text); }
p { margin: 0 0 18px; }

/* ---------- positioning ---------------------------------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; padding-block: 66px; align-items: start; }
.two-col p { color: var(--muted); max-width: 62ch; }
.two-col p:last-child { margin-bottom: 0; }
.pull {
	border-left: 2px solid var(--accent-dim); padding-left: 22px;
	font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.42;
	letter-spacing: -.012em; color: var(--text); margin-bottom: 26px;
}

/* ---------- flight strips (products) --------------------- */
.strips { padding-block: 14px 66px; }
.strip {
	display: grid; grid-template-columns: 116px minmax(0, 1fr) 148px 44px;
	align-items: stretch;
	border: 1px solid var(--line); border-top: 0;
	background: var(--surface);
	transition: background .16s ease;
}
.strip:first-of-type { border-top: 1px solid var(--line); }
.strip:hover { background: var(--surface-2); }
.strip > * { padding: 20px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.strip > *:last-child { border-right: 0; }
.strip-code {
	font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em;
	color: var(--accent); background: rgba(11, 122, 107, .06);
}
.strip-code small { display: block; font-size: 9.5px; letter-spacing: .18em; color: var(--muted-2); margin-top: 6px; }
.strip-body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.strip-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.strip-go { align-items: center; color: var(--muted-2); font-size: 17px; }
.strip:hover .strip-go { color: var(--accent); }

/* ---------- services ------------------------------------- */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-block: 0 0; }
.svc > div { padding: 42px 40px 42px 0; border-bottom: 1px solid var(--line); }
.svc > div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.svc > div:nth-child(even) { padding-left: 40px; padding-right: 0; }
.svc > div:nth-last-child(-n+2) { border-bottom: 0; }
.svc p { color: var(--muted); font-size: 15px; margin: 0; max-width: 46ch; }
.svc .tagline { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dim); margin-bottom: 14px; display: block; }

/* ---------- case study ----------------------------------- */
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; }
.case-txt { padding: 62px 48px 62px 0; border-right: 1px solid var(--line); }
.case-fig { padding: 62px 0 62px 48px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
/* Amber is reserved for attention and expiry (see HANDOFF.md, design system), so
   the case-study flag is teal now that it states a fact rather than a caveat. */
.flag {
	display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
	text-transform: uppercase; color: var(--accent); border: 1px solid rgba(11, 122, 107, .40);
	padding: 5px 10px; margin-bottom: 20px;
}
.metric { border-top: 1px solid var(--line); padding-top: 16px; }
.metric b { display: block; font-family: var(--display); font-weight: 800; font-size: 30px;
	letter-spacing: -.03em; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.metric span { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- reseller band -------------------------------- */
.band { background: var(--surface); }
.band-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: center; padding-block: 52px; }
.band h2 { margin-bottom: 12px; font-size: clamp(24px, 2.8vw, 34px); }
.band p { color: var(--muted); margin: 0; max-width: 58ch; }

/* ---------- coverage ------------------------------------- */
.cover { padding-block: 54px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; }
.cover-label { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.cover-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cover-list span {
	font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--muted); border: 1px solid var(--line-soft); padding: 8px 14px;
}

/* ---------- footer --------------------------------------- */
footer { background: var(--ink-2); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 60px 44px; }
.foot h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
	color: var(--muted-2); margin: 0 0 16px; font-weight: 500; }
.foot p, .foot li { color: var(--muted); font-size: 14px; margin: 0 0 7px; line-height: 1.55; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a:hover { color: var(--accent); }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand .brand img { height: 38px; }
.foot-note { border-top: 1px solid var(--line); padding-block: 20px 30px;
	display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
	font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
	text-transform: uppercase; color: var(--muted-2); }
.sisters { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- motion --------------------------------------- */
@keyframes sweep { to { transform: rotate(360deg); } }
.sweep { transform-origin: 900px 250px; animation: sweep 14s linear infinite; }
@media (prefers-reduced-motion: reduce) {
	.sweep { animation: none; }
	* { transition: none !important; }
}

/* ---------- responsive ----------------------------------- */
@media (max-width: 1000px) {
	.two-col { grid-template-columns: 1fr; gap: 32px; padding-block: 52px; }
	.case { grid-template-columns: 1fr; }
	.case-txt { border-right: 0; border-bottom: 1px solid var(--line); padding: 48px 0; }
	.case-fig { padding: 40px 0; }
	.band-in { grid-template-columns: 1fr; gap: 26px; }
	.foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cover { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 780px) {
	:root { --rail: 0px; }
	.rail { display: none; }
	.wrap { padding-inline: 20px; }
	.nav-links { display: none; }
	.nav-in { gap: 16px; }
	.nav-cta { margin-left: auto; padding: 9px 14px; font-size: 10px; }
	.hero-in { padding-block: 62px 48px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.strip { grid-template-columns: 1fr; }
	.strip > * { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 16px; }
	.strip > *:last-child { display: none; }
	.strip-code { flex-direction: row; gap: 12px; align-items: baseline; }
	.strip-code small { margin-top: 0; }
	.svc { grid-template-columns: 1fr; }
	.svc > div, .svc > div:nth-child(odd), .svc > div:nth-child(even) {
		padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.svc > div:last-child { border-bottom: 0; }
	.foot { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- rich-text wrappers ---------------------------- */
/* A rich-text field renders its own <p>s, so the places where the design had a
   single styled paragraph (.lede, .pull) are now a wrapper around one. The
   wrapper keeps the styling; the paragraphs inside inherit it. */
.lede > p, .pull > p { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.lede > p + p, .pull > p + p { margin-top: .6em; }
.two-col .pull p { color: var(--text); }

/* ---------- product status ------------------------------- */
/* Amber is semantic here, per the design system: this platform is not built yet. */
.strip-dev {
	margin-left: 10px; vertical-align: middle;
	font-family: var(--mono); font-size: 9px; font-weight: 500;
	letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
	border: 1px solid rgba(154, 95, 6, .42); border-radius: 2px; padding: 2px 6px;
	white-space: nowrap;
}
/* The counterpart to .strip-dev: this one is in production. Teal, not amber. */
.strip-live {
	margin-left: 10px; vertical-align: middle;
	font-family: var(--mono); font-size: 9px; font-weight: 500;
	letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
	border: 1px solid rgba(11, 122, 107, .40); border-radius: 2px; padding: 2px 6px;
	white-space: nowrap;
}

/* ---------- platform pages -------------------------------- */
.product { padding-block: 10px 0; }
.product-head { padding-block: 34px 44px; max-width: 74ch; }
.product-head h1 {
	font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px);
	letter-spacing: -.035em; line-height: 1.04; margin: 0 0 20px;
}
.product-head .lede { margin-bottom: 0; }
.product-body { padding-block: 52px 66px; grid-template-columns: minmax(0, 1fr); }
.product-body p { color: var(--muted); max-width: 68ch; }
.sec-head a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.sec-head a:hover { color: var(--accent); }

/* ---------- prose (About) --------------------------------- */
.prose h2 {
	font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em;
	color: var(--text); margin: 44px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); max-width: 68ch; }
.prose strong { color: var(--text); font-weight: 500; }

/* ---------- forms ----------------------------------------- */
.form { max-width: 620px; padding-block: 8px 66px; }
.field { margin-bottom: 26px; }
.field label {
	display: block; margin-bottom: 8px;
	font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
	text-transform: uppercase; color: var(--muted);
}
.field label small { color: var(--muted-2); text-transform: none; letter-spacing: .06em; }
.form-section {
	margin: 44px 0 22px; padding-top: 18px; border-top: 1px solid var(--line);
	font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .18em;
	text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
	width: 100%; padding: 13px 14px;
	background: var(--surface); color: var(--text);
	border: 1px solid var(--line); border-radius: 2px;
	font-family: var(--body); font-size: 15px; line-height: 1.5;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
	outline: none; border-color: var(--accent-dim);
	box-shadow: 0 0 0 3px rgba(11, 122, 107, .14);
}
.field.has-error input, .field.has-error textarea { border-color: rgba(154, 95, 6, .65); }
.field-error {
	display: block; margin-top: 8px;
	font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--amber);
}
.form-error-summary {
	font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--amber); border-left: 2px solid rgba(154, 95, 6, .55);
	padding: 10px 0 10px 16px; margin-bottom: 28px;
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.form-note { font-size: 13px; color: var(--muted-2); max-width: 38ch; }

/* The honeypot. Off-screen rather than display:none, which some bots detect. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-done { padding-block: 8px 66px; max-width: 60ch; }
.form-done h2 {
	font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px);
	letter-spacing: -.03em; margin: 0 0 16px;
}
.form-done p { color: var(--muted); }
.stat b a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.stat b a:hover { color: var(--accent); }

/* ---------- empty state ----------------------------------- */
.empty { padding-block: 8px 20px; max-width: 62ch; }
.empty p { color: var(--muted); }
.empty .btn { margin-top: 10px; }

/* Staff-only screening invites (site/templates/screening-invite.php) */
.invite-table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 14px; }
.invite-table th, .invite-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.invite-table th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.invite-preview { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--ink-2); border: 1px solid var(--line); padding: 18px; margin: 0 0 28px; font-size: 14px; line-height: 1.6; }
