/* OLODESK public site -- hand-written replacement for the Carrd export's
   generated main.css (2026-09-28 revamp). Mobile-first: base rules target
   phones, min-width queries add room for tablets and desktop. Brand theme
   kept from the original: white canvas with the faint geometric line
   pattern, Poppins, orange #FF7A00, rounded 1rem cards. Shared by
   assets/support-form.css and assets/checkout-form.css via the tokens
   below. */

:root {
	--orange: #FF7A00;
	--orange-hover: #EB6F00;
	--orange-press: #D46400;
	--orange-ink: #B45309;          /* orange text on white, AA contrast */
	--orange-soft: #FFF4E8;
	--orange-ring: rgba(255, 122, 0, 0.35);

	--ink: #0F172A;
	--text: #334155;
	--muted: #64748B;
	--line: #E2E8F0;
	--line-strong: #CBD5E1;
	--surface: #FFFFFF;
	--surface-soft: #F8FAFC;

	--danger: #B91C1C;
	--danger-soft: #FEF2F2;
	--success: #15803D;
	--success-soft: #F0FDF4;

	--radius-sm: 0.5rem;
	--radius: 0.75rem;
	--radius-lg: 1rem;
	--radius-xl: 1.25rem;
	/* Buttons and form controls share one shape: compact, 8px corners, flat
	   (sizing modelled on tally.so's buttons, owner request 2026-09-29). */
	--radius-control: 0.5rem;
	--control-h: 2.75rem;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
	--shadow-lg: 0 2px 6px rgba(15, 23, 42, 0.05), 0 20px 48px rgba(15, 23, 42, 0.10);

	--font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--gutter: 1.25rem;
	--header-h: 4rem;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body, h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

body {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text);
	background-color: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* The original site's faint isometric line pattern, fixed behind content. */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20height%3D%22512%22%20preserveAspectRatio%3D%22none%22%3E%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20path%20%7B%20fill%3A%20none%3B%20stroke%3A%20rgba(0,0,0,0.071)%3B%20stroke-width%3A%201.01px%3B%20stroke-linecap%3A%20round%3B%20stroke-linejoin%3A%20round%3B%20%7D%20%3C%2Fstyle%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M416%2C192L256%2C320L96%2C192L256%2C64L416%2C192z%20M96-64L256%2C64L416-64%20M416%2C576V448L256%2C576%20M256%2C576L96%2C448v128%20M512%2C191L512%2C191L352%2C320l160%2C128.3L672%2C320L352%2C64l320-256%20M512%2C191L672%2C64L352-192%20M160-192L-160%2C64l320%2C256L0%2C448.3%20M0%2C448.3%20L-160%2C320L160%2C64l-320-256%20M416%2C448L256%2C320L96%2C448%20M96-64v76.8%20M416-64v76.8%20M352%2C64v76.8%20M160%2C64v76.8%20M96%2C192v76.8%20M416%2C192%20l-0.5%2C76.8%20M352%2C320v76.8%20M160%2C320v76.8%20M160%2C115.2l15.8%2C13%20M352%2C115.2l-16.2%2C13%20M352%2C371.2l-16.2%2C13%20M160%2C371.2l16.2%2C13%20M671.5%2C575.4l-160-128l-160%2C128%20M159.5%2C575.4l-160-128l-160%2C128%22%20%2F%3E%3C%2Fsvg%3E');
	background-size: 640px;
	background-position: center top;
	background-repeat: repeat;
}

a { color: var(--orange-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--orange-press); }
strong { font-weight: 600; color: var(--ink); }
sup { font-size: 0.7em; line-height: 0; vertical-align: super; }

:focus-visible { outline: 3px solid var(--orange-ring); outline-offset: 2px; }
a:not(.btn):focus-visible { border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	background: var(--ink);
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: #FFFFFF; }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: max(var(--gutter), env(safe-area-inset-left));
}
.container-narrow { max-width: 38rem; }

main { flex: 1 0 auto; }
main:focus { outline: none; }

/* Page switching: html[data-page] is set before first paint by the inline
   script in index.html, then kept in sync by assets/site.js. */
.page { display: none; }
html[data-page="home"] #page-home,
html[data-page="onboarding"] #page-onboarding,
html[data-page="success"] #page-success { display: block; }

.section { padding-block: 4rem; }

.section-head { max-width: 40rem; margin: 0 auto 2.5rem; text-align: center; }
.eyebrow {
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--orange-ink);
}
.section-title {
	font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.25rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ink);
	text-wrap: balance;
}
.section-lead { margin-top: 0.875rem; font-size: 1.0625rem; color: var(--muted); text-wrap: pretty; }

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
	padding: 1.5rem 1.25rem;
}

/* ---------- Buttons ----------
   Three sizes, one shape. Default (44px) is every in-page action: plan
   cards, forms, checkout nav, success pages. -sm (36px) is the header
   only; -lg (48px) is the hero only. Never size a button ad hoc. */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: var(--control-h);
	padding: 0 1.125rem;
	border: 1px solid transparent;
	border-radius: var(--radius-control);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--orange-ring); outline-offset: 1px; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: 0.6; }

.btn-primary { background: var(--orange); color: #FFFFFF; }
.btn-primary:hover:not(:disabled) { background: var(--orange-hover); color: #FFFFFF; }
.btn-primary:active:not(:disabled) { background: var(--orange-press); }

.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }

.btn-sm { min-height: 2.25rem; padding: 0 0.875rem; font-size: 0.875rem; }
.btn-lg { min-height: 3rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.spinner {
	display: inline-block;
	width: 1.125rem; height: 1.125rem;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: var(--header-h);
}
.brand { display: inline-flex; flex-shrink: 0; border-radius: 4px; }
.brand img { height: 1.625rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav-link {
	display: none;
	padding: 0.5rem 0.875rem;
	border-radius: var(--radius-sm);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
}
.site-nav-link:hover { color: var(--ink); background: var(--surface-soft); }
.site-nav .btn { margin-left: 0.5rem; }
/* "Log in" (existing clients' sign-in to the dashboard) sits beside "View plans";
   below 420 px both buttons tighten so the logo and both fit on one line. */
.site-nav .btn + .btn { margin-left: 0.375rem; }
@media (max-width: 419px) {
	.brand img { height: 1.375rem; }
	.site-nav .btn { padding: 0 0.625rem; font-size: 0.8125rem; margin-left: 0.25rem; }
	.site-nav .btn + .btn { margin-left: 0.25rem; }
}

/* Header nav only makes sense on the homepage and the legal pages; on the
   checkout/success pages the header is just the logo (fewer exits from a
   purchase flow). */
html:not([data-page="home"]):not([data-page="legal"]) .site-nav { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 3.5rem 2.5rem; text-align: center; }
.hero-inner { max-width: 50rem; }
.hero-title {
	font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4rem);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--ink);
	text-wrap: balance;
}
.hero-title .accent { color: var(--orange); }
.hero-subtitle {
	margin-top: 0.5rem;
	font-size: clamp(1.125rem, 0.95rem + 1vw, 1.5rem);
	line-height: 1.35;
	font-weight: 500;
	color: var(--orange-ink);
	text-wrap: balance;
}
.hero-lead {
	max-width: 38rem;
	margin: 1.25rem auto 0;
	font-size: 1.0625rem;
	color: var(--text);
	text-wrap: pretty;
}
.hero-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* ---------- Features ---------- */
.section-features { padding-top: 1rem; }
.feature-grid { display: grid; gap: 1rem; }
.feature-card {
	padding: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.feature-icon, .callout-icon {
	display: inline-grid;
	place-items: center;
	width: 2.75rem; height: 2.75rem;
	border-radius: var(--radius);
	background: var(--orange-soft);
	color: var(--orange);
}
.feature-icon svg, .callout-icon svg, .back-link svg, .success-icon svg {
	width: 1.375rem; height: 1.375rem;
	fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature-title { margin-top: 1rem; font-size: 1.125rem; line-height: 1.35; font-weight: 600; color: var(--ink); }
.feature-text { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--muted); }

.callout {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 1rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--orange-soft);
	border: 1px solid rgba(255, 122, 0, 0.2);
}
.callout-icon { flex-shrink: 0; background: #FFFFFF; }
.callout p { font-size: 0.9375rem; align-self: center; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
	position: relative;
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--line);
}
.step-number {
	display: inline-grid;
	place-items: center;
	width: 2.25rem; height: 2.25rem;
	border-radius: 50%;
	background: var(--ink);
	color: #FFFFFF;
	font-size: 0.9375rem;
	font-weight: 600;
}
.step-title { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.step-text { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Plans ---------- */
.plan-grid { display: grid; gap: 1.25rem; max-width: 56rem; margin-inline: auto; }
.plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
}
.plan-card-featured { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
/* Pinned to the card's top-right corner, out of the flow, so both cards'
   names, prices and buttons start on the same line. */
.plan-badge {
	position: absolute;
	top: 1.75rem;
	right: 1.5rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--orange-soft);
	color: var(--orange-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
}
.plan-head { display: flex; flex-direction: column; }
.plan-name { font-size: 1.25rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.plan-card-featured .plan-name { padding-right: 6.5rem; }
.plan-tagline { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 0.375rem; margin-top: 1.5rem; }
.plan-price-amount { font-size: 2.75rem; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.plan-price-unit { font-size: 1rem; color: var(--muted); }
.plan-price-note { margin: 0.5rem 0 1.5rem; font-size: 0.875rem; color: var(--muted); }
.plan-includes { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.plan-includes-title { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.plan-features { display: grid; gap: 0.75rem; }
.plan-features li {
	position: relative;
	padding-left: 1.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.plan-features li::before {
	content: '';
	position: absolute;
	left: 0; top: 0.2em;
	width: 1.125rem; height: 1.125rem;
	border-radius: 50%;
	background: var(--orange-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FF7A00" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m6 12.5 4 4 8-9"/></svg>') center / 0.75rem no-repeat;
}
.plan-footnotes {
	max-width: 56rem;
	margin: 1.5rem auto 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--muted);
	text-align: center;
}
.plan-footnotes p + p { margin-top: 0.25rem; }

/* ---------- Support ---------- */
.support-layout { display: grid; gap: 2rem; }
.support-intro .section-title, .support-intro .section-lead { text-align: left; }
.support-card { padding: 1.5rem 1.25rem; }

/* ---------- Checkout page chrome ---------- */
.section-checkout { padding-block: 1.5rem 3rem; }
.checkout-head { margin-bottom: 1.25rem; }
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	min-height: 2.75rem;
	margin-left: -0.5rem;
	padding: 0 0.5rem;
	border-radius: var(--radius-sm);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
}
.back-link svg { width: 1.125rem; height: 1.125rem; }
.back-link:hover { color: var(--ink); background: var(--surface-soft); }
.checkout-title {
	margin-top: 0.5rem;
	font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.checkout-lead { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--muted); }
.checkout-help { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); text-align: center; }
.checkout-legal + .checkout-help { margin-top: 0.5rem; }

.empty-state { text-align: center; padding: 2.5rem 1.5rem; }
.empty-state-title { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.empty-state-text { margin: 0.5rem 0 1.5rem; color: var(--muted); }

/* ---------- Result (success) ---------- */
.section-success { padding-block: 3rem 4rem; }
.result-card { text-align: center; padding: 2.5rem 1.5rem; }
.success-icon {
	display: inline-grid;
	place-items: center;
	width: 3rem; height: 3rem;
	border-radius: 50%;
	background: var(--success-soft);
	color: var(--success);
}
.success-icon-lg { width: 4rem; height: 4rem; }
.success-icon-lg svg { width: 2rem; height: 2rem; stroke-width: 2.2; }
.result-title {
	margin-top: 1.25rem;
	font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.125rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.result-text { margin-top: 0.75rem; font-size: 1.0625rem; color: var(--text); }
.result-note { margin: 0.75rem 0 2rem; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
	margin-top: auto;
	padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.92);
}
.site-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--muted);
}

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--ink); }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Legal pages (terms.html, privacy.html) ---------- */
.legal { padding-block: 2rem 4rem; }
.legal-inner {
	/* A white card inset from the screen edges, so it never touches them on a phone. */
	width: calc(100% - 2 * var(--gutter));
	max-width: 50rem;
	padding-block: 2rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	color: var(--text);
}
.legal-head .section-title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.legal-updated { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.legal-summary {
	margin-top: 1.75rem;
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	background: var(--orange-soft);
	color: var(--ink);
}
.legal-toc { margin-top: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.legal-toc-title { margin-bottom: 0.5rem; font-weight: 600; color: var(--ink); }
.legal-toc ol { list-style: decimal; padding-left: 1.5rem; font-size: 0.9375rem; }
.legal-toc li { padding-block: 0.125rem; }
.legal section { margin-top: 2rem; }
.legal h2 {
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 600;
	color: var(--ink);
}
.legal h3 { margin: 1.25rem 0 0.5rem; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.legal section p + p, .legal section ul + p, .legal section p + ul, .legal section .legal-table-wrap + p { margin-top: 0.75rem; }
.legal section p + .legal-table-wrap { margin-top: 1rem; }
.legal section ul { list-style: disc; padding-left: 1.5rem; }
.legal section ul ul { list-style: circle; margin-top: 0.375rem; }
.legal section li + li { margin-top: 0.375rem; }
.legal p, .legal li { overflow-wrap: anywhere; text-wrap: pretty; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
.legal-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 0.9375rem; }
.legal-table th, .legal-table td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--surface-soft); font-weight: 600; color: var(--ink); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { width: 58%; }
.legal-table td:last-child { color: var(--ink); }
/* Phones: each row becomes a short block (what we do, then its legal basis),
   so nothing hides off to the side. */
@media (max-width: 599px) {
	.legal-table { min-width: 0; }
	.legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.legal-table tr { display: block; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
	.legal-table tr:last-child { border-bottom: 0; }
	.legal-table td { display: block; padding: 0; border: 0; }
	.legal-table td:first-child { width: auto; }
	.legal-table td:last-child { margin-top: 0.375rem; font-size: 0.875rem; }
	.legal-table td:last-child::before { content: 'Legal basis: '; font-weight: 600; }
}

/* ---------- Shared form primitives (support + checkout) ---------- */
.form-row { display: flex; flex-direction: column; gap: 0.375rem; }
.form-row + .form-row { margin-top: 1.25rem; }
.form-label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink);
}
.form-required { color: var(--orange-ink); }
.form-input {
	display: block;
	width: 100%;
	min-height: var(--control-h);
	padding: 0.5625rem 0.875rem;
	/* 16px minimum: anything smaller makes iOS Safari zoom on focus. */
	font-size: 1rem;
	line-height: 1.5;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-control);
	box-shadow: var(--shadow-sm);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input::placeholder { color: #94A3B8; opacity: 1; }
.form-input:hover { border-color: #94A3B8; }
.form-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-ring); }
.form-input[aria-invalid="true"] { border-color: var(--danger); }
.form-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2); }
.form-textarea { min-height: 8rem; resize: vertical; }
.form-hint { font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
.form-hint-error { color: var(--danger); }

.form-alert {
	margin-top: 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	border: 1px solid rgba(185, 28, 28, 0.2);
	background: var(--danger-soft);
	color: var(--danger);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
	:root { --gutter: 2rem; }
	.hero-actions { flex-direction: row; justify-content: center; }
	.site-nav-link { display: inline-flex; }
	.brand img { height: 1.875rem; }
	.card, .support-card { padding: 2rem; }
	.plan-card { padding: 2rem; }
	.plan-badge { top: 2rem; right: 2rem; }
}

@media (min-width: 768px) {
	.legal { padding-block: 3rem 5rem; }
	.legal-inner { padding: 3rem 3.5rem; }
	.legal-toc ol { columns: 2; column-gap: 2.5rem; }
	.legal-toc li { break-inside: avoid; }
	.section { padding-block: 5.5rem; }
	.hero { padding-block: 5.5rem 3rem; }
	.hero-lead { font-size: 1.125rem; }
	.feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
	.plan-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
	/* Side by side, share row heights across both cards (head, price, note,
	   button, includes) so a longer tagline never pushes one card's price
	   and button below the other's. */
	@supports (grid-template-rows: subgrid) {
		.plan-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
		.plan-includes { align-self: start; }
	}
	.section-checkout { padding-block: 2.5rem 4rem; }
}

@media (min-width: 1024px) {
	.steps { grid-template-columns: repeat(4, 1fr); }
	.support-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
	.support-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
