/* AutoProcess theme styles
   Tokens -> base -> layout -> components -> pages -> responsive
------------------------------------------------------------------ */

:root {
	--bg: #10192b;
	--bg-2: #162238;
	--bg-3: #1c2b45;
	--line: rgba(234, 240, 247, 0.12);
	--line-strong: rgba(234, 240, 247, 0.22);
	--text: #eaf0f7;
	--muted: #a7b4c8;
	--accent: #f2b544;
	--accent-hover: #ffc65c;
	--accent-ink: #1a1403;
	--teal: #45d4be;
	--paper: #f4f6fa;
	--paper-2: #ffffff;
	--paper-ink: #16202f;
	--paper-muted: #5b6878;
	--paper-line: #d9dfe8;
	--ok: #3ccf91;
	--err: #ff7d7d;
	--radius: 14px;
	--radius-sm: 8px;
	--max: 1120px;
	--font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
	--shadow: 0 20px 50px rgba(3, 8, 20, 0.45);
}

/* Base ----------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
	-webkit-text-size-adjust: 100%;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.sr-only {
	position: absolute;
	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.6rem 1rem;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: var(--radius-sm);
	font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Layout --------------------------------------------------------- */

.wrap {
	width: min(var(--max), 100% - 2.5rem);
	margin-inline: auto;
}
.wrap-narrow { max-width: 760px; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.section-alt { background: var(--bg-2); }

.section-head {
	max-width: 640px;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head-left { margin-inline: 0; text-align: left; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

.section-cta { margin-top: 2.5rem; text-align: center; }

/* Header --------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(16, 25, 43, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--text);
	font-weight: 600;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}
.logo-mark { width: 32px; height: 32px; color: var(--accent); flex: none; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.75rem; list-style: none; }
.nav-list a {
	text-decoration: none;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.15s;
}
.nav-list a:hover { color: var(--text); }

.nav-toggle {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	position: absolute;
	left: 11px;
	width: 20px; height: 2px;
	background: currentColor;
	border-radius: 2px;
	content: "";
	transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons -------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }

.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover { background: rgba(0, 0, 0, 0.05); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* Hero: an inset rounded panel, rings as depth (no fill, hairlines only) --- */

.hero { padding: 0.75rem 0 0; }
.hero-panel {
	position: relative;
	width: min(1400px, 100% - 1.5rem);
	margin-inline: auto;
	padding: clamp(3rem, 7vw, 6rem) 0 0;
	border-radius: 28px;
	border: 1px solid var(--line);
	background: var(--bg-2);
	overflow: hidden;
	isolation: isolate;
}
.hero-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(70% 70% at 85% 20%, rgba(69, 212, 190, 0.12), transparent 70%),
		repeating-radial-gradient(circle at 88% 42%, transparent 0 56px, rgba(234, 240, 247, 0.055) 56px 57px);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-copy h1 { max-width: 14ch; margin-bottom: 1.25rem; }
.lede {
	max-width: 46ch;
	color: var(--muted);
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	font-weight: 300;
	margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Facts bar: the panel's bottom edge, four cells divided by hairlines. */
.hero-facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	border-top: 1px solid var(--line);
	width: 100%;
	max-width: none;
	margin: 0;
}
.hero-facts li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
	border-left: 1px solid var(--line);
	font-size: 0.92rem;
	color: var(--muted);
}
.hero-facts li:first-child { border-left: 0; }
.hero-facts strong { color: var(--text); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }

/* Tool strip: proof row directly under the hero. */
.tools-strip { padding: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.tools-lede { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 1.1rem; }
.tools-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 0.6rem;
	list-style: none;
}
.tools-list li {
	padding: 0.45rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	font-weight: 500;
	font-size: 0.92rem;
	opacity: 0.85;
}

/* The flow diagram: one memorable element, everything else stays quiet. */
.hero-flow {
	margin: 0;
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: linear-gradient(160deg, rgba(28, 43, 69, 0.8), rgba(16, 25, 43, 0.6));
	box-shadow: var(--shadow);
}
.hero-flow svg { width: 100%; height: auto; overflow: visible; }
.hero-flow figcaption {
	margin-top: 0.75rem;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

.flow-path {
	fill: none;
	stroke: var(--line-strong);
	stroke-width: 2;
	stroke-linecap: round;
}
.flow-path-live {
	stroke: url(#flowLine);
	stroke-width: 3;
	stroke-dasharray: 14 420;
	animation: flow 3.2s linear infinite;
}
@keyframes flow {
	from { stroke-dashoffset: 434; }
	to   { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.flow-path-live { stroke-dasharray: none; animation: none; opacity: 0.9; }
}

.flow-node rect { fill: var(--bg-3); stroke: var(--line-strong); stroke-width: 1; }
.flow-node-filter rect { fill: var(--bg-2); stroke: var(--teal); }
.flow-node-muted rect { stroke-dasharray: 4 4; }
.flow-node-muted text { opacity: 0.6; }
.node-kind { fill: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.node-label { fill: var(--text); font-size: 13.5px; font-weight: 600; }
.node-dot { fill: var(--muted); opacity: 0.6; }
.node-dot-trigger { fill: var(--teal); opacity: 1; }
.node-dot-action { fill: var(--accent); opacity: 1; }
.flow-branch { fill: var(--muted); font-size: 11px; font-style: italic; }

/* Cards ---------------------------------------------------------- */

.card {
	padding: 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
}
.section-alt .card { background: var(--bg-3); }
.card-plain { background: transparent; border-color: transparent; padding-inline: 0; }
.section-alt .card-plain { background: transparent; }

.card .icon {
	width: 30px; height: 30px;
	margin-bottom: 1.1rem;
	color: var(--accent);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Tools: three named tools, then a full-width projects tile ------- */

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tool {
	display: flex;
	flex-direction: column;
	padding: 2rem 1.75rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
}
.tool h3 {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 0.75rem;
}
.tool p { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.5rem; }
.tool .tool-when {
	margin-top: auto;
	margin-bottom: 0;
	padding-top: 1.1rem;
	border-top: 1px solid var(--line);
	color: var(--text);
}

.tool-projects {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 1.5rem 3rem;
	align-items: start;
	padding: 2rem 1.75rem;
	background: transparent;
}
.tool-projects h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.tool-projects p { margin-bottom: 0; }
.projects {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.5rem;
}
.projects li {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 0.6rem;
	align-items: baseline;
	padding: 0.7rem 0;
	border-top: 1px solid var(--line);
	font-size: 0.95rem;
	color: var(--text);
}
.project-module { color: var(--teal); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }

/* Reasons: three parallel arguments under one rule, no boxes ------- */

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.reason { padding-top: 1.25rem; border-top: 2px solid var(--line-strong); }
.reason h3 { margin-bottom: 0.6rem; }
.reason p { color: var(--muted); font-size: 0.98rem; }

/* Personas: the situation today, then what changes ---------------- */

.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; }
.persona .icon { width: 28px; height: 28px; margin-bottom: 1rem; color: var(--accent); }
.persona h3 { margin-bottom: 0.6rem; }
.persona p { color: var(--muted); font-size: 0.98rem; }
.persona .persona-now { color: var(--text); font-weight: 500; margin-bottom: 0.6rem; }

/* Checklist ------------------------------------------------------ */

.checklist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.9rem 1.5rem;
	list-style: none;
}
.checklist li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	padding: 0.85rem 1rem;
	border-radius: var(--radius-sm);
	background: var(--bg-3);
	font-size: 0.98rem;
}
.checklist .icon { width: 20px; height: 20px; flex: none; margin-top: 0.15rem; color: var(--teal); }

/* Timeline (the program is a sequence, so it is numbered) --------- */

.timeline {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
	list-style: none;
}
.timeline::before {
	content: "";
	position: absolute;
	left: 23px;
	top: 24px;
	bottom: 24px;
	width: 2px;
	background: linear-gradient(var(--teal), var(--accent));
	opacity: 0.6;
}
.timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 1.5rem;
	padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--bg);
	border: 2px solid var(--line-strong);
	font-weight: 600;
	font-size: 0.95rem;
	z-index: 1;
}
.timeline-item:last-child .timeline-marker { border-color: var(--accent); color: var(--accent); }
.timeline-body {
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
}
.timeline-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.35rem;
}
.timeline-head h3 { margin: 0; }
.timeline-weeks { color: var(--teal); font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.timeline-body p { color: var(--muted); font-size: 0.98rem; }
.timeline-body .timeline-project { margin-top: 0.6rem; color: var(--text); font-size: 0.93rem; }
.timeline-project::before {
	content: "";
	display: inline-block;
	width: 8px; height: 8px;
	margin-right: 0.6rem;
	border-radius: 50%;
	background: var(--accent);
	vertical-align: middle;
}

/* Quotes: a flush grid with 1px gaps, alternating tint, avatar + source ---- */

.quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.quote {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0;
	padding: 1.75rem;
	background: var(--bg);
}
.quote:nth-child(2n) { background: var(--bg-2); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 0.98rem; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; font-size: 0.9rem; color: var(--muted); }
.quote-who { display: flex; flex-direction: column; }
.quote-who strong { color: var(--text); font-weight: 600; }
.avatar {
	flex: none;
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--bg-3);
	border: 1px solid var(--line-strong);
	color: var(--teal);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Pricing: a light panel so prices read instantly ----------------- */

.section-pricing {
	background: var(--paper);
	color: var(--paper-ink);
}
.section-pricing .section-head p { color: var(--paper-muted); }

.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--paper-line);
	border-radius: var(--radius);
	background: var(--paper-2);
}
.plan-popular {
	background: var(--bg);
	color: var(--text);
	border-color: var(--bg);
	box-shadow: 0 24px 50px rgba(22, 32, 47, 0.22);
}
.plan-popular .plan-tagline,
.plan-popular .plan-billing { color: var(--muted); }
.plan-flag {
	position: absolute;
	top: -0.8rem;
	left: 1.5rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 0.78rem;
	font-weight: 600;
}
.plan h3 { margin-bottom: 0.2rem; }
.plan-tagline { color: var(--paper-muted); font-size: 0.92rem; min-height: 2.9em; }
.plan-price { display: flex; flex-direction: column; margin: 0.5rem 0 1.25rem; }
.plan-amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-billing { color: var(--paper-muted); font-size: 0.85rem; margin-top: 0.35rem; }

.plan-features {
	list-style: none;
	display: grid;
	gap: 0.6rem;
	margin-bottom: 1.75rem;
	font-size: 0.93rem;
}
.plan-features li { display: flex; gap: 0.55rem; align-items: flex-start; }
.plan-features .icon { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; color: var(--teal); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .btn-outline { color: var(--paper-ink); }
.plan .btn-outline:hover { background: var(--paper); }

.pricing-note {
	margin-top: 2rem;
	text-align: center;
	color: var(--paper-muted);
	font-size: 0.93rem;
}

/* FAQ ------------------------------------------------------------ */

.faq details {
	border-top: 1px solid var(--line);
	padding: 0.25rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 0;
	cursor: pointer;
	font-weight: 500;
	font-size: 1.05rem;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	flex: none;
	width: 28px; height: 28px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	color: var(--muted);
	font-weight: 400;
	transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); border-color: var(--accent); }
.faq details p { padding: 0 0 1.25rem; color: var(--muted); max-width: 64ch; }

/* CTA band ------------------------------------------------------- */

.cta-band { padding-top: 0; }
.cta-panel {
	position: relative;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
	border: 1px solid var(--line);
	border-radius: 28px;
	background: var(--bg-2);
	overflow: hidden;
	isolation: isolate;
}
.cta-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 80% at 10% 100%, rgba(242, 181, 68, 0.1), transparent 70%),
		repeating-radial-gradient(circle at 8% 120%, transparent 0 56px, rgba(234, 240, 247, 0.055) 56px 57px);
	pointer-events: none;
}
.cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}
.cta-inner h2 { margin-bottom: 0.4rem; }
.cta-inner p { color: var(--muted); max-width: 52ch; }

/* Footer --------------------------------------------------------- */

.site-footer {
	padding: 3.5rem 0 2rem;
	border-top: 1px solid var(--line);
	background: var(--bg);
	font-size: 0.93rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 2rem;
}
.footer-tagline { margin-top: 1rem; color: var(--muted); max-width: 40ch; }
.footer-heading { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.9rem; }
.footer-nav ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }
.footer-address { color: var(--muted); line-height: 1.5; margin-top: 0.4rem; }
.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.85rem;
}

/* Inner pages ---------------------------------------------------- */

.page-hero {
	padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--line);
	background: var(--bg-2);
}
.page-hero-compact { padding-bottom: 2rem; }
.page-title { margin-bottom: 0.4rem; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.page-meta { color: var(--muted); max-width: 60ch; }
.page-hero .btn { margin-top: 1rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.prose th { color: var(--text); font-weight: 600; }
.post-summary { margin-bottom: 2.5rem; }

/* Forms ---------------------------------------------------------- */

.form { display: grid; gap: 1.1rem; }
.form h2 { font-size: 1.3rem; margin: 0.5rem 0 0; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label,
.consent { font-size: 0.93rem; font-weight: 500; }
.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form select,
.form textarea,
#signin-form input[type="text"],
#signin-form input[type="password"] {
	width: 100%;
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--bg-3);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}
.form textarea { resize: vertical; min-height: 140px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus,
.form select:focus,
.form textarea:focus,
#signin-form input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.25); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

.notice {
	padding: 0.9rem 1.1rem;
	border-radius: var(--radius-sm);
	border: 1px solid;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
}
.notice-ok { border-color: rgba(60, 207, 145, 0.5); background: rgba(60, 207, 145, 0.1); color: #c8f5e2; }
.notice-err { border-color: rgba(255, 125, 125, 0.5); background: rgba(255, 125, 125, 0.1); color: #ffd4d4; }

/* Contact page */
.split-contact { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.contact-aside h2 { font-size: 1.3rem; }
.contact-email { font-size: 1.15rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.contact-hours, .contact-refund { color: var(--muted); font-size: 0.95rem; }
.contact-aside address { font-style: normal; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.5; }

/* Sign in */
.auth { min-height: 70vh; align-content: center; }
.auth .wrap-narrow { max-width: 620px; }
.auth-head { margin-bottom: 1.75rem; }
.auth-head h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); margin-bottom: 0.9rem; }
.auth-head p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.auth-card {
	display: grid;
	gap: 1.1rem;
	padding: 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
}
.auth-card .form-row { margin: 0; }
.auth-card label { font-size: 0.93rem; font-weight: 500; color: var(--muted); }
.auth-card input[type="email"],
.auth-card input[type="password"] {
	width: 100%;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--bg-3);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}
.auth-card input::placeholder { color: rgba(167, 180, 200, 0.55); }
.auth-card input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.25); }
.btn-block { width: 100%; padding: 0.95rem 1.4rem; margin-top: 0.25rem; }

/* Responsive ----------------------------------------------------- */

@media (max-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-flow { max-width: 560px; }
	.hero-facts { grid-template-columns: repeat(2, 1fr); }
	.hero-facts li:nth-child(odd) { border-left: 0; }
	.hero-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.quotes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute;
		left: 0; right: 0; top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 1.25rem 1.25rem;
		background: var(--bg-2);
		border-bottom: 1px solid var(--line);
		display: none;
	}
	.nav-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
	.nav-signin { margin-top: 1rem; }

	.grid-3 { grid-template-columns: 1fr; }
	.tools, .reasons, .personas, .tool-projects, .projects { grid-template-columns: 1fr; }
	.tool-projects { gap: 1rem; }
	.quotes { grid-template-columns: 1fr; }
	.hero-panel { border-radius: 20px; }
	.split, .split-contact { grid-template-columns: 1fr; }
	.section-head-left { max-width: none; }
	.checklist { grid-template-columns: 1fr; }
	.cta-inner .btn { width: 100%; }
}

@media (max-width: 560px) {
	.grid-4 { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-copy h1 { max-width: none; }
	.hero-facts { grid-template-columns: 1fr; }
	.hero-facts li { border-left: 0; border-top: 1px solid var(--line); }
	.hero-facts li:first-child { border-top: 0; }
	.timeline::before { left: 17px; }
	.timeline-item { grid-template-columns: 36px 1fr; gap: 1rem; }
	.timeline-marker { width: 36px; height: 36px; font-size: 0.85rem; }
	.card { padding: 1.4rem; }
	.auth-card { padding: 1.25rem; }
}
