/* Bundled fonts (SIL Open Font License, licenses in /fonts). No outside font service.
   Nunito Sans (variable, 200-1000) stands in for the brand's Avenir Next; IBM Plex Mono sets figures and code. */
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-sans-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/*
 * nemoworks.dev, in the NemoWorks Sync brand: Midnight Navy, Electric Blue, Bright Cyan, Violet, Soft White.
 * Plain CSS (no script anywhere on the site), concatenated with fonts.css by build.mjs.
 *
 * Color: tokens switch with the visitor's light/dark preference on :root. Brand moments (header, heroes,
 * the sync band, the closing band, the footer) carry .dark and stay navy in both, with the dark tokens
 * set on them directly, so they work in every browser that knows custom properties.
 */

/* ---------- Tokens ---------- */
:root {
	color-scheme: light dark;
	--navy: #0b1220;
	--blue: #1677ff;
	--cyan: #22d3ee;
	--violet: #7047eb;
	--violet-l: #8f70ef;
	--white: #f8fafc;
	--grad: linear-gradient(100deg, var(--cyan), var(--blue) 48%, var(--violet-l));
	/* Button fill: darker ends than the logo so white text keeps 4.5:1 or better. */
	--grad-btn: linear-gradient(100deg, #1064f5, #6a42e6);

	--bg: #f8fafc;
	--bg-alt: #eef2f8;
	--surface: #fff;
	--surface-2: #f1f5f9;
	--text: #0b1220;
	--text-2: #334155;
	--muted: #526077;
	--line: #dde3ec;
	--line-strong: #b4bfcf;
	--link: #0b5bd3;
	--focus: #0b5bd3;
	--ok: #0d7a48;
	--check: #1064f5;
	--glow: rgb(22 119 255 / 0.1);
	--shadow: 0 1px 2px rgb(11 18 32 / 0.06), 0 8px 24px -8px rgb(11 18 32 / 0.12);

	--radius: 14px;
	--radius-s: 9px;
	--measure: 68ch;
	--page: 74rem;
	--gutter: clamp(1rem, 0.4rem + 3vw, 2.5rem);
	--header-h: 4.25rem;
	--ease-out: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0b1220;
		--bg-alt: #0e1729;
		--surface: rgb(255 255 255 / 0.035);
		--surface-2: rgb(255 255 255 / 0.06);
		--text: #f8fafc;
		--text-2: #cbd5e1;
		--muted: #94a3b8;
		--line: rgb(148 163 184 / 0.16);
		--line-strong: rgb(148 163 184 / 0.34);
		--link: #7cb8ff;
		--focus: #67e8f9;
		--ok: #4ade80;
		--check: #22d3ee;
		--glow: rgb(22 119 255 / 0.22);
		--shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 12px 32px -12px rgb(0 0 0 / 0.6);
	}
}
/* Always-navy surfaces. Inherited colors are set again here so they follow the dark tokens. */
.dark {
	color-scheme: dark;
	--bg: #0b1220;
	--bg-alt: #0e1729;
	--surface: rgb(255 255 255 / 0.035);
	--surface-2: rgb(255 255 255 / 0.06);
	--text: #f8fafc;
	--text-2: #cbd5e1;
	--muted: #94a3b8;
	--line: rgb(148 163 184 / 0.16);
	--line-strong: rgb(148 163 184 / 0.34);
	--link: #7cb8ff;
	--focus: #67e8f9;
	--ok: #4ade80;
	--check: #22d3ee;
	--glow: rgb(22 119 255 / 0.22);
	--shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 12px 32px -12px rgb(0 0 0 / 0.6);
	background-color: var(--bg);
	color: var(--text);
	accent-color: var(--blue);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	accent-color: var(--blue);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-block-start: calc(var(--header-h) + 1rem);
	scrollbar-color: var(--line-strong) transparent;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Nunito Sans", "Avenir Next", Avenir, system-ui, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	font-size-adjust: from-font;
	font-optical-sizing: auto;
	display: flex;
	flex-direction: column;
	min-block-size: 100dvh;
	-webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, h2, h3 {
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
	margin-block: 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p, li, dd, figcaption { text-wrap: pretty; }
p { margin-block: 0 1em; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
img, svg { max-inline-size: 100%; block-size: auto; }
code, kbd, .num {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.9em;
}
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 0.05em 0.35em; overflow-wrap: anywhere; }
strong, b { font-weight: 750; }
hr { border: 0; border-block-start: 1px solid var(--line); margin-block: 2rem; }
::selection { background: rgb(34 211 238 / 0.32); }

.wrap { inline-size: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
.vh {
	position: absolute !important;
	inline-size: 1px; block-size: 1px;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
	position: absolute; inset-inline-start: 1rem; inset-block-start: -10rem; z-index: 30;
	background: var(--white); color: var(--navy); padding: 0.6rem 1rem; border-radius: var(--radius-s); font-weight: 700;
}
.skip:focus { inset-block-start: 1rem; }
.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	/* The gradient is decoration; in forced colors the text keeps the system color. */
	@media (forced-colors: active) { background: none; color: CanvasText; }
}
.eyebrow {
	display: inline-flex; align-items: center; gap: 0.55rem;
	font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--muted); margin-block: 0 1rem;
}
.eyebrow::before { content: ""; inline-size: 1.75rem; block-size: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Header: sticky, compact; the menu is a native popover when the links do not fit ---------- */
.site-header {
	position: sticky; inset-block-start: 0; z-index: 20;
	container: site-header / scroll-state;
	background: rgb(11 18 32 / 0.78);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
}
.site-header .bar {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	min-block-size: var(--header-h);
	border-block-end: 1px solid transparent;
	transition: border-color 0.3s;
}
/* Where scroll-state queries exist, the hairline appears only once the header is stuck over content. */
.site-header .bar { border-block-end-color: var(--line); }
@supports (container-type: scroll-state) {
	.site-header .bar { border-block-end-color: transparent; }
	@container site-header scroll-state(stuck: top) {
		.bar { border-block-end-color: var(--line); }
	}
}
.brand {
	display: inline-flex; align-items: center; gap: 0.6rem;
	color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
}
.brand img { inline-size: 1.85rem; block-size: auto; }
.menu-btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	min-block-size: 2.75rem; padding: 0.4rem 0.9rem;
	font: inherit; font-weight: 700; color: var(--text);
	background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
	anchor-name: --menu-btn;
}
.menu-btn:hover { border-color: var(--line-strong); }
.menu-icon { inline-size: 1rem; block-size: 0.7rem; position: relative; border-block: 2px solid currentColor; }
.menu-icon::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: calc(50% - 1px); block-size: 2px; background: currentColor; }
.site-menu {
	list-style: none; margin: 0; padding: 0.5rem;
	position: fixed; inset: auto;
	inset-block-start: calc(var(--header-h) - 0.25rem);
	inset-block-start: anchor(--menu-btn bottom);
	inset-inline-end: var(--gutter);
	margin-block-start: 0.5rem;
	inline-size: min(80dvw, 18rem);
	max-block-size: calc(100dvh - 6rem); overflow: auto;
	background: #101a2e; color: var(--text);
	border: 1px solid var(--line-strong); border-radius: var(--radius);
	box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.7);
}
.site-menu a {
	display: block; padding: 0.7rem 0.9rem; border-radius: var(--radius-s);
	color: var(--text-2); text-decoration: none; font-weight: 700;
}
.site-menu a:hover { background: var(--surface-2); color: var(--text); }
.site-menu a[aria-current] { color: var(--text); background: var(--surface-2); box-shadow: inset 3px 0 0 var(--cyan); }
.site-menu .menu-cta a { margin-block-start: 0.35rem; text-align: center; color: #fff; background: var(--grad-btn); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) and (width < 68rem) {
	.site-menu {
		transition: opacity 0.18s, translate 0.18s var(--ease-out), display 0.18s, overlay 0.18s;
		transition-behavior: allow-discrete;
		@starting-style { opacity: 0; translate: 0 -0.5rem; }
	}
	.site-menu:not(:popover-open) { opacity: 0; translate: 0 -0.5rem; }
}
/* Wide: the same list sits inline in the bar and the menu button goes away. A fixed breakpoint stands in
   for the navbar guide's measuring script, because this site sends no JavaScript (its CSP allows none). */
@media (width >= 68rem) {
	.menu-btn { display: none; }
	.site-menu {
		display: flex; align-items: center; gap: 0.25rem;
		position: static; inline-size: auto; max-block-size: none; overflow: visible;
		margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none;
		opacity: 1; translate: none;
	}
	.site-menu a { padding: 0.5rem 0.8rem; font-size: 0.975rem; }
	.site-menu a[aria-current] { background: transparent; box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
	.site-menu .menu-cta { margin-inline-start: 0.6rem; }
	.site-menu .menu-cta a { margin: 0; padding-inline: 1.05rem; border-radius: 999px; }
}

/* ---------- Buttons ---------- */
.btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-block-size: 3rem; padding: 0.6rem 1.35rem;
	border: 1px solid transparent; border-radius: 999px;
	background: var(--grad-btn); color: #fff;
	font: inherit; font-weight: 800; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
	box-shadow: 0 8px 24px -10px rgb(22 119 255 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.18);
	transition: box-shadow 0.25s, translate 0.25s var(--ease-out), filter 0.25s;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 12px 32px -10px rgb(112 71 235 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.22); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { translate: 0 -1px; } }
.btn .arrow { transition: translate 0.25s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { .btn:hover .arrow { translate: 3px 0; } }
.btn-quiet {
	background: var(--surface-2); color: var(--text); border-color: var(--line-strong); box-shadow: none;
}
.btn-quiet:hover { background: var(--surface); border-color: var(--text-2); box-shadow: none; filter: none; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-inline-size: 46rem; margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-2); font-size: 1.125rem; margin: 0; }
.small { font-size: 0.9rem; color: var(--muted); }
.intro { color: var(--text-2); max-inline-size: var(--measure); }

/* Scroll reveal: a gentle rise as each block enters view. Scroll-driven, so nothing moves unless the
   visitor scrolls; without support (or with reduced motion) everything is simply there. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.reveal {
			animation: reveal linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 45%;
		}
	}
}
@keyframes reveal { from { opacity: 0; translate: 0 2rem; } }

/* ---------- Hero (shared) ---------- */
.hero {
	position: relative; isolation: isolate; overflow: clip;
	padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
	margin-block-start: calc(-1 * var(--header-h));
	padding-block-start: calc(var(--header-h) + clamp(3rem, 1.5rem + 6vw, 7rem));
}
/* Glows and a fading grid behind the hero (pure gradients: nothing to download). */
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(60% 70% at 18% 8%, rgb(22 119 255 / 0.30), transparent 70%),
		radial-gradient(50% 60% at 88% 78%, rgb(112 71 235 / 0.30), transparent 70%),
		radial-gradient(35% 40% at 70% 20%, rgb(34 211 238 / 0.12), transparent 70%);
	mask-image: linear-gradient(#000 65%, transparent);
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(rgb(148 163 184 / 0.07) 1px, transparent 0) 0 0 / 100% 3.5rem,
		linear-gradient(90deg, rgb(148 163 184 / 0.07) 1px, transparent 0) 0 0 / 3.5rem 100%;
	mask-image: radial-gradient(70% 65% at 50% 35%, #000 25%, transparent 80%);
}
.hero .lede { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); color: var(--text-2); max-inline-size: 40ch; margin-block-end: 2rem; }
.hero h1 { max-inline-size: 16ch; }
.trust { margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.925rem; color: var(--muted); list-style: none; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust li::before { content: ""; inline-size: 0.45rem; block-size: 0.45rem; border-radius: 50%; background: var(--grad); }
/* Decorative motion lines, like the brand banners. */
.hero-lines { position: absolute; inset: auto 0 0 auto; inline-size: min(70rem, 120%); z-index: -1; opacity: 0.55; pointer-events: none; }
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.hero-lines { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
	}
}
@keyframes drift { to { translate: -4rem 2rem; opacity: 0.2; } }

.hero-app { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (width >= 56rem) { .hero-app { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }
.hero-logo { position: relative; display: grid; place-items: center; justify-self: center; }
.hero-logo::before {
	content: ""; position: absolute; inset: -18%; z-index: -1; border-radius: 50%;
	background: radial-gradient(closest-side, rgb(22 119 255 / 0.45), rgb(112 71 235 / 0.22) 55%, transparent);
	filter: blur(10px);
}
.hero-logo::after {
	content: ""; position: absolute; inset: -9%; z-index: -1; border-radius: 30%;
	border: 1px solid rgb(148 163 184 / 0.18);
	box-shadow: 0 0 0 2.25rem rgb(148 163 184 / 0.03), 0 0 0 4.5rem rgb(148 163 184 / 0.025);
}
@media (width < 56rem) { .hero-logo { display: none; } }

/* ---------- The animated logo (product hero) ---------- */
.logo-anim { inline-size: clamp(11rem, 6rem + 12vw, 17rem); block-size: auto; border-radius: 17.2%; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.06); }
/* The N arrives, each arrow glides in along its path, a light sweeps the ribbon (about 3 s, once).
   Hovering replays the sync. Static unless the visitor allows motion; every animation ends in the static pose. */
.logo-anim .la-n { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
	.logo-anim .la-n { animation: la-n-in .7s var(--ease-out) both; }
	.logo-anim .la-fw { animation: la-fw-in .8s .55s var(--ease-out) both; }
	.logo-anim .la-rv { animation: la-rv-in .8s .8s var(--ease-out) both; }
	.logo-anim .la-sweep { animation: la-sweep 1.1s 1.5s ease-in-out both; }
	.logo-anim:hover .la-fw2 { animation: la-fw-shuttle .9s ease-in-out; }
	.logo-anim:hover .la-rv2 { animation: la-rv-shuttle .9s .12s ease-in-out; }
	.logo-anim:hover .la-sweep2 { animation: la-sweep 1s ease-in-out; }
}
@keyframes la-n-in { from { opacity: 0; transform: scale(.9); } }
@keyframes la-fw-in { from { opacity: 0; transform: translate(-16px, -4px); } }
@keyframes la-rv-in { from { opacity: 0; transform: translate(16px, 4px); } }
@keyframes la-sweep { from { transform: translateX(0); } to { transform: translateX(200px); } }
@keyframes la-fw-shuttle { 50% { transform: translateX(5px); } }
@keyframes la-rv-shuttle { 50% { transform: translateX(-5px); } }

/* ---------- Glass cards with a hairline gradient edge ---------- */
.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	box-shadow: var(--shadow);
}
.card-glow {
	border-color: transparent;
	background:
		linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
		linear-gradient(135deg, rgb(34 211 238 / 0.55), rgb(22 119 255 / 0.25) 40%, rgb(112 71 235 / 0.55)) border-box;
}
.card h3 { margin-block-end: 0.4rem; }
.card p { color: var(--text-2); margin-block-end: 0; }
.icon-tile {
	display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; margin-block-end: 1.1rem;
	border-radius: 12px; color: #fff; background: var(--grad-btn);
	box-shadow: 0 10px 24px -10px rgb(22 119 255 / 0.8);
}
.icon-tile svg { inline-size: 1.35rem; block-size: 1.35rem; }

.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

/* ---------- Sync demo: one order, one invoice ---------- */
.sync-band { position: relative; isolation: isolate; overflow: clip; }
.sync-band::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(45% 60% at 50% 55%, rgb(22 119 255 / 0.18), transparent 70%);
}
.sync-demo {
	display: grid; gap: 1.25rem; align-items: center;
	grid-template-columns: 1fr;
	max-inline-size: 64rem; margin-inline: auto;
}
@media (width >= 50rem) { .sync-demo { grid-template-columns: 1fr auto 1fr; gap: 1.5rem; } }
.doc {
	margin: 0; padding: 1.35rem 1.4rem 1.2rem;
	background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.025));
	border: 1px solid var(--line-strong); border-radius: var(--radius);
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.doc table { inline-size: 100%; border-collapse: collapse; font-size: 0.95rem; }
.doc caption { text-align: start; padding-block-end: 0.9rem; }
.doc .src { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.doc .ref { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.doc th, .doc td { padding: 0.45rem 0; border-block-start: 1px solid var(--line); text-align: start; font-weight: 500; color: var(--text-2); }
.doc td { text-align: end; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; color: var(--text); }
.doc tfoot th, .doc tfoot td { border-block-start: 1px solid var(--line-strong); padding-block-start: 0.7rem; color: var(--text); font-weight: 800; font-size: 1.05rem; }
.doc-invoice { position: relative; }
.stamp {
	position: absolute; inset-block-start: 1.1rem; inset-inline-end: 1.1rem;
	display: inline-flex; align-items: center; gap: 0.35rem;
	padding: 0.25rem 0.65rem; border-radius: 999px;
	font-size: 0.8rem; font-weight: 800; color: #062e1a; background: #4ade80;
	box-shadow: 0 0 0 4px rgb(74 222 128 / 0.15), 0 8px 20px -8px rgb(74 222 128 / 0.7);
}
.sync-link { display: grid; justify-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.8rem; font-weight: 700; text-align: center; }
.sync-link svg { inline-size: 4.5rem; block-size: auto; }
@media (width < 50rem) { .sync-link svg { rotate: 90deg; inline-size: 3.25rem; } }
.log-line {
	margin: 2.25rem auto 0; inline-size: fit-content; max-inline-size: 100%;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.9rem;
	padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
	font-size: 0.925rem; color: var(--muted);
}
.log-line code { background: none; border: 0; padding: 0; color: var(--ok); font-size: 0.9rem; }
/* Played once as the band comes into view: the order, then the invoice lines, then the stamp. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.sync-demo .doc-order { animation: slide-l linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
		.sync-demo .doc-invoice { animation: slide-r linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
		.sync-demo .stamp { animation: pop linear both; animation-timeline: view(); animation-range: cover 25% cover 38%; }
		.sync-link .flow-a { animation: flow linear both; animation-timeline: view(); animation-range: entry 20% cover 35%; }
	}
}
@keyframes slide-l { from { opacity: 0; translate: -2.5rem 0; } }
@keyframes slide-r { from { opacity: 0; translate: 2.5rem 0; } }
@keyframes pop { from { opacity: 0; scale: 0.6; } }
@keyframes flow { from { stroke-dashoffset: 90; } }

/* ---------- Feature lists ---------- */
.feature-cols { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.checks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checks li { position: relative; padding-inline-start: 1.9rem; color: var(--text-2); }
.checks li::before {
	content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.3em;
	inline-size: 1.15rem; block-size: 1.15rem; border-radius: 50%;
	background: rgb(34 211 238 / 0.14);
	box-shadow: inset 0 0 0 1px rgb(34 211 238 / 0.45);
}
.checks li::after {
	content: ""; position: absolute; inset-inline-start: 0.4rem; inset-block-start: calc(0.3em + 0.27rem);
	inline-size: 0.32rem; block-size: 0.55rem; border: solid var(--check); border-width: 0 2px 2px 0; rotate: 40deg;
}
.badge {
	display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; vertical-align: 0.2em;
	font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	color: #fff; background: var(--grad-btn);
}

/* ---------- Screens ---------- */
.frame {
	margin: 0; border-radius: var(--radius); overflow: clip;
	border: 1px solid var(--line-strong); background: var(--surface);
	box-shadow: 0 40px 80px -40px rgb(11 18 32 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.03);
}
.frame-bar { display: flex; gap: 0.4rem; padding: 0.7rem 0.9rem; background: var(--surface-2); border-block-end: 1px solid var(--line); }
.frame-bar span { inline-size: 0.65rem; block-size: 0.65rem; border-radius: 50%; background: var(--line-strong); }
.frame img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 10; }
.shot-main { position: relative; }
.shot-main::before {
	content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 50%;
	background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px);
}
.shots { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); margin-block-start: 2rem; }
.shots figure, .shot-main { margin: 0; }
.shot-cap { color: var(--text-2); font-size: 0.95rem; margin-block-start: 0.75rem; }
.shot-cap b { color: var(--text); }
.shots a, .shot-main a { display: block; border-radius: var(--radius); }
@media (prefers-reduced-motion: no-preference) {
	.shots .frame { transition: translate 0.35s var(--ease-out), box-shadow 0.35s; }
	.shots a:hover .frame { translate: 0 -4px; box-shadow: 0 40px 80px -36px rgb(22 119 255 / 0.45); }
}

/* ---------- Steps: a numbered timeline ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; position: relative; }
@media (width >= 60rem) {
	.steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
	.steps::before {
		/* From the first number's center to the last one's: five equal columns, 1.5rem gaps. */
		content: ""; position: absolute; inset-block-start: 1.4rem; block-size: 2px;
		inset-inline: 1.4rem calc((100% - 6rem) / 5 - 1.4rem);
		background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet-l)); opacity: 0.55;
	}
}
.steps li { counter-increment: step; position: relative; color: var(--text-2); }
.steps li::before {
	content: counter(step); display: grid; place-items: center; position: relative;
	inline-size: 2.8rem; block-size: 2.8rem; margin-block-end: 1rem; border-radius: 50%;
	font-weight: 900; color: #fff; background: var(--grad-btn);
	box-shadow: 0 0 0 6px var(--bg-alt), 0 10px 24px -8px rgb(22 119 255 / 0.8);
}
.steps strong { display: block; color: var(--text); font-size: 1.1rem; margin-block-end: 0.2rem; }
.aside-note { margin: 2.5rem 0 0; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }

/* ---------- Pricing ---------- */
.cycle {
	border: 0; margin: 0 auto 2.25rem; padding: 0.3rem;
	display: flex; inline-size: fit-content; gap: 0.25rem;
	background: var(--surface-2); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
}
.cycle label {
	position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
	min-block-size: 2.75rem; padding: 0.4rem 1.2rem; border-radius: 999px; cursor: pointer;
	font-weight: 800; color: var(--muted); transition: color 0.2s, background-color 0.2s;
}
.cycle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cycle label:has(:checked) { color: #fff; background: var(--grad-btn); box-shadow: 0 8px 20px -10px rgb(22 119 255 / 0.9); }
.cycle label:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.cycle .save { font-size: 0.78rem; font-weight: 800; padding: 0.1rem 0.5rem; border-radius: 999px; background: rgb(74 222 128 / 0.16); color: var(--ok); }
.cycle label:has(:checked) .save { background: rgb(255 255 255 / 0.2); color: #fff; }

.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); align-items: stretch; }
@media (width >= 40rem) and (width < 64rem) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan {
	display: flex; flex-direction: column; gap: 0.35rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--shadow);
	transition: border-color 0.25s, translate 0.3s var(--ease-out);
}
.plan:hover { border-color: var(--line-strong); }
@media (prefers-reduced-motion: no-preference) { .plan:hover { translate: 0 -3px; } }
.plan h3 { margin: 0; font-size: 1.3rem; }
.plan .orders { color: var(--text-2); margin: 0 0 0.6rem; min-block-size: 3.2em; }
.plan .price { margin: 0; display: flex; align-items: baseline; gap: 0.35rem; }
.plan .price b { font-size: 2.9rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-size: 0.95rem; }
.plan .billed { margin: 0.2rem 0 0; font-size: 0.875rem; color: var(--muted); min-block-size: 1.5em; }
.plan ul { margin: 1rem 0 1.25rem; }
.plan .btn { margin-block-start: auto; inline-size: 100%; }
.plan-top {
	border-color: transparent;
	background:
		linear-gradient(var(--plan-bg, var(--bg-alt)), var(--plan-bg, var(--bg-alt))) padding-box,
		linear-gradient(160deg, var(--cyan), var(--blue) 45%, var(--violet-l)) border-box;
	box-shadow: 0 30px 60px -30px rgb(22 119 255 / 0.55);
}
.free-plan {
	margin-block-start: 1.25rem; display: grid; gap: 0.5rem 2rem; align-items: center;
	padding: 1.4rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface);
}
@media (width >= 50rem) { .free-plan { grid-template-columns: 14rem 1fr; } }
.free-plan h3 { margin: 0; }
.free-plan p { margin: 0; color: var(--text-2); }
/* Yearly is checked by default; monthly prices show only when Monthly is picked (no script needed). */
.m { display: none; }
.pricing:has(input[value="monthly"]:checked) .m { display: revert; }
.pricing:has(input[value="monthly"]:checked) .y { display: none; }
.plan .price.m { display: none; }
.pricing:has(input[value="monthly"]:checked) .plan .price.m { display: flex; }
.plan .btn.m { display: none; }
.pricing:has(input[value="monthly"]:checked) .plan .btn.m { display: inline-flex; }
.fine { margin: 1.75rem auto 0; max-inline-size: 60rem; text-align: center; font-size: 0.9rem; color: var(--muted); }

/* ---------- Comparison table (stacks into cards when narrow) ---------- */
.table-wrap { overflow: auto; max-inline-size: 100%; container-type: inline-size; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: separate; border-spacing: 0; inline-size: 100%; font-size: 1rem; }
table.compare caption { text-align: start; padding: 1.1rem 1.25rem 0.6rem; font-weight: 800; }
table.compare th, table.compare td { padding: 0.8rem 1.25rem; border-block-start: 1px solid var(--line); text-align: start; vertical-align: top; }
table.compare thead th { background: var(--surface-2); font-weight: 800; text-wrap: balance; }
table.compare tbody th { font-weight: 500; color: var(--text); }
table.compare td { inline-size: 11rem; }
.yes { color: var(--ok); font-weight: 750; }
.yes::before { content: "✓ "; }
.no { color: var(--muted); }
.no::before { content: "– "; }
@container (width < 34rem) {
	table.compare, table.compare caption, table.compare thead, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; }
	table.compare thead { display: none; }
	table.compare tbody tr { border-block-start: 1px solid var(--line); padding-block: 0.6rem; }
	table.compare tbody th { border: 0; font-weight: 800; padding-block-end: 0.25rem; }
	table.compare td { border: 0; inline-size: auto; padding-block: 0.1rem; }
	table.compare td:nth-of-type(1)::before { content: "Free: "; color: var(--muted); }
	table.compare td:nth-of-type(2)::before { content: "Paid plans: "; color: var(--muted); }
}

/* ---------- FAQ: details with the marker beside the label and an animated open ---------- */
.faq { max-inline-size: 52rem; margin-inline: auto; }
.faq details { border-block-end: 1px solid var(--line); }
.faq details:first-of-type { border-block-start: 1px solid var(--line); }
.faq summary {
	list-style: none; display: flex; align-items: center; gap: 0.9rem;
	padding-block: 1.2rem; cursor: pointer; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
	content: ""; flex: none; inline-size: 0.6rem; block-size: 0.6rem;
	border: solid var(--check); border-width: 0 2.5px 2.5px 0;
	rotate: -45deg; translate: 0 0;
}
.faq summary:dir(rtl)::before { rotate: 135deg; }
.faq details[open] > summary::before { rotate: 45deg; translate: 0 -0.15rem; }
.faq summary:hover { color: var(--link); }
.faq details > p { margin: 0 0 1.3rem 1.5rem; color: var(--text-2); }
.faq details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.faq details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
	.faq summary::before { transition: rotate 0.2s, translate 0.2s; }
	.faq details::details-content {
		transition: block-size, content-visibility, display;
		transition-duration: 0.3s;
		transition-timing-function: ease-in-out;
		transition-behavior: allow-discrete;
	}
}

/* ---------- Closing band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: clip; text-align: center; }
.cta-band::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(50% 80% at 50% 120%, rgb(112 71 235 / 0.45), transparent 70%),
		radial-gradient(40% 60% at 15% 0%, rgb(22 119 255 / 0.3), transparent 70%);
}
.cta-band h2 { max-inline-size: 20ch; margin-inline: auto; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.cta-band p { color: var(--text-2); max-inline-size: 46ch; margin-inline: auto; font-size: 1.15rem; }
.cta-band .btns { justify-content: center; margin-block-start: 2rem; }
.cta-band .cta-mark { inline-size: 4rem; margin-block-end: 1.5rem; filter: drop-shadow(0 12px 24px rgb(22 119 255 / 0.5)); }

/* ---------- Home page ---------- */
.home-hero { text-align: center; }
.home-hero h1 { max-inline-size: 18ch; margin-inline: auto; }
.home-hero .lede { margin-inline: auto; }
.home-hero .eyebrow { justify-content: center; }
.home-hero .btns { justify-content: center; }
.app-feature {
	display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center;
	padding: clamp(1.5rem, 1rem + 3vw, 3rem);
	border-radius: calc(var(--radius) + 8px);
}
@media (width >= 52rem) { .app-feature { grid-template-columns: auto 1fr auto; } }
.app-feature > img { inline-size: clamp(6rem, 4rem + 6vw, 9rem); border-radius: 17.2%; box-shadow: 0 24px 48px -20px rgb(22 119 255 / 0.7); }
.app-feature h2 { margin-block-end: 0.35rem; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.app-feature h2 a { color: var(--text); text-decoration: none; }
.app-feature h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.app-feature h2 a:focus-visible { outline: none; }
.app-feature:has(h2 a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.app-feature p { color: var(--text-2); margin: 0 0 0.6rem; max-inline-size: 52ch; }
.app-feature .tag { font-size: 0.875rem; color: var(--muted); margin: 0; }
.go {
	display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--text);
	padding: 0.7rem 1.2rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong);
	transition: background-color 0.25s, border-color 0.25s;
}
.app-feature:hover .go { background: var(--grad-btn); border-color: transparent; color: #fff; }
.soon-card { border-style: dashed; background: transparent; box-shadow: none; }

/* ---------- Docs ---------- */
.docs { display: grid; gap: 2.5rem; padding-block: 3rem 1rem; }
@media (width >= 56rem) { .docs { grid-template-columns: 15.5rem minmax(0, 1fr); } }
.docs-nav h2 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-block-end: 0.75rem; color: var(--muted); }
.docs-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.docs-nav a { display: block; padding: 0.45rem 0.75rem; border-radius: var(--radius-s); color: var(--text-2); text-decoration: none; font-weight: 600; }
.docs-nav a:hover { background: var(--surface-2); color: var(--text); }
.docs-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 3px 0 0 var(--blue); }
@media (width >= 56rem) { .docs-nav { position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); align-self: start; } }
/* Narrow screens: the guide list wraps as compact chips so the page starts sooner. */
@media (width < 56rem) {
	.docs { gap: 1.5rem; padding-block-start: 1.5rem; }
	.docs-nav ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
	.docs-nav a { padding: 0.35rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; }
	.docs-nav a[aria-current="page"] { border-color: var(--blue); box-shadow: none; }
}

.prose { max-inline-size: var(--measure); overflow-wrap: break-word; }
.prose h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); }
.prose h2 { margin-block-start: 2.5rem; font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem); }
.prose h3 { margin-block-start: 1.75rem; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li { margin-block-end: 0.4rem; }
.prose li::marker { color: var(--blue); }
.prose h2[id], .prose h3[id] { scroll-margin-block-start: calc(var(--header-h) + 1rem); }
.prose table { border-collapse: collapse; inline-size: 100%; margin-block: 1.25rem; font-size: 0.95rem; display: block; overflow-x: auto; }
/* Docs tables sit in a focusable scrolling frame (build.mjs scrollTables). */
.table-scroll { overflow-x: auto; margin-block: 1.25rem; }
.table-scroll:focus-visible { outline-offset: 2px; }
.prose .table-scroll > table { display: table; margin-block: 0; }
.prose th[align="right"], .prose td[align="right"] { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Empty cells are for writing in (the first-run check sheet). */
.prose td:empty { block-size: 2.4em; min-inline-size: 6em; }
@media print {
	.docs-nav { display: none; }
	.prose { max-inline-size: none; }
	.prose thead { display: table-header-group; }
	.prose tr { break-inside: avoid; }
}
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: start; vertical-align: top; }
.prose th { background: var(--surface-2); }
.prose blockquote { margin: 1.25rem 0; padding: 0.75rem 1.1rem; border-inline-start: 3px solid var(--blue); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.prose pre { overflow: auto; padding: 1rem; border-radius: var(--radius-s); background: var(--surface-2); border: 1px solid var(--line); }
.prose pre code { border: 0; background: none; padding: 0; }
.note {
	border: 1px solid rgb(22 119 255 / 0.3); background: rgb(22 119 255 / 0.07);
	padding: 0.9rem 1.15rem; border-radius: var(--radius-s); margin-block: 0 1.75rem; color: var(--text);
}
.draft { border-color: #b45309; background: color-mix(in oklab, #b45309, var(--bg) 88%); }
.page { padding-block: 3rem 1rem; }
.page .updated { color: var(--muted); font-size: 0.925rem; }

/* ---------- Footer ---------- */
.site-footer { margin-block-start: 0; padding-block: 3.5rem 2.5rem; border-block-start: 1px solid var(--line); font-size: 0.95rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.foot-brand { grid-column: 1 / -1; max-inline-size: 26rem; }
@media (width >= 50rem) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.foot-brand p { color: var(--muted); margin: 0.75rem 0 0; }
.site-footer h2 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-block-end: 0.85rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.foot-base { margin-block-start: 2.5rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.foot-base p { margin: 0; }

/* ---------- Page transitions between pages of the site ---------- */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	.site-header { view-transition-name: site-header; }
	::view-transition-old(root) { animation: 0.18s ease-in both vt-out; }
	::view-transition-new(root) { animation: 0.28s var(--ease-out) both vt-in; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 0.5rem; } }

/* ---------- Forced colors and print ---------- */
@media (forced-colors: active) {
	.site-menu a[aria-current], .docs-nav a[aria-current] { outline: 2px solid CanvasText; }
	.cycle label:has(:checked) { outline: 2px solid CanvasText; }
	.btn, .icon-tile, .steps li::before { border: 1px solid CanvasText; }
	.checks li::after { border-color: CanvasText; }
}
@media print {
	.site-header, .site-footer, .btns, .hero::before, .hero::after, .hero-lines { display: none; }
	.dark { color-scheme: light; background: none; color: #000; }
}

/* Docs grid items may shrink below their content (wide tables and code scroll inside their own frames). */
.docs > * { min-inline-size: 0; }
.prose pre { overflow-x: auto; }

/* ---------- Coming-soon cards (home page): the heading link covers the card (card guide) ---------- */
.soon-head { margin-block: 3rem 0.25rem; font-size: 1.15rem; }
.soon-store { margin-block: 1.25rem 0.75rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.soon-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.soon-card { position: relative; }
.soon-card header { display: grid; gap: 0.6rem; justify-items: start; margin-block-end: 0.5rem; }
.soon-card h3 { margin: 0 0 0.5rem; }
.soon-card h3 a { color: var(--text); text-decoration: none; }
.soon-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.soon-card h3 a:focus-visible { outline: none; }
.soon-card:has(h3 a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.soon-card:hover { border-color: var(--line-strong); }
.soon-card p { margin: 0; color: var(--text-2); }

/* Docs and plain pages (support, terms, privacy, 404) line up with the nav bar on both sides (owner 2026-11-12). */
.docs .prose, .wrap.prose { max-inline-size: none; }

/* ---------- Suite pages (2026-11-12) ---------- */
/* Cards whose heading link covers the whole card (card guide: link inside the heading, stretched). */
.link-card { position: relative; }
.link-card h3 { margin: 0.6rem 0 0.4rem; }
.link-card h3 a { color: var(--text); text-decoration: none; }
.link-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.link-card h3 a:focus-visible { outline: none; }
.link-card:has(h3 a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.link-card:hover { border-color: var(--line-strong); }
.link-card p { margin: 0; color: var(--text-2); }
.pair-card .amp { color: var(--muted); font-weight: 600; }
.badge-live { background: #15803d; color: #fff; }
.badge-soon { color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Hero pairing chips */
.chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.chips a:hover { border-color: var(--line-strong); }
.chips .state { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chips .live .state { color: var(--ok); }

/* "Works with" strip */
.wordmarks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.25rem; }
.wordmarks li { font-weight: 800; font-size: 1.05rem; color: var(--text-2); letter-spacing: -0.01em; }
.wordmarks small { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-inline-start: 0.35rem; }
.strip { padding-block: 2rem; border-block: 1px solid var(--line); }
.strip h2 { text-align: center; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-block-end: 1rem; }

/* Feature rows: screenshot beside text, alternating */
.feature-row { display: grid; gap: 2rem 3.5rem; align-items: center; }
.feature-row + .feature-row { margin-block-start: clamp(3rem, 2rem + 4vw, 5.5rem); }
@media (width >= 56rem) {
	.feature-row { grid-template-columns: 1fr 1.15fr; }
	.feature-row.flip > :first-child { order: 2; }
}
.feature-row h3 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); margin-block-end: 0.75rem; text-wrap: balance; }
.feature-row p { color: var(--text-2); }
.feature-row .frame { margin: 0; }

/* Pricing picker (radio groups; :has() shows the panel for the chosen pair) */
.picks { display: flex; flex-wrap: wrap; align-items: end; justify-content: center; gap: 1rem 1.25rem; margin-block-end: 2.25rem; }
.pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pick legend { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-block-end: 0.45rem; padding: 0; }
.pick label { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; }
.pick label:has(:checked) { border-color: var(--blue); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--blue); }
.pick label:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.pick input { accent-color: var(--blue); margin: 0; }
.pick-plus { font-size: 1.5rem; font-weight: 800; color: var(--muted); padding-block-end: 0.45rem; }
.pick-panel { display: none; }
.soon-panel { max-inline-size: 40rem; margin-inline: auto; text-align: center; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.soon-panel h3 { margin: 0.75rem 0 0.5rem; font-size: 1.5rem; }
.soon-panel p { color: var(--text-2); }
.soon-panel .btns { justify-content: center; }
.picker:has([name="store"][value="woocommerce"]:checked):has([name="books"][value="quickbooks-desktop"]:checked) [data-store="woocommerce"][data-books="quickbooks-desktop"],
.picker:has([name="store"][value="woocommerce"]:checked):has([name="books"][value="quickbooks-online"]:checked) [data-store="woocommerce"][data-books="quickbooks-online"],
.picker:has([name="store"][value="woocommerce"]:checked):has([name="books"][value="xero"]:checked) [data-store="woocommerce"][data-books="xero"],
.picker:has([name="store"][value="shopify"]:checked):has([name="books"][value="quickbooks-desktop"]:checked) [data-store="shopify"][data-books="quickbooks-desktop"],
.picker:has([name="store"][value="shopify"]:checked):has([name="books"][value="quickbooks-online"]:checked) [data-store="shopify"][data-books="quickbooks-online"],
.picker:has([name="store"][value="shopify"]:checked):has([name="books"][value="xero"]:checked) [data-store="shopify"][data-books="xero"] { display: block; }
@supports not selector(:has(*)) { .live-panel { display: block; } }

/* Comparison table group rows and coming-soon cells */
table.compare tbody tr.group th { background: var(--surface-2); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.later { color: var(--muted); font-weight: 700; font-size: 0.85rem; }

/* Demo tour */
.tour { list-style: none; margin: 0; padding: 0; counter-reset: tour; }
.tour > li { counter-increment: tour; }
.tour h3::before { content: counter(tour) "  "; color: var(--blue); }

/* FAQ groups */
.faq-group + .faq-group { margin-block-start: 3rem; }
.faq-group > h2 { font-size: 1.35rem; margin-block-end: 0.5rem; }

/* Footer: four columns */
@media (width >= 50rem) { .foot-grid-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-status { margin-block-start: 1rem; }
.foot-status a { display: inline-flex; align-items: center; gap: 0.5rem; }
.foot-status .dot { inline-size: 0.55rem; block-size: 0.55rem; border-radius: 50%; background: var(--ok); }
.foot-base a { color: inherit; }
.home-hero .chips { justify-content: center; }

/* ---------- Blog ---------- */
.post-card .post-meta { margin: 0 0 0.25rem; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.post-head { padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.post-head h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); max-inline-size: 22em; text-wrap: balance; margin-block: 0.5rem 0.75rem; }
.post-head .eyebrow a { color: inherit; }
.post-head .post-meta { color: var(--muted); margin: 0; }
.post-body { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) 4rem; }
.post-back { margin-block-start: 2.5rem; font-weight: 700; }

/* Two-column description tables (QuickBooks hub, integrations): the answer gets the room, not a fixed narrow column. */
table.compare.two-col td { inline-size: auto; }
table.compare.two-col tbody th, table.compare.two-col thead th:first-child { inline-size: 40%; }

/* ---------- Structure after MyWorks (2026-11-12), our brand ---------- */
/* Split hero: text left, illustration right */
.hero-split .wrap { display: grid; gap: 2.5rem; align-items: center; text-align: start; }
@media (width >= 60rem) { .hero-split .wrap { grid-template-columns: 1.1fr 1fr; } }
.hero-split .btns, .hero-split .chips { justify-content: flex-start; }
.hero-split .lede { margin-inline: 0; }
.hero-split .eyebrow { justify-content: flex-start; }
.hero-art { position: relative; aspect-ratio: 1; inline-size: min(100%, 30rem); margin-inline: auto; display: grid; place-items: center; }
.hero-ring { position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed color-mix(in oklab, var(--blue) 55%, transparent); }
.hero-art-mark { inline-size: 42%; block-size: auto; border-radius: 22%; box-shadow: 0 30px 60px -24px rgb(22 119 255 / 0.75); }
.hero-pill { position: absolute; padding: 0.5rem 0.95rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); font-weight: 800; font-size: 0.95rem; white-space: nowrap; box-shadow: 0 12px 30px -16px rgb(0 0 0 / 0.6); }
.hero-pill small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-inline-start: 0.25rem; }
.hero-pill.is-live { border-color: var(--blue); }
.hero-pill.p1 { inset-block-start: 6%; inset-inline-start: 4%; }
.hero-pill.p2 { inset-block-start: 22%; inset-inline-end: 0; }
.hero-pill.p3 { inset-block-end: 22%; inset-inline-end: 2%; }
.hero-pill.p4 { inset-block-end: 6%; inset-inline-start: 10%; }
.hero-pill.p5 { inset-block-start: 46%; inset-inline-start: -2%; }
@media (width < 30rem) { .hero-pill { font-size: 0.8rem; padding: 0.35rem 0.7rem; } }

/* Full-width brand band (where MyWorks shows ratings and awards; ours states facts) */
.band { position: relative; isolation: isolate; color: #fff; background: linear-gradient(110deg, #1064f5, #6a42e6); padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
.band h2 { color: #fff; text-align: center; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-block-end: 1.5rem; text-wrap: balance; }
.band-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); text-align: center; }
.band-items b { display: block; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 900; letter-spacing: -0.02em; }
.band-items span { color: rgb(255 255 255 / 0.85); font-size: 0.95rem; }
.band .wordmarks li { color: #fff; }
.band .wordmarks small { color: rgb(255 255 255 / 0.8); }

/* Four feature cards beside a picture */
.quad { display: grid; gap: 2rem 3rem; align-items: center; }
@media (width >= 60rem) { .quad { grid-template-columns: 1.15fr 1fr; } }
.quad-cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.quad-cards .card h3 { margin-block: 0.75rem 0.4rem; }
.quad-cards .card p { margin: 0; color: var(--text-2); }

/* Rounded call-to-action card */
.cta-card { display: grid; gap: 2rem; align-items: center; padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); border-radius: calc(var(--radius) * 1.5); background: radial-gradient(120% 140% at 100% 0%, rgb(112 71 235 / 0.45), transparent 55%), radial-gradient(120% 140% at 0% 100%, rgb(34 211 238 / 0.25), transparent 55%), var(--navy, #0b1220); overflow: hidden; }
@media (width >= 50rem) { .cta-card { grid-template-columns: 1fr auto; } }
.cta-card h2 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.cta-card p { color: var(--text-2); max-inline-size: 36rem; }
.cta-card img { inline-size: clamp(7rem, 5rem + 8vw, 12rem); block-size: auto; border-radius: 22%; justify-self: center; box-shadow: 0 30px 60px -24px rgb(22 119 255 / 0.75); }

/* Section button (See all FAQs, Explore all features) */
.center-btn { display: flex; justify-content: center; margin-block-start: 2rem; }

/* Pricing hero highlights */
.highlights { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; color: var(--text-2); font-weight: 700; }
.highlights li::before { content: "✓"; color: var(--cyan, #22d3ee); margin-inline-end: 0.45rem; }

/* Plan comparison with a column per plan */
table.plan-compare td, table.plan-compare thead th { inline-size: auto; text-align: center; }
table.plan-compare tbody th { inline-size: 34%; }
table.plan-compare thead th { vertical-align: bottom; }
.pc-name { display: block; font-size: 1.05rem; }
.pc-price { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; }
.pc-sub { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.pc-orders { font-weight: 800; }
table.plan-compare td.span { color: var(--text-2); }
table.plan-compare td.yes::before { content: "✓"; }
table.plan-compare tfoot td { border-block-start: 1px solid var(--line); padding-block: 1rem; text-align: center; }
.btn-small { padding: 0.45rem 0.9rem; font-size: 0.9rem; min-block-size: 2.5rem; }

/* Demo window in the hero, and the walkthrough split */
.demo-window { position: relative; margin-block-start: 2.5rem; }
.demo-window .frame { margin: 0; }
.demo-window .demo-note { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; inline-size: min(90%, 24rem); text-align: center; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.7); }
.demo-window .demo-note h2 { font-size: 1.2rem; margin: 0.5rem 0 0.4rem; }
.demo-window .demo-note p { color: var(--text-2); margin: 0 0 1rem; font-size: 0.95rem; }
.split-video { display: grid; gap: 2rem 3rem; align-items: center; }
@media (width >= 56rem) { .split-video { grid-template-columns: 1fr 1.2fr; } }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(80% 120% at 30% 20%, rgb(22 119 255 / 0.35), transparent 60%), var(--navy, #0b1220); display: grid; place-items: center; text-align: center; color: #fff; }
.video-frame .play { inline-size: 4.5rem; block-size: 4.5rem; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.3); margin-inline: auto; }
.video-frame .play::before { content: ""; border-style: solid; border-width: 0.8rem 0 0.8rem 1.3rem; border-color: transparent transparent transparent #fff; margin-inline-start: 0.3rem; }
.video-frame p { margin: 0.9rem 0 0; font-weight: 700; }

/* Blog category buttons */
.cat-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-end: 2rem; }
.cat-pills a { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.cat-pills a:hover { border-color: var(--line-strong); }
.cat-pills a[aria-current] { background: var(--grad-btn); color: #fff; border-color: transparent; }

/* Success-stories teaser */
.soon-feature { text-align: center; padding: clamp(1.75rem, 1rem + 2vw, 2.5rem); }
.soon-feature p { color: var(--text-2); max-inline-size: 36rem; margin-inline: auto; }

/* ---------- Artwork ---------- */
.art { display: block; inline-size: 100%; block-size: auto; }
/* Square pictures sit on the same navy as the hero: fade their edges into it. */
.hero-img { inline-size: min(100%, 32rem); margin-inline: auto; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.cta-art { inline-size: clamp(10rem, 7rem + 10vw, 16rem); justify-self: center; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.post-cover { aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc(var(--radius) * 0.75); margin-block-end: 1rem; }
.post-hero { margin-block-start: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.post-hero .art { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; max-block-size: 34rem; }

/* ---------- Motion layer (2026-11-13). Motion guide: opt in with no-preference, compositor-only
   properties (opacity, translate, scale, rotate), nothing that runs by itself for more than ~2 s
   (scroll-driven effects move only while the visitor scrolls), and every element ends in its
   normal static state. ---------- */
@media (prefers-reduced-motion: no-preference) {
	/* Hero: copy and artwork rise in once on load. */
	.hero .wrap > div > *, .hero .wrap > .eyebrow, .hero .wrap > h1, .hero .wrap > .lede, .hero .wrap > .btns {
		animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
	}
	.hero h1 { animation-delay: 0.06s; }
	.hero .lede { animation-delay: 0.14s; }
	.hero .btns, .hero .highlights { animation-delay: 0.22s; }
	.hero-img { animation: art-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }

	/* Hover lift on cards and buttons (a short transition, not an animation). */
	.card, .plan, .pair-card, .post-card { transition: translate 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.25s; }
	.card:hover, .plan:hover { translate: 0 -3px; }
	.btn { transition: translate 0.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s, background-color 0.2s; }
	.btn:hover { translate: 0 -1px; filter: brightness(1.08); }

	@supports ((animation-timeline: view()) and (animation-range: entry)) {
		/* Blocks rise in as they enter the viewport; siblings cascade slightly. */
		.quad-cards > .card, .grid-3 > .card, .plans > .plan, .feature-row, .frame, .band-items > li,
		.soon-feature, .cta-card, .table-wrap, .faq details, .demo-window, .split-video > * {
			animation: rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
		}
		.grid-3 > .card:nth-child(3n+2), .quad-cards > .card:nth-child(2n), .plans > .plan:nth-child(2), .band-items > li:nth-child(2) { animation-range: entry 8% entry 78%; }
		.grid-3 > .card:nth-child(3n), .plans > .plan:nth-child(3), .band-items > li:nth-child(3) { animation-range: entry 16% entry 86%; }
		.plans > .plan:nth-child(4), .band-items > li:nth-child(4) { animation-range: entry 24% entry 94%; }
		.feature-row .frame { animation: frame-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
		.feature-row.flip .frame { animation-name: frame-in-flip; }
		.cta-art { animation: cta-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
	}
	@supports (animation-timeline: scroll()) {
		/* Hero artwork drifts up a little while the hero scrolls away. */
		.hero-img { animation: art-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both, art-drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 90vh; }
	}
	@supports ((animation-timeline: view()) and (animation-range: entry)) {
		/* The platform names in the brand band glide sideways as the band crosses the screen. */
		.band .wordmarks { animation: band-glide linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
	}
}
@keyframes hero-in { from { opacity: 0; translate: 0 1.25rem; } }
@keyframes art-in { from { opacity: 0; scale: 0.92; translate: 0 1.5rem; } }
@keyframes art-drift { to { translate: 0 -3rem; } }
@keyframes rise { from { opacity: 0; translate: 0 1.75rem; } }
@keyframes frame-in { from { opacity: 0; translate: 2.5rem 0; rotate: 1.5deg; } }
@keyframes frame-in-flip { from { opacity: 0; translate: -2.5rem 0; rotate: -1.5deg; } }
@keyframes cta-tilt { from { rotate: -8deg; scale: 0.9; } }
@keyframes band-glide { from { translate: 2rem 0; } to { translate: -2rem 0; } }

/* Elements sliding in from the side must never widen the page (clip, not hidden: no scroll container, sticky header unaffected). */
main { overflow-x: clip; }
