/* latin subsets of the Google Fonts below, fetched 2026-11-04 (SIL Open Font License). build.py inlines them.
   https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500..800&family=Inter:wght@400..700&family=Geist+Mono:wght@400..500&display=swap */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-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;
}

/* Layout: one 1200px column on a cool paper ground. Ink bands carry the product moments.
   Sun orange is the sundial dot: small accents only, never a fill for big surfaces. */
:root {
	--ink: #0d1019;
	--ink-2: #262b36;
	--ink-3: #3d4350;
	--mute: #596070;
	--mute-2: #868c98;
	--line: #dde1e4;
	--line-2: #e9ecee;
	--bg: #f7f8f8;
	--paper: #eceff0;
	--card: #ffffff;
	--sun: #f6952c;
	--sun-deep: #9e5508;
	--sun-soft: #fef0df;
	--night: #0d1019;
	--night-2: #151925;
	--night-3: #1d2230;
	--night-line: #2a303e;
	--on-night: #f3f3f3;
	--on-night-mute: #a0a6b2;
	--ok: #1d6b3e;
	--ok-soft: #e2f2e8;
	--warn: #a23a2a;

	--t-yellow-bg: #fdf1dc; --t-yellow: #855000;
	--t-blue-bg: #e4edfb;   --t-blue: #1f4f9c;
	--t-purple-bg: #ece7fa; --t-purple: #5a3ba8;
	--t-green-bg: #e2f2e8;  --t-green: #1d6b3e;
	--t-red-bg: #fbe7e3;    --t-red: #a23a2a;
	--t-ink-bg: #e7e9ec;    --t-ink: #0d1019;
	--t-teal-bg: #dcf0ee;   --t-teal: #0f5f5a;

	--f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--r-xs: 6px;
	--r-sm: 9px;
	--r: 12px;
	--r-lg: 18px;
	--r-xl: 26px;
	--shadow-1: 0 1px 2px rgba(13, 16, 25, 0.05), 0 1px 1px rgba(13, 16, 25, 0.03);
	--shadow-2: 0 14px 34px -14px rgba(13, 16, 25, 0.2), 0 2px 6px rgba(13, 16, 25, 0.05);
	--shadow-3: 0 40px 90px -30px rgba(13, 16, 25, 0.32), 0 10px 26px -10px rgba(13, 16, 25, 0.14);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--head-h: 68px;
	--gutter: max(20px, env(safe-area-inset-left, 0px));
	--gutter-r: max(20px, env(safe-area-inset-right, 0px));
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss01";
	overflow-x: hidden;
}
body::before {
	content: "";
	position: fixed;
	inset: 0 0 auto;
	height: env(safe-area-inset-top, 0px);
	z-index: 60;
	background: var(--card);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun-soft); color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-night); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap-n { max-width: 960px; }
.display {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: clamp(40px, 5.8vw, 78px);
	line-height: 0.98;
	letter-spacing: -0.045em;
	text-wrap: balance;
}
.h1 {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: clamp(38px, 5.2vw, 66px);
	line-height: 1.02;
	letter-spacing: -0.04em;
	text-wrap: balance;
}
.h2 {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.h3 { font-family: var(--f-display); font-weight: 650; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.h4 { font-family: var(--f-display); font-weight: 650; font-size: 18px; line-height: 1.3; letter-spacing: -0.012em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--mute); max-width: 62ch; text-wrap: pretty; }
.body { color: var(--mute); text-wrap: pretty; }
.small { font-size: 14px; color: var(--mute); }
.mono { font-family: var(--f-mono); }
.mute { color: var(--mute); }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--f-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); flex: none; }
.on-night .eyebrow { color: var(--on-night-mute); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
	--b-bg: var(--ink);
	--b-fg: var(--on-night);
	--b-bd: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--b-bg);
	color: var(--b-fg);
	border: 1px solid var(--b-bd);
	font-weight: 550;
	font-size: 15px;
	letter-spacing: -0.005em;
	white-space: nowrap;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.2s var(--ease); }
.btn-ghost { --b-bg: var(--card); --b-fg: var(--ink); --b-bd: var(--line); }
.btn-sun { --b-bg: var(--sun); --b-fg: var(--ink); --b-bd: var(--sun); }
.btn-light { --b-bg: var(--on-night); --b-fg: var(--ink); --b-bd: var(--on-night); }
.btn-line-night { --b-bg: transparent; --b-fg: var(--on-night); --b-bd: var(--night-line); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 550;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
	padding-bottom: 2px;
	transition: border-color 0.2s;
}
.link svg { width: 15px; height: 15px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Tags ---------- */
.tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 550;
	letter-spacing: -0.003em;
	background: var(--t-ink-bg);
	color: var(--t-ink);
	white-space: nowrap;
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.tone-yellow { background: var(--t-yellow-bg); color: var(--t-yellow); }
.tone-blue { background: var(--t-blue-bg); color: var(--t-blue); }
.tone-purple { background: var(--t-purple-bg); color: var(--t-purple); }
.tone-green { background: var(--t-green-bg); color: var(--t-green); }
.tone-red { background: var(--t-red-bg); color: var(--t-red); }
.tone-ink { background: var(--t-ink-bg); color: var(--t-ink); }
.tone-teal { background: var(--t-teal-bg); color: var(--t-teal); }
.tone-sun { background: var(--sun-soft); color: var(--sun-deep); }
.rec {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--f-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 3px 7px;
	border-radius: 5px;
	border: 1px solid var(--line);
	color: var(--ink-3);
	background: var(--card);
	white-space: nowrap;
}
.rec svg { width: 11px; height: 11px; }
.rec-person { border-color: #b9dcd8; color: var(--t-teal); background: var(--t-teal-bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 13px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink-2);
	white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; color: var(--mute); }

/* ---------- Header ---------- */
.hdr {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 50;
	background: rgba(255, 255, 255, 0.86);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s, background 0.25s;
}
.hdr.scrolled, .hdr.menu-open { border-color: var(--line); background: rgba(255, 255, 255, 0.96); }
.hdr-in { display: flex; align-items: center; height: var(--head-h); gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand .mark { width: 30px; height: 30px; }
.wordmark { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -0.05em; line-height: 1; color: var(--ink); padding-bottom: 2px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-i {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 38px;
	padding: 0 13px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-2);
	transition: background 0.18s, color 0.18s;
}
.nav-i svg { width: 14px; height: 14px; color: var(--mute-2); transition: transform 0.22s var(--ease); }
.nav-i[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr-login { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 0 10px; height: 38px; display: inline-flex; align-items: center; border-radius: 999px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 999px; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--card); }
.burger svg { width: 20px; height: 20px; }

/* Mega menu */
.mega-layer { position: absolute; left: 0; right: 0; top: 100%; pointer-events: none; }
.mega {
	position: absolute;
	top: 8px;
	left: 50%;
	width: min(980px, calc(100vw - 40px));
	transform: translate(-50%, -6px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-3);
	transition: opacity 0.2s var(--ease), transform 0.24s var(--ease), visibility 0s linear 0.24s;
	display: grid;
	grid-template-columns: 1fr 1fr 300px;
	overflow: hidden;
}
.mega.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; transition: opacity 0.2s var(--ease), transform 0.24s var(--ease), visibility 0s; }
.mega-col { padding: 24px 18px 22px; min-width: 0; }
.mega-col + .mega-col { border-left: 1px solid var(--line-2); }
.mega-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-2); padding: 0 12px 10px; }
.mega-l { display: flex; gap: 13px; padding: 11px 12px; border-radius: var(--r); transition: background 0.16s; align-items: flex-start; }
.mega-ic { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; flex: none; color: var(--ink); transition: border-color 0.16s, background 0.16s; }
.mega-ic svg { width: 18px; height: 18px; }
.mega-t { display: block; font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em; color: var(--ink); line-height: 1.3; }
.mega-d { display: block; font-size: 13px; line-height: 1.4; color: var(--mute); margin-top: 2px; }
.mega-new { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 5px; border-radius: 4px; background: var(--sun-soft); color: var(--sun-deep); margin-left: 6px; vertical-align: 2px; }
.mega-feat { background: var(--night); color: var(--on-night); padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.mega-feat .mega-h { color: var(--on-night-mute); padding: 0; }
.mega-feat h4 { font-family: var(--f-display); font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.mega-feat p { font-size: 13.5px; color: var(--on-night-mute); line-height: 1.5; }
.mega-feat .link { color: var(--on-night); border-color: var(--night-line); margin-top: auto; align-self: flex-start; }
.mega-feat .tag { background: var(--night-3); color: var(--on-night); }
.mega-lv { display: grid; gap: 6px; }
.mega-lv div { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid var(--night-line); border-radius: 10px; font-size: 13.5px; }
.mega-lv b { font-family: var(--f-display); font-size: 18px; letter-spacing: -0.02em; }
.mega-note { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 12px; padding: 12px; font-size: 12.5px; color: var(--on-night-mute); line-height: 1.5; }
.mega-note b { color: var(--on-night); font-weight: 600; display: block; margin-bottom: 4px; font-size: 13px; }
.mega-note .src { font-family: var(--f-mono); font-size: 11px; color: var(--sun); margin-top: 6px; display: block; }
.mega-bar { grid-column: 1 / -1; border-top: 1px solid var(--line-2); padding: 13px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg); font-size: 13.5px; color: var(--mute); }
.mega-bar a { font-weight: 600; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.mega-bar svg { width: 14px; height: 14px; }

/* Mobile drawer */
.drawer { display: none; }
@media (max-width: 1020px) {
	.nav, .hdr-cta .hdr-login, .hdr-cta .btn-ghost { display: none; }
	.burger { display: inline-flex; }
	.hdr-in { justify-content: space-between; gap: 12px; }
	.hdr-cta { gap: 8px; }
	.drawer {
		display: block;
		position: fixed;
		inset: calc(var(--head-h) + env(safe-area-inset-top, 0px)) 0 0;
		background: var(--card);
		z-index: 49;
		overflow-y: auto;
		padding: 8px var(--gutter-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gutter);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s, transform 0.22s var(--ease), visibility 0s linear 0.22s;
	}
	.drawer.open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.2s, transform 0.22s var(--ease), visibility 0s; }
}
.dr-sec { border-bottom: 1px solid var(--line-2); }
.dr-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; font-family: var(--f-display); font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
.dr-btn svg { width: 18px; height: 18px; color: var(--mute); transition: transform 0.2s; }
.dr-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dr-list { display: none; padding: 0 0 14px; }
.dr-list.open { display: grid; gap: 2px; }
.dr-list a { display: flex; gap: 12px; align-items: center; padding: 10px 4px; border-radius: 10px; font-weight: 550; font-size: 15.5px; }
.dr-list a > span:last-child { color: var(--ink); font-weight: 600; }
.dr-list a span span { display: block; font-weight: 400; color: var(--mute); font-size: 13.5px; }
.dr-list .mega-ic { width: 34px; height: 34px; }
.dr-cta { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(76px, 9vw, 132px); position: relative; }
.sec-tight { padding-block: clamp(56px, 6vw, 88px); }
.sec-paper { background: var(--paper); }
.sec-card { background: var(--card); border-block: 1px solid var(--line-2); }
.on-night { background: var(--night); color: var(--on-night); }
.on-night .lede, .on-night .body { color: var(--on-night-mute); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 24px 64px; }
.sec-head.split .lede { justify-self: end; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: minmax(0, 1fr); } .sec-head.split .lede { justify-self: start; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.hero-grid > .display { max-width: 1120px; }
.hero-chip {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	gap: 10px;
	height: 34px;
	padding: 0 14px 0 6px;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--line);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink-2);
	justify-self: start;
	box-shadow: var(--shadow-1);
}
.hero-chip b { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink); color: var(--on-night); padding: 4px 8px; border-radius: 999px; }
.rot { display: inline-flex; align-items: baseline; position: relative; white-space: nowrap; }
.rot-box {
	display: inline-flex;
	align-items: center;
	gap: 0.18em;
	padding: 0.02em 0.22em 0.06em 0.16em;
	margin-inline: 0.04em;
	border-radius: 0.2em;
	background: var(--card);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-2);
	transform: translateY(-0.04em);
	transition: width 0.45s var(--ease);
	overflow: hidden;
	vertical-align: baseline;
}
.rot-box img { width: 0.62em; height: 0.62em; flex: none; object-fit: contain; }
.rot-word { display: inline-block; transition: opacity 0.28s var(--ease), transform 0.36s var(--ease), filter 0.28s; }
.rot-word.out { opacity: 0; transform: translateY(-0.35em); filter: blur(4px); }
.rot-word.in { opacity: 0; transform: translateY(0.35em); filter: blur(4px); }
.hero .lede { max-width: 640px; }
.signup { display: flex; gap: 8px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; max-width: 470px; box-shadow: var(--shadow-1); transition: border-color 0.2s, box-shadow 0.2s; }
.signup:focus-within { border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(246, 149, 44, 0.18); }
.signup input { flex: 1 1 0; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 16px; font-size: 15.5px; }
.signup input::placeholder { color: var(--mute-2); }
.signup-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 13.5px; color: var(--mute); }
.signup-meta span { display: inline-flex; align-items: center; gap: 6px; }
.signup-meta svg { width: 15px; height: 15px; color: var(--ok); }
.signup-meta a { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.signup-meta a svg { color: var(--ink); width: 14px; }
.form-msg { font-size: 13.5px; color: var(--warn); min-height: 0; }
.form-msg:empty { display: none; }
.hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(900px 420px at 88% -8%, rgba(246, 149, 44, 0.1), transparent 70%),
		radial-gradient(700px 400px at 10% 0%, rgba(13, 16, 25, 0.035), transparent 70%);
}
.hero-dial { position: absolute; right: -150px; top: -120px; width: 620px; height: 620px; opacity: 0.06; pointer-events: none; color: var(--ink); }
@media (max-width: 860px) { .hero-dial { width: 380px; height: 380px; right: -170px; top: -60px; } }

/* ---------- Product stage (hero) ---------- */
.stage-wrap { padding-bottom: clamp(56px, 7vw, 96px); }
.stage {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-3);
	overflow: hidden;
}
.stage-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.stage-title { font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.stage-title span { overflow: hidden; text-overflow: ellipsis; }
.stage-title .mark { width: 16px; height: 16px; }
.stage-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok); }
.stage-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); position: relative; }
.stage-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); opacity: 0.45; animation: ring 2s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.45; } to { transform: scale(2.6); opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29, 107, 62, 0.35); } 70% { box-shadow: 0 0 0 8px rgba(29, 107, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 107, 62, 0); } }
.stage-body { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr) minmax(0, 1.12fr); min-height: 430px; }
.pane { padding: 20px; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 14px; }
.pane + .pane { border-left: 1px solid var(--line-2); }
.pane-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pane-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); display: flex; gap: 8px; align-items: center; }
.pane-k b { color: var(--ink); font-weight: 500; }
.pane-s { font-size: 12.5px; color: var(--mute); }
.crm-pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.crm-pill img { width: 16px; height: 16px; object-fit: contain; }
.crm-pill .sw { transition: opacity 0.25s; }
.list { display: grid; gap: 4px; }
.li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid transparent;
	transition: background 0.3s, border-color 0.3s, opacity 0.3s;
}
.li .av { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); overflow: hidden; }
.li .av img { width: 17px; height: 17px; object-fit: contain; }
.li .av.p { border-radius: 50%; background: var(--t-teal-bg); border-color: #c7e5e1; color: var(--t-teal); font-size: 11px; font-weight: 650; letter-spacing: 0.02em; }
.li .nm { font-size: 13.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .sub { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.li .st { font-family: var(--f-mono); font-size: 10.5px; color: var(--mute-2); letter-spacing: 0.04em; }
.li.scan { background: var(--bg); border-color: var(--line); }
.li.hit { background: var(--sun-soft); border-color: #f7cf9f; }
.li.hit .st { color: var(--sun-deep); }
.li.dim { opacity: 0.45; }
.scanline { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; position: relative; }
.scanline i { position: absolute; inset: 0; background: var(--ink); border-radius: 3px; transform: scaleX(0); transform-origin: left center; transition: transform 0.4s linear; }
.reading { display: flex; flex-wrap: wrap; gap: 6px; }
.reading span { font-family: var(--f-mono); font-size: 11px; color: var(--mute); padding: 4px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line-2); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.reading span.on { color: var(--ink); border-color: var(--ink-3); background: var(--card); }
.sigcard {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px;
	background: var(--card);
	box-shadow: var(--shadow-2);
	display: grid;
	gap: 12px;
	transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.sigcard.hide { opacity: 0; transform: translateY(12px) scale(0.985); }
.sig-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sig-who { display: flex; gap: 11px; align-items: center; min-width: 0; }
.sig-who .av { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--bg); flex: none; overflow: hidden; }
.sig-who .av img { width: 20px; height: 20px; object-fit: contain; }
.sig-who .av.p { border-radius: 50%; background: var(--t-teal-bg); color: var(--t-teal); font-weight: 650; font-size: 13px; border-color: #c7e5e1; }
.sig-who b { display: block; font-size: 14.5px; line-height: 1.25; }
.sig-who span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig-head { font-family: var(--f-display); font-size: 17px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }
.sig-src { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.sig-src a { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); border-bottom: 1px dashed var(--line); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.sig-src a svg { width: 11px; height: 11px; flex: none; }
.sig-why { font-size: 13px; color: var(--ink-3); line-height: 1.5; padding-top: 12px; border-top: 1px dashed var(--line); }
.sig-why b { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); display: block; font-weight: 500; margin-bottom: 4px; }

/* CRM record mock (shared) */
.crm {
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.crm-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); background: var(--bg); position: relative; }
.crm-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--crm-c, var(--ink)); opacity: 0.85; transition: background 0.3s; }
.crm-top img { width: 16px; height: 16px; object-fit: contain; }
.crm-top b { font-size: 12.5px; font-weight: 650; }
.crm-top span { font-size: 11.5px; color: var(--mute); margin-left: auto; font-family: var(--f-mono); }
.crm-rec { display: flex; gap: 12px; align-items: center; padding: 14px 14px 10px; }
.crm-rec .av { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; flex: none; overflow: hidden; }
.crm-rec .av img { width: 22px; height: 22px; object-fit: contain; }
.crm-rec .av.p { border-radius: 50%; background: var(--t-teal-bg); color: var(--t-teal); font-weight: 650; font-size: 14px; border-color: #c7e5e1; }
.crm-rec b { display: block; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
.crm-rec span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.3; }
.crm-tabs { display: flex; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--line-2); font-size: 12px; color: var(--mute); overflow: hidden; }
.crm-tabs span { padding: 8px 0; white-space: nowrap; }
.crm-tabs span.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); font-weight: 600; }
.crm-feed { padding: 12px; display: grid; gap: 10px; align-content: start; flex: 1; }
.note, .task, .slack {
	border: 1px solid var(--line);
	border-radius: 11px;
	padding: 11px 12px;
	background: var(--card);
	display: grid;
	gap: 6px;
	font-size: 12.5px;
	line-height: 1.45;
	transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
}
.note.hide, .task.hide, .slack.hide { opacity: 0; transform: translateY(10px); }
.note-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; }
.note-h svg { width: 14px; height: 14px; flex: none; }
.note-h .mark { width: 14px; height: 14px; }
.note-h em { font-style: normal; color: var(--mute-2); font-weight: 400; margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; }
.note p { color: var(--ink-2); }
.note .q { color: var(--ink-3); font-style: italic; padding-left: 10px; border-left: 2px solid var(--sun); }
.note .s { font-family: var(--f-mono); font-size: 10.5px; color: var(--mute); }
.task { grid-template-columns: 18px minmax(0, 1fr) auto; align-items: start; gap: 9px; }
.task .ck { width: 16px; height: 16px; border: 1.5px solid var(--ink-3); border-radius: 5px; margin-top: 1px; }
.task b { font-weight: 600; display: block; font-size: 12.5px; }
.task .due { font-family: var(--f-mono); font-size: 10.5px; color: var(--sun-deep); background: var(--sun-soft); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.slack { background: var(--bg); grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.slack .sl { width: 26px; height: 26px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; }
.slack .sl img { width: 15px; height: 15px; }
.slack b { font-weight: 650; font-size: 12px; }
.slack .ch { font-family: var(--f-mono); font-size: 10.5px; color: var(--mute); }
@media (max-width: 1020px) {
	.stage-body { grid-template-columns: 1fr 1fr; }
	.pane-crm { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line-2); }
}
@media (max-width: 680px) {
	.stage-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.pane + .pane { border-left: 0; border-top: 1px solid var(--line-2); }
	/* phones list four records; the one this run is about takes the fourth place */
	.pane-list .list .li:nth-child(n + 5):not(.ph-show) { display: none; }
	.pane-list .list .li:nth-child(4):has(~ .ph-show) { display: none; }
}

/* ---------- Logo strip ---------- */
.strip { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; justify-content: center; }
.strip-h { width: 100%; text-align: center; font-size: 13.5px; color: var(--mute); margin-bottom: 4px; }
.strip-i { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 16px; color: var(--ink-2); letter-spacing: -0.01em; filter: grayscale(1); opacity: 0.78; transition: filter 0.25s, opacity 0.25s; }
.strip-i img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- Statement + pillars ---------- */
.statement { font-family: var(--f-display); font-weight: 650; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -0.032em; max-width: 30ch; text-wrap: balance; }
.statement .mute { color: var(--mute-2); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.pillar { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun-deep); }
.pillar p:last-child { color: var(--mute); font-size: 15.5px; }
@media (max-width: 800px) {
	.pillars { grid-template-columns: minmax(0, 1fr); }
	.pillar, .pillar + .pillar { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.step-vis { height: 360px; background: var(--bg); border-bottom: 1px solid var(--line-2); position: relative; overflow: hidden; padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.step-txt { padding: 24px 26px 28px; display: grid; gap: 10px; align-content: start; }
.step-n { font-family: var(--f-mono); font-size: 12px; color: var(--mute-2); letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; }
.step-n::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.step-txt p { color: var(--mute); font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); } .step-vis { height: auto; min-height: 300px; } }

/* Step 1: connect */
.cx-crms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.cx-crm { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.cx-crm img { width: 46%; height: 46%; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: filter 0.3s, opacity 0.3s; }
.cx-crm.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13, 16, 25, 0.06); transform: translateY(-2px); }
.cx-crm.on img { filter: none; opacity: 1; }
.cx-lists { display: grid; gap: 6px; }
.cx-l { display: grid; grid-template-columns: 24px minmax(0, 1fr) 30px; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-2); font-size: 12.5px; }
.cx-l .ic { width: 24px; height: 24px; border-radius: 7px; background: var(--bg); display: grid; place-items: center; color: var(--ink-3); }
.cx-l .ic.p { background: var(--t-teal-bg); color: var(--t-teal); }
.cx-l .ic svg { width: 13px; height: 13px; }
.cx-l b { font-weight: 600; display: block; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-l span { color: var(--mute); font-size: 11.5px; display: block; line-height: 1.25; }
.tg { width: 30px; height: 18px; border-radius: 999px; background: var(--line); position: relative; transition: background 0.3s; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: transform 0.3s var(--ease); }
.tg.on { background: var(--ink); }
.tg.on::after { transform: translateX(12px); }
.cx-foot { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; color: var(--mute); letter-spacing: 0.04em; }
.cx-foot b { color: var(--ok); font-weight: 500; }

/* Step 2: choose */
.ch-grp { margin-bottom: 12px; }
.ch-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 7px; display: flex; align-items: center; gap: 6px; }
.ch-k svg { width: 12px; height: 12px; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-chips .tag { transition: opacity 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.ch-chips .tag.off { opacity: 0.32; transform: scale(0.96); }
.ch-chips .tag.pick { box-shadow: 0 0 0 2px var(--card), 0 0 0 3px currentColor; }
.ch-custom { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 9px 11px; font-size: 12.5px; display: grid; gap: 4px; }
.ch-custom .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); display: flex; justify-content: space-between; }
.ch-type { min-height: 19px; font-weight: 500; }
.ch-type::after { content: ""; display: inline-block; width: 1.5px; height: 14px; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ch-test { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; color: var(--mute); }
.ch-test .bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ch-test .bar i { display: block; height: 100%; width: 100%; background: var(--ok); transform: scaleX(0); transform-origin: left center; transition: transform 1.4s linear; }
.ch-test b { color: var(--ok); font-weight: 500; }

/* Step 3: act */
.act { display: grid; gap: 8px; }
.act .crm { box-shadow: var(--shadow-2); }
.act .crm-feed { padding: 10px; gap: 8px; }
.act .note, .act .task { font-size: 12px; padding: 9px 10px; }
.act-slack { background: var(--card) !important; box-shadow: var(--shadow-1); }
.act .crm-rec { padding: 10px 12px 6px; }
.act .crm-rec .av { width: 32px; height: 32px; }
.act .crm-rec .av img { width: 18px; height: 18px; }
.act .crm-rec b { font-size: 14px; }

/* ---------- Explorer ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); gap: 2px; }
.seg button { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--mute); display: inline-flex; align-items: center; gap: 7px; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.seg button svg { width: 15px; height: 15px; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.seg button .n { font-family: var(--f-mono); font-size: 11px; color: var(--mute-2); }
.xp { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.xp-tabs { display: grid; gap: 4px; }
.xp-tab { display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid transparent; transition: background 0.18s, border-color 0.18s; width: 100%; }
.xp-tab[aria-selected="true"] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-1); }
.xp-tab .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: currentColor; }
.xp-tab b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.xp-tab span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.35; }
.xp-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); overflow: hidden; min-width: 0; }
.xp-ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.xp-ph h3 { font-family: var(--f-display); font-weight: 650; font-size: 20px; letter-spacing: -0.02em; }
.xp-ph p { font-size: 13.5px; color: var(--mute); }
.xp-ex { display: flex; gap: 6px; }
.xp-ex button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 550; color: var(--mute); }
.xp-ex button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-night); }
.xp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.xp-ev { padding: 22px; display: grid; gap: 16px; align-content: start; border-right: 1px solid var(--line-2); }
.xp-facts { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.xp-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; font-size: 13.5px; }
.xp-facts div + div { border-top: 1px solid var(--line-2); }
.xp-facts dt { color: var(--mute); }
.xp-facts dd { font-weight: 600; text-align: right; }
.xp-facts .hl dd { color: var(--sun-deep); }
.xp-people { display: grid; gap: 8px; }
.xp-person { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.xp-person .av { width: 34px; height: 34px; border-radius: 50%; background: var(--t-teal-bg); color: var(--t-teal); display: grid; place-items: center; font-weight: 650; font-size: 12.5px; flex: none; }
.xp-person b { display: block; font-size: 14px; line-height: 1.25; }
.xp-person span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.3; }
.xp-person .tag { margin-left: auto; }
.xp-diff { display: grid; gap: 8px; font-size: 13px; }
.xp-diff div { padding: 9px 12px; border-radius: 10px; font-family: var(--f-mono); font-size: 12px; line-height: 1.5; }
.xp-diff .rm { background: var(--t-red-bg); color: var(--t-red); text-decoration: line-through; text-decoration-thickness: 1px; }
.xp-diff .ad { background: var(--t-green-bg); color: var(--t-green); }
.xp-rule { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line); }
.xp-rule b { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); font-weight: 500; display: block; }
.xp-out { padding: 22px; display: grid; gap: 12px; align-content: start; background: var(--bg); }
.xp-out .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.xp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.xp-foot p { font-size: 15px; color: var(--mute); }
.xp-foot p b { color: var(--ink); font-weight: 600; }
.xp-anim { animation: xpIn 0.45s var(--ease); }
@keyframes xpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) {
	.xp { grid-template-columns: minmax(0, 1fr); }
	.xp-tabs { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
	.xp-tabs::-webkit-scrollbar { display: none; }
	.xp-tab { width: auto; flex: none; padding: 8px 14px; border-color: var(--line); background: var(--card); border-radius: 999px; }
	.xp-tab span { display: none; }
	.xp-tab b { font-size: 13.5px; white-space: nowrap; }
	.xp-body { grid-template-columns: minmax(0, 1fr); }
	.xp-ev { border-right: 0; border-bottom: 1px solid var(--line-2); }
}

/* ---------- Composer ---------- */
.cmp-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cmp-pts { display: grid; gap: 18px; margin: 30px 0 32px; }
.cmp-pt { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.cmp-pt .ic { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; }
.cmp-pt .ic svg { width: 17px; height: 17px; }
.cmp-pt p { color: var(--mute); font-size: 15px; }
.cmp-pt b { color: var(--ink); font-weight: 600; }
.composer { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); overflow: hidden; }
.cmp-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: var(--bg); }
.cmp-h b { font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.cmp-h b svg { width: 15px; height: 15px; color: var(--sun-deep); }
.cmp-h span { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.cmp-in { padding: 18px; border-bottom: 1px solid var(--line-2); }
.cmp-in .lbl { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; gap: 10px; }
.cmp-in .lbl span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.cmp-box { min-height: 64px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--ink-3); box-shadow: 0 0 0 4px rgba(246, 149, 44, 0.14); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; }
.cmp-box .ch-type::after { height: 18px; vertical-align: -3px; }
.cmp-out { padding: 18px; display: grid; gap: 12px; }
.cmp-out .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.cmp-sig { display: grid; grid-template-columns: 110px minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.cmp-sig dt { padding: 10px 12px; font-size: 12.5px; color: var(--mute); background: var(--bg); border-bottom: 1px solid var(--line-2); }
.cmp-sig dd { padding: 10px 12px; font-size: 13.5px; font-weight: 500; border-bottom: 1px solid var(--line-2); min-width: 0; transition: opacity 0.3s; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cmp-sig dt:nth-last-of-type(1), .cmp-sig dd:last-child { border-bottom: 0; }
.cmp-sig.blank dd { opacity: 0; }
.cmp-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--mute); flex-wrap: wrap; }
.cmp-foot span { display: inline-flex; gap: 6px; align-items: center; }
.cmp-foot svg { width: 14px; height: 14px; color: var(--ok); }
.cmp-dots { display: flex; gap: 6px; }
.cmp-dots button { width: 26px; height: 6px; border-radius: 6px; background: var(--line); transition: background 0.2s; }
.cmp-dots button[aria-pressed="true"] { background: var(--ink); }
@media (max-width: 900px) { .cmp-grid { grid-template-columns: minmax(0, 1fr); } .cmp-sig { grid-template-columns: 92px minmax(0, 1fr); } }

/* ---------- Revenue engine ---------- */
.rev { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rev-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; min-width: 0; }
.rev-txt { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rev-k { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.rev-k .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--on-night); display: grid; place-items: center; }
.rev-k .ic svg { width: 15px; height: 15px; }
.rev-txt p { color: var(--mute); font-size: 15px; }
.rev-txt .chips { margin-top: auto; padding-top: 8px; }
.rev-txt .chips .tag { height: 24px; font-size: 12px; }
.rev-txt .link { align-self: flex-start; font-size: 14px; }
.rev-vis { background: var(--bg); border-top: 1px solid var(--line-2); padding: 20px 24px; height: 330px; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; min-width: 0; position: relative; overflow: hidden; }
.rev-vis .crm { box-shadow: var(--shadow-2); }
.rev-vis .crm-rec { padding: 11px 12px 8px; }
.rev-vis .crm-rec .av { width: 32px; height: 32px; }
.rev-vis .crm-rec .av img { width: 18px; height: 18px; }
.rev-vis .crm-rec b { font-size: 13.5px; }
.rev-vis .crm-rec span { font-size: 11.5px; }
.rev-vis .crm-feed { padding: 8px; gap: 7px; }
.rev-vis .note, .rev-vis .task, .rev-vis .slack { font-size: 11.5px; padding: 8px 9px; }
.rev-stage { font-family: var(--f-mono); font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--paper); color: var(--ink-3); margin-left: auto; white-space: nowrap; letter-spacing: 0.03em; }
.rev-3v { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.rev-3v div { padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.rev-3v b { font-family: var(--f-display); font-size: 18px; font-weight: 650; letter-spacing: -0.015em; display: block; margin-bottom: 4px; }
.rev-3v p { font-size: 14.5px; color: var(--mute); }
@media (max-width: 1100px) { .rev { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .rev-vis { padding: 16px; height: 320px; } .rev-3v { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Teams ---------- */
.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); display: grid; gap: 12px; align-content: start; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.team .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--paper); display: grid; place-items: center; }
.team .ic svg { width: 19px; height: 19px; }
.team p { color: var(--mute); font-size: 15px; }
.team .link { margin-top: 6px; justify-self: start; font-size: 14px; }
@media (max-width: 860px) { .teams { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dark CRM section ---------- */
.crm-sec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.crm-pts { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--night-line); }
.crm-pt { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--night-line); }
.crm-pt .ic { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--night-line); display: grid; place-items: center; color: var(--on-night); }
.crm-pt .ic svg { width: 16px; height: 16px; }
.crm-pt b { display: block; font-weight: 600; margin-bottom: 2px; }
.crm-pt p { color: var(--on-night-mute); font-size: 14.5px; }
.crm-demo { display: grid; gap: 14px; min-width: 0; }
.crm-sw { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.crm-sw-l { display: flex; gap: 6px; flex-wrap: wrap; }
.crm-sw-l button { height: 34px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--night-line); color: var(--on-night-mute); font-size: 13px; font-weight: 550; display: inline-flex; gap: 7px; align-items: center; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.crm-sw-l button img { width: 15px; height: 15px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.crm-sw-l button[aria-pressed="true"] { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.crm-sw-l button[aria-pressed="true"] img { filter: none; opacity: 1; }
.on-night .seg { background: var(--night-2); border-color: var(--night-line); }
.on-night .seg button { color: var(--on-night-mute); }
.on-night .seg button[aria-pressed="true"] { background: var(--on-night); color: var(--ink); }
.crm-big { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); border-color: transparent; }
.crm-big .crm-rec { padding: 18px 18px 12px; }
.crm-big .crm-rec .av { width: 46px; height: 46px; }
.crm-big .crm-rec b { font-size: 17px; }
.crm-big .crm-feed { padding: 14px; gap: 10px; min-height: 290px; }
.crm-big .note, .crm-big .task { font-size: 13px; }
.crm-props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.crm-props div { padding: 9px 14px; font-size: 12px; min-width: 0; }
.crm-props div + div { border-left: 1px solid var(--line-2); }
.crm-props span { display: block; color: var(--mute); font-size: 11px; }
.crm-props b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) { .crm-sec { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Compare table ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; min-width: 720px; }
.tbl th, .tbl td { text-align: left; padding: 18px 22px; vertical-align: top; font-size: 15px; border-bottom: 1px solid var(--line-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); background: var(--bg); }
.tbl thead th.us { color: var(--ink); }
.tbl thead th.us span { display: inline-flex; align-items: center; gap: 8px; }
.tbl thead th.us .mark { width: 16px; height: 16px; }
.tbl td:first-child { font-weight: 600; width: 22%; }
.tbl td.us { background: rgba(254, 240, 223, 0.35); }
.tbl td.dim { color: var(--mute); }
.tbl .ck { width: 18px; height: 18px; color: var(--ok); }
.tbl .x { color: var(--mute-2); }
.tbl .grp td { background: var(--bg); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding: 10px 22px; font-weight: 500; }
.tbl-note { margin-top: 16px; font-size: 13.5px; color: var(--mute); }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust-i { padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.trust-i .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: var(--on-night); display: grid; place-items: center; margin-bottom: 6px; }
.trust-i .ic svg { width: 18px; height: 18px; }
.trust-i p { color: var(--mute); font-size: 14.5px; }
@media (max-width: 1000px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; display: flex; flex-direction: column; gap: 20px; position: relative; min-width: 0; }
.plan-pro { border-color: var(--ink); box-shadow: var(--shadow-3); }
.plan-flag { position: absolute; top: -13px; left: 30px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--on-night); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.plan-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.plan-nm { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.plan-for { color: var(--mute); font-size: 14.5px; margin-top: 4px; }
.plan-pr { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.plan-pr span { font-family: var(--f-display); font-size: 48px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan-pr small { color: var(--mute); font-size: 15px; }
.plan-bl { font-size: 13px; color: var(--mute); margin-top: 6px; min-height: 20px; }
.plan-credits { padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); display: grid; gap: 6px; }
.plan-credits .lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.plan-credits .val { font-weight: 600; font-size: 15px; }
.plan-credits .cap { font-size: 12.5px; color: var(--mute); }
.plan-credits .cap b { color: var(--ink); font-weight: 600; }
.sel { position: relative; }
.sel select { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); padding: 0 34px 0 12px; font-weight: 600; font-size: 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.feats { display: grid; gap: 12px; }
.feats li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.45; }
.feats li svg { width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.feats li b { display: block; font-weight: 600; }
.feats li span span { color: var(--mute); font-size: 13.5px; display: block; }
.feats .plus { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.plan .btn { margin-top: auto; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.bill { justify-self: start; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); gap: 2px; }
.bill button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--mute); display: inline-flex; gap: 8px; align-items: center; }
.bill button[aria-pressed="true"] { background: var(--ink); color: var(--on-night); }
.bill button span { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--sun-soft); color: var(--sun-deep); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left; font-family: var(--f-display); font-size: 18.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.qa button .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform 0.25s var(--ease), background 0.2s; }
.qa button .pm svg { width: 14px; height: 14px; }
.qa button[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--ink); color: var(--on-night); border-color: var(--ink); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { color: var(--mute); padding: 0 48px 24px 0; font-size: 15.5px; max-width: 70ch; }
.qa.open .qa-a { grid-template-rows: 1fr; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .qa-a p { padding-right: 0; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.cta-band .h2 { max-width: 15ch; }
.cta-band .signup { background: var(--night-2); border-color: var(--night-line); }
.cta-band .signup input { color: var(--on-night); }
.cta-band .signup input::placeholder { color: var(--on-night-mute); }
.cta-band .signup-meta { color: var(--on-night-mute); }
.cta-band .signup-meta a { color: var(--on-night); }
.cta-band .signup-meta a svg { color: var(--on-night); }
.cta-band .signup-meta svg { color: #7fd1a0; }
.cta-dial { position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; color: var(--on-night); opacity: 0.06; pointer-events: none; }
.cta-r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; position: relative; }
@media (max-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr); border-radius: 24px; } }

/* ---------- Footer ---------- */
.ftr { background: var(--card); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 32px; }
.ftr-brand { display: grid; gap: 16px; align-content: start; max-width: 300px; }
.ftr-brand p { color: var(--mute); font-size: 14.5px; }
.ftr .ftr-h { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-2); font-weight: 500; }
.ftr ul { display: grid; gap: 10px; }
.ftr ul a, .ftr ul button { font-size: 14.5px; color: var(--ink-2); text-align: left; }
.ftr-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--mute); }
.ftr-big { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.06em; font-size: clamp(64px, 15.5vw, 228px); line-height: 0.8; color: var(--paper); margin-top: 48px; user-select: none; white-space: nowrap; overflow: hidden; display: flex; align-items: flex-end; gap: 0.04em; }
.ftr-big .mark { width: 0.78em; height: 0.78em; color: var(--paper); flex: none; margin-bottom: 0.02em; }
@media (max-width: 1000px) { .ftr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Sub-page hero ---------- */
.ph { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ph-grid.one { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.ph-txt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: center; min-width: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--mute); flex-wrap: wrap; }
.crumbs svg { width: 12px; height: 12px; color: var(--mute-2); }
.ph-vis { min-width: 0; position: relative; }
@media (max-width: 960px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } }

/* Feature grid */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.fcard .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; margin-bottom: 4px; }
.fcard .ic svg { width: 18px; height: 18px; }
.fcard p { color: var(--mute); font-size: 15px; }
.fcard .ex { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-3); }
.fcard .ex a { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.on-night .fcard { background: var(--night-2); border-color: var(--night-line); }
.on-night .fcard p { color: var(--on-night-mute); }
.on-night .fcard .ic { background: var(--night-3); color: var(--on-night); }
@media (max-width: 1000px) { .fgrid, .fgrid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fgrid, .fgrid.two, .fgrid.four { grid-template-columns: minmax(0, 1fr); } }

/* Split block */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split.rev-o > :first-child { order: 2; }
.split-txt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: center; min-width: 0; }
.ticks { display: grid; gap: 12px; margin-top: 6px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.ticks li svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.rev-o > :first-child { order: 0; } }

/* Flow line (how a check runs) */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.flow-i { padding: 0 14px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.flow-i .n { width: 36px; height: 36px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; position: relative; z-index: 1; }
.flow-i::before { content: ""; position: absolute; top: 18px; left: 36px; right: 0; height: 1px; background: var(--line); }
.flow-i:last-child::before { display: none; }
.flow-i b { font-size: 15px; font-weight: 600; }
.flow-i p { font-size: 13.5px; color: var(--mute); }
.flow-i.lit .n { background: var(--ink); color: var(--on-night); border-color: var(--ink); }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; } .flow-i::before { display: none; } }

/* Code block */
.code { background: var(--night); color: #d9dde5; border-radius: var(--r-lg); padding: 20px 22px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre; box-shadow: var(--shadow-3); }
.code .k { color: #8ab4ff; }
.code .s { color: #f6c27e; }
.code .c { color: #6c7486; }
.code-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12px; color: var(--mute); font-family: var(--f-mono); }

/* ---------- Library ---------- */
.lib { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.lib-side { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 22px; }
.lib-grp .lib-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--mute-2); font-weight: 500; margin-bottom: 8px; }
.lib-opts { display: grid; gap: 2px; }
.lib-opts button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--ink-2); text-align: left; }
.lib-opts button[aria-pressed="true"] { background: var(--ink); color: var(--on-night); }
.lib-opts button[aria-pressed="true"] span { color: var(--on-night-mute); }
.lib-opts span { font-family: var(--f-mono); font-size: 11px; color: var(--mute-2); }
.lib-top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.search { flex: 1; min-width: 220px; position: relative; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); padding: 0 18px 0 44px; font-size: 15px; outline: 0; }
.search input:focus { border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(246, 149, 44, 0.14); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--mute); }
.lib-sel { display: flex; gap: 8px; flex-wrap: wrap; }
.lib-sel .sel select { height: 46px; border-radius: 999px; padding-left: 16px; font-weight: 500; }
.lib-count { font-size: 14px; color: var(--mute); margin-bottom: 14px; }
.lib-count b { color: var(--ink); }
.lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lib-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .lib-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sig { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 10px; align-content: start; transition: border-color 0.2s, box-shadow 0.2s; min-width: 0; }
.sig-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sig-t b { font-weight: 650; font-size: 15.5px; line-height: 1.3; letter-spacing: -0.01em; }
.sig p { font-size: 14px; color: var(--mute); line-height: 1.5; }
.sig-m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--mute); }
.sig-m .src { font-family: var(--f-mono); font-size: 10.5px; padding: 3px 7px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line-2); }
.sig-m .win { margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; }
.sig-why { font-size: 12.5px; color: var(--ink-3); background: var(--bg); border-radius: 9px; padding: 8px 10px; }
.av-built { background: var(--t-green-bg); color: var(--t-green); }
.av-ai { background: var(--sun-soft); color: var(--sun-deep); }
.av-soon { background: var(--t-ink-bg); color: var(--mute); }
.lib-empty { padding: 48px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--mute); }
.lib-more { display: flex; justify-content: center; margin-top: 22px; }
@media (max-width: 960px) {
	.lib { grid-template-columns: minmax(0, 1fr); }
	.lib-side { position: static; display: flex; overflow-x: auto; gap: 18px; }
	.lib-grp { flex: none; }
	.lib-opts { display: flex; gap: 6px; }
	.lib-opts button { white-space: nowrap; border: 1px solid var(--line); background: var(--card); }
}
@media (max-width: 680px) { .lib-grid, .lib-grid.three { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing page ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.calc-in { padding: 30px; display: grid; gap: 28px; align-content: start; }
.calc-out { padding: 30px; background: var(--night); color: var(--on-night); display: grid; gap: 22px; align-content: start; }
.calc-out .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-mute); }
.calc-out .big { font-family: var(--f-display); font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.calc-out .cap { font-size: 13px; color: var(--on-night-mute); }
.calc-out > div + div { padding-top: 20px; border-top: 1px solid var(--night-line); }
.ctl { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ctl legend { padding: 0; margin-bottom: 12px; }
.ctl-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ctl-h label, .ctl legend { font-weight: 600; font-size: 15px; }
.ctl-h input[type="number"] { width: 120px; height: 40px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ctl .hint { font-size: 13px; color: var(--mute); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 30%), var(--line) var(--p, 30%)); outline: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow-2); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); cursor: pointer; }
.segr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.segr label { position: relative; }
.segr input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segr span { display: grid; place-items: center; height: 42px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 550; color: var(--mute); transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease); }
.segr input:checked + span { background: var(--ink); color: var(--on-night); border-color: var(--ink); }
.segr input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.ladder { width: 100%; border-collapse: collapse; font-size: 14px; }
.ladder th, .ladder td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.ladder th { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.ladder tr.on td { color: var(--ink); font-weight: 600; }
.ladder tr:not(.on) td { color: var(--mute-2); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Partners ---------- */
.prog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.prog-c { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.prog-c.dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.prog-c.dark p, .prog-c.dark .small { color: var(--on-night-mute); }
.prog-c .for { font-size: 14px; color: var(--mute); }
.prog-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prog-big b { font-family: var(--f-display); font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.prog-big span { font-size: 14.5px; color: var(--mute); max-width: 24ch; line-height: 1.4; }
.prog-c.dark .prog-big span { color: var(--on-night-mute); }
.prog-c .ticks li { font-size: 15px; }
.prog-c.dark .ticks li { color: var(--on-night); }
.prog-c.dark .ticks li svg { color: var(--sun); }
.prog-c .row { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .prog { grid-template-columns: minmax(0, 1fr); } }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lvl { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; min-width: 0; }
.lvl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lv, var(--line)); }
.lvl-silver { --lv: linear-gradient(90deg, #c9cfd6, #e9ecef); }
.lvl-gold { --lv: linear-gradient(90deg, #e2b25a, #f6d58f); }
.lvl-plat { --lv: linear-gradient(90deg, #0d1019, #4a5263); }
.lvl-plat { border-color: var(--ink); box-shadow: var(--shadow-2); }
.lvl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lvl-h b { font-family: var(--f-display); font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.lvl-h span { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); letter-spacing: 0.03em; text-align: right; }
.lvl-rate { display: flex; align-items: baseline; gap: 8px; }
.lvl-rate b { font-family: var(--f-display); font-size: 56px; font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; }
.lvl-rate span { font-size: 14px; color: var(--mute); line-height: 1.35; }
.lvl dl { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.lvl dl div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.lvl dt { color: var(--mute); }
.lvl dd { font-weight: 600; text-align: right; }
@media (max-width: 960px) { .levels { grid-template-columns: minmax(0, 1fr); } }
.earn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.earn .calc-out .big { font-size: 46px; }
.earn-lv { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--night-3); font-weight: 600; font-size: 13.5px; }
.earn-lv i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.earn-rows { display: grid; gap: 8px; font-size: 14px; }
.earn-rows div { display: flex; justify-content: space-between; gap: 10px; color: var(--on-night-mute); }
.earn-rows b { color: var(--on-night); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .earn { grid-template-columns: minmax(0, 1fr); } }
.tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: tl; }
.tl-i { padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; position: relative; min-width: 0; }
.tl-i .n { font-family: var(--f-mono); font-size: 12px; color: var(--sun-deep); letter-spacing: 0.05em; }
.tl-i p { font-size: 14.5px; color: var(--mute); }
.tl-i .when { margin-top: 4px; font-family: var(--f-mono); font-size: 11.5px; padding: 4px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line-2); justify-self: start; color: var(--ink-3); }
@media (max-width: 1000px) { .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tl { grid-template-columns: minmax(0, 1fr); } }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--card); }
.rules > div { padding: 28px; display: grid; gap: 12px; align-content: start; }
.rules > div + div { border-left: 1px solid var(--line); }
.rules ul { display: grid; gap: 10px; }
.rules li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.rules li svg { width: 16px; height: 16px; margin-top: 3px; }
.rules .yes svg { color: var(--ok); }
.rules .no svg { color: var(--warn); }
@media (max-width: 800px) { .rules { grid-template-columns: minmax(0, 1fr); } .rules > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.quote-note { padding: 20px 22px; border-radius: var(--r-lg); background: var(--sun-soft); border: 1px solid #f7d4aa; font-size: 15px; color: var(--ink-2); }
.quote-note b { color: var(--ink); }
.fine { font-size: 13.5px; color: var(--mute); max-width: 80ch; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0s linear 0.2s; }
.modal.open { visibility: visible; opacity: 1; transition: opacity 0.2s, visibility 0s; }
.modal-bg { position: absolute; inset: 0; background: rgba(13, 16, 25, 0.48); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: 30px; transform: translateY(10px) scale(0.985); transition: transform 0.28s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.modal-x svg { width: 16px; height: 16px; }
.modal-card .mark { width: 34px; height: 34px; margin-bottom: 16px; }
.modal-card h3 { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; padding-right: 40px; }
.modal-card > p { color: var(--mute); margin-top: 6px; font-size: 15px; }
.form { display: grid; gap: 14px; margin-top: 22px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label { font-size: 13.5px; font-weight: 600; }
.fld input, .fld select, .fld textarea { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); padding: 0 12px; font-size: 15px; outline: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.fld textarea { height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.fld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(246, 149, 44, 0.14); }
.fld .err { font-size: 12.5px; color: var(--warn); }
.fld .err:empty { display: none; }
.fld-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .fld-2 { grid-template-columns: minmax(0, 1fr); } .modal-card { padding: 24px 20px; } }
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.radio-cards label { position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards b { font-size: 14px; }
.radio-cards span { font-size: 12.5px; color: var(--mute); line-height: 1.35; }
.radio-cards label:has(input:checked) { border-color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.form-note { font-size: 12.5px; color: var(--mute); }
.preview-note { font-size: 12.5px; padding: 9px 12px; border-radius: 10px; background: var(--sun-soft); color: var(--sun-deep); }
.done { text-align: left; display: grid; gap: 10px; }
.done .ok { width: 46px; height: 46px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin-bottom: 6px; }
.done .ok svg { width: 22px; height: 22px; }

/* ---------- Reveal ---------- */
.rv-armed { opacity: 0; transform: translateY(18px); }
.rv-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.view-in { animation: viewIn 0.45s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	/* Reduced means gentler, not zero: state fades stay, anything that travels does not. */
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-property: opacity, color, background-color, border-color !important; transition-duration: 0.16s !important; }
	.rv-armed { opacity: 1; transform: none; }
}

/* Product mocks keep ink text on any band */
.crm, .stage, .composer, .sigcard, .xp-panel, .note, .task, .slack, .plan, .fcard, .tbl-wrap, .modal-card { color: var(--ink); }
.on-night .fcard { color: var(--on-night); }
.prog-c.dark { color: var(--on-night); }
@media (max-width: 560px) {
	.hero-chip { font-size: 12.5px; gap: 8px; }
	.hero-chip span.long { display: none; }
	.stage-live span { display: none; }
}

.prog-c.dark .eyebrow { color: var(--on-night-mute); }
.crm-wait { padding: 26px 16px; display: grid; place-items: center; gap: 8px; color: var(--mute); font-size: 13px; text-align: center; }
.crm-wait .mark { width: 22px; height: 22px; opacity: 0.5; }

/* ---------- Cookie consent bar (ids and behaviour from src/partials/_consent.js) ---------- */
html:has(#consent:not([hidden])) { scroll-padding-bottom: 140px; }
.consent { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 20px; width: min(640px, calc(100vw - 32px)); padding: 16px 16px 16px 20px; background: var(--night); color: var(--on-night); border-radius: var(--r); box-shadow: var(--shadow-3); }
.consent[hidden] { display: none; }
.consent-copy { font-size: 14.5px; line-height: 1.45; color: var(--on-night-mute); margin: 0; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-button { height: 38px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: var(--on-night); font: 500 14px/1 var(--f-body); cursor: pointer; }
.consent-button:active { transform: scale(0.98); }
.consent-accept { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions > * { flex: 1; } }
.ftr-bot button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }


/* Hover effects only where there is a real pointer (taps on touch screens must not stick) */
@media (hover: hover) and (pointer: fine) {
	.btn:hover { --b-bg: var(--ink-2); box-shadow: 0 6px 18px -8px rgba(13, 16, 25, 0.45); }
	.btn:hover svg.arr { transform: translateX(3px); }
	.btn-ghost:hover { --b-bg: var(--card); --b-bd: var(--ink-3); box-shadow: var(--shadow-1); }
	.btn-sun:hover { --b-bg: #f8a347; }
	.btn-light:hover { --b-bg: #ffffff; }
	.btn-line-night:hover { --b-bg: var(--night-2); --b-bd: var(--on-night-mute); }
	.link:hover { border-color: var(--ink); }
	.nav-i:hover, .nav-i[aria-expanded="true"], .nav-i.on { background: var(--paper); color: var(--ink); }
	.hdr-login:hover { color: var(--ink); background: var(--paper); }
	.mega-l:hover, .mega-l:focus-visible { background: var(--bg); }
	.mega-l:hover .mega-ic { border-color: var(--ink-3); }
	.mega-feat .link:hover { border-color: var(--on-night); }
	.sig-src a:hover { border-color: var(--ink-3); }
	.strip-i:hover { filter: none; opacity: 1; }
	.xp-tab:hover { background: var(--card); }
	.team:hover { border-color: var(--ink-3); box-shadow: var(--shadow-2); transform: translateY(-2px); }
	.ftr ul a:hover, .ftr ul button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
	.crumbs a:hover { color: var(--ink); }
	.fcard .ex a:hover { color: var(--ink); }
	.lib-opts button:hover { background: var(--card); }
	.sig:hover { border-color: var(--ink-3); box-shadow: var(--shadow-2); }
}

/* ============================================================
   Design layer: "product over atmosphere".
   Loaded after styles.css (build.py concatenates them). The product (the live example run, CRM
   records, signal cards) is the picture; it stands on soft generated skies (Paper image
   generation, assets/img/sky/). One typeface, ink on light, the sun orange only on the action
   and where a signal fires, a small set of type sizes, tone steps instead of rules and resting
   shadows. Product fragments are marked [data-ui] and keep the app's own look.
   ============================================================ */


:root {
	--bg: #f5f6f7;
	--paper: #eceef1;
	--card: #ffffff;
	--ink: #0d1019;
	--ink-2: #1c202a;
	--ink-3: #3a3f4a;
	--mute: #4b5260;
	--mute-2: #6b7280;
	--line: #dde0e5;
	--line-2: #e8eaee;
	--sun: #f6952c;
	--sun-deep: #8f4c05;

	--f-display: "General Sans", "Inter", system-ui, sans-serif;
	--f-body: "General Sans", "Inter", system-ui, sans-serif;

	--t-small: 14px;
	--t-body: clamp(16px, 0.95rem + 0.2vw, 18px);
	--t-lead: clamp(19px, 1.05rem + 0.5vw, 23px);
	--t-head: clamp(34px, 1.3rem + 2.7vw, 60px);
	--t-display: clamp(42px, 1.5rem + 4.1vw, 84px);

	--margin: clamp(20px, 3.4vw, 48px);
	--gap-sec: clamp(96px, 9.5vw, 148px);
	--r: 14px;
	--r-sm: 10px;
	--r-lg: 18px;
	--r-xl: 24px;
	--shadow-1: none;
	--shadow-2: none;
	--gutter: var(--margin);
	--gutter-r: var(--margin);
	--float: 0 40px 80px -40px rgba(13, 25, 45, 0.35), 0 12px 28px -16px rgba(13, 25, 45, 0.18);
}

body { font-family: var(--f-body); font-size: var(--t-body); line-height: 1.5; font-feature-settings: normal; background: var(--bg); }
.wrap { max-width: 1440px; padding-left: var(--margin); padding-right: var(--margin); }
.wrap-n { max-width: 1440px; }

/* ---------- Type ---------- */
.display, .h1 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.035em; }
.h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-head); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-lead); line-height: 1.18; letter-spacing: -0.015em; }
.h4 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-body); line-height: 1.3; }
.lede { font-size: var(--t-lead); line-height: 1.4; color: var(--mute); letter-spacing: -0.01em; }
.body, .mute { color: var(--mute); }
.small { font-size: var(--t-small); color: var(--mute); }
p { text-wrap: pretty; }
.eyebrow { font-family: var(--f-body); font-size: var(--t-small); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); gap: 10px; }
.eyebrow::before { width: 8px; height: 8px; }
.on-night .eyebrow { color: var(--on-night-mute); }

/* ---------- Sections ---------- */
.sec { padding-block: var(--gap-sec); }
.sec-tight { padding-block: clamp(72px, 7vw, 112px); }
.sec-card { background: var(--card); border-block: 0; }
.sec-paper { background: var(--paper); }
.sec-head { margin-bottom: clamp(44px, 5vw, 80px); max-width: 860px; gap: 18px; }
.sec-head .h2 { max-width: 20ch; }
.sec-head .lede { max-width: 46ch; }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; gap: 24px 72px; }
.sec-head.split .lede { justify-self: start; }
.cmp-grid .h2, .crm-sec .h2, .faq-grid .h2, .split .h2 { font-size: clamp(32px, 1.2rem + 2.3vw, 52px); }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; font-size: 15px; height: 46px; padding: 0 22px; box-shadow: none !important; transition: background-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.12s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-ghost { --b-bg: rgba(255, 255, 255, 0.7); --b-fg: var(--ink); --b-bd: var(--line); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.link { border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 500; }

/* ---------- Header: a plain bar that sits on the sky ---------- */
.hdr { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 0 !important; box-shadow: none !important; transition: background-color 0.2s var(--ease); }
.hdr.scrolled, .hdr.menu-open { background: var(--bg) !important; }
.nav-i, .hdr-login { font-size: 15px; font-weight: 500; transition: color 0.16s var(--ease); }

/* ---------- Home hero: sky, headline, sign-up, then the product standing on the sky ---------- */
.hero { position: relative; overflow: visible; padding-bottom: 0; }
.hero-bg, .hero-dial { display: none; }
.hero-grid { justify-items: center; text-align: center; gap: 22px; }
.hero-grid > .display { max-width: 18ch; }
.hero-grid .lede { max-width: 40ch; color: var(--ink-2); font-size: clamp(18px, 1rem + 0.4vw, 21px); }
.hero-grid > div { justify-items: center; }
.hero-chip { background: rgba(255, 255, 255, 0.72); border: 0; box-shadow: none; height: 34px; }
.hero-chip b { font-family: var(--f-body); letter-spacing: 0; text-transform: none; font-size: 12.5px; font-weight: 600; background: var(--ink); }
.rot-box { box-shadow: none; border: 0; background: rgba(255, 255, 255, 0.82); border-radius: 0.16em; min-width: 5.7em; justify-content: flex-start; }
.signup { box-shadow: none; border: 0; background: #fff; max-width: 500px; width: 100%; }
.signup:focus-within { box-shadow: 0 0 0 4px rgba(246, 149, 44, 0.3); }
.signup-meta { font-size: var(--t-small); color: var(--ink-3); justify-content: center; }

/* one sky behind the hero and the example run; it stops in a hard line behind the demo */
.sky-top { background: linear-gradient(var(--bg), var(--bg)) bottom / 100% clamp(180px, 22vw, 320px) no-repeat, #dfe8f1 var(--sky) center top / cover no-repeat; margin-top: calc(-1 * var(--head-h)); padding-top: var(--head-h); }
.hero { margin-top: 0 !important; padding-top: clamp(56px, 7vw, 112px) !important; background: none !important; }
.stage-wrap { padding-top: clamp(48px, 5vw, 80px) !important; background: none !important; }
.stage { box-shadow: var(--float) !important; border: 0 !important; border-radius: var(--r-xl); overflow: hidden; }
.strip { color: var(--ink-3); }
@media (max-width: 860px) { .hero-grid > .display { max-width: 12ch; } }

/* ---------- Resting surfaces: tone steps, no outlines, no resting shadows ---------- */
.pillar, .step, .fcard, .plan, .trust-i, .team, .qa, .rev-card { box-shadow: none !important; }
.fcard { border: 0 !important; background: var(--card); }
.sec-card .fcard, .sec-paper .fcard { background: var(--bg); }
.fcard .ic, .cmp-pt .ic { background: var(--paper) !important; border: 0 !important; }
.pillars { border: 0; gap: clamp(24px, 3vw, 48px); }
.pillar { border: 0 !important; padding: 0; background: none; }
.pillar .k { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: var(--t-small); color: var(--sun-deep); font-weight: 600; }
.step-n, .pane-k { font-family: var(--f-body) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: var(--t-small) !important; }

/* Why: a sky band with the statement on it */
.sec-card[aria-labelledby="st-h"] { background: var(--bg); }
.statement { font-family: var(--f-display); font-size: clamp(26px, 1rem + 1.8vw, 44px) !important; line-height: 1.18 !important; letter-spacing: -0.02em !important; font-weight: 500 !important; max-width: 30ch; color: var(--ink); }
.statement .mute { color: var(--ink-3); opacity: 0.75; }
.sec-card[aria-labelledby="st-h"] .pillars { background: rgba(255, 255, 255, 0.78); border-radius: var(--r-xl); padding: clamp(28px, 3vw, 44px); margin-top: clamp(48px, 5vw, 80px); }

/* Steps: the live visual on top, the text under it */
.step { border: 0 !important; background: none !important; overflow: visible !important; }
.step-vis { border-radius: var(--r-lg) !important; border: 0 !important; background: var(--card) !important; }
.sec-paper .step-vis, .sec-card .step-vis { background: var(--bg) !important; }
.step-txt { padding: 24px 4px 0 !important; border: 0 !important; background: none !important; }
.step-n { display: block; color: var(--sun-deep) !important; font-weight: 600 !important; }
.step-n::after, .step-n::before { display: none !important; }

/* Revenue engine */
.rev-card { border: 0 !important; background: var(--card) !important; }
.rev-vis { border-top: 0 !important; background: var(--paper) !important; }
.rev-k { font-family: var(--f-body) !important; font-size: var(--t-small) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--sun-deep) !important; font-weight: 600; }
.rev-3v div { border: 0 !important; background: var(--card) !important; }

/* Teams */
.team { border: 0 !important; background: var(--card) !important; transform: none !important; }
.team .ic { background: var(--paper) !important; }

/* Trust */
.trust-i { border: 0 !important; background: var(--card) !important; }

/* Plans: three fields that meet */
.plans { gap: 0 !important; border-radius: var(--r-xl); overflow: hidden; }
.plan { border: 0 !important; border-radius: 0 !important; background: var(--card) !important; padding: clamp(32px, 3vw, 44px) !important; }
.plan:nth-child(3) { background: var(--paper) !important; }
.plan-pro { background: var(--ink) !important; color: var(--on-night); }
.plan-pro .plan-for, .plan-pro .plan-bl, .plan-pro .feats li span span, .plan-pro small { color: var(--on-night-mute) !important; }
.plan-pro .plan-credits { background: var(--night-2) !important; border-color: var(--night-line) !important; }
.plan-pro .sel select { background: var(--night-2); color: var(--on-night); border-color: var(--night-line); }
.plan-pro .sel::after { border-color: var(--on-night); }
.plan-pro .btn { --b-bg: var(--sun); --b-fg: var(--ink); --b-bd: var(--sun); }
.plan-flag { position: static !important; align-self: flex-start; background: var(--sun) !important; color: var(--ink) !important; }
.plan-flag::before { display: none; }
.plan-pr span { font-size: clamp(46px, 1.6rem + 2.6vw, 66px) !important; font-weight: 600 !important; }
.plan-credits .lbl, .feats .plus { font-family: var(--f-body) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: var(--t-small) !important; }
@media (max-width: 980px) { .plans { max-width: none !important; } }

/* CTA band: dusk */
.cta-band { border-radius: var(--r-xl) !important; background: #0b1022 !important; }
.cta-band .h2 { max-width: 16ch !important; }
.cta-dial { display: none !important; }
.cta-band .signup { background: rgba(10, 14, 28, 0.55) !important; border: 1px solid rgba(255, 255, 255, 0.28) !important; }

/* Sub-page hero: the product picture on a soft sky */
.ph .h1 { font-size: clamp(40px, 1.3rem + 3.2vw, 72px); }
.ph-vis { background: #dfe8f1 var(--sky) center 40% / cover no-repeat; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 44px); }
.ph-vis > * { box-shadow: var(--float) !important; }

/* Footer */
.ftr { background: var(--ink); color: var(--on-night); border-top: 0; }
.ftr ul a, .ftr ul button { color: var(--on-night) !important; }
.ftr .ftr-h { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: var(--t-small); font-weight: 600; color: var(--on-night-mute); }
.ftr-brand p, .ftr-bot { color: var(--on-night-mute); }
.ftr-bot { border-top-color: var(--night-line) !important; }
.ftr-big, .ftr-big .mark { color: var(--night-3) !important; }
.ftr .brand, .ftr .wordmark { color: var(--on-night) !important; }

/* Product fragments keep their own look; closed menus are not on the page */
.mega:not(.open) { display: none; }

/* phone: each demo pane shows its decisive part */
@media (max-width: 680px) {
	.step-vis { max-height: 280px; overflow: hidden; }
}

/* ---------- Motion: the title rises line by line, the demo lifts in ---------- */
.hero-h .ln { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-h .ln > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
	.hero-h .ln > span { animation: lineRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
	.hero-h .ln:nth-of-type(2) > span { animation-delay: 0.11s; }
	.hero-grid > .lede, .hero-grid > div, .hero-grid > .hero-chip { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
	.stage-wrap .stage { animation: lift 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
}
@keyframes lineRise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(48px) scale(0.985); } to { opacity: 1; transform: none; } }

/* hero fit: chip centred, title on two lines, the demo in the first screen */
.hero-chip { justify-self: center; }
.hero-grid > .display { max-width: none; }
.hero-grid .lede { max-width: 54ch; }
.hero { padding-top: clamp(40px, 4.6vw, 76px) !important; }
.hero-grid { gap: 18px; }
.stage-wrap { padding-top: clamp(36px, 3.6vw, 56px) !important; }
@media (max-width: 860px) { .hero-grid > .display { max-width: 13ch; } }

/* ---------- Paper Shaders layers (src/app/shaders.js); the CSS photograph stays underneath ---------- */
[data-shader] { position: relative; isolation: isolate; }
.shader-layer { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.8s var(--ease); pointer-events: none; border-radius: inherit; overflow: hidden; }
.shader-layer.on { opacity: 1; }
.sky-top > .shader-layer { bottom: clamp(180px, 22vw, 320px); }
.cta-band > .shader-layer { border-radius: var(--r-xl); }
.cta-band .h2 { font-size: clamp(32px, 1.2rem + 2.4vw, 54px) !important; max-width: 18ch !important; }
.cta-band .lede { color: rgba(243, 243, 243, 0.82) !important; }


/* ---------- Real app screens (from the product's Paper file), standing on the sky ---------- */
.app-shot { margin: clamp(48px, 5vw, 80px) 0 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--float); background: #fff; }
.app-shot img { display: block; width: 100%; height: auto; }
.app-band { padding: clamp(48px, 5vw, 80px) 0; background: #dfe8f1 var(--sky) center bottom / cover no-repeat; }
.app-band .app-shot { margin: 0; }
.app-crop { aspect-ratio: 1738 / 820; }
.app-crop img { height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 680px) { .app-shot { border-radius: var(--r-lg); } .app-crop { aspect-ratio: 4 / 3; } .app-crop img { object-position: 30% top; } }

/* ---------- Iteration 4: fixes from the second review ---------- */
/* phone: every section introduction reads in one column */
@media (max-width: 860px) {
	.sec-head.split { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
	.sec-head.split > *, .sec-head.split > div > * { grid-column: 1 !important; grid-row: auto !important; justify-self: start !important; }
	.sec-head .lede, .sec-head.split .lede { max-width: none; }
	.lede { overflow-wrap: anywhere; }
}

/* consent: a compact bar that leaves the page readable */
.consent { width: min(560px, calc(100vw - 24px)); padding: 10px 10px 10px 16px; gap: 14px; bottom: 12px; border-radius: var(--r); }
.consent-copy { font-size: 13.5px; line-height: 1.35; }
.consent-button { height: 34px; padding: 0 14px; font-size: 13.5px; }
@media (max-width: 560px) {
	.consent { flex-direction: row !important; align-items: center !important; left: 12px; right: 12px; transform: none; width: auto; padding: 10px 10px 10px 14px; }
	.consent-copy { font-size: 12.5px; }
	.consent-actions { flex-direction: column; gap: 6px; }
	.consent-actions > * { flex: none; }
}

/* dusk band: secondary text bright enough on every part of the gradient */
.cta-band .signup input::placeholder { color: rgba(243, 243, 243, 0.72) !important; }
.cta-band .signup-meta, .cta-band .signup-meta span { color: rgba(243, 243, 243, 0.86) !important; }
.cta-band .signup { background: rgba(8, 11, 24, 0.72) !important; }
.cta-band .shader-layer { opacity: 0.92; }
.plan-pro .plan-credits .cap, .plan-pro .plan-credits .lbl { color: var(--on-night-mute) !important; }
.plan-pro .plan-credits .cap b, .plan-pro .plan-credits .val { color: var(--on-night) !important; }

/* the dashboard leads with its KPIs and the activity chart */
.sec-card[aria-labelledby="st-h"] .app-shot { aspect-ratio: 1738 / 690; }
.sec-card[aria-labelledby="st-h"] .app-shot img { height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 680px) { .sec-card[aria-labelledby="st-h"] .app-shot { aspect-ratio: 4 / 3; } .sec-card[aria-labelledby="st-h"] .app-shot img { object-position: 22% top; } }


/* Hover effects only where there is a real pointer (taps on touch screens must not stick) */
@media (hover: hover) and (pointer: fine) {
	.btn:hover { --b-bg: var(--ink-3); }
	.btn-ghost:hover { --b-bg: #fff; --b-bd: var(--ink-3); }
	.link:hover { text-decoration-thickness: 2px; }
	.nav-i:hover, .hdr-login:hover { color: var(--sun-deep); }
	.team:hover { background: #fff !important; }
}


/* ============================================================
   Iteration 5: design-engineering pass (Emil Kowalski's principles)
   ============================================================ */
:root {
	--ease: cubic-bezier(0.23, 1, 0.32, 1);       /* strong ease-out: entering, responding */
	--ease-io: cubic-bezier(0.77, 0, 0.175, 1);   /* strong ease-in-out: moving on screen */
	--press: 160ms;
}

/* Every pressable thing answers the press */
.btn, .nav-i, .hdr-login, .seg button, .bill button, .segr span, .xp-tab, .xp-mode button, [data-xp-mode], .qa button .pm,
.crm-sw-l button, .crm-tabs button, .team, .fcard[href], .rev-txt .link, .burger, .modal-x, .dr-btn, .lib-opts button, .lib-more, .mega-l, .consent-button, .cx-crm, .link {
	transition-property: transform, background-color, border-color, color, opacity;
	transition-duration: var(--press);
	transition-timing-function: var(--ease);
}
.btn:active, .nav-i:active, .hdr-login:active, .seg button:active, .bill button:active, .segr span:active, .xp-tab:active, [data-xp-mode]:active,
.crm-sw-l button:active, .crm-tabs button:active, .burger:active, .modal-x:active, .dr-btn:active, .lib-opts button:active, .lib-more:active, .mega-l:active, .consent-button:active, .cx-crm:active { transform: scale(0.97); }
.team:active, .fcard[href]:active { transform: scale(0.99); }
.qa button:active .pm { transform: scale(0.92); }
.qa button[aria-expanded="true"]:active .pm { transform: rotate(45deg) scale(0.92); }

/* The CRM slot holds the widest name: no width animation, the headline never reflows. The word crossfades through a soft blur. */
.rot-box { min-width: 0; transition: width 0.45s var(--ease-io) !important; }
.rot-word { transition: opacity 0.22s var(--ease), transform 0.3s var(--ease), filter 0.22s var(--ease) !important; }
.rot-word.out, .rot-word.in { filter: blur(2px) !important; }


/* First-screen product: arrives sooner */
@media (prefers-reduced-motion: no-preference) {
	.stage-wrap .stage { animation: lift 0.8s var(--ease) 0.3s both !important; }
	.hero-grid > .lede, .hero-grid > div, .hero-grid > .hero-chip { animation-duration: 0.6s !important; animation-delay: 0.3s !important; }
}

/* Modal: centred (no trigger origin), opens in 220ms, closes faster than it opens */
.modal { transition: opacity 0.14s var(--ease), visibility 0s linear 0.14s !important; }
.modal.open { transition: opacity 0.22s var(--ease), visibility 0s !important; }
.modal-card { transition: transform 0.14s var(--ease) !important; transform: translateY(8px) scale(0.97); }
.modal.open .modal-card { transition: transform 0.22s var(--ease) !important; transform: none; }

/* Menus and drawers: in on the strong curve, out quicker */
.mega { transform-origin: top center; }
.mega.open { transition: opacity 0.18s var(--ease), transform 0.2s var(--ease), visibility 0s !important; }

/* FAQ: answer opens on the strong curve and fades in with it */
.qa-a { transition: grid-template-rows 0.24s var(--ease) !important; }
.qa-a > div { opacity: 0; transition: opacity 0.18s var(--ease); }
.qa.open .qa-a > div { opacity: 1; transition: opacity 0.24s var(--ease) 0.04s; }

/* Reveal on scroll: shorter travel, strong curve, stagger stays 80ms */
.rv-armed { transform: translateY(12px); }
.rv-in { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease) !important; }


/* ---------- Segmented controls: a sliding active pill (mountSlides in app.js) ---------- */
.seg, .bill { position: relative; isolation: isolate; }
.seg > .slide, .bill > .slide { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; z-index: -1; pointer-events: none; }
.seg > .slide { background: var(--card); }
.bill > .slide { background: var(--ink); }
.slide-ready > .slide { transition: transform 0.26s var(--ease-io), width 0.26s var(--ease-io), opacity 0.16s var(--ease); }
.seg button, .bill button { position: relative; background: transparent !important; box-shadow: none !important; transition: color 0.2s var(--ease), transform var(--press) var(--ease) !important; }


/* ============================================================
   Iteration 7: second design-engineering review
   ============================================================ */
/* the pill is a full-width layer; the active option is revealed with clip-path (no layout work) */
.slide-ready > .slide { transition: clip-path 0.26s var(--ease-io), opacity 0.16s var(--ease) !important; }

/* FAQ: the answer's height changes at once; only its text fades */
.qa-a { transition: none !important; }

/* menus: out quicker than in */
.mega { transition: opacity 0.11s var(--ease), transform 0.13s var(--ease), visibility 0s linear 0.13s !important; }

/* reveals: shorter, so reading never waits */
.rv-in { transition: opacity 0.42s var(--ease), transform 0.42s var(--ease) !important; }

/* keyboard-initiated changes are instant (html.kbd is set on keydown, cleared on pointer) */
.kbd .slide, .kbd .mega, .kbd .modal, .kbd .modal-card, .kbd .qa-a > div, .kbd .drawer, .kbd .btn, .kbd .nav-i, .kbd .qa button .pm, .kbd .dr-btn svg, .kbd .nav-i svg {
	transition: none !important;
}

/* reduced motion, last in the cascade: fades and colour only, nothing travels or blurs */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-property: opacity, color, background-color, border-color !important; transition-duration: 0.16s !important; animation: none !important; }
	.modal-card, .modal.open .modal-card, .mega, .mega.open, .rot-word, .rot-word.in, .rot-word.out, .rv-armed, .rv-in, .stage-wrap .stage, .hero-h .ln > span { transform: none !important; filter: none !important; }
	.slide-ready > .slide { transition: none !important; }
	.btn:active, .seg button:active, .bill button:active { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.modal-card, .modal.open .modal-card, .mega, .mega.open, .rot-word, .rot-word.in, .rot-word.out, .rv-in, .rv-armed,
	.seg button, .bill button, .btn, .nav-i, .qa.open .qa-a > div, .qa-a > div {
		transition-property: opacity, color, background-color, border-color !important;
		transition-duration: 0.16s !important;
		transition-delay: 0s !important;
	}
}

/* ---------- Proof: intent score vs. sourced signal (Why section, home) ---------- */
.proof { margin-top: clamp(40px, 4.5vw, 64px); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--float); overflow: hidden; }
.proof-cols, .proof-row { display: grid; grid-template-columns: minmax(170px, 0.8fr) minmax(190px, 0.8fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding-inline: clamp(20px, 3vw, 36px); }
.proof-cols { padding-block: 16px; font-size: var(--t-small); font-weight: 500; color: var(--mute); background: var(--bg); border-bottom: 1px solid var(--line-2); }
.proof-cols span:last-child { color: var(--sun-deep); font-weight: 600; }
.proof-list { list-style: none; margin: 0; padding: 0; }
.proof-row { padding-block: clamp(20px, 2.2vw, 28px); }
.proof-row + .proof-row { border-top: 1px solid var(--line-2); }
.proof-acct { display: flex; align-items: center; gap: 12px; min-width: 0; }
.proof-acct .av { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; flex: none; overflow: hidden; }
.proof-acct .av img { width: 22px; height: 22px; object-fit: contain; }
.proof-acct b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.proof-acct span { display: block; font-size: var(--t-small); color: var(--mute); }
/* The score is deliberately quiet: a number with nothing behind it. */
.proof-score { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 12px; color: var(--mute-2); }
.proof-n { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.proof-bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: #b9bec7; }
.proof-q { grid-column: 1 / -1; font-size: var(--t-small); font-style: italic; }
.proof-sig { display: grid; gap: 8px; justify-items: start; min-width: 0; padding: 16px 18px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line-2); transition: border-color 0.2s, background-color 0.2s; }
@media (hover: hover) and (pointer: fine) { .proof-row:hover .proof-sig { border-color: var(--line); background: var(--card); } }
.proof-sig .sig-head { margin: 0; }
.proof-person { display: block; font-size: var(--t-small); font-weight: 500; color: var(--mute); letter-spacing: 0; margin-bottom: 2px; }
.proof-sig .sig-src a:focus-visible { outline: 2px solid var(--sun-deep); outline-offset: 2px; border-radius: 3px; }
@media (max-width: 860px) {
	.proof-cols { display: none; }
	.proof-row { grid-template-columns: 1fr auto; gap: 14px 16px; }
	.proof-acct { grid-column: 1; }
	.proof-score { grid-column: 2; grid-template-columns: auto 64px; justify-items: end; }
	.proof-bar { justify-self: stretch; }
	.proof-q { font-size: 12.5px; }
	.proof-sig { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .proof-score { grid-template-columns: auto 44px; } .proof-n { font-size: 24px; } }


/* ============================================================
   Design system v1 (Paper "01 · Design system"), direction A: product over sky.
   Hill-climbed against the reference teardown (design/teardown.md) and the first review round.
   ============================================================ */
/* ============================================================
   COMP LAYER: design system v1 (Paper page "01 · Design system"), applied for the comps only.
   Lives in the scratchpad; nothing here is in src/ until the comps are approved.
   ============================================================ */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--bg: #ffffff;
	--paper: #f4f6f8;
	--card: #ffffff;
	--ink: #0d1019;
	--ink-2: #2e333d;
	--ink-3: #2e333d;
	--mute: #6b7280;
	--mute-2: #6b7280;
	--line: #e5e8ec;
	--line-2: #e5e8ec;
	--f-display: "Geist", system-ui, sans-serif;
	--f-body: "Geist", system-ui, sans-serif;
	--f-mono: "Geist Mono", ui-monospace, monospace;
	--t-small: 14px;
	--t-body: clamp(16px, 0.95rem + 0.15vw, 17px);
	--t-lead: clamp(18px, 1rem + 0.25vw, 20px);
	--t-head: clamp(30px, 1.1rem + 2.1vw, 44px);
	--t-display: clamp(40px, 1.3rem + 3.1vw, 64px);
	--margin: clamp(20px, 4.45vw, 64px);
	--gap-sec: clamp(64px, 7.8vw, 112px);
	--r: 12px;
	--r-lg: 16px;
	--r-xl: 20px;
}
body { font-family: var(--f-body); font-size: var(--t-body); line-height: 1.53; color: var(--ink); background: var(--bg); }
.wrap { max-width: 1440px; }

/* type: two weights, six sizes */
.display, .h1 { font-weight: 500 !important; letter-spacing: -0.025em !important; line-height: 1.03 !important; }
.h2 { font-weight: 500 !important; letter-spacing: -0.02em !important; line-height: 1.07 !important; }
.h3 { font-weight: 500 !important; letter-spacing: -0.01em !important; font-size: clamp(19px, 1rem + 0.35vw, 22px) !important; line-height: 1.27 !important; }
.h4, .plan-nm, .team h3 { font-weight: 500 !important; }
.lede, .hero-grid .lede, .ph-txt > .lede { color: var(--ink-2) !important; font-size: var(--t-lead) !important; line-height: 1.45 !important; letter-spacing: 0 !important; }
.sec-head .lede, .sec-head.split .lede { color: var(--ink-2) !important; }
p, .fcard p, .step-txt p, .rev-txt p, .trust-i p, .pillar p, .team p { color: var(--ink-2); }
.chapter p, .on-night p, .plan-pro p { color: var(--on-night-mute); }
.mute, .small { color: var(--mute); }
b, strong { font-weight: 600; }

/* labels: the mono voice (3–7% of text in the references) */
.eyebrow { font-family: var(--f-mono) !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.02em !important; text-transform: uppercase !important; color: var(--mute) !important; }
.eyebrow::before { width: 6px !important; height: 6px !important; }
.chapter .eyebrow, .on-night .eyebrow { color: var(--on-night-mute) !important; }
.pillar .k, .rev-k, .step-n, .plan-credits .lbl { font-family: var(--f-mono) !important; font-size: 12px !important; letter-spacing: 0.02em !important; text-transform: uppercase !important; font-weight: 500 !important; }

/* one ground: white; one tone step for panels */
.sec-card { background: var(--bg) !important; }
.sec-paper { background: var(--paper) !important; }
.hdr.scrolled, .hdr.menu-open { background: rgba(255, 255, 255, 0.92) !important; }

/* buttons: 44px pill, 15/500 */
.btn { height: 44px; font-size: 15px; font-weight: 500; padding: 0 20px; }
.btn-sm { height: 36px; font-size: 14px; padding: 0 14px; }
.btn-lg { height: 48px; font-size: 15px; padding: 0 24px; }
.btn-ghost { --b-bg: #fff; --b-bd: var(--line); }
@media (hover: hover) and (pointer: fine) { .btn:hover { --b-bg: var(--ink-2); --b-bd: var(--ink-2); } .btn-ghost:hover { --b-bg: #fff; --b-bd: #9aa1ac; --b-fg: var(--ink); } }
:focus-visible { outline: 2px solid var(--sun) !important; outline-offset: 2px !important; border-radius: 999px; }
a:focus-visible:not(.btn) { border-radius: 4px; }

/* panels: tone step, no outline at rest */
.fcard, .trust-i, .team, .rev-card, .rev-3v div { background: var(--paper) !important; border-radius: var(--r-lg) !important; }
.sec-paper .fcard, .sec-paper .trust-i, .sec-paper .team { background: #fff !important; }
.step-vis, .rev-vis { border-radius: var(--r-lg) !important; }

/* sections: 112 desktop, 64 phone; head to content 48 / 32 */
.sec-head { margin-bottom: clamp(32px, 3.4vw, 48px) !important; gap: 16px !important; }

/* phones: hero title 40px, tighter top */
@media (max-width: 520px) {
	.display { font-size: 40px !important; }
	.hero { padding-top: 40px !important; }
}
/* the Why band keeps its cloud material */
.sec-card[aria-labelledby="st-h"] { background: var(--bg) !important; }
.sec-card[aria-labelledby="st-h"] .pillars { background: rgba(255, 255, 255, 0.86) !important; }
.pillar p:not(.k) { color: var(--ink-2) !important; }
/* sub-page hero: the text sits at the top of its column, beside the product */
.ph-grid { align-items: start !important; }
.ph-txt { align-self: start !important; padding-top: clamp(0px, 3vw, 48px); }
/* pricing: the night plan keeps light text */
.plan-pro .plan-nm, .plan-pro .plan-pr span, .plan-pro .plan-credits .val, .plan-pro .feats li b { color: var(--on-night) !important; }
.plan-pro .plan-for, .plan-pro .plan-bl, .plan-pro .feats li span span { color: var(--on-night-mute) !important; }
/* step 1: reading ink only on light grounds */
.chapter .lede, .chapter p, .on-night .lede, .on-night p, .cta-band .lede, .plan-pro p, .calc-out *, .crm-sec .lede, .crm-sec p { color: var(--on-night-mute) !important; }
.calc-out b, .calc-out strong, .calc-out .big, .calc-out [class*="num"] { color: var(--on-night) !important; }
.ch-k, .step-vis .ch-k { color: var(--mute) !important; }
.bill > .slide { background: var(--ink) !important; }
.bill button[aria-pressed="true"] { color: var(--on-night) !important; }
.chapter .sec-head .lede, .chapter .sec-head.split .lede { color: var(--on-night-mute) !important; }
.chapter .step-vis p, .chapter .step-vis b, .chapter .step-vis span { color: inherit !important; }
.chapter .step-vis { color: var(--ink) !important; }
.chapter .step-vis .mute, .chapter .step-vis small { color: var(--mute) !important; }
.bill button[aria-pressed="true"] { background-color: var(--ink) !important; transition: color 0.2s var(--ease), background-color 0s linear 0.26s !important; }
/* step 2: the sky stops in a hard line without a gradient layer */
.sky-top { background: #dfe8f1 var(--sky) center top / cover no-repeat !important; position: relative; }
.sky-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(180px, 22vw, 320px); background: var(--bg); z-index: -1; }
.sky-top > .shader-layer { z-index: -2; }
/* step 3: the statement is a paragraph at statement size */
.statement { font-size: clamp(22px, 0.9rem + 1.3vw, 34px) !important; line-height: 1.25 !important; max-width: 44ch !important; }
/* step 4: the shader layer is a backdrop, not a floating object */
.ph-vis > .shader-layer { box-shadow: none !important; }
/* step 5: product windows sit on the sky with a hairline frame instead of a resting shadow */
.stage, .app-shot, .ph-vis > *:not(.shader-layer), .rev-vis .crm { box-shadow: none !important; outline: 1px solid rgba(13, 25, 45, 0.10); outline-offset: -1px; }
/* step 8: no reading text under 13px */
.act .note, .act .task,
.bill button span,
.calc-out .lbl,
.ch-custom,
.ch-custom .k,
.ch-k,
.ch-test,
.cmp-foot,
.cmp-h span,
.cmp-in .lbl span,
.cmp-out .k,
.cmp-sig dt,
.code-h,
.crm-pill,
.crm-props div,
.crm-props span,
.crm-rec span,
.crm-tabs,
.crm-top b,
.crm-top span,
.cx-foot,
.cx-l,
.cx-l span,
.eyebrow,
.fcard .ex a,
.feats .plus,
.fld .err,
.flow-i .n,
.form-note,
.ftr .ftr-h,
.hero-chip b,
.ladder th,
.li .av.p,
.li .st,
.li .sub,
.lib-grp .lib-h,
.lib-opts span,
.lvl-h span,
.mega-h,
.mega-new,
.mega-note,
.mega-note .src,
.note .s,
.note, .task, .slack,
.note-h,
.note-h em,
.pane-k,
.pane-s,
.pillar .k,
.plan-credits .cap,
.plan-credits .lbl,
.plan-flag,
.preview-note,
.radio-cards span,
.reading span,
.rec,
.rev-k,
.rev-stage,
.rev-txt .chips .tag,
.rev-vis .crm-rec span,
.rev-vis .note, .rev-vis .task, .rev-vis .slack,
.seg button .n,
.sig-m,
.sig-m .src,
.sig-m .win,
.sig-src,
.sig-src a,
.sig-who span,
.sig-why,
.sig-why b,
.slack .ch,
.slack b,
.stage-live,
.step-n,
.task .due,
.task b,
.tbl .grp td,
.tbl thead th,
.tl-i .n,
.tl-i .when,
.xp-diff div,
.xp-ex button,
.xp-out .k,
.xp-person .av,
.xp-person span,
.xp-rule b,
.xp-tab span,
/* ---------- Tags ---------- */
.tag,
/* Code block */
.code { font-size: 13px !important; }
.feats li:has(> .plus), .feats .plus { display: block !important; grid-column: 1 / -1 !important; width: auto !important; }
/* step 9: separate by space and tone, not rules */
.qa { border-bottom: 0 !important; border-top: 0 !important; }
.faq { border: 0 !important; display: grid; gap: 8px; }
.qa { background: var(--paper); border-radius: 12px; padding: 0 20px; }
.qa button { padding: 18px 0 !important; }
.crm-pt { border: 0 !important; box-shadow: none !important; }
.crm-pts { gap: 6px !important; }
.fcard .ex { border-top: 0 !important; padding-top: 4px !important; }
/* step 10: marketing paragraphs at the body step */
.fcard p, .qa-a p, .rev-txt p, .team p, .trust-i p, .step-txt p, .pillar p, .cmp-pt p, .crm-pt p, .rev-3v p, .plan-for, .flow-i p, .tl p, .level p, .prog p, .earn p, .rules p, .sec p:not([class]) { font-size: var(--t-body) !important; line-height: 1.53 !important; }
/* step 11b: the closing headline holds two lines (desktop grid only) */
@media (min-width: 901px) { .cta-band { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) !important; } }
.cta-band .h2 { font-size: clamp(30px, 1.1rem + 2.1vw, 44px) !important; max-width: 24ch !important; }
/* step 12: the pricing product band */
.app-band.sub .app-shot { max-width: 1060px; margin: 0 auto; }
/* step 13: table headers in sentence case */
.tbl thead th, .tbl .grp td { font-family: var(--f-body) !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 600 !important; color: var(--ink) !important; }

/* ===== Review round 1 (user notes) ===== */
/* 1. the example run keeps one height (its tallest state), so nothing above or below it moves */
.stage-wrap .stage .stage-body { height: 640px !important; }
@media (max-width: 1020px) { .stage-wrap .stage .stage-body { height: auto !important; } .stage-wrap .stage .pane-sig { min-height: 520px; } .stage-wrap .stage .pane-crm { min-height: 640px; } }
@media (max-width: 680px) { .stage-wrap .stage .pane-crm { min-height: 800px; } }
/* 2. the sky never rescales: fixed photo size, fixed shader height */
.sky-top { background-size: 2680px auto !important; background-position: center top !important; }
.sky-top > .shader-layer { bottom: auto !important; height: 1180px !important; }
@media (max-width: 860px) { .sky-top { background-size: auto 1700px !important; } .sky-top > .shader-layer { height: 1400px !important; } }
/* 3. the CRM slot fits each name (width driven by comp.js through --slot) */
.hero .rot-box { min-width: 0 !important; justify-content: flex-start; }
/* 4. Why: no cloud photo; plain ground, the points on a tone panel */
.sec-card[aria-labelledby="st-h"] { background: var(--bg) !important; }
.sec-card[aria-labelledby="st-h"] .pillars { background: var(--paper) !important; }
/* 5. the footer name: whole and solid */
.ftr-big { color: var(--on-night) !important; font-size: clamp(56px, 13.4vw, 192px) !important; overflow: visible !important; line-height: 0.92 !important; padding-bottom: 0.08em; }
.ftr-big .mark { color: var(--on-night) !important; }
/* the scrolled header is solid, so nothing shows through it */
.hdr.scrolled, .hdr.menu-open { background: #ffffff !important; box-shadow: 0 1px 0 var(--line) !important; }
/* the footer name fits inside the margins */
.ftr-big { font-size: clamp(52px, 12.6vw, 182px) !important; max-width: 100%; }


/* ===== Review round 2 ===== */
/* the CRM slot: its surface is a pseudo-element so the width change is transform-only */
.hero .rot-box { background: none !important; overflow: visible !important; position: relative; isolation: isolate; transition: none !important; }
.hero .rot-box::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 0.16em; background: rgba(255, 255, 255, 0.82); transform-origin: left center; }
.hero-h.risen .ln { overflow: visible; }
.rot-word, .rot-word.in, .rot-word.out { filter: none !important; }
.rot-word { transition: opacity 0.2s var(--ease), transform 0.28s var(--ease) !important; }
/* phone: the CRM name always has its own line, so the title keeps four lines */
@media (max-width: 900px) { .hero-h .rot { display: flex; justify-content: center; } .hero-h .ln { display: block; } .hero-h .ln > span { display: block; } }
/* the example run: one event leads, the rest steps back */
.stage-bar { border-bottom: 0 !important; background: var(--paper) !important; }
.stage .pane { border-color: var(--line-2) !important; }
.reading span { border: 0 !important; background: var(--paper); color: var(--mute); }
.reading span.on { background: var(--ink); color: #fff; }
.li:not(.hit):not(.scan) .st { color: var(--mute-2); }
.sigcard, .stage .crm { border-color: var(--line-2) !important; }
/* consent on phones: copy beside two side-by-side buttons */
@media (max-width: 560px) {
	.consent { padding: 8px 8px 8px 12px; gap: 10px; bottom: 8px; left: 8px; right: 8px; }
	.consent-copy { font-size: 13px; line-height: 1.3; }
	.consent-actions { flex-direction: row; gap: 4px; }
	.consent-button { height: 32px; padding: 0 10px; font-size: 13px; }
}
@media (max-width: 900px) { .hero-h br { display: none; } }


/* ===== Review round 2b ===== */
/* buttons: only the press animates */
.btn { transition: transform var(--press) var(--ease) !important; }
/* the burger becomes a close control while the drawer is open */
.burger { width: 44px; height: 44px; position: relative; }
.burger[aria-expanded="true"] svg { opacity: 0; }
.burger[aria-expanded="true"]::before, .burger[aria-expanded="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; top: 21px; height: 1.7px; border-radius: 2px; background: var(--ink); }
.burger[aria-expanded="true"]::before { transform: rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: rotate(-45deg); }
/* the flow is the motif: source to signal to record, one sun node on each seam of the example run */
.stage-wrap .pane + .pane { position: relative; }
@media (min-width: 1021px) {
	.stage-wrap .pane + .pane::before { content: ""; position: absolute; left: -6px; top: 34px; width: 11px; height: 11px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px #fff; z-index: 2; }
}
/* sections sit closer together; proof carries the page without extra framing */
:root { --gap-sec: clamp(64px, 6.6vw, 96px); }
.proof { box-shadow: none !important; border: 0 !important; background: var(--paper) !important; }
.proof-cols { background: none !important; border-bottom: 0 !important; }
.proof-sig { background: #fff !important; border: 0 !important; }
.proof-row + .proof-row { border-top: 0 !important; }
/* sub-page heroes: long titles take the full width; pictures sit on a tone unless the page is a product page */
.ph-vis { background: var(--paper) !important; }
.ph-vis.sky { background: #dfe8f1 var(--sky) center 40% / cover no-repeat !important; }
.ph-vis:not(.sky) > * { outline: 0 !important; }
@media (min-width: 961px) {
	.ph-grid.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
	.ph-grid.wide .ph-txt { display: contents; }
	.ph-grid.wide .ph-txt > .crumbs, .ph-grid.wide .ph-txt > .eyebrow, .ph-grid.wide .ph-txt > .h1 { grid-column: 1 / -1; }
	.ph-grid.wide .ph-txt > .h1 { max-width: 20ch; }
	.ph-grid.wide .ph-txt > .lede, .ph-grid.wide .ph-txt > .row { grid-column: 1; }
	.ph-grid.wide .ph-vis { grid-column: 2; grid-row: 4 / span 2; }
}
@media (max-width: 960px) { .ph { padding-top: 24px !important; } }
/* phones: dashboards crop to a legible panel instead of shrinking */
@media (max-width: 680px) {
	.app-shot { aspect-ratio: 4 / 3 !important; }
	.app-shot img { width: 240% !important; max-width: none !important; height: auto !important; object-fit: initial !important; transform: translate(-22%, -20%); }
	.app-band.sub .app-shot img { width: 200% !important; transform: translate(-22%, 0); }
}
/* signals library: filters wrap instead of a hidden strip */
@media (max-width: 960px) { .lib-side { display: grid !important; overflow: visible !important; gap: 16px !important; } .lib-opts { flex-wrap: wrap !important; overflow: visible !important; } }
/* tables stack on phones: each row a block, each cell with its column name */
@media (max-width: 680px) {
	.tbl-wrap { overflow: visible; border: 0; background: none; }
	.tbl { min-width: 0; display: block; }
	.tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tbl tbody { display: grid; gap: 12px; }
	.tbl tr { display: grid; gap: 10px; padding: 16px; background: var(--paper); border-radius: var(--r); }
	.tbl tr.grp { background: none; padding: 8px 0 0; }
	.tbl th, .tbl td { display: block; width: auto !important; padding: 0; border: 0; background: none !important; }
	.tbl td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 13px; color: var(--mute); margin-bottom: 2px; }
	.tbl td:first-child { font-size: 17px; }
}
/* pricing: on one column the recommended plan comes first */
@media (max-width: 980px) { .plan-pro { order: -1; } }
/* the closing band: a scrim keeps text clear of the glow; the form stacks on phones */
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(8, 11, 24, 0.42); pointer-events: none; }
@media (max-width: 560px) {
	.cta-band .signup { flex-direction: column; border-radius: 16px !important; padding: 8px; }
	.cta-band .signup input { width: 100%; flex: none; height: 44px; }
	.cta-band .signup .btn { width: 100%; }
}
/* cropped CRM cards end on a designed fade */
.rev-vis { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
@media (min-width: 961px) { .ph-grid.wide { align-content: start !important; row-gap: 20px !important; } .ph-grid.wide .ph-txt > .h1 { margin-bottom: 12px; } .ph-grid.wide .ph-vis { align-self: start; } }
@media (min-width: 961px) { .ph-grid.wide { grid-template-rows: auto auto auto auto auto 1fr !important; } .ph-grid.wide .ph-vis { grid-row: 4 / span 3 !important; } }
.ph-vis .rev-vis { background: none !important; padding: 0 !important; }


/* ===== Accessibility pass ===== */
:root { --mute: #5f6673; --mute-2: #5f6673; }
.chapter .step-n, .on-night .step-n { color: var(--sun) !important; }
.chapter .step-vis p, .chapter .step-vis b, .chapter .step-vis .q, .chapter .step-vis .note, .chapter .step-vis .task { color: var(--ink-2) !important; }
.crm-sw .seg { background: var(--night-2); border-color: var(--night-line); }
.crm-sw .seg button { color: var(--on-night-mute); }
.crm-sw .seg button[aria-pressed="true"] { color: var(--ink); }
.tag.off { opacity: 1 !important; background: var(--paper) !important; color: var(--mute) !important; border-color: var(--line) !important; }
.plan-pro .plus { color: var(--on-night-mute) !important; }
/* phones: explorer tabs show their names (the template's rule hid them) */
@media (max-width: 980px) { .xp-tab::after { content: attr(data-name); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; } }


/* ===== Review round 3 ===== */
/* the active stage of the example run leads; the others step back */
.stage-wrap .pane { transition: opacity 0.24s var(--ease); }
.stage[data-step="1"] .pane-sig, .stage[data-step="1"] .pane-crm, .stage[data-step="2"] .pane-crm, .stage[data-step="2"] .pane-list, .stage[data-step="3"] .pane-list { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) { .stage-wrap .pane { opacity: 1 !important; } }
/* phones: record fields stack, values never truncate */
@media (max-width: 560px) {
	.crm-props { grid-template-columns: minmax(0, 1fr) !important; }
	.crm-props div { display: flex; justify-content: space-between; gap: 12px; border: 0 !important; padding-block: 4px !important; }
	.crm-props b, .crm-props span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
}
/* the CRM picker wraps inside its panel */
.crm-sw { flex-wrap: wrap; min-width: 0; }
.crm-sw-l { flex-wrap: wrap !important; min-width: 0; max-width: 100%; overflow: visible !important; }
/* long-title heroes: title left, standfirst and actions right, the product large underneath */
@media (min-width: 961px) {
	.ph-grid.wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; grid-template-rows: none !important; column-gap: 48px !important; align-items: end !important; }
	.ph-grid.wide .ph-txt > .crumbs, .ph-grid.wide .ph-txt > .eyebrow { grid-column: 1 / -1; }
	.ph-grid.wide .ph-txt > .h1 { grid-column: 1 !important; grid-row: 3 / span 2 !important; margin: 0 !important; max-width: none; }
	.ph-grid.wide .ph-txt > .lede { grid-column: 2 !important; grid-row: 3 !important; align-self: end; padding: 0 !important; max-width: none; }
	.ph-grid.wide .ph-txt > .row { grid-column: 2 !important; grid-row: 4 !important; padding: 0 !important; }
	.ph-grid.wide .ph-vis { grid-column: 1 / -1 !important; grid-row: 5 !important; margin-top: 28px; padding: 48px 48px 0 !important; max-height: 460px; overflow: hidden; display: grid; justify-items: center; }
	.ph-grid.wide .ph-vis > *:not(.shader-layer) { width: min(860px, 100%); -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
}

/* footer CRM logos: one white monochrome row, so every mark reads on night */
.ftr-brand .row img { filter: brightness(0) invert(1); opacity: 0.82; }


/* segmented pill: its real size, moved by transform; the width settles without animating */
.seg > .slide, .bill > .slide { inset: 4px auto 4px 4px !important; width: auto; transform: none; }
.slide-ready > .slide { transition: transform 0.26s var(--ease-io), opacity 0.16s var(--ease) !important; }
/* light product cards inside night sections keep their own ink */
.on-night .crm p, .on-night .crm b, .on-night .crm .q, .on-night .crm .note p, .on-night .crm .task p, .crm-big .note b, .crm-big .note p { color: var(--ink-2) !important; }
.code .c { color: #8b93a5; }
.prog-c.dark .eyebrow, .dark .eyebrow { color: var(--on-night-mute) !important; }

/* phones: the CRM demo stays inside its panel */
@media (max-width: 680px) {
	.ph-vis { padding: 12px !important; }
	.ph-vis .crm-demo { min-width: 0; width: 100%; max-width: 100%; padding: 12px !important; box-sizing: border-box; }
	.ph-vis .crm, .ph-vis .crm-big { min-width: 0 !important; width: 100% !important; max-width: 100%; box-sizing: border-box; }
}


/* ===== Review round 4 ===== */
/* inline icons in small text never grow */
.small svg, .fcard > .small svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-left: 6px; }

/* Page families: each opens with its own ground, so silhouettes differ by purpose */
/* product pages: the sky runs behind the header and the product stands directly on it */
body:is([data-route="buying-signals"], [data-route="people-signals"], [data-route="custom-signals"], [data-route="crm-sync"], [data-route="alerts"]) .ph {
	margin-top: calc(-1 * var(--head-h)); padding-top: calc(var(--head-h) + clamp(28px, 3.4vw, 56px)) !important; background: #dfe8f1 var(--sky) center top / 2680px auto no-repeat;
}
.ph[data-shader] .ph-vis { background: none !important; padding: 0 !important; }
.ph[data-shader] .ph-vis > *:not(.shader-layer) { box-shadow: none !important; outline: 1px solid rgba(13, 25, 45, 0.1); outline-offset: -1px; }
.ph[data-shader] .lede, .ph[data-shader] .crumbs a, .ph[data-shader] .crumbs, .ph[data-shader] .eyebrow { color: var(--ink-2) !important; }
.ph[data-shader] > .shader-layer { z-index: -1; }
/* solutions pages: a quiet tone field; the record sits on it without a second frame */
body:is([data-route="new-pipeline"], [data-route="reopen-deals"], [data-route="customers"], [data-route="competitors"], [data-route="startups"], [data-route="growth-teams"], [data-route="enterprise"]) .ph { background: var(--paper); }
body:is([data-route="new-pipeline"], [data-route="reopen-deals"], [data-route="customers"], [data-route="competitors"], [data-route="startups"], [data-route="growth-teams"], [data-route="enterprise"]) .ph-vis { background: none !important; padding-inline: 0 !important; }
/* partner pages: night, the way a statement of account feels */
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph { margin-top: calc(-1 * var(--head-h)); padding-top: calc(var(--head-h) + clamp(28px, 3.4vw, 56px)) !important; background: var(--night); color: var(--on-night); }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph :is(.h1, .lede, .crumbs, .crumbs a) { color: var(--on-night) !important; }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .eyebrow { color: var(--on-night-mute) !important; }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .ph-vis { background: var(--night-2) !important; }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .btn-ghost { --b-bg: transparent; --b-fg: var(--on-night); --b-bd: var(--night-line); }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .btn:not(.btn-ghost) { --b-bg: var(--sun); --b-fg: var(--ink); --b-bd: var(--sun); }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .hdr:not(.scrolled):not(.menu-open) :is(.brand, .wordmark, .nav-i, .hdr-login) { color: var(--on-night) !important; }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .hdr:not(.scrolled):not(.menu-open) .btn { --b-bg: var(--on-night); --b-fg: var(--ink); --b-bd: var(--on-night); }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .hdr:not(.scrolled):not(.menu-open) .btn-ghost { --b-bg: transparent; --b-fg: var(--on-night); --b-bd: var(--night-line); }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .hdr:not(.scrolled):not(.menu-open) .burger { background: transparent; border-color: var(--night-line); color: var(--on-night); }

/* CRM picker: real colour on night, tidy grid on phones */
.crm-sw-l button { color: var(--on-night) !important; }
.crm-sw-l button[aria-pressed="true"] { color: var(--ink) !important; }
.crm-sw-l button:not([aria-pressed="true"]) img { filter: brightness(0) invert(1); opacity: 0.85; }
@media (max-width: 560px) {
	.crm-sw-l { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
	.crm-sw-l button { width: 100%; min-width: 0; justify-content: flex-start; }
}

/* the closing form is the brightest thing in the band */
.cta-band .signup { background: #ffffff !important; border: 0 !important; }
.cta-band .signup input { color: var(--ink) !important; }
.cta-band .signup input::placeholder { color: var(--mute) !important; }
.cta-band .signup .btn { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.cta-band .signup-meta, .cta-band .signup-meta span, .cta-band .signup-meta a { color: var(--on-night) !important; }

/* example run: pane headings lead, metadata recedes */
.pane-k b { font-size: 15px !important; font-weight: 600 !important; }
.stage .pane-s, .stage .sub, .stage .crm-top span { color: var(--mute-2) !important; }

/* library: titles lead each card */
.sig { border: 0 !important; background: var(--paper); }
.sig-t b { font-size: 18px !important; font-weight: 600; letter-spacing: -0.01em; }
.sig-m { border-top: 0 !important; }
.sig p { color: var(--ink-2); }

/* footer legal line reads at phone size */
.ftr-bot, .ftr-bot .mono { font-size: 14px !important; color: var(--on-night-mute) !important; }
.ftr ul { gap: 8px !important; }

/* pricing table on phones: three plans side by side under each row's name */
@media (max-width: 680px) {
	body[data-route="pricing"] .tbl tr:not(.grp) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 12px 14px; }
	body[data-route="pricing"] .tbl tr:not(.grp) td:first-child { grid-column: 1 / -1; font-size: 15px; }
	body[data-route="pricing"] .tbl td { font-size: 14px; }
	body[data-route="pricing"] .tbl tbody { gap: 6px; }
}


/* ===== Performance and nav on night ===== */
/* phones get the small sky; the closing band is the shader over flat night, no photograph */
@media (max-width: 860px) {
	.sky-top, body:is([data-route="buying-signals"], [data-route="people-signals"], [data-route="custom-signals"], [data-route="crm-sync"], [data-route="alerts"]) .ph { background-image: var(--sky-m) !important; }
}
.cta-band { background: #0b1022 !important; }
.ftr .ftr-h { margin: 0 0 14px; }
.statement { margin: 0; }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .hdr:not(.scrolled):not(.menu-open) .nav-i.on { background: rgba(255, 255, 255, 0.14) !important; }


/* ===== Review round 5 ===== */
/* the page opens and closes on one material */
.cta-band { background: #dfe8f1 var(--sky) center / cover no-repeat !important; color: var(--ink); }
.cta-band::after { display: none; }
.cta-band .h2, .cta-band .lede, .cta-band .eyebrow, .cta-band .signup-meta, .cta-band .signup-meta span, .cta-band .signup-meta a { color: var(--ink) !important; }
.cta-band .signup-meta svg { color: var(--ok) !important; }
@media (max-width: 860px) { .cta-band { background-image: var(--sky-m) !important; } }

/* demos show their evidence: fades only end desktop heroes, after the note */
.rev-vis { -webkit-mask-image: none; mask-image: none; }
@media (min-width: 961px) { .ph-grid.wide .ph-vis { max-height: 560px; } .ph-grid.wide .ph-vis > *:not(.shader-layer) { -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); } }
@media (max-width: 960px) { .rev-vis { height: auto !important; overflow: visible !important; } .ph-vis, .ph-vis > * { max-height: none !important; } }

/* phones: the task sentence gets the full width, the due date its own row */
@media (max-width: 560px) {
	.task { flex-wrap: wrap; }
	.task > div { flex: 1 1 0; min-width: 0; }
	.task .due { order: 3; flex-basis: 100%; margin-left: 28px; width: fit-content; max-width: max-content; }
}

/* narrow screens reach the title sooner; sections sit closer */
@media (max-width: 960px) {
	.ph { padding-top: 12px !important; }
	.ph-grid, .ph-grid.one, .ph-grid.wide { gap: 10px !important; }
	.ph-txt > .h1 { margin-top: 6px; margin-bottom: 8px; }
	.ph-vis { margin-top: 18px; }
	:root { --gap-sec: 56px; }
}

/* very long titles run the full width, standfirst and actions beneath */
@media (min-width: 961px) {
	.ph-grid.vlong .ph-txt > .h1 { grid-column: 1 / -1 !important; grid-row: 3 !important; max-width: 24ch; }
	.ph-grid.vlong .ph-txt > .lede { grid-column: 1 !important; grid-row: 4 !important; align-self: start; }
	.ph-grid.vlong .ph-txt > .row { grid-column: 2 !important; grid-row: 4 !important; align-self: start; justify-self: end; }
}

/* the Moment filter is one row on narrow screens until opened */
@media (max-width: 960px) {
	.lib-grp:has([data-filter="moment"]) .lib-h, [data-filter="moment"] { scroll-margin-top: 90px; }
}
.lib-h[role="button"] { cursor: default; }
@media (max-width: 960px) {
	.lib-h[role="button"] { cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
	.lib-h[role="button"]::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
	.lib-grp .lib-h[aria-expanded="true"]::after { transform: rotate(-135deg); }
	.lib-grp:has([data-filter="moment"]):not(.open) .lib-opts { max-height: 42px; overflow: hidden !important; }
}

/* source lines are the proof: they read like text */
.sig-src, .sig-src a, .note .s, .note-h em { font-size: 14px !important; color: var(--ink-2) !important; }
.sig-src a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== The signal thread: source to signal to record, one line and one node per stage ===== */
.steps { position: relative; }
.step-txt { position: relative; padding-top: 44px !important; }
.step-txt::before { content: ""; position: absolute; left: 4px; right: -40px; top: 16px; height: 2px; background: var(--sun); opacity: 0.45; }
.step:last-child .step-txt::before { right: 4px; opacity: 0.45; }
.step-txt::after { content: ""; position: absolute; left: 4px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--night); }
@media (max-width: 960px) {
	.step-txt { padding: 4px 0 8px 28px !important; margin-top: 18px; }
	.step-txt::before { left: 5px; right: auto; top: 0; bottom: -24px; width: 2px; height: auto; }
	.step:last-child .step-txt::before { bottom: 0; right: auto; }
	.step-txt::after { left: 0; top: 6px; }
}
/* the seam nodes of the example run share one line across the top of the panes */
@media (min-width: 1021px) {
	.stage-wrap .stage-body { position: relative; }
	.stage-wrap .stage-body::before { content: ""; position: absolute; left: 0; right: 0; top: 39px; height: 2px; background: var(--sun); opacity: 0.28; z-index: 1; pointer-events: none; }
}
/* a record's first line is the end of the thread */
.note .q { border-left-color: var(--sun) !important; border-left-width: 2px !important; }
@media (min-width: 1021px) {
	.stage-wrap .stage-body::before { top: 0; opacity: 0.45; }
	.stage-wrap .pane + .pane::before { top: -5px; box-shadow: 0 0 0 3px #fff; }
}

/* lower sections: open columns hung from the thread line, not rows of pale boxes */
.fcard, .sec-paper .fcard, .sec-card .fcard, .trust-i, .sec-paper .trust-i, .team, .sec-paper .team { background: none !important; border-radius: 0 !important; padding: 20px 0 0 !important; box-shadow: inset 0 2px 0 var(--ink) !important; }
.on-night .fcard { box-shadow: inset 0 2px 0 var(--night-line) !important; }
.fgrid, .trust, .teams { gap: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 40px) !important; }
a.fcard, .team { transition: box-shadow var(--press) var(--ease), transform var(--press) var(--ease); }
@media (hover: hover) and (pointer: fine) { a.fcard:hover, .team:hover { box-shadow: inset 0 2px 0 var(--sun) !important; background: none !important; } }


/* ===== Review round 6 ===== */
/* phones: the example run shows one stage at a time in one fixed frame */
@media (max-width: 680px) {
	.stage-wrap .stage[data-step] .stage-body { position: relative; height: 820px !important; min-height: 0; display: block; overflow: hidden; }
	.stage-wrap .stage[data-step] .pane { position: absolute; inset: 0; opacity: 0 !important; pointer-events: none; border: 0 !important; min-height: 0 !important; transition: opacity 0.26s var(--ease); }
	.stage-wrap .stage[data-step="1"] .pane-list, .stage-wrap .stage[data-step="2"] .pane-sig, .stage-wrap .stage[data-step="3"] .pane-crm { opacity: 1 !important; pointer-events: auto; }
	/* later records on home crop to their one point */
	.rev .rev-vis { height: 320px !important; overflow: hidden !important; -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); }
}

/* signals catalog: moments are landmarks, cards step back */
.lib-land { grid-column: 1 / -1; padding: 28px 0 6px; box-shadow: inset 0 2px 0 var(--ink); margin-top: 16px; }
.lib-land:first-child { margin-top: 0; }
.lib-land::before { content: attr(data-label); font-size: clamp(22px, 1rem + 0.7vw, 28px); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.sig { padding: 18px !important; }
.sig-m .src, .sig-m .rec { border: 0 !important; background: none !important; padding-inline: 0 !important; color: var(--mute) !important; font-family: var(--f-body) !important; text-transform: none !important; letter-spacing: 0 !important; }
.sig-m { gap: 4px 12px !important; }
@media (max-width: 960px) { .lib-side { gap: 10px !important; } .lib-grp .lib-h { margin-bottom: 4px; } .lib-opts button { height: 36px; } }

/* pricing table on phones: one sticky plan header, values under it, tight rows */
@media (max-width: 680px) {
	body[data-route="pricing"] .tbl thead { position: sticky; top: var(--head-h); z-index: 3; width: auto; height: auto; clip: auto; overflow: visible; display: block; background: var(--bg); padding: 8px 14px; }
	body[data-route="pricing"] .tbl thead tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; background: none; }
	body[data-route="pricing"] .tbl thead th { padding: 0; background: none; font-weight: 600; font-size: 14px; }
	body[data-route="pricing"] .tbl thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	body[data-route="pricing"] .tbl td::before { display: none !important; }
	body[data-route="pricing"] .tbl tr:not(.grp) { gap: 2px 10px; padding: 10px 14px; }
	body[data-route="pricing"] .tbl tbody { gap: 4px; }
	body[data-route="pricing"] .tbl-wrap { overflow: visible; }
}
@media (max-width: 560px) {
	.task { display: grid !important; grid-template-columns: 20px minmax(0, 1fr) !important; gap: 6px 10px !important; }
	.task .due { grid-column: 2 !important; grid-row: auto !important; justify-self: start; margin: 0 !important; position: static !important; }
}

/* ===== Agentation notes, round 1 ===== */
/* hero paragraph: a tighter column, a clear step below the title */
.hero-grid .lede { max-width: 640px !important; font-size: 18px !important; line-height: 28px !important; }
@media (max-width: 560px) { .hero-grid .lede { font-size: 17px !important; line-height: 25px !important; } }
/* the cookie bar sits in a corner, clear of the live demo */
@media (min-width: 561px) { .consent { left: 16px; bottom: 16px; transform: none; width: min(460px, calc(100vw - 32px)); } }

/* ===== Review round 7 ===== */
/* open-column titles lead their text: 20px over 17px body, not the same size */
.fcard .h4, .trust-i .h4, .team h3, .flow-i b { font-size: 20px !important; line-height: 26px !important; letter-spacing: -0.015em; }
@media (max-width: 560px) { .fcard .h4, .trust-i .h4, .team h3, .flow-i b { font-size: 18px !important; line-height: 24px !important; } }

/* headlines keep compounds whole and lines even */
.ph .h1 { text-wrap: balance; }
@media (min-width: 961px) {
	.ph-grid.one .ph-txt > .h1 { max-width: 1160px; }
	/* title and standfirst start on one line */
	.ph-grid.wide .ph-txt > .h1, .ph-grid.wide .ph-txt > .lede { align-self: start !important; }
	/* text-only heroes hand over to the page sooner */
	.ph:has(.ph-grid.one) { padding-bottom: 52px !important; }
	/* six stages get two rows of three, so each sentence has room */
	.flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 0; }
	.flow-i { padding-right: 40px; }
	.flow-i:nth-child(3n)::before { display: none; }
	/* a one-row section needs less air */
	body:is([data-route="new-pipeline"], [data-route="reopen-deals"], [data-route="customers"], [data-route="competitors"], [data-route="startups"], [data-route="growth-teams"], [data-route="enterprise"]) .sec-card { padding-block: 72px; }
}

/* comparison: both columns read at the same strength */
.tbl td.dim { color: var(--ink-2) !important; }
.tbl thead th { font-size: 15px !important; }

/* a contact line is an action: it keeps its size and its underline */
.fine:has(> .link) { font-size: 15px; line-height: 24px; color: var(--ink-2); }
.fine > .link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

/* questions on a toned section stay visible as rows */
.sec-paper .qa { background: var(--bg) !important; }
.nb { white-space: nowrap; }
/* the automation screen is framed on its settings column, at a size that can be read */
@media (min-width: 961px) {
	body[data-route="custom-signals"] .app-band .app-shot { overflow: hidden; }
	body[data-route="custom-signals"] .app-band .app-shot img { width: 140%; max-width: none; height: calc(100% + 56px); object-fit: cover; object-position: top; margin: -56px 0 0 -36%; }
}

/* text-only heroes: the split header, so the page content starts in the first view */
@media (min-width: 961px) {
	.ph:has(.ph-grid.one) { padding-bottom: 40px !important; }
	.ph-grid.one.wide { max-width: none; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr) !important; }
	.ph-grid.one.wide .ph-txt > .h1 { max-width: none; }
}

/* a band never touches the tinted section above it */
:is(.sec-paper, .sec-card) + .sec-tight { padding-top: clamp(56px, 6vw, 80px) !important; }

/* product mocks on a white page keep an edge */
.sec:not(.sec-paper):not(.sec-card) .step-vis { box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-lg); }

/* split headers end on one baseline everywhere */
.sec-head.split { align-items: last baseline; }

/* comparison: the product column is anchored by the signal colour */
.tbl thead th.us { box-shadow: inset 0 2px 0 var(--sun); }

/* plans: names, prices and buttons sit on shared lines */
.plan { position: relative; }
.plan:not(.plan-pro) { background: var(--paper) !important; }
.sec-paper .plan:not(.plan-pro) { background: var(--bg) !important; }
@media (min-width: 981px) {
	.plans { --flag: 44px; }
	.plan { padding-top: calc(clamp(32px, 3vw, 44px) + var(--flag)) !important; }
	.plan-flag { position: absolute !important; top: clamp(32px, 3vw, 44px); left: clamp(32px, 3vw, 44px); margin: 0 !important; }
	.plan-for { min-height: 3.1em; }
}

/* home use-case records show the whole record, not a clipped one */
@media (min-width: 681px) { .rev .rev-vis { height: auto !important; overflow: visible !important; } }

/* library cards: one anatomy, actions on one line */
.sig { display: flex !important; flex-direction: column; }
.sig > p { flex: 1 1 auto; }
.sig-m .win { white-space: nowrap; }

/* long-title heroes: actions stay with the paragraph they follow */
@media (min-width: 961px) {
	.ph-grid.vlong .ph-txt > .row { grid-column: 1 !important; grid-row: 5 !important; justify-self: start; }
	.ph-grid.vlong .ph-txt > .lede { grid-column: 1 / -1 !important; max-width: 72ch; }
	.ph-grid.vlong .ph-vis { grid-row: 6 !important; }
}

/* partner statements end on their own edge, not in a fade */
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .ph-vis { max-height: none !important; overflow: visible !important; padding-bottom: 48px !important; }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .ph-vis > *:not(.shader-layer) { -webkit-mask-image: none !important; mask-image: none !important; }

/* signals on narrow screens: search first, filters one line each */
@media (max-width: 960px) {
	.lib { display: flex !important; flex-direction: column; gap: 12px !important; }
	.lib > div { display: contents; }
	.lib-top { order: 0; margin-bottom: 0 !important; }
	.lib-side { order: 1; display: grid !important; overflow: visible !important; gap: 8px !important; }
	.lib-count, .lib-grid, .lib-more, .lib-empty { order: 2; }
	.lib-grp:not(:has([data-filter="moment"])) { display: flex; align-items: center; gap: 10px; min-width: 0; }
	.lib-grp:not(:has([data-filter="moment"])) .lib-h { margin: 0; flex: none; width: 92px; }
	.lib-grp:not(:has([data-filter="moment"])) .lib-opts { display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 4px; min-width: 0; scrollbar-width: none; }
	.lib-opts button { white-space: nowrap; flex: none; }
	.sig-m .win { margin-left: 0; }
}
@media (max-width: 960px) {
	.lib-grp:not(:has([data-filter="moment"])) .lib-h { width: 104px; }
	.lib-grp:not(:has([data-filter="moment"])) .lib-opts { flex-wrap: nowrap !important; max-height: none !important; overflow-x: auto !important; flex: 1 1 0; }
	.lib-sel { flex-wrap: nowrap !important; width: 100%; }
	.lib-sel .sel { flex: 1 1 0; min-width: 0; }
	.lib-sel .sel select { width: 100%; }
}
@media (max-width: 960px) { .lib-side { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); } .lib-grp { min-width: 0; } }


/* ===== Review round 8: system pass ===== */
/* one rhythm: white after white shares one gap, it never stacks two */
:is(.stage-wrap, .sec:not(.sec-paper):not(.on-night), .sec-tight:not(.sec-paper)) + :is(.sec, .sec-tight):not(.sec-paper):not(.on-night) { padding-top: 0 !important; }

/* heroes open close to the header */
.ph:not([data-shader]) .ph-txt { padding-top: 0; }
@media (min-width: 961px) {
	.ph:not([data-shader]) { padding-top: 56px !important; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph { padding-top: calc(var(--head-h) + 56px) !important; }
	/* side-by-side heroes: the text column leads */
	.ph-grid:not(.one):not(.wide) { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

/* line-ends */
.lede { text-wrap: pretty; }

/* lighter column rules: they structure, they do not shout */
.fcard, .sec-paper .fcard, .sec-card .fcard, .trust-i, .sec-paper .trust-i, .team, .sec-paper .team { box-shadow: inset 0 1px 0 var(--ink) !important; }
.on-night .fcard { box-shadow: inset 0 1px 0 var(--night-line) !important; }
@media (hover: hover) and (pointer: fine) { a.fcard:hover, .team:hover { box-shadow: inset 0 2px 0 var(--sun) !important; } }

/* one icon tile everywhere */
.trust-i .ic { background: var(--paper) !important; color: var(--ink) !important; border: 0 !important; }
.sec-paper .trust-i .ic, .sec-paper .fcard .ic { background: #fff !important; }

/* every sequence carries the thread */
.fgrid .fcard.seq { position: relative; box-shadow: none !important; padding-top: 32px !important; }
.fcard.seq::before { content: ""; position: absolute; left: 0; right: calc(-1 * clamp(24px, 2.6vw, 40px)); top: 5px; height: 2px; background: var(--sun); opacity: 0.45; }
.fcard.seq:last-child::before { right: 0; }
.fcard.seq::after { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
.flow-i::before { background: var(--sun) !important; opacity: 0.45; height: 2px !important; top: 17px !important; }
.flow-i .n { border-color: var(--sun) !important; }
@media (max-width: 960px) {
	.fcard.seq::before { right: 0; }
	.flow { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
	.flow-i { grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; row-gap: 4px !important; padding: 0 0 28px !important; }
	.flow-i .n { grid-row: 1 / span 2; }
	.flow-i b, .flow-i p { grid-column: 2; }
	.flow-i::before { display: block !important; left: 17px !important; right: auto !important; top: 36px !important; bottom: 0; width: 2px; height: auto !important; }
	.flow-i:last-child::before { display: none !important; }
	.flow-i:last-child { padding-bottom: 0 !important; }
}

/* some columns read as rows: the choice leads, the detail sits beside it */
.fgrid.frows { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
.frows .fcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 40px; align-items: baseline; padding: 24px 0 !important; box-shadow: inset 0 1px 0 var(--line) !important; }
.frows .fcard:has(> .ic) { grid-template-columns: 38px minmax(0, 5fr) minmax(0, 7fr); column-gap: 20px; align-items: center; }
.frows .fcard .h4 { font-size: clamp(22px, 1rem + 0.8vw, 28px) !important; line-height: 1.2 !important; margin: 0; }
.frows .fcard p { margin: 0; }
.frows .fcard:last-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line) !important; }
@media (max-width: 680px) {
	.frows .fcard, .frows .fcard:has(> .ic) { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
}

/* hero records show the whole record */
.ph-vis .rev-vis { height: auto !important; overflow: visible !important; }

/* static tags do not look like buttons */
.sec .chips .chip { border: 0 !important; background: var(--paper) !important; font-size: 15px; cursor: default; }

/* example run: the frame is full at every stage */
@media (min-width: 681px) {
	.stage-wrap .pane-list, .stage-wrap .pane-sig { display: flex; flex-direction: column; }
	.stage-wrap .pane-list .list { flex: 1 1 auto; display: flex; flex-direction: column; }
	.stage-wrap .pane-list .list > .li { flex: 1 1 0; }
	.stage-wrap .pane-sig [data-stage-sig], .stage-wrap .pane-sig [data-stage-sig] > .sigcard { flex: 1 1 auto; display: flex; flex-direction: column; }
}

/* the answer is the largest thing in a calculator */
.lvl-h { flex-direction: column; align-items: flex-start; gap: 4px; }
.lvl-h span { text-align: left; white-space: nowrap; }
.lvl dl div { min-height: 62px; align-items: center; }

/* what the product does and does not do reads as the point of the page */
.rules li, .rules li span { font-size: 17px !important; line-height: 1.5 !important; }
.rules li { padding-block: 6px; }

/* phones and tablets */
@media (max-width: 480px) { .cta-band { padding: 28px 20px !important; } }
@media (min-width: 561px) and (max-width: 860px) { .teams { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 681px) and (max-width: 960px) {
	.app-shot:not(.app-crop) { aspect-ratio: 4 / 3 !important; }
	.app-shot:not(.app-crop) img { width: 170% !important; max-width: none !important; height: auto !important; object-fit: initial !important; transform: translate(-12%, 0); }
}
.calc-out .big.num { font-size: clamp(44px, 1.6rem + 2.4vw, 60px) !important; line-height: 1 !important; font-weight: 600 !important; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.earn-lv { color: var(--on-night) !important; }


/* ===== Review round 8 notes ===== */
/* the sky settles into the page: no hard edge behind the example run */
.sky-top::after { height: clamp(300px, 36vw, 540px); background: linear-gradient(transparent, var(--bg) 62%); }
/* the logo strip closes the hero: one gap to the next chapter */
.sky-top + .sec { padding-top: 0 !important; }

/* one chapter heading size across the site */
.sec .h2:not(.cta-band .h2), .sec-tight .h2:not(.cta-band .h2) { font-size: clamp(34px, 1.1rem + 2.5vw, 52px) !important; }

/* the footer wordmark keeps its letters apart at display size */
.ftr-big { letter-spacing: -0.035em !important; }

/* footer links are comfortable targets */
.ftr ul { gap: 0 !important; }
.ftr ul a { display: block; padding-block: 6px; }

/* product mocks: one frame, content from the top, nothing sliced */
@media (min-width: 961px) { .step-vis { height: 404px !important; max-height: none !important; justify-content: flex-start !important; } }

/* phones */
@media (max-width: 680px) {
	.xp-tab { min-height: 44px; }
	.lvl { padding: 20px !important; gap: 12px !important; }
	.lvl dl div { min-height: 0 !important; padding: 7px 0 !important; align-items: baseline; }
}

/* long proof panels end on a deliberate fade beside the text */
@media (min-width: 961px) {
	.ph[data-shader] .ph-grid:not(.wide):not(.one) .ph-vis { max-height: 720px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); }
	.ph[data-shader] .ph-grid:not(.wide):not(.one) .ph-txt { align-self: center !important; }
}

/* repeated tags recede; example lines sit on one line across a row */
.fcard { display: flex; flex-direction: column; }
.frows .fcard { display: grid; }
.fcard > .ex { margin-top: auto; }
.fcard-top .rec, .fcard-top .rec-person { border: 0 !important; background: none !important; color: var(--mute) !important; padding-inline: 0 !important; }

/* the moments list reads as an index: name, reason, count */
.frows.moments .fcard { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) minmax(0, 1fr); align-items: baseline; padding: 18px 0 !important; }
.frows.moments .fcard .h4 { font-size: 20px !important; line-height: 26px !important; }
.frows.moments .fcard .small { justify-self: end; white-space: nowrap; margin: 0; }
@media (max-width: 680px) { .frows.moments .fcard { grid-template-columns: minmax(0, 1fr); } .frows.moments .fcard .small { justify-self: start; } }

/* library cards: names lead, the action is quiet */
.sig-t b { font-size: 20px !important; }
.sig .btn { align-self: flex-start; min-height: 32px; height: auto !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 3px; }
/* paired funnels share baselines */
@media (min-width: 1101px) { .rev-card { grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; } }
@media (max-width: 560px) { .ftr-big { font-size: 12.3vw !important; } }

/* phones: the four listed records fill the example-run frame */
@media (max-width: 680px) { .stage-wrap .stage[data-step] .pane-list .li { min-height: 92px; } }


/* ===== Review round 8, Sonnet final ===== */
/* plans: every row is shared, so prices, credits, actions and lists line up */
@media (min-width: 981px) {
	.plans { row-gap: 0 !important; grid-auto-rows: auto; }
	.plan { display: grid !important; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0 !important; align-content: start; }
	.plan > *:not(.plan-flag) { margin-block: 0 22px; }
	.plan > .feats { margin-bottom: 0; }
	.plan .btn { margin-top: 0 !important; align-self: start; }
}

/* the input side of a calculator sits level with its answer */
.calc-in { align-content: center !important; }

/* sliders: a 44px target, the ring on the thing you move */
input[type="range"] { height: 44px !important; background: none !important; border-radius: 0; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 0%), var(--line) var(--p, 0%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { margin-top: -11px; width: 28px !important; height: 28px !important; }
input[type="range"]:focus-visible { outline: none !important; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(244, 138, 32, 0.45); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(244, 138, 32, 0.45); }
.calc-in input[type="number"] { height: 44px; }

/* FAQ: group names are strong rails, whole rows answer the pointer */
body[data-route="faq"] .faq-grid > .h3 { position: sticky; top: calc(var(--head-h) + 32px); font-size: 28px !important; line-height: 34px !important; font-weight: 500; }
.qa { transition: background-color 0.12s var(--ease); }
.qa button { transition: transform 0.1s var(--ease); }
@media (hover: hover) and (pointer: fine) { .qa:hover { background: var(--paper) !important; } .sec-paper .qa:hover { background: #fff !important; } .qa:hover { filter: brightness(0.985); } }
.qa button:active { transform: scale(0.995); }

/* long-title heroes: the product takes the full grid, one left edge with the title */
@media (min-width: 961px) {
	.ph-grid.wide .ph-vis { padding-inline: 0 !important; justify-items: stretch !important; }
	.ph-grid.wide .ph-vis > *:not(.shader-layer) { width: 100% !important; }
	/* a statement is a document: it keeps its width, on the page's left edge */
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .ph-vis { background: none !important; padding: 0 0 48px !important; justify-items: start !important; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .ph-vis > *:not(.shader-layer) { width: min(760px, 100%) !important; }
}

/* one type ramp inside program cards */
.prog-c :is(h2, h3) { font-size: 28px !important; line-height: 32px !important; font-weight: 500; }

/* the library's default filter state is quiet */
.lib-opts button[aria-pressed="true"] { background: var(--paper) !important; color: var(--ink) !important; font-weight: 600; }
.lib-opts button[aria-pressed="true"] span { color: var(--mute) !important; }
@media (max-width: 960px) {
	.lib-grp:not(:has([data-filter="moment"])) .lib-opts { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 32px; }
}
@media (max-width: 560px) { #lib-q::placeholder { font-size: 14px; } }

/* the six CRMs carry their logos at a size that reads as a set */
.fcard-top img { width: 40px !important; height: 40px !important; }

/* one extra container sits clear of the columns above it */
.xp-foot { margin-top: 48px; }

/* phones and tablets: product screens are cropped for the screen they are on */
@media (max-width: 680px) {
	.app-shot:not(.app-crop) img { width: 225% !important; transform: translate(-11.8%, -9%); }
	.app-band.sub .app-shot img { width: 135% !important; transform: translate(-13%, 0); }
	.app-band.sub .app-shot { aspect-ratio: 16 / 10 !important; }
}
@media (max-width: 960px) {
	/* each step is number, title, text, then its own card, on one thread */
	.step { position: relative; display: flex; flex-direction: column; padding-left: 28px; padding-bottom: 28px; }
	.step-txt { order: -1; margin-top: 0 !important; padding: 0 0 16px !important; }
	.step-txt::before { display: none; }
	.step::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--sun); opacity: 0.45; }
	.step:last-child { padding-bottom: 0; }
	.step-txt::after { left: -28px; top: 6px; }
	.step-vis { height: auto !important; max-height: none !important; }
}

/* data tokens stay whole */
@media (max-width: 560px) { .note .s { white-space: nowrap; font-size: 12.5px !important; } }


/* ===== Review round 9 ===== */
/* program titles sit one clear step under the section heading */
.sec .prog-c .h2, .sec .prog-c h2, .sec .prog-c h3 { font-size: 28px !important; line-height: 34px !important; }
/* proof reads: evidence is never the smallest text on a card */
.sig-why, .note p { font-size: 14px !important; line-height: 21px !important; }

/* one typeface for labels: Geist Mono is kept for real code only */
:root { --f-mono: var(--f-body); }
.code, .code *, pre, pre *, code, code * { font-family: "Geist Mono", ui-monospace, monospace !important; }
.eyebrow, .pillar .k, .rev-k, .step-n, .plan-credits .lbl, .calc-out .lbl, .lib-grp .lib-h, .mega-h, .mega-new, .hero-chip b, .stage-live, .ch-k, .rec, .ftr-h, .lbl, .lvl-h span, .tl-k { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 500 !important; }
.fine, .tbl-note { font-size: 14px; }
.code { box-shadow: none !important; }
.sec.sec .prog-c .prog-c-t, .sec.sec .prog-c.prog-c h2.h2, .sec.sec .prog-c.prog-c h3.h2, .sec.sec .prog-c.prog-c h3 { font-size: 28px !important; line-height: 34px !important; }


/* ===== Review round 9, Sonnet ===== */
/* one lede start on every split hero */
@media (min-width: 961px) { .ph-grid.wide { grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr) !important; } }

/* full-width heroes: the demo fills its frame with two columns, it is not a stretched narrow card */
@media (min-width: 1100px) {
	.ph-grid.wide .ph-vis, .ph-grid.wide .ph-vis > *:not(.shader-layer) { max-height: none !important; overflow: visible; -webkit-mask-image: none !important; mask-image: none !important; }
	.ph-grid.wide .ph-vis { padding-bottom: 0 !important; }
	.ph-grid.wide [data-anim="person"] { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
	.ph-grid.wide .composer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ph-grid.wide .composer .cmp-h, .ph-grid.wide .composer .cmp-foot { grid-column: 1 / -1; }
	.ph-grid.wide .crm .crm-feed { display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px 14px; align-content: start; }
	.ph-grid.wide .crm .crm-feed > .note { grid-row: span 2; }

	/* partner heroes: the document sits beside the promise */
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr) !important; column-gap: 56px !important; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide .ph-txt > .h1 { grid-column: 1 !important; grid-row: 3 !important; max-width: none; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide .ph-txt > .lede { grid-column: 1 !important; grid-row: 4 !important; max-width: none; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide .ph-txt > .row { grid-column: 1 !important; grid-row: 5 !important; justify-self: start; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide .ph-vis { grid-column: 2 !important; grid-row: 3 / span 3 !important; margin-top: 0 !important; padding: 0 !important; align-self: start; justify-items: stretch !important; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .ph-vis > *:not(.shader-layer) { width: 100% !important; }
}
/* no second skin around a white record or statement */
.ph-vis > .rev-vis { outline: 0 !important; }
@media (max-width: 960px) {
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .ph-vis { background: none !important; padding: 0 !important; }
}

/* cards with less content sit centred, so space is shared and not left at the foot */
@media (min-width: 961px) { .step-vis { justify-content: center !important; } }

/* the rail runs to the edge of each row and picks up on the next */
@media (min-width: 961px) { .flow-i:nth-child(3n):not(:last-child)::before { display: block; } }

/* row layouts: title and detail stay close */
.frows .fcard { grid-template-columns: 280px minmax(0, 1fr); }
.frows .fcard:has(> .ic) { grid-template-columns: 38px 260px minmax(0, 1fr); }
.frows.moments .fcard { grid-template-columns: 280px minmax(0, 1fr) auto; }
@media (max-width: 820px) { .frows .fcard, .frows .fcard:has(> .ic), .frows.moments .fcard { grid-template-columns: minmax(0, 1fr); row-gap: 8px; } }

/* one card-title size */
.h4 { font-size: 20px !important; line-height: 26px !important; }
.rules .h4 { font-size: 22px !important; line-height: 28px !important; }
@media (max-width: 560px) { .h4 { font-size: 18px !important; line-height: 24px !important; } }
.frows .fcard .h4 { font-size: clamp(22px, 1rem + 0.8vw, 28px) !important; line-height: 1.2 !important; }
.frows.moments .fcard .h4 { font-size: 20px !important; line-height: 26px !important; }

/* a plan's list never touches its button */
.plan > .feats:not(:last-child) { margin-bottom: 24px; }

/* sun buttons brighten on hover, they never go dark on dark */
@media (hover: hover) and (pointer: fine) {
	.plan-pro .btn:hover, .btn-sun:hover, body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .btn:not(.btn-ghost):hover { --b-bg: #ffb066; --b-bd: #ffb066; --b-fg: var(--ink); }
	.xp-tab:hover { background: var(--paper); }
	.sig:hover { background: #e9ecf0; }
}

/* comparison tables read at text size, the product column is visible */
.tbl td { font-size: 16px; }
.tbl td.us { background: #fff3e4 !important; }

/* the closing band's ask is as large as a chapter heading */
.cta-band .h2 { font-size: clamp(34px, 1.1rem + 2.5vw, 52px) !important; }

/* fine print is a rule, not a footnote */
.fine { font-size: 15px; line-height: 22px; color: var(--ink-2); }
.tl-i { display: flex; flex-direction: column; }
.tl-i .when { margin-top: auto; align-self: flex-start; }

/* library cards: the window keeps its place */
.sig-m { position: relative; padding-right: 88px; }
.sig-m .win { position: absolute; right: 0; top: 2px; margin: 0; }

/* phones */
@media (max-width: 960px) { .cta-band .signup-meta { justify-content: flex-start !important; } }
@media (max-width: 420px) { .crm-rec { flex-wrap: wrap; } }

/* the CRM strip is a set of logos, not a footnote */
.strip-i { font-size: 18px !important; color: var(--ink-2); }
.strip-i img { width: 26px !important; height: 26px !important; }
/* tablets: CRM tiles stay small next to the toggles they control */
@media (min-width: 561px) and (max-width: 960px) { .cx-crms { grid-template-columns: repeat(6, 64px); justify-content: start; } }


/* ===== Round 10: scale ===== */
/* one clear top level: the home headline is about twice a chapter heading */
.hero-h { font-size: clamp(44px, 5.85vw, 84px) !important; line-height: 1.02 !important; letter-spacing: -0.03em !important; }
.sec .h2:not(.cta-band .h2), .sec-tight .h2:not(.cta-band .h2) { font-size: clamp(30px, 1.2rem + 1.9vw, 44px) !important; }
.cta-band .h2 { font-size: clamp(30px, 1.2rem + 1.9vw, 44px) !important; }
.faq-grid .h2, .cmp-grid .h2, .crm-sec .h2, .split .h2 { font-size: clamp(30px, 1.2rem + 1.9vw, 44px) !important; }

/* the opening statement is a pause in the page: one large sentence */
#st-h { font-size: clamp(30px, 1rem + 3.2vw, 62px) !important; line-height: 1.08 !important; letter-spacing: -0.025em !important; max-width: 24ch; text-wrap: balance; }

/* one header grid: every hero starts its text at the same place */
.ph[data-shader] .ph-grid:not(.wide):not(.one) .ph-txt { align-self: start !important; }
.ph[data-shader] { padding-top: calc(var(--head-h) + 56px) !important; }
@media (max-width: 960px) { .ph[data-shader] { padding-top: calc(var(--head-h) + 12px) !important; } }
@media (min-width: 961px) { .ph-grid.vlong .ph-txt > .h1 { max-width: 1240px; } }

/* frames keep their radius */
@media (min-width: 1100px) { .ph-grid.wide .ph-vis > *:not(.shader-layer) { overflow: hidden; } }
/* the partner text column is one stack */
@media (min-width: 1100px) {
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide { grid-template-rows: auto auto auto auto 1fr !important; row-gap: 20px !important; }
	body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide .ph-txt > .h1 { margin: 0 !important; }
}
/* the CRM frame is one thin edge, not a bezel */
.ph-vis > .on-night { padding: 10px !important; }

/* waiting content is ghosted, so a pane is never a blank slab */
.crm .hide, .pane-crm .hide, .sigcard.hide { opacity: 0.14 !important; transform: none !important; }

/* the sky runs to the end of its section and dissolves; no seam */
.sky-top > .shader-layer { bottom: 0 !important; }

/* the moves cards share one top line */
@media (min-width: 961px) { .step-vis { justify-content: flex-start !important; padding-top: 24px !important; } }

/* proof reads at text size */
.fcard .ex, .fcard .ex a { font-size: 15px !important; line-height: 22px !important; color: var(--ink-2) !important; }
.fcard .ex b { font-weight: 600; color: var(--ink); }
.frows.moments .fcard .small { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.flow-i p { color: var(--ink-2) !important; }
.ticks li { font-size: 17px; line-height: 26px; }
.code, .code * { font-size: 14.5px; line-height: 24px; }

/* table groups are labels */
.tbl .grp td { font-size: 13px !important; font-weight: 600; color: var(--mute) !important; background: var(--paper) !important; }
.plan-for { text-wrap: balance; }

/* paired records end together */
.rev-vis .crm { height: 100%; }
.rev-vis { align-items: stretch; }

/* FAQ group names sit level with their first question */
body[data-route="faq"] .faq-grid > .h3 { padding-top: 14px; }

/* library cards: window on the last meta line */
.sig-m .win { top: auto; bottom: 1px; }

/* tap targets */
@media (max-width: 680px) {
	.signup-meta a { min-height: 44px; }
	.sig .btn { min-height: 44px; }
}


/* ===== Round 11: the reachable list ===== */
/* the home hero keeps its scale and brings the product into the first view */
.hero-h { font-size: clamp(44px, 5.3vw, 76px) !important; }
@media (min-width: 961px) { .stage-wrap { padding-top: 32px !important; } }
.stage-wrap .li { opacity: 1; }
.stage-wrap .li .st, .stage-wrap .li .sub { color: var(--ink-3) !important; }
.stage-wrap .li.dim { opacity: 0.65 !important; }

/* one lede size, one body ink */
.lede, .hero-grid .lede, .ph-txt > .lede { font-size: 18px !important; line-height: 28px !important; }
.tl-i p, .flow-i p, .fcard p, .trust-i p { color: var(--ink-2) !important; }

/* one thread node everywhere: a solid dot, the numeral beneath it */
@media (min-width: 961px) {
	.flow-i { padding-top: 26px !important; }
	.flow-i::before { top: 5px !important; left: 0 !important; }
	.flow-i::after { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
	.flow-i .n { width: auto !important; height: auto !important; border: 0 !important; background: none !important; place-items: start !important; justify-items: start; color: var(--sun-deep) !important; font-size: 14px !important; }
}
@media (max-width: 960px) {
	.flow-i { grid-template-columns: 12px minmax(0, 1fr); }
	.flow-i .n { grid-column: 2; grid-row: auto; width: auto !important; height: auto !important; border: 0 !important; background: none !important; place-items: start !important; color: var(--sun-deep) !important; font-size: 14px !important; }
	.flow-i::before { left: 5px !important; top: 0 !important; }
	.flow-i::after { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
	.flow-i:last-child::before { display: block !important; bottom: auto; height: 12px !important; }
}

/* one primary rule: ink on light, white on night; orange is the thread */
.plan-pro .btn { --b-bg: #fff !important; --b-fg: var(--ink) !important; --b-bd: #fff !important; }
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .btn:not(.btn-ghost) { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
@media (hover: hover) and (pointer: fine) {
	.plan-pro .btn:hover, body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph .btn:not(.btn-ghost):hover { --b-bg: #e9ecf0 !important; --b-bd: #e9ecf0 !important; --b-fg: var(--ink) !important; }
}

/* panes end on their content */
.xp-body, .xp-panel { align-items: start !important; }
.step-vis { justify-content: flex-start !important; }

/* a product crop ends on a soft edge, not through a row */
@media (min-width: 961px) { body[data-route="custom-signals"] .app-band .app-shot { -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); } }

/* link cards say they are links */
a.fcard .h4::after { content: " \2192"; color: var(--mute); }

/* a clear step from hero to content */
@media (min-width: 961px) { .ph:has(.ph-grid.one) { padding-bottom: 64px !important; } }

/* the three promises hang from the same rule as every other column */
.sec-card[aria-labelledby="st-h"] .pillars { background: none !important; padding: 0 !important; }
.pillar { box-shadow: inset 0 1px 0 var(--ink) !important; padding-top: 20px !important; background: none !important; }

/* small labels hold their line */
.lvl dt { white-space: nowrap; }
.frows .fcard:has(> .ic) { grid-template-columns: 38px 300px minmax(0, 1fr); }
.cta-band .signup-meta { justify-content: flex-start !important; }
.task p, .note p { font-size: 14px; line-height: 21px; }

/* hit areas */
@media (max-width: 960px) {
	.hdr .btn-sm { min-height: 44px; padding-inline: 18px; }
	.ftr ul a { min-height: 44px; display: flex; align-items: center; padding-block: 0; }
	.xp-tab, .bill button, .seg button { min-height: 44px; }
	.sig-src a, .note .s a { display: inline-block; padding-block: 8px; }
}
@media (max-width: 820px) { .frows .fcard, .frows .fcard:has(> .ic), .frows.moments .fcard { grid-template-columns: minmax(0, 1fr) !important; row-gap: 8px; } }
/* FAQ group names only stay in view beside the questions, never over them */
@media (max-width: 860px) { body[data-route="faq"] .faq-grid > .h3 { position: static; padding-top: 0; } }


/* ===== Round 12: scale system ===== */
/* five text sizes: 13 meta, 15 interface, 17 body, 18 lede, 20 card title; 14 stays for evidence inside product mocks */
.note .s, .proof-q, .lvl dt, .lvl dd, .li .nm, .tag, .chip { font-size: 13px !important; }
.fcard-top .rec, .sig-m .rec, .rev-k { font-size: 13px !important; }
.eyebrow, .signup-meta span, .signup-meta a, .small, .fcard > .small, .ftr ul a, .ftr-brand p, .btn-sm, .lede-small { font-size: 15px !important; }
.qa button, .qa button span { font-size: 17px !important; }
.step-txt .h3, .rev-txt .h3, .pillar .h3, .h3.row, h3.h3 { font-size: 20px !important; line-height: 26px !important; }
body[data-route="faq"] .faq-grid > .h3 { font-size: 28px !important; line-height: 34px !important; }
@media (max-width: 680px) { .fcard p, .sig p, .tbl td, .trust-i p { font-size: 16px !important; } }

/* scale changes on purpose: the numbers that matter are the page's set pieces */
.lvl-rate b { font-size: clamp(64px, 7.4vw, 108px) !important; font-weight: 500 !important; letter-spacing: -0.04em; line-height: 0.95; }
.prog-big b { font-size: clamp(60px, 7.4vw, 108px) !important; font-weight: 500 !important; letter-spacing: -0.04em; line-height: 0.95; }
.calc-out .big.num { font-size: clamp(48px, 1.6rem + 3.6vw, 76px) !important; }
.fcard.seq .small.mono { font-size: clamp(40px, 1rem + 3vw, 64px) !important; line-height: 1 !important; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 12px; display: block; }
.plan-pr span { font-size: clamp(52px, 1.6rem + 3.4vw, 76px) !important; font-weight: 500 !important; letter-spacing: -0.03em; }

/* partner headlines get the room to read evenly */
@media (min-width: 1100px) { body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph-grid.wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; } }

/* hit areas: at least 44px on touch, without moving anything */
@media (max-width: 960px) {
	.crumbs a { padding-block: 12px; margin-block: -12px; display: inline-block; }
	.brand { min-height: 44px; display: inline-flex; align-items: center; }
	.lib-opts button, .crm-sw-l button, .xp-ex button, .xp-out .btn-sm { min-height: 44px; }
	.lib-grp .lib-h[role="button"] { min-height: 44px; }
	.fcard .ex a, .rev-txt .link, .link { display: inline-flex; align-items: center; min-height: 44px; }
	.calc-in input[type="number"], .signup input { min-height: 44px; }
	.cmp-dots button { position: relative; }
	.cmp-dots button::before { content: ""; position: absolute; inset: -19px -2px; }
}
@media (max-width: 960px) { .fcard .ex a { display: flex; } }

/* phone comparison tables: no tint strips behind single values */
@media (max-width: 680px) { body[data-route="pricing"] .tbl td.us { background: none !important; } }
/* tablets: a three-step sequence stays on one row */
@media (min-width: 681px) and (max-width: 960px) { .fgrid:has(> .fcard.seq:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .fcard.seq:last-child::before { right: 0; } .fcard.seq:not(:last-child)::before { right: calc(-1 * clamp(24px, 2.6vw, 40px)); } }


/* ===== Round 12: composition ===== */
/* funnels alternate sides at full width: each record gets room, the page gets a rhythm */
@media (min-width: 1101px) {
	.rev { grid-template-columns: minmax(0, 1fr) !important; gap: clamp(48px, 5vw, 72px) !important; }
	.rev-card { grid-row: auto !important; display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: none !important; column-gap: clamp(40px, 5vw, 72px); align-items: center; background: none !important; border-radius: 0 !important; overflow: visible; }
	.rev-card:nth-child(even) .rev-txt { order: 2; }
	.rev-card .rev-txt { padding: 0 !important; }
	.rev-card .rev-vis { height: auto !important; padding: clamp(24px, 3vw, 40px) !important; border-radius: var(--r-xl) !important; }
	.rev-card .rev-txt .h3 { font-size: 28px !important; line-height: 34px !important; }
}

/* the focus ring meets 3:1 on every ground: ink on light, white on night, deep orange on sky */
:focus-visible { outline-color: var(--ink) !important; }
:is(.on-night, .chapter, .ftr, .plan-pro, .calc-out, .prog-c.dark) :focus-visible,
body:is([data-route="partners"], [data-route="direct-partners"], [data-route="affiliates"], [data-route="security"]) .ph :focus-visible { outline-color: #fff !important; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--ink); }

/* one highlighted nav item at a time */
.nav:has(.nav-i[aria-expanded="true"]) .nav-i.on:not([aria-expanded="true"]) { background: none; }
.nav-i, .ftr ul a, .hdr-login, .link { transition: color 0.12s var(--ease), background-color 0.12s var(--ease); }

/* team links sit on one line */
.team { display: flex !important; flex-direction: column; }
.team .link { margin-top: auto !important; align-self: flex-start; }

/* the product enters the first view sooner; the found signal fills its pane */
@media (min-width: 961px) { .hero { padding-top: clamp(28px, 2.8vw, 44px) !important; } .hero-grid { gap: 14px !important; } }
@media (min-width: 681px) { .stage-wrap .pane-sig .sigcard { justify-content: space-between; } }


/* ===== Round 13 ===== */
/* hidden always means hidden, even on a button */
[hidden] { display: none !important; }

/* dots keep their look and gain a real target */
.cmp-dots button { height: 24px !important; padding: 9px 0 !important; background-clip: content-box !important; }
.cmp-dots { align-items: center; }

/* plans are three panels, rounded like every other large panel */
@media (min-width: 981px) { .plans { column-gap: 12px !important; border-radius: 0 !important; overflow: visible !important; } .plan { border-radius: var(--r-xl) !important; } }
@media (max-width: 980px) { .plans { gap: 12px !important; } .plan { border-radius: var(--r-xl) !important; } }

/* funnel records share one width and sit level with their text */
@media (min-width: 1101px) { .rev-card .rev-vis .crm { width: 100%; height: auto; } .rev-card { align-items: start; } .rev-card .rev-txt { padding-top: clamp(24px, 3vw, 40px) !important; } }

/* readable evidence inside small records */
.rev-vis .note, .rev-vis .task, .rev-vis .slack, .rev-vis .crm-rec span, .rev-vis .crm-rec b { font-size: 13px !important; line-height: 19px !important; }
.rev-vis .crm-rec b { font-size: 15px !important; }
.rev-vis .note p { font-size: 14px !important; line-height: 21px !important; }
.pane-s, .li .sub, .crm-props span, .note-h, .note-h em { font-size: 13px !important; }

/* night chapters are the long pages' big moments */
.on-night .sec-head .h2, .chapter .sec-head .h2, .crm-sec .h2 { font-size: clamp(34px, 1rem + 3.4vw, 64px) !important; line-height: 1.05 !important; letter-spacing: -0.025em !important; max-width: 16ch; }

/* tablets: the subscription screen is shown whole */
@media (min-width: 681px) and (max-width: 960px) {
	.app-band.sub .app-shot { aspect-ratio: auto !important; }
	.app-band.sub .app-shot img { width: 100% !important; transform: none !important; }
}
@media (min-width: 681px) { .stage-wrap .pane-sig .sigcard { justify-content: flex-start; } .stage-wrap .pane-sig .sigcard .sig-why { margin-top: auto; } }
.sec.on-night .sec-head .h2.h2, .sec.chapter .sec-head .h2.h2, .sec.sec .crm-sec .h2.h2 { font-size: clamp(34px, 1rem + 3.4vw, 64px) !important; line-height: 1.05 !important; letter-spacing: -0.025em !important; max-width: 16ch; }

/* ==========================================================================
   Round 14: a scene per solution page, the pinned revenue stage, the mid type
   step and a section rhythm that changes on purpose.
   ========================================================================== */

/* Type: the step between section titles and card titles */
.h3 { font-size: clamp(23px, 1rem + 0.8vw, 30px) !important; line-height: 1.16 !important; letter-spacing: -0.02em !important; font-weight: 600 !important; }

/* Rhythm: quiet bands sit close, night chapters get room */
.sec { padding-block: clamp(64px, 6.6vw, 96px); }
.sec.sec-tight, .sec-tight { padding-block: clamp(56px, 5vw, 72px); }
.sec.sec-paper { padding-block: clamp(72px, 7.4vw, 108px); }
.sec.on-night, .sec.chapter { padding-block: clamp(88px, 9.4vw, 140px); }

/* A single large line on long pages */
#big-h.h2.h2 { font-size: clamp(36px, 1rem + 4.2vw, 76px) !important; line-height: 1.02 !important; letter-spacing: -0.03em !important; max-width: 13ch; }
body[data-route="signals-library"] .ph .h1 { font-size: clamp(42px, 1rem + 4.4vw, 76px) !important; line-height: 1.02 !important; }

/* Shared scene parts */
.scn-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.scn-n { display: block; font-size: 15px; font-weight: 600; color: var(--sun-deep); font-variant-numeric: tabular-nums; }
.scn-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.scn-rows li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding-block: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.scn-rows li:last-child { border-bottom: 1px solid var(--line); }
.scn-rows p { margin: 0; color: var(--ink-2); }
.sec-paper .scn-rows li { border-color: #d6dade; }

/* New pipeline: six signals, one record */
.scn-fan { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 4fr) clamp(64px, 9vw, 132px) minmax(0, 7fr); padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--sky) center / cover; }
.scn-fan > :not(.shader-layer) { position: relative; z-index: 1; }
.scn-fan-l { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 10px; }
.scn-fan-l li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); font-weight: 550; font-size: 17px; line-height: 22px; color: var(--ink); }
.scn-fan-t { width: 100%; height: 100%; overflow: visible; }
.scn-fan-t path { fill: none; stroke: var(--sun); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.scn-fan-r { align-self: center; min-width: 0; border-radius: var(--r-lg); box-shadow: 0 18px 50px rgba(13, 25, 45, 0.16); }
.scn-fan-r .crm { height: auto; }

/* Reopen: deals brought back on the night chapter */
.scn-revive { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.scn-revive .sec-head { margin-bottom: 28px !important; }
.scn-deals { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.scn-deal { display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.scn-deal:nth-child(2) { margin-inline-start: clamp(0px, 3vw, 44px); }
.scn-deal:nth-child(3) { margin-inline-start: clamp(0px, 6vw, 88px); }
.scn-deal-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.scn-deal-who > div { flex: 1; }
.scn-deal-who b { display: block; color: var(--on-night); font-size: 16px; line-height: 22px; font-weight: 600; }
.scn-deal-who span:not(.rev-stage):not(.av) { display: block; color: var(--on-night-mute); font-size: 14px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scn-deal .rev-stage { flex: none; color: var(--on-night-mute) !important; background: none !important; font-size: 14px !important; }
.scn-deal-sig { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 14px; border-top: 1px solid var(--night-line); }
.scn-deal-sig b { color: var(--on-night); font-size: 18px; line-height: 25px; font-weight: 550; letter-spacing: -0.01em; }
.scn-moves { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.scn-moves .sec-head { margin: 0 !important; align-self: start; position: sticky; top: 96px; }
.scn-moves .scn-rows li { grid-template-columns: 48px minmax(0, 1fr); }
.scn-moves .scn-rows p { grid-column: 2; }

/* Expansion and risk: one list, two directions */
.scn-root { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--paper); }
.scn-root .h3 { margin: 8px 0 0; }
.scn-side-p { display: grid; gap: 6px; }
.scn-side-p p { margin: 0; color: var(--ink-2); }
.scn-forkline { display: block; width: 100%; height: 56px; overflow: visible; }
.scn-forkline path { fill: none; stroke: var(--sun); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.scn-fork { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scn-side { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); }
.scn-side.up { background: #e9f4ed; }
.scn-side.down { background: #fbeeea; }
.scn-side .chips { gap: 8px; }
.scn-side-m { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(13, 25, 45, 0.07); }
.scn-side-m .crm { height: auto; }
.scn-side > .scn-side-p { margin-top: auto; }

/* Competitors: the wire and the channel */
.scn-wire { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.scn-wire .sec-head { margin-bottom: 28px !important; }
.scn-bigsig { list-style: none; margin: 0; padding: 0; }
.scn-bigsig li { display: flex; align-items: center; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); font-size: clamp(25px, 0.9rem + 1.9vw, 42px); line-height: 1.16; letter-spacing: -0.024em; font-weight: 550; color: var(--ink); }
.scn-bigsig .scn-dot { width: 12px; height: 12px; }
.scn-chan { position: sticky; top: 96px; display: grid; gap: 4px; padding: 10px; border-radius: var(--r-xl); background: var(--night); color: var(--on-night); }
.scn-chan-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; }
.scn-chan-h img { width: 18px; height: 18px; }
.scn-chan-h b { font-weight: 600; color: var(--on-night); }
.scn-msg { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--night-2); }
.scn-msg .sl { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #fff; }
.scn-msg .sl img { width: 18px; height: 18px; }
.scn-msg p { margin: 0; font-size: 15px; line-height: 22px; color: var(--on-night) !important; }
.scn-msg-h { margin-bottom: 4px !important; }
.scn-msg-h b { font-weight: 600; }
.scn-msg-h span, .scn-msg .scn-msg-s { color: var(--on-night-mute) !important; font-size: 14px; }
.scn-msg-s { margin-top: 6px !important; }

/* Startups: one bento, the allowance leads */
.scn-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.scn-b { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-xl); background: var(--paper); min-height: 340px; }
.scn-b p { margin: 0; color: var(--ink-2); }
.scn-b .h3 { margin: auto 0 0; }
.scn-b1 { position: relative; isolation: isolate; overflow: hidden; grid-column: span 6; background: var(--sky) center / cover; justify-content: flex-end; }
.scn-b1 > :not(.shader-layer) { position: relative; z-index: 1; }
.scn-b1 > div:not(.shader-layer) { width: min(100%, 460px); display: grid; gap: 10px; padding: 24px 26px; border-radius: 16px; background: rgba(255, 255, 255, 0.95); }
.scn-b1 .h3 { margin: 0; }
.scn-num { display: block; font-weight: 500; font-size: clamp(56px, 1rem + 6vw, 104px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; margin-block: 8px; }
.scn-link { display: flex; align-items: center; margin-bottom: 20px; }
.scn-link span { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #fff; }
.scn-link img { width: 26px; height: 26px; }
.scn-link i { flex: 1; height: 1.5px; background: var(--sun); }
.scn-rule { display: grid; gap: 10px; justify-items: start; margin-bottom: 20px; padding: 14px 16px; border-radius: 14px; background: #fff; font-size: 16px; line-height: 22px; color: var(--ink); }

/* Growth teams: the note taken apart */
.scn-anat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-bottom: 24px; }
.scn-anat-l { display: grid; align-content: center; gap: clamp(24px, 3vw, 40px); }
.scn-anat-l article { display: grid; gap: 8px; }
.scn-anat-l p { margin: 0; color: var(--ink-2); }
.scn-anat-r { position: relative; display: grid; padding: clamp(12px, 1.6vw, 20px) clamp(24px, 3vw, 44px); border-radius: var(--r-xl); background: var(--paper); }
.scn-part { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 20px; padding-block: clamp(20px, 2.2vw, 30px); padding-inline-start: 22px; border-top: 1px solid #d6dade; font-size: 17px; line-height: 26px; color: var(--ink-2); }
.scn-part:first-child { border-top: 0; }
.scn-part::before { content: ""; position: absolute; left: 0; top: calc(clamp(20px, 2.2vw, 30px) + 9px); width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.scn-part::after { content: ""; position: absolute; left: 3.25px; top: 0; bottom: 0; width: 1.5px; background: var(--sun); opacity: 0.45; }
.scn-part:first-child::after { top: calc(clamp(20px, 2.2vw, 30px) + 9px); }
.scn-part:last-child::after { bottom: auto; height: calc(clamp(20px, 2.2vw, 30px) + 9px); }
.scn-part > span { font-weight: 600; font-size: 15px; color: var(--ink); }
.scn-ev { display: block; margin-top: 10px; font-weight: 550; font-size: clamp(24px, 1rem + 1.1vw, 32px); line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); }

/* Enterprise: the territory as a field */
.scn-terr { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.scn-matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(6px, 0.8vw, 12px); }
.scn-matrix i { aspect-ratio: 1; border-radius: 28%; background: var(--night-3); }
.scn-matrix i.on { background: var(--sun); animation: scn-blink 8s var(--d, 0s) infinite both; }
@keyframes scn-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.scn-terr-r { display: grid; gap: clamp(24px, 3vw, 36px); }
.scn-terr-r article { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--night-line); }
.scn-terr-r .h3 { color: var(--on-night) !important; }
.scn-terr-r p { margin: 0; color: var(--on-night-mute) !important; }
.scn-terr-r .scn-num { color: var(--on-night); }
.scn-night .xp-foot { background: var(--night-2) !important; box-shadow: inset 0 0 0 1px var(--night-line); }
.scn-night .xp-foot p, .scn-night .xp-foot b { color: var(--on-night) !important; }

/* Home: four funnels, one pinned stage */
.rev-plate { display: none; }
@media (min-width: 1101px) {
	.rev.rev { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(4, auto); column-gap: clamp(40px, 5vw, 80px); row-gap: 0; align-items: start; }
	.rev .rev-card { display: contents !important; }
	.rev .rev-txt { grid-column: 1; min-height: min(68vh, 600px); display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 32px 0 32px 28px !important; border-left: 2px solid var(--line); transition: border-color 0.24s var(--ease); }
	.rev .rev-card.on .rev-txt { border-left-color: var(--sun); }
	.rev-plate { display: block; grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 96px; height: min(600px, calc(100vh - 120px)); border-radius: var(--r-xl); background: var(--sky) center / cover; }
	.rev .rev-vis { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 96px; z-index: 1; height: min(600px, calc(100vh - 120px)) !important; padding: clamp(24px, 3vw, 44px) !important; background: none !important; display: flex !important; align-items: center; overflow: hidden !important; opacity: 0; transform: translateY(10px); transition: opacity 0.28s var(--ease), transform 0.28s var(--ease); -webkit-mask-image: none !important; mask-image: none !important; outline: 0 !important; }
	.rev .rev-card.on .rev-vis { opacity: 1; transform: none; }
	.rev .rev-vis .crm { height: auto !important; width: 100%; box-shadow: 0 18px 50px rgba(13, 25, 45, 0.16); }
}

/* Phones: the demo says what happened first */
@media (max-width: 680px) {
	.note p b, .crm .note p b { font-size: 17px !important; line-height: 23px !important; letter-spacing: -0.01em; }
	.scn-rows li, .scn-moves .scn-rows li { grid-template-columns: 36px minmax(0, 1fr); }
	.scn-rows p { grid-column: 2; }
	/* Footer: two columns of links */
	.ftr-grid { display: block !important; column-count: 2; column-gap: 20px; }
	.ftr-grid > div { break-inside: avoid; margin-bottom: 28px; }
	.ftr-grid .ftr-brand { column-span: all; }
}

@media (max-width: 960px) {
	.scn-fan { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.scn-fan-t { display: none; }
	.scn-fan-l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.scn-revive, .scn-moves, .scn-wire, .scn-anat, .scn-terr { grid-template-columns: minmax(0, 1fr); }
	.scn-moves .sec-head, .scn-chan { position: static; }
	.scn-root, .scn-fork { grid-template-columns: minmax(0, 1fr); }
	.scn-forkline { display: none; }
	.scn-fork { margin-top: 12px; }
	.scn-b, .scn-b1 { grid-column: span 12; min-height: 0; }
	.scn-b1 { min-height: 320px; }
	.scn-deal:nth-child(n) { margin-inline-start: 0; }
}
@media (max-width: 520px) {
	.scn-fan-l { grid-template-columns: minmax(0, 1fr); }
	.scn-part { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.scn-matrix i.on { animation: none; }
	.rev .rev-vis { transition: none; transform: none; }
}

/* Round 14: after seeing them rendered */
.scn-fan-t { position: relative; height: auto; }
.scn-fan-t svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scn-fan-l li { padding-block: 16px; }
.scn-deal .av { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; }
.scn-deal .av img { width: 22px; height: 22px; object-fit: contain; }
.scn-deal-who .rev-stage { white-space: nowrap; }
.scn-night .xp-foot .btn:not(.btn-ghost) { background: var(--card) !important; color: var(--ink) !important; }
.scn-night .xp-foot .btn-ghost { background: transparent !important; color: var(--on-night) !important; box-shadow: inset 0 0 0 1px var(--night-line) !important; }
.scn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.scn-tiles article { display: grid; align-content: start; gap: 10px; min-height: 240px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-xl); background: var(--paper); }
.scn-tiles .h3 { margin-top: auto; padding-top: 28px; }
.scn-tiles p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .scn-tiles { grid-template-columns: minmax(0, 1fr); } .scn-tiles article { min-height: 0; } .scn-fan-t { display: none; } }
h3.h3.h3, p.h3.h3, .step-txt .h3.h3, .rev-txt .h3.h3, .pillar .h3.h3 { font-size: clamp(23px, 1rem + 0.8vw, 30px) !important; line-height: 1.16 !important; letter-spacing: -0.02em !important; font-weight: 600 !important; }
@media (min-width: 1101px) {
	.rev .rev-txt .chips, .rev .rev-txt .link { margin-top: 4px !important; }
	.rev .rev-vis { align-items: center !important; justify-content: center; }
	.rev .rev-vis > * { width: 100%; margin-block: auto; }
}
@media (max-width: 520px) {
	.scn-deal-who { flex-wrap: wrap; }
	.scn-deal-who > div { flex: 1 1 calc(100% - 56px); }
	.scn-deal .rev-stage { flex-basis: calc(100% - 52px); margin-inline-start: 52px; }
}
@media (min-width: 1101px) { .rev .rev-txt, .rev .rev-vis { order: 0 !important; } }

/* Round 14: the smallest text steps up where its box allows */
.ftr .ftr-h, .crumbs, .crumbs a, .crumbs span { font-size: 14px !important; }
.crm .note .s, .crm-rec span:not(.av), .crm-props span, .crm-top span, .task, .slack { font-size: 14px !important; line-height: 20px; }
.hero-chip, .hero-chip b { font-size: 13px !important; }
h2.h3.h3 { font-size: clamp(23px, 1rem + 0.8vw, 30px) !important; line-height: 1.16 !important; letter-spacing: -0.02em !important; font-weight: 600 !important; }

/* Round 15: closing bands change with the page family */
.cta-band.cta-night { background: var(--night) !important; color: var(--on-night); }
.cta-band.cta-night .h2, .cta-band.cta-night .eyebrow { color: var(--on-night) !important; }
.cta-band.cta-night .lede { color: var(--on-night-mute) !important; }
.cta-band.cta-night .cta-dial { color: var(--night-3) !important; }
.cta-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; align-self: center; }
.cta-night .cta-apply .btn { background: var(--card) !important; color: var(--ink) !important; }
.cta-night .cta-apply .link { color: var(--on-night) !important; }

/* Inline call to action: a target of at least 24px */
.signup-meta a { display: inline-block; padding-block: 3px; }

.signup-meta a { white-space: nowrap; }

@media (max-width: 680px) {
	/* The run's frame fits its first two steps; the long CRM record fades at the foot */
	.stage-wrap .stage[data-step] .stage-body { height: 580px !important; }
	.stage-wrap .stage[data-step] .pane-crm { -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent); mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }
	/* The first funnel keeps its example; the others read as a list */
	.rev .rev-card:nth-child(n + 2) .rev-vis { display: none !important; }
}
/* With motion off nothing plays the steps, so all three stay on the page */
@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
	.stage-wrap .stage[data-step] .stage-body { height: auto !important; display: grid; overflow: visible; }
	.stage-wrap .stage[data-step] .pane { position: static; opacity: 1 !important; pointer-events: auto; -webkit-mask-image: none; mask-image: none; }
}

/* One image per surface. Each page sets its own sky here; the shader reads the same name from app.js. */
:root { --sky: url("/assets/img/sky/sky-hero.webp"); --sky-m: url("/assets/img/sky/sky-hero-m.webp"); }
body[data-route="buying-signals"] { --sky: url("/assets/img/sky/ridge-haze.webp"); --sky-m: url("/assets/img/sky/ridge-haze-m.webp"); }
body[data-route="people-signals"] { --sky: url("/assets/img/sky/lake-mirror.webp"); --sky-m: url("/assets/img/sky/lake-mirror-m.webp"); }
body[data-route="custom-signals"] { --sky: url("/assets/img/sky/fog-hills.webp"); --sky-m: url("/assets/img/sky/fog-hills-m.webp"); }
body[data-route="crm-sync"] { --sky: url("/assets/img/sky/blue-hour.webp"); --sky-m: url("/assets/img/sky/blue-hour-m.webp"); }
body[data-route="alerts"] { --sky: url("/assets/img/sky/first-snow.webp"); --sky-m: url("/assets/img/sky/first-snow-m.webp"); }
body[data-route="how-it-works"] { --sky: url("/assets/img/sky/dawn-sea.webp"); --sky-m: url("/assets/img/sky/dawn-sea-m.webp"); }
body[data-route="signals-library"] { --sky: url("/assets/img/sky/cirrus.webp"); --sky-m: url("/assets/img/sky/cirrus-m.webp"); }
body[data-route="pricing"] { --sky: url("/assets/img/sky/sunrise-glow.webp"); --sky-m: url("/assets/img/sky/sunrise-glow-m.webp"); }
body[data-route="compare"] { --sky: url("/assets/img/sky/gold-break.webp"); --sky-m: url("/assets/img/sky/gold-break-m.webp"); }
body[data-route="security"] { --sky: url("/assets/img/sky/above-clouds.webp"); --sky-m: url("/assets/img/sky/above-clouds-m.webp"); }
body[data-route="faq"] { --sky: url("/assets/img/sky/lake-mirror.webp"); --sky-m: url("/assets/img/sky/lake-mirror-m.webp"); }
body[data-route="new-pipeline"] .scn-fan { --sky: url("/assets/img/sky/above-clouds.webp"); }
body[data-route="startups"] .scn-b1 { --sky: url("/assets/img/sky/sunrise-glow.webp"); }
.rev-plate { background: var(--paper) !important; }
@media (min-width: 1101px) {
	.rev .rev-vis { border-radius: var(--r-xl); background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
	.rev .rev-card:nth-child(1) .rev-vis { background-image: url("/assets/img/sky/dawn-sea.webp") !important; }
	.rev .rev-card:nth-child(2) .rev-vis { background-image: url("/assets/img/sky/gold-break.webp") !important; }
	.rev .rev-card:nth-child(3) .rev-vis { background-image: url("/assets/img/sky/cirrus.webp") !important; }
	.rev .rev-card:nth-child(4) .rev-vis { background-image: url("/assets/img/sky/dusk-rose.webp") !important; }
}
.ftr-brand .row img[src*="salesforce-mono"] { filter: none; opacity: 0.86; }
.signup-meta a { display: inline-flex; align-items: center; gap: 6px; }
.signup-meta a svg { flex: none; }
/* Photographs in cards and bands stay sharp and hold their shape */
.cta-band:not(.cta-night):not(.cta-tone), .scn-fan, .scn-b1 { background-size: cover !important; background-position: center 70% !important; }
.cta-band:not(.cta-night):not(.cta-tone) .lede { color: var(--ink) !important; }
/* Logos appear in their own colours wherever they are named */
.strip .strip-i img, .strip-i:hover img { filter: none !important; opacity: 1 !important; }

/* Halftone: the Get started bands and the Revenue Engine cards */
.cta-band:not(.cta-night) > :not(.shader-layer) { position: relative; z-index: 1; }
.rev-bg { display: none; }
@media (min-width: 1101px) {
	.rev .rev-bg { display: block; grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 96px; height: min(600px, calc(100vh - 120px)); isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--paper) var(--sky) center / cover no-repeat; opacity: 0; transition: opacity 0.28s var(--ease); }
	.rev .rev-card.on .rev-bg { opacity: 1; }
	.rev .rev-card:nth-child(n) .rev-vis { background: none !important; }
	.rev .rev-card:nth-child(1) .rev-bg { --sky: url("/assets/img/sky/dawn-sea.webp"); }
	.rev .rev-card:nth-child(2) .rev-bg { --sky: url("/assets/img/sky/gold-break.webp"); }
	.rev .rev-card:nth-child(3) .rev-bg { --sky: url("/assets/img/sky/cirrus.webp"); }
	.rev .rev-card:nth-child(4) .rev-bg { --sky: url("/assets/img/sky/dusk-rose.webp"); }
}
@media (prefers-reduced-motion: reduce) { .rev .rev-bg { transition: none; } }

/* Get started: the dots dissolve in from the right, so copy stays on the smooth photograph */
.cta-band:not(.cta-night) .cta-r { padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.94); }
@media (max-width: 860px) {
}
@media (min-width: 861px) {
}

/* Live feed: fixed frame, cards move by transform */
.feed-live { position: relative; overflow: hidden; display: block !important; }
.feed-live > .sigcard { position: absolute; top: 0; left: 16px; right: 16px; transition: transform 0.32s var(--ease), opacity 0.32s var(--ease); }

/* Round 16 */
:root { --mute: #4f5664; --mute-2: #4f5664; }
.tag, .sig-m .src, .sig-m .rec, .fcard-top .rec, .crumbs a, .note-h, .note-h em, .due, .scn-legend { font-size: 14px !important; }
.consent-button { height: 40px !important; padding-inline: 14px !important; }

/* Pinned stage: the same story with less scroll */
@media (min-width: 1101px) { .rev .rev-txt { min-height: min(54vh, 480px); } }

/* A narrow record keeps its task readable: the due date moves under the copy */
[data-pv-crm] .task { grid-template-columns: 18px minmax(0, 1fr) !important; }
[data-pv-crm] .task .due { grid-column: 2; justify-self: start; }

/* Phones: payload lines wrap, so nothing hides past the edge of the panel */
@media (max-width: 680px) {
	.code { white-space: pre-wrap; overflow-wrap: anywhere; }
	/* Footer: link groups line up in rows */
	.ftr-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-count: auto; gap: 24px 20px; align-items: start; }
	.ftr-grid > div { margin-bottom: 0; }
	.ftr-grid .ftr-brand { grid-column: 1 / -1; }
}

/* Security: the boundary, drawn */
.smap { display: grid; gap: 0; width: 100%; padding: clamp(20px, 2.6vw, 32px); color: var(--on-night); }
.smap-n { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--night-3); font-size: 17px; line-height: 24px; }
.smap-n b { font-weight: 600; color: var(--on-night); }
.smap-n .ic { flex: none; color: var(--on-night); display: grid; place-items: center; width: 22px; height: 22px; }
.smap-n .ic svg { width: 20px; height: 20px; }
.smap-n.core { background: var(--on-night); }
.smap-n.core b { color: var(--ink); }
.smap-n .mark { width: 22px; height: 22px; color: var(--ink); }
.smap-crms { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.smap-crms img { width: 20px; height: 20px; object-fit: contain; padding: 3px; box-sizing: content-box; border-radius: 6px; background: #fff; }
.smap-l { position: relative; display: grid; gap: 4px; padding: 14px 0 14px 34px; font-size: 15px; line-height: 21px; color: var(--on-night-mute); }
.smap-l::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 1.5px; background: var(--sun); }
.smap-l span { padding-left: 16px; }

/* Signals library: the number is the headline */
.ph-n { display: block; font-size: clamp(96px, 3rem + 11vw, 208px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 500; margin-bottom: 0.08em; font-variant-numeric: tabular-nums; }

/* Enterprise: the field explains itself */
.scn-field { display: grid; gap: 16px; }
.scn-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: var(--on-night-mute) !important; }
.scn-legend span { display: inline-flex; align-items: center; gap: 8px; }
.scn-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--night-3); }
.scn-legend i.on { background: var(--sun); }
.sig-m span, .sig-m .win, .crm-tabs span, .crm-tabs button, .task .due, dt, dd, .cmp-h b, .note-h b, .crm-top b { font-size: 14px !important; }
body[data-route="security"] .ph + .sec { padding-top: clamp(56px, 6vw, 88px) !important; }

/* Waves: the Get started bands and the Revenue Engine cards.
   The gradient uses the shader's own colours, so nothing flashes before it starts or without WebGL. */
.cta-band:not(.cta-night) .lede { color: var(--ink) !important; }
@media (min-width: 1101px) {
}
/* Copy stays dark, so the light comes in behind it; the shader's colours are untouched */
.cta-band:not(.cta-night)::after { display: block; content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(255, 244, 228, 0.5) 0%, rgba(255, 244, 228, 0.32) 44%, rgba(255, 244, 228, 0) 66%) !important; }
@media (max-width: 860px) {
	.cta-band:not(.cta-night)::after { background: linear-gradient(rgba(255, 244, 228, 0.5) 0%, rgba(255, 244, 228, 0.32) 50%, rgba(255, 244, 228, 0) 76%) !important; }
}

/* Static backgrounds: the Waves shader, rendered once by tools/render-waves.cjs, so no GPU work on the page */
.cta-band:not(.cta-night) { background: #fcd29a url("/assets/img/waves/get-started.webp") center / cover no-repeat !important; }
@media (max-width: 860px) { .cta-band:not(.cta-night) { background-image: url("/assets/img/waves/get-started-m.webp") !important; } }
@media (min-width: 1101px) {
	.rev .rev-card:nth-child(1) .rev-bg { background: #8fc1e8 url("/assets/img/waves/prospect.webp") center / cover no-repeat; }
	.rev .rev-card:nth-child(2) .rev-bg { background: #e9a6b4 url("/assets/img/waves/nurture.webp") center / cover no-repeat; }
	.rev .rev-card:nth-child(3) .rev-bg { background: #9fdcc4 url("/assets/img/waves/customer.webp") center / cover no-repeat; }
	.rev .rev-card:nth-child(4) .rev-bg { background: #b3a8ee url("/assets/img/waves/market.webp") center / cover no-repeat; }
}
/* Revenue Engine: every record the same height, the task resting at the foot, no movement on a change */
@media (min-width: 681px) {
	.rev .rev-vis .crm { height: var(--rev-card-h, auto) !important; display: flex; flex-direction: column; }
	.rev .rev-vis .crm-feed { flex: 1; display: flex; flex-direction: column; }
	.rev .rev-vis .task { margin-top: auto; }
}
@media (min-width: 1101px) { .rev .rev-vis { transform: none !important; } }
/* A record with no right-hand label keeps its name to the left */
.crm-top b { margin-right: auto; }
@media (min-width: 681px) { .rev .rev-vis { flex-direction: row !important; } .rev .rev-vis .crm { width: 100% !important; min-width: 0; } }
/* Fixed columns: the stage never resizes to fit its text */
@media (min-width: 1101px) { .rev.rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; } }
.ph-vis .rev-vis .crm-feed { align-items: stretch; } .ph-vis .rev-vis .task { align-self: stretch; }

/* Custom signals: nothing shows until the reading is ready, then whole rows arrive top to bottom */
.cmp-sig { transition: border-color 0.24s var(--ease); }
.cmp-sig.blank { border-color: transparent; }
.cmp-sig dt, .cmp-sig dd { transition: opacity 0.28s var(--ease); }
.cmp-sig dt:nth-of-type(2), .cmp-sig dd:nth-of-type(2) { transition-delay: 50ms; }
.cmp-sig dt:nth-of-type(3), .cmp-sig dd:nth-of-type(3) { transition-delay: 100ms; }
.cmp-sig dt:nth-of-type(4), .cmp-sig dd:nth-of-type(4) { transition-delay: 150ms; }
.cmp-sig dt:nth-of-type(5), .cmp-sig dd:nth-of-type(5) { transition-delay: 200ms; }
.cmp-sig dt:nth-of-type(6), .cmp-sig dd:nth-of-type(6) { transition-delay: 250ms; }
.cmp-sig.blank dt, .cmp-sig.blank dd { opacity: 0; transition-duration: 0.12s; transition-delay: 0ms; }

/* Footer word: the same setting as the logo */
.ftr-big { letter-spacing: -0.05em !important; }
.ftr-big { font-size: clamp(52px, 12.92vw, 186px) !important; }
@media (max-width: 560px) { .ftr-big { font-size: 12.7vw !important; } }

/* Footer word: a quiet sign-off, not a second logo */
.ftr-big { opacity: 0.1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* A form on its way: the first reply from the Sheet can take a few seconds */
.btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn[aria-busy="true"] svg { animation: btn-wait 0.9s var(--ease) infinite alternate; }
@keyframes btn-wait { to { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .btn[aria-busy="true"] svg { animation: none; } }

/* Legal pages: one readable column */
.legal > * { max-width: 760px; }
.legal h2 { margin: 44px 0 12px; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.legal h3 { margin: 22px 0 8px; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); }
.legal p, .legal li { font-size: 17px; line-height: 28px; color: var(--ink-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal .tbl-wrap { margin: 12px 0 16px; }
.legal .tbl { min-width: 0; }
.legal-date { color: var(--mute) !important; font-size: 15px !important; }
.legal-draft { padding: 12px 16px; border-radius: 12px; background: var(--sun-soft); color: var(--ink) !important; font-size: 15px !important; line-height: 22px !important; }
.todo { padding: 1px 5px; border-radius: 5px; background: #ffe39a; color: var(--ink); font-weight: 500; }
.consent-copy a, .form-note a, .ftr-bot a { text-decoration: underline; text-underline-offset: 3px; }
/* The footer's legal row wraps instead of pushing past a small screen */
.ftr-bot, .ftr-bot .row { flex-wrap: wrap; }
.ftr-bot .row { gap: 8px 18px !important; }
.legal-date, .legal p { overflow-wrap: anywhere; }
/* Smallest phones: the logo and menu keep the header; Start free stays in the menu */
@media (max-width: 359px) { .hdr .hdr-cta .btn { display: none !important; } }

