/*
 * Counterfirm, the website. One stylesheet for every page.
 *
 * Rules this sheet keeps, learned the hard way on other builds:
 *
 * 1. A bright colour is a FILL or a TEXT colour, never both. Every hue
 *    ships as a pair: the vivid one for backgrounds and the deepened one
 *    for text that has to pass contrast.
 * 2. Resets that touch themed elements are written at zero weight with
 *    :where(), so a link reset can never out-specify a button.
 * 3. Anything that can be wider than the viewport lives in a wrapper with
 *    overflow-x: auto AND contain: paint, because the overflow alone still
 *    widens the document in Chromium.
 * 4. A gradient background always carries a background-color of its worst
 *    case stop, so contrast tools and old browsers both get an answer.
 * 5. Reveal animations fade with opacity and pointer-events, never
 *    visibility, which would take the text out of the page for checks.
 */

:root {
	--ink: #0b0e14;
	--ink2: #131823;
	--ink3: #1c2333;
	--paper: #ffffff;
	--mist: #f2f4f9;
	--cream: #faf7f2;

	--brand: #2e6bff;
	--brand-deep: #1244b8;
	--brand-lift: #8fb6ff;

	--violet: #7c5cff;
	--violet-deep: #4f2bc4;
	--violet-lift: #c3b0ff;

	--mint: #10b981;
	--mint-deep: #06714b;
	--mint-lift: #6fe3b8;

	--amber: #e8a317;
	--amber-deep: #7a5200;
	--amber-lift: #f7cb6b;

	--alarm: #e4484d;
	--alarm-deep: #a81b20;
	--alarm-lift: #ff9a9d;

	--fg: var(--ink);
	--fg-muted: #4f5a70;
	--fg-faint: #60697f;
	--bg: var(--paper);
	--line: #e3e7f0;
	--card: #ffffff;
	--accent: var(--brand);
	--accent-text: var(--brand-deep);

	--wrap: 1140px;
	--r: 14px;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------- resets */

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

body.cfcts-page {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 17px/1.62 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

:where(body.cfcts-page a) { color: inherit; text-decoration: none; }
:where(body.cfcts-page h1, body.cfcts-page h2, body.cfcts-page h3, body.cfcts-page h4, body.cfcts-page p, body.cfcts-page figure, body.cfcts-page blockquote) { margin: 0; }
:where(body.cfcts-page ul, body.cfcts-page ol) { margin: 0; padding: 0; list-style: none; }
:where(body.cfcts-page img, body.cfcts-page svg) { max-width: 100%; }
:where(body.cfcts-page button, body.cfcts-page input, body.cfcts-page select, body.cfcts-page textarea) { font: inherit; color: inherit; }

.skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* --------------------------------------------------------------- tones */

.s { padding: 84px 0; background: var(--bg); color: var(--fg); position: relative; isolation: isolate; }
.s.pad-sm { padding: 48px 0; }
.s.pad-lg { padding: 120px 0; }
.s + .s { border-top: 1px solid transparent; }

.tone-paper { --bg: var(--paper); --fg: var(--ink); --fg-muted: #4f5a70; --fg-faint: #60697f; --line: #e3e7f0; --card: #fff; --accent: var(--brand); --accent-text: var(--brand-deep); }
.tone-mist { --bg: var(--mist); --fg: var(--ink); --fg-muted: #4f5a70; --fg-faint: #60697f; --line: #dde2ee; --card: #fff; --accent: var(--brand); --accent-text: var(--brand-deep); }
.tone-ink { --bg: var(--ink); --fg: #e9edf5; --fg-muted: #9aa5ba; --fg-faint: #7d8699; --line: #232b3d; --card: #151b28; --accent: var(--brand); --accent-text: var(--brand-lift); }
.tone-deep { --bg: #0f1626; --fg: #e9edf5; --fg-muted: #9aa5ba; --fg-faint: #7d8699; --line: #1f2a40; --card: #16203300; --accent: var(--brand); --accent-text: var(--brand-lift); }
.tone-brand { --bg: #11337f; --fg: #eef3ff; --fg-muted: #b6c7ee; --fg-faint: #9ab0e0; --line: #1d4497; --card: #163b90; --accent: #ffffff; --accent-text: #ffffff; }
.tone-violet { --bg: #241a52; --fg: #f0ecff; --fg-muted: #bcb0e6; --fg-faint: #a294d6; --line: #33266f; --card: #2b2060; --accent: var(--violet-lift); --accent-text: var(--violet-lift); }
.tone-mint { --bg: #eafaf3; --fg: #06251a; --fg-muted: #3e6153; --fg-faint: #4d6a5c; --line: #cceede; --card: #fff; --accent: var(--mint); --accent-text: var(--mint-deep); }
.tone-amber { --bg: #fdf5e6; --fg: #241a05; --fg-muted: #5c4a24; --fg-faint: #6f5f37; --line: #f0e3c8; --card: #fff; --accent: var(--amber); --accent-text: var(--amber-deep); }

/* --------------------------------------------------------------- type */

.eyebrow {
	font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
	font-weight: 650; color: var(--accent-text); margin-bottom: 12px;
}
.s-title {
	font-size: clamp(27px, 3.4vw, 40px); line-height: 1.16;
	letter-spacing: -.024em; font-weight: 700; max-width: 22ch;
}
.s-lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--fg-muted); margin-top: 14px; max-width: 62ch; }
.s-head { margin-bottom: 34px; }
.s-sub { font-size: 14.5px; color: var(--fg-faint); margin-top: 14px; max-width: 70ch; }
.s-callout {
	border-left: 3px solid var(--accent); padding: 12px 0 12px 18px;
	font-size: 17px; color: var(--fg-muted); max-width: 72ch;
}
em { font-style: normal; color: var(--accent-text); font-weight: 600; }

/* ------------------------------------------------------------- buttons */

.s-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; border-radius: 10px; font-size: 15.5px; font-weight: 600;
	border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
	white-space: nowrap;
}
.s-btn + .s-btn { margin-left: 10px; }
.s-btn-pri { background: var(--brand); background-color: var(--brand); color: #fff; border-color: var(--brand); }
.s-btn-pri:hover { background: #1f57e0; border-color: #1f57e0; transform: translateY(-1px); }
.s-btn-sec { background: transparent; color: var(--fg); border-color: var(--line); }
.s-btn-sec:hover { border-color: var(--fg-faint); }
.s-btn-sm { padding: 9px 15px; font-size: 14px; }
.tone-ink .s-btn-sec, .tone-deep .s-btn-sec, .tone-violet .s-btn-sec { border-color: #3a465f; }
.tone-brand .s-btn-pri { background: #fff; background-color: #fff; color: #11337f; border-color: #fff; }
.tone-brand .s-btn-pri:hover { background: #e7eeff; border-color: #e7eeff; }
.tone-brand .s-btn-sec { border-color: #4f6fc0; color: #fff; }
.s-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.s-actions .s-btn + .s-btn { margin-left: 0; }

/* ---------------------------------------------------------------- head */

.site-head {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11, 14, 20, .92);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid #1c2333;
	color: #e9edf5;
}
.head-in { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.015em; }
.logo-mark {
	width: 22px; height: 22px; border-radius: 7px; display: block;
	background-image: linear-gradient(135deg, #2e6bff, #7c5cff);
	background-color: #2e6bff;
	position: relative;
}
.logo-mark::after {
	content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px;
	background: #fff; border-radius: 2px;
}
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-a {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 8px 11px; border-radius: 8px; font-size: 14.5px; color: #b8c2d4;
	background: transparent; border: 0; cursor: pointer;
}
.nav-a:hover { color: #fff; background: #19202e; }
.nav-group { position: relative; }
.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-menu {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 258px;
	background: #131823; border: 1px solid #232b3d; border-radius: 12px; padding: 7px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
	display: none; flex-direction: column;
}
.nav-group.open .nav-menu { display: flex; }
.nav-menu a { padding: 9px 11px; border-radius: 8px; font-size: 14.5px; color: #c6cfdf; }
.nav-menu a:hover { background: #1c2333; color: #fff; }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero */

.hero { display: grid; gap: 44px; align-items: center; }
.hero.has-art { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero-title {
	font-size: clamp(34px, 5.6vw, 62px); line-height: 1.04;
	letter-spacing: -.035em; font-weight: 760; max-width: 17ch;
}
.hero-lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--fg-muted); margin-top: 20px; max-width: 54ch; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--fg-faint); max-width: 56ch; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------ statement */

.statement { max-width: 30ch; }
.statement-text {
	font-size: clamp(28px, 4.4vw, 50px); line-height: 1.1;
	letter-spacing: -.03em; font-weight: 700;
}
.statement-sub { margin-top: 20px; font-size: 18px; color: var(--fg-muted); max-width: 58ch; }

/* --------------------------------------------------------------- cards */

.cards { display: grid; gap: 18px; }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	padding: 24px; display: flex; flex-direction: column; gap: 9px;
}
.card h3 { font-size: 19px; font-weight: 670; letter-spacing: -.015em; }
.card p { color: var(--fg-muted); font-size: 15.5px; }
.card-link { margin-top: auto; padding-top: 8px; color: var(--accent-text); font-weight: 600; font-size: 14.5px; }
.card-link:hover { text-decoration: underline; }
.card-art svg { width: 100%; height: auto; }
.tag {
	align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .07em;
	text-transform: uppercase; color: var(--accent-text); border: 1px solid var(--line);
	padding: 3px 9px; border-radius: 999px;
}

/* --------------------------------------------------------------- split */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: center; }
.split.flip .split-text { order: 2; }
.split-text .s-head { margin-bottom: 20px; }
.split-text p { color: var(--fg-muted); margin-top: 14px; }
.split-art svg { width: 100%; height: auto; display: block; }

.ticks { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 26px; color: var(--fg-muted); font-size: 15.5px; }
.ticks li::before {
	content: ""; position: absolute; left: 3px; top: 8px; width: 9px; height: 5px;
	border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
}

/* --------------------------------------------------------------- steps */

.steps { display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n {
	font-family: var(--mono); font-size: 13px; color: var(--accent-text);
	font-weight: 700; padding-top: 4px;
}
.steps h3 { font-size: 19px; font-weight: 660; letter-spacing: -.015em; }
.steps p { color: var(--fg-muted); margin-top: 6px; font-size: 15.5px; }

/* --------------------------------------------------------------- stats */

.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { border-top: 2px solid var(--accent); padding-top: 16px; }
.stat-v { font-size: clamp(30px, 3.6vw, 44px); font-weight: 720; letter-spacing: -.035em; line-height: 1; }
.stat-l { margin-top: 8px; font-weight: 600; font-size: 15px; }
.stat-s { margin-top: 5px; color: var(--fg-muted); font-size: 14px; }

/* --------------------------------------------------------------- bento */

.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bento-i {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	padding: 22px; grid-column: span 2; display: flex; flex-direction: column; gap: 8px;
}
.bento-i.b-lg { grid-column: span 3; }
.bento-i.b-xl { grid-column: span 6; }
.bento-i h3 { font-size: 18px; font-weight: 660; letter-spacing: -.015em; }
.bento-i p { color: var(--fg-muted); font-size: 15px; }
.bento-art { margin-top: auto; }
.bento-art svg { width: 100%; height: auto; }

/* ------------------------------------------------------------ sequence */

.sequence { display: grid; gap: 0; }
.seq-i { display: grid; grid-template-columns: 92px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.seq-i:last-child { border-bottom: 1px solid var(--line); }
.seq-k { font-family: var(--mono); font-size: 13px; color: var(--accent-text); font-weight: 700; padding-top: 5px; }
.seq-b h3 { font-size: 21px; font-weight: 670; letter-spacing: -.018em; }
.seq-b p { color: var(--fg-muted); margin-top: 8px; max-width: 64ch; }

/* ------------------------------------------------------------ timeline */

.timeline { display: grid; gap: 0; }
.tl-i { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.tl-i:last-child { border-bottom: 1px solid var(--line); }
.tl-w { font-family: var(--mono); font-size: 13px; color: var(--fg-faint); padding-top: 5px; }
.tl-b h3 { font-size: 18px; font-weight: 650; }
.tl-b p { color: var(--fg-muted); margin-top: 5px; font-size: 15.5px; }

/* --------------------------------------------------------------- table */

.t-wrap { overflow-x: auto; contain: paint; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.t { width: 100%; border-collapse: collapse; min-width: 560px; }
.t th, .t td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.t thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-faint); font-weight: 700; }
.t tbody tr:last-child td, .t tbody tr:last-child th { border-bottom: 0; }
.t tbody th { font-weight: 620; }
.t .yes { color: var(--mint-deep); font-weight: 650; }
.t .no { color: var(--fg-faint); }
.tone-ink .t .yes, .tone-deep .t .yes, .tone-violet .t .yes, .tone-brand .t .yes { color: var(--mint-lift); }

/* ----------------------------------------------------------------- faq */

.faq { display: grid; gap: 0; }
.faq-i { border-top: 1px solid var(--line); }
.faq-i:last-child { border-bottom: 1px solid var(--line); }
.faq-i summary {
	cursor: pointer; padding: 20px 34px 20px 0; font-size: 18px; font-weight: 620;
	position: relative; list-style: none; letter-spacing: -.012em;
}
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after {
	content: ""; position: absolute; right: 6px; top: 27px; width: 9px; height: 9px;
	border-right: 2px solid var(--fg-faint); border-bottom: 2px solid var(--fg-faint);
	transform: rotate(45deg); transition: transform .2s ease;
}
.faq-i[open] summary::after { transform: rotate(-135deg); }
.faq-a { padding-bottom: 20px; }
.faq-a p { color: var(--fg-muted); max-width: 72ch; }
.faq-a p + p { margin-top: 12px; }

/* --------------------------------------------------------------- plans */

.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: start; }
.plan {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
	padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 14px 40px rgba(46, 107, 255, .12); }
.plan h3 { font-size: 19px; font-weight: 670; }
.plan-price { font-size: 38px; font-weight: 740; letter-spacing: -.035em; line-height: 1; }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--fg-faint); letter-spacing: 0; margin-left: 5px; }
.plan-lead { color: var(--fg-muted); font-size: 15px; }
.plan .s-btn { margin-top: auto; }
.plan-note { font-size: 13px; color: var(--fg-faint); }

/* -------------------------------------------------------------- quotes */

.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.quote blockquote { font-size: 17px; line-height: 1.55; }
.quote figcaption { margin-top: 14px; font-size: 14px; color: var(--fg-faint); }

/* --------------------------------------------------------------- prose */

.prose { max-width: 70ch; }
.prose p { color: var(--fg-muted); font-size: 17px; }
.prose p + p { margin-top: 18px; }
.prose h3 { font-size: 22px; font-weight: 680; letter-spacing: -.02em; margin-top: 34px; color: var(--fg); }
.prose h3 + p { margin-top: 12px; }
.prose .ticks { margin-top: 16px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* Inline links in body copy. Until version two these inherited the colour of
   the paragraph they sat in, which made them invisible outside .prose.
   Buttons, card links and whole link rows opt out. */
.s :where(p, li, figcaption, .faq-a, .callout, td, th, .s-callout, .plan-lead, .plan-note) a:not(.s-btn):not(.card-link):not(.linkrow) {
	color: var(--accent-text);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.s :where(p, li, figcaption, .faq-a, .callout, td, th, .s-callout) a:not(.s-btn):not(.card-link):not(.linkrow):hover {
	text-decoration-thickness: 2px;
}
.code {
	background: var(--ink); color: #dfe6f2; padding: 16px 18px; border-radius: 10px;
	overflow-x: auto; contain: paint; font-family: var(--mono); font-size: 13.5px; margin-top: 16px;
}

/* ------------------------------------------------------------ linklist */

.linklist { display: grid; gap: 0; }
.linkrow {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px;
	padding: 20px 0; border-top: 1px solid var(--line); align-items: center;
}
.linkrow:last-child { border-bottom: 1px solid var(--line); }
.lr-t { font-size: 18px; font-weight: 630; letter-spacing: -.015em; }
.lr-b { grid-column: 1; color: var(--fg-muted); font-size: 15px; }
.lr-a { grid-row: 1 / span 2; color: var(--fg-faint); font-size: 20px; }
.linkrow:hover .lr-t { color: var(--accent-text); }
.linkrow:hover .lr-a { color: var(--accent-text); transform: translateX(3px); }

/* ----------------------------------------------------------------- cta */

.cta {
	display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
	padding: 38px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
}
.cta h2 { font-size: clamp(24px, 2.8vw, 33px); letter-spacing: -.026em; font-weight: 700; max-width: 20ch; }
.cta p { color: var(--fg-muted); margin-top: 10px; max-width: 58ch; }
.cta-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.cta-actions .s-btn + .s-btn { margin-left: 0; }
.tone-brand .cta { background: #163b90; border-color: #23509f; }

/* -------------------------------------------------------------- figure */

.figure { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.figure svg { width: 100%; height: auto; display: block; }
.figure figcaption { margin-top: 16px; color: var(--fg-muted); font-size: 14.5px; max-width: 76ch; }

/* ------------------------------------------------------------- marquee */

.marquee { overflow: hidden; contain: paint; border-block: 1px solid var(--line); padding: 14px 0; }
.marquee-in { display: flex; gap: 40px; width: max-content; animation: slide 42s linear infinite; }
.marquee-in span { font-family: var(--mono); font-size: 13px; color: var(--fg-faint); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-in { animation: none; } }

/* ---------------------------------------------------------------- form */

.form { max-width: 720px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--fg-muted); }
.field input, .field select, .field textarea {
	background: var(--card); border: 1.5px solid var(--line); border-radius: 10px;
	padding: 12px 14px; font-size: 16px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.form-foot { margin-top: 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: 13.5px; color: var(--fg-faint); max-width: 46ch; }
.form-ok { background: #eafaf3; color: #06251a; border-left: 3px solid var(--mint); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 18px; }
.form-err { background: #fdeeee; color: #4a1112; border-left: 3px solid var(--alarm); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; }

/* -------------------------------------------------------------- footer */

.site-foot { background: var(--ink); color: #9aa5ba; padding: 66px 0 26px; font-size: 14.5px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 46px; }
.foot-brand .logo { color: #e9edf5; margin-bottom: 14px; }
.foot-brand p { max-width: 42ch; }
.foot-by { margin-top: 14px; color: #6f7a90; }
.foot-by a { color: var(--brand-lift); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; }
.foot-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6f7a90; margin-bottom: 12px; font-weight: 700; }
.foot-col li { margin-bottom: 8px; }
.foot-col a:hover { color: #e9edf5; }
.foot-bot {
	margin-top: 48px; padding-top: 22px; border-top: 1px solid #1c2333;
	display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: #6f7a90; font-size: 13.5px;
}
.foot-bot a { margin-right: 14px; }
.foot-bot a:hover { color: #e9edf5; }

/* ----------------------------------------------------------------- art */

.art svg { width: 100%; height: auto; display: block; }
.art .grid { stroke: var(--line); stroke-width: 1; }
.art .grid.dash { stroke-dasharray: 4 4; }
.art .fan-path { fill: none; stroke: var(--brand); stroke-width: 1.2; }
.art .fan-median { fill: none; stroke: var(--brand); stroke-width: 2.6; }
.tone-ink .art .fan-path, .tone-deep .art .fan-path, .tone-violet .art .fan-path { stroke: var(--brand-lift); }
.tone-ink .art .fan-median, .tone-deep .art .fan-median { stroke: #fff; }
.art .curve { fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linejoin: round; }
.art .dot { fill: var(--fg-faint); }
.art .dot-good { fill: var(--mint); }
.art .lbl-good { fill: var(--mint-deep); font-size: 12px; font-weight: 700; font-family: var(--sans); }
.art .lbl-bad { fill: var(--alarm-deep); font-size: 12px; font-weight: 700; font-family: var(--sans); }
.tone-ink .art .lbl-good, .tone-deep .art .lbl-good, .tone-violet .art .lbl-good { fill: var(--mint-lift); }
.tone-ink .art .lbl-bad, .tone-deep .art .lbl-bad { fill: var(--alarm-lift); }
.art .ax { fill: var(--fg-faint); font-size: 11.5px; font-family: var(--sans); }
.art .row-t { fill: var(--fg); font-size: 13px; font-family: var(--sans); }
.art .node { fill: var(--brand); opacity: .9; }
.art .node.n1 { fill: var(--violet); }
.art .node.n2 { fill: var(--mint); }
.art .node.n3 { fill: var(--amber); }
.art .node.n4 { fill: var(--alarm); }
.art .node.core { fill: var(--ink); }
.tone-ink .art .node.core, .tone-deep .art .node.core { fill: #fff; }
.art .node-t { fill: #fff; font-size: 11px; font-weight: 700; font-family: var(--sans); }
.art .core-t { fill: #fff; font-size: 15px; font-weight: 700; font-family: var(--sans); }
.tone-ink .art .core-t, .tone-deep .art .core-t { fill: var(--ink); }
.art .box { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.art .ghost { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 3 3; }
.art .box-t { fill: var(--fg); font-size: 14px; font-weight: 650; font-family: var(--sans); }
.art .arrow { fill: none; stroke: var(--fg-faint); stroke-width: 1.5; }
.art .bar-bg { fill: var(--line); }
.art .bar { fill: var(--fg-faint); }
.art .bar.b-document { fill: var(--mint); }
.art .bar.b-derived { fill: var(--violet); }
.art .bar.b-default { fill: var(--alarm); }
.art .chip { font-size: 11px; font-weight: 700; font-family: var(--sans); fill: var(--fg-faint); }
.art .chip.c-document { fill: var(--mint-deep); }
.art .chip.c-derived { fill: var(--violet-deep); }
.art .chip.c-default { fill: var(--alarm-deep); }
.tone-ink .art .chip.c-document, .tone-deep .art .chip.c-document { fill: var(--mint-lift); }
.tone-ink .art .chip.c-derived, .tone-deep .art .chip.c-derived { fill: var(--violet-lift); }
.tone-ink .art .chip.c-default, .tone-deep .art .chip.c-default { fill: var(--alarm-lift); }
.art .zone-bad { fill: var(--alarm); opacity: .09; }
.art .seg-hot { fill: var(--alarm); }
.art .seg-warm { fill: var(--amber); }
.art .seg-cool { fill: var(--brand); opacity: .55; }
.art .hole { fill: var(--bg); }
.art .sq { fill: var(--line); }
.art .sq-good { fill: var(--mint); }
.art .sq-bad { fill: var(--alarm); }
.art .poster-bg { fill: var(--ink2); }
.art .poster-line { fill: none; stroke: var(--brand-lift); stroke-width: 2; opacity: .8; }
.art .p0 { fill: var(--brand); opacity: .85; }
.art .p1 { fill: var(--violet); opacity: .8; }
.art .p2 { fill: var(--mint); opacity: .75; }
.art .p3 { fill: var(--amber); opacity: .8; }
.art .p4 { fill: var(--alarm); opacity: .8; }
.art .cell { fill: var(--brand); }
.tone-ink .art .cell, .tone-deep .art .cell, .tone-violet .art .cell { fill: var(--brand-lift); }
.art .layer-t { fill: var(--fg); font-size: 12.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; font-family: var(--sans); }
.art .msg { fill: none; stroke: var(--violet); stroke-width: 1.6; }
.tone-ink .art .msg, .tone-deep .art .msg { stroke: var(--violet-lift); }
.art .arrow-h { fill: var(--fg-faint); }
.art .ring-bg { fill: none; stroke: var(--line); stroke-width: 15; }
.art .ring-fg { fill: none; stroke: var(--brand); stroke-width: 15; stroke-linecap: round; }
.tone-ink .art .ring-fg, .tone-deep .art .ring-fg, .tone-violet .art .ring-fg { stroke: var(--brand-lift); }
.art .big { fill: var(--fg); font-size: 34px; font-weight: 800; font-family: var(--sans); }

/* The version two artwork is drawn on a wider canvas than the older pieces,
   so its type has to be set larger to arrive at the same size on screen. */
.art-neural .ax, .art-attribution .ax, .art-intake .ax, .art-stripe .ax, .art-tiers .ax { font-size: 14px; }
.art-neural .row-t, .art-attribution .row-t, .art-intake .row-t, .art-tiers .row-t { font-size: 16px; }
.art-neural .box-t, .art-stripe .box-t { font-size: 17px; }
.art-neural .chip, .art-attribution .chip { font-size: 13.5px; }
.art-intake .big { font-size: 40px; }

/* -------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 1040px) {
	.hero.has-art { grid-template-columns: 1fr; }
	.cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento-i, .bento-i.b-lg { grid-column: span 3; }
}

@media (max-width: 860px) {
	.s { padding: 58px 0; }
	.s.pad-lg { padding: 72px 0; }
	.wrap { width: min(100% - 32px, var(--wrap)); }
	.nav-toggle {
		display: inline-flex; margin-left: auto; padding: 8px 13px; border-radius: 8px;
		border: 1px solid #2a3348; background: #151b28; color: #e9edf5; font-size: 14px; cursor: pointer;
	}
	.site-nav {
		display: none; position: absolute; top: 64px; left: 0; right: 0;
		background: #0f1420; border-bottom: 1px solid #232b3d; flex-direction: column;
		align-items: stretch; gap: 0; padding: 10px 20px 18px; max-height: 76vh; overflow-y: auto; contain: paint;
	}
	.site-head.open .site-nav { display: flex; }
	.nav-menu { position: static; display: none; border: 0; box-shadow: none; background: transparent; padding: 0 0 6px 12px; }
	.nav-group.open .nav-menu { display: flex; }
	.head-cta { margin-left: 0; order: 3; }
	.site-head.open .head-cta { width: 100%; padding: 0 20px 16px; background: #0f1420; }
	.head-in { flex-wrap: wrap; position: relative; }
	.cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; gap: 30px; }
	.split.flip .split-text { order: 0; }
	.bento { grid-template-columns: 1fr; }
	.bento-i, .bento-i.b-lg, .bento-i.b-xl { grid-column: span 1; }
	.seq-i, .tl-i, .steps li { grid-template-columns: 1fr; gap: 6px; }
	.form-grid { grid-template-columns: 1fr; }
	/* A long button label with nowrap on it is the one thing that can
	   still widen a phone, so labels wrap below this width. */
	.s-btn { white-space: normal; text-align: center; max-width: 100%; }
	.s-actions, .cta-actions { width: 100%; }
	.cta { padding: 26px; }
	.cta-actions { margin-left: 0; }
	.foot-top { grid-template-columns: 1fr; gap: 32px; }
	.reveal { transform: translateY(10px); }
	.statement { max-width: none; }
}

/* ==========================================================================
   Version two: motion, depth and the new components.

   Same rules as the rest of the sheet. Every effect below is additive and
   every one of them is switched off wholesale under prefers-reduced-motion,
   because a page that cannot be read while it moves is a page that cannot
   be read. Nothing here is load bearing: with the script blocked, all of it
   renders in its final state.
   ========================================================================== */

/* --------------------------------------------------------- scroll progress */

.progress {
	position: fixed; top: 0; left: 0; height: 2px; width: 100%;
	transform: scaleX(0); transform-origin: 0 50%; z-index: 60;
	background-image: linear-gradient(90deg, #2e6bff, #7c5cff);
	background-color: #2e6bff;
	pointer-events: none;
}

/* ------------------------------------------------------------ head on scroll */

.site-head { transition: transform .3s ease, background .3s ease; }
.site-head.tucked { transform: translateY(-100%); }
.site-head.solid { background: rgba(11, 14, 20, .98); }

/* ----------------------------------------------------------------- aurora */

.tone-ink, .tone-deep, .tone-violet, .tone-brand { overflow: hidden; }
.aurora {
	position: absolute; inset: -20% -10% auto -10%; height: 140%;
	pointer-events: none; z-index: -1; opacity: .5;
	background-color: transparent;
}
.aurora i {
	position: absolute; border-radius: 50%; filter: blur(70px); display: block;
	animation: drift 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 46%; height: 62%; left: 6%; top: 4%; background: #2e6bff; opacity: .34; }
.aurora i:nth-child(2) { width: 38%; height: 54%; right: 8%; top: 22%; background: #7c5cff; opacity: .3; animation-delay: -9s; }
.aurora i:nth-child(3) { width: 30%; height: 40%; left: 42%; bottom: 0; background: #10b981; opacity: .16; animation-delay: -17s; }
@keyframes drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(3%, -6%, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .aurora i { animation: none; } }

/* -------------------------------------------------------------- reveals v2 */

.reveal { will-change: opacity, transform; }
.reveal.r-scale { transform: translateY(14px) scale(.985); }
.reveal.r-scale.in { transform: none; }
.reveal.r-left { transform: translateY(14px); }
@media (min-width: 861px) {
	/* Horizontal reveals only above the phone breakpoint: on a narrow
	   screen a sideways translate widens the document. */
	.reveal.r-left { transform: translateX(-18px); }
	.reveal.r-left.in { transform: none; }
}

/* ------------------------------------------------------------ card pointer */

.card, .plan, .bento-i, .quote {
	position: relative; isolation: isolate;
	transition: transform .25s cubic-bezier(.2, .7, .3, 1), border-color .25s ease, box-shadow .25s ease;
}
.card::before, .bento-i::before, .plan::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
	opacity: 0; transition: opacity .25s ease;
	background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(46, 107, 255, .16), transparent 62%);
	background-color: transparent;
}
.card:hover, .bento-i:hover, .plan:hover { transform: translateY(-2px); border-color: var(--fg-faint); }
.card:hover::before, .bento-i:hover::before, .plan:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.card, .plan, .bento-i, .quote { transition: none; }
	.card:hover, .bento-i:hover, .plan:hover { transform: none; }
}

/* ------------------------------------------------------------ button sweep */

.s-btn-pri { position: relative; overflow: hidden; isolation: isolate; }
.s-btn-pri::after {
	content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%);
	background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
	background-color: transparent;
	transition: transform .55s ease;
}
.s-btn-pri:hover::after { transform: translateX(101%); }
@media (prefers-reduced-motion: reduce) { .s-btn-pri::after { display: none; } }

/* ------------------------------------------------------- sequence progress */

.sequence { position: relative; }
.seq-i { transition: opacity .3s ease; }
.seq-i .seq-k { position: relative; }
.seq-i.active .seq-k::before {
	content: ""; position: absolute; left: -14px; top: 4px; bottom: -22px; width: 2px;
	background: var(--accent); border-radius: 2px;
}
@media (max-width: 860px) { .seq-i.active .seq-k::before { display: none; } }

/* --------------------------------------------------------------- draw on */

.art path.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.art.drawn path.draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s ease; }
@media (prefers-reduced-motion: reduce) {
	.art path.draw { stroke-dashoffset: 0; }
	.art.drawn path.draw { transition: none; }
}

/* --------------------------------------------------------------- new bits */

.priceswitch {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
	font-size: 14.5px; color: var(--fg-muted);
}
.priceswitch input { width: 42px; height: 24px; appearance: none; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s ease; }
.priceswitch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.priceswitch input:checked { background: var(--brand); }
.priceswitch input:checked::after { transform: translateX(18px); }
.priceswitch input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.plan.free { border-style: dashed; }
.plan-price small { display: block; font-size: 13px; font-weight: 500; color: var(--fg-faint); letter-spacing: 0; margin-top: 6px; }

.steps li { transition: background .2s ease; border-radius: 10px; }
.steps li:hover { background: var(--card); }

.kbd {
	font-family: var(--mono); font-size: 12.5px; padding: 2px 7px; border-radius: 6px;
	border: 1px solid var(--line); background: var(--card); color: var(--fg-muted);
}

.callout-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.callout {
	border-left: 3px solid var(--accent); padding: 12px 0 12px 16px;
	font-size: 15px; color: var(--fg-muted);
}
.callout strong { color: var(--fg); display: block; margin-bottom: 3px; }

.lead-in { font-size: 19px; color: var(--fg); max-width: 60ch; margin-bottom: 18px; }

/* Wider tables get a fade at the edge so it is obvious they scroll. */
.t-wrap { position: relative; }
.t-wrap::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34px; pointer-events: none;
	background-image: linear-gradient(90deg, transparent, var(--card));
	background-color: transparent;
	opacity: 0; transition: opacity .2s ease;
}
.t-wrap.scrollable::after { opacity: 1; }
