/* Castio marketing site design system: "H — Elevated light".
   Extracted from docs/designs/canvas/ElevatedLight.dc.html (founder-approved
   visual direction): #fafaf8 warm ground, soft real shadows, radial washes,
   Spline Sans + Spline Sans Mono, deep green accent. The meeting-window
   product visual, timers, and other intentionally-dark UI chrome keep a
   dark interior (#16191d) so the product pops off the light page — see
   .call-grid / .timer-panel below. */

:root {
	color-scheme: light;
	--bg: #fafaf8;
	--bg-elevated: #ffffff;
	--bg-elevated-2: #f1f1ec;
	--fg: #111417;
	--fg-muted: #4a5158;
	--fg-faint: #565d64;
	--accent: #0d6e52;
	--accent-2: #14b8a6;
	--accent-3: #2563eb;
	--accent-hover: #095440;
	--accent-fg: #ffffff;
	--border: #e6e6e2;
	--border-strong: #e2e2dc;
	--chip-border: #ddddd7;
	--positive: #0d6e52;
	--negative: #dc2626;
	--max-width: 1180px;
	--content-width: 760px;
	--radius: 10px;
	--radius-sm: 7px;
	--font-body: "Spline Sans", "Segoe UI", system-ui, sans-serif;
	--font-mono: "Spline Sans Mono", Consolas, monospace;
	--grad-accent: linear-gradient(90deg, #0d6e52, #14b8a6, #2563eb);
	--grad-btn: linear-gradient(135deg, #0d6e52, #14b8a6);
	/* Dark-island tokens — used only for the meeting-window interior, timers,
	   and other UI chrome that intentionally stays dark on the light page. */
	--dark-surface: #16191d;
	--dark-fg: #f2f5f7;
	--dark-fg-muted: #aab6bf;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	color: var(--accent);
}

a:hover {
	color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.button:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 3px;
}

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

.gradient-text {
	background: var(--grad-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.content {
	max-width: var(--content-width);
}

/* --- Legal docs (terms / privacy): long-form readable text --- */
.legal-doc {
	padding: 3rem 0 4rem;
	line-height: 1.7;
}

.legal-doc h1 {
	margin-bottom: 0.5rem;
}

.legal-doc .legal-effective-date {
	color: var(--fg-muted);
	font-size: 0.95rem;
	margin-bottom: 2rem;
}

.legal-doc h2 {
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
}

.legal-doc p,
.legal-doc ul {
	margin-bottom: 1.1rem;
	color: var(--fg-muted);
}

.legal-doc li {
	margin-bottom: 0.4rem;
}

/* --- Nav --- */
.site-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--border);
	max-width: var(--max-width);
	margin: 0 auto;
	flex-wrap: wrap;
	gap: 1rem;
	background: rgba(250, 250, 248, 0.9);
}

.wordmark {
	font-family: var(--font-mono);
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: var(--fg);
}

.wordmark:hover {
	color: var(--accent);
}

.site-nav-links {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.site-nav-links a {
	color: var(--fg-muted);
	text-decoration: none;
	font-size: 0.9rem;
}

.site-nav-links a:hover {
	color: var(--fg);
}

/* --- Buttons --- */
.button {
	display: inline-block;
	background: var(--grad-btn);
	color: var(--accent-fg);
	padding: 0.85rem 1.7rem;
	border-radius: var(--radius-sm);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	font-family: var(--font-body);
	box-shadow: 0 6px 26px rgba(13, 110, 82, 0.28);
}

.button:hover {
	filter: brightness(1.08);
	color: var(--accent-fg);
}

.button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.button--outline {
	background: transparent;
	color: var(--accent);
	padding: 0.55rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 500;
	box-shadow: none;
}

.button--outline:hover {
	background: rgba(13, 110, 82, 0.08);
	color: var(--accent-hover);
}

/* --- Eyebrow / mono labels --- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--accent);
	letter-spacing: 0.02em;
	margin-bottom: 1.25rem;
	text-transform: lowercase;
	border: 1px solid rgba(13, 110, 82, 0.25);
	background: #e9f6f0;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
}

.eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0d9668;
	flex-shrink: 0;
}

.section-label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent);
	margin-bottom: 0.5rem;
	letter-spacing: 0.02em;
}

/* --- Hero --- */
.hero {
	position: relative;
	padding: 4.5rem 0 3.5rem;
	background-image: radial-gradient(ellipse 55% 45% at 75% 0%, rgba(20, 184, 166, 0.1), transparent),
		radial-gradient(ellipse 40% 35% at 10% 90%, rgba(13, 110, 82, 0.06), transparent);
	background-size: 100% 100%, 100% 100%;
	border-bottom: 1px solid var(--border);
}

.hero-grid {
	display: flex;
	gap: 3rem;
	align-items: center;
}

.hero-copy {
	flex: 1.05;
	min-width: 0;
}

.hero-visual-col {
	flex: 1;
	min-width: 0;
	position: relative;
}

@media (max-width: 860px) {
	.hero-grid {
		flex-direction: column;
		align-items: stretch;
	}
}

.hero h1 {
	font-size: clamp(2rem, 1.3rem + 2.5vw, 3.1rem);
	line-height: 1.14;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 1.25rem;
	max-width: 780px;
	color: var(--fg);
}

.hero-sub {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--fg-muted);
	max-width: 640px;
	margin: 0 0 1.75rem;
}

.hero-cta {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.fact-chips {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.fact-chip {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: #374151;
	border: 1px solid var(--chip-border);
	background: #ffffff;
	padding: 0.45rem 0.75rem;
	border-radius: 6px;
}

/* --- Hero product visuals (drawn UI panels, H system) --- */
.visual-glow {
	position: absolute;
	inset: -30px -20px auto auto;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 70%);
	pointer-events: none;
}

.panel {
	position: relative;
	border: 1px solid var(--border-strong);
	border-radius: 14px;
	background: var(--bg-elevated);
	box-shadow: 0 24px 60px rgba(17, 20, 23, 0.14), 0 2px 8px rgba(17, 20, 23, 0.06);
	overflow: hidden;
}

.panel-titlebar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid #eeeee9;
	background: #fbfbf9;
}

.panel-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #d9d9d2;
	flex-shrink: 0;
}

.panel-url {
	margin-left: 10px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--fg-muted);
	background: var(--bg-elevated-2);
	border: 1px solid var(--border-strong);
	border-radius: 6px;
	padding: 4px 10px;
}

.panel-rec {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--negative);
}

.panel-rec::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--negative);
}

/* The call grid is the meeting-window interior — intentionally dark so the
   product pops off the light page. Do not lighten. */
.call-grid {
	padding: 14px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	background: var(--dark-surface);
}

.call-tile {
	aspect-ratio: 4 / 3;
	border-radius: 9px;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.call-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.call-tile-label {
	position: absolute;
	left: 10px;
	bottom: 8px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.85);
	background: rgba(0, 0, 0, 0.45);
	padding: 3px 8px;
	border-radius: 5px;
}

.call-tile--speaking {
	box-shadow: inset 0 0 0 2px rgba(45, 212, 191, 0.6);
}

.call-tile--avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e2a24, #14251f);
}

.call-tile--avatar .initials {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(251, 191, 36, 0.14);
	color: #fcd34d;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 18px;
	font-family: var(--font-body);
}

.call-tile--avatar .mic-off {
	position: absolute;
	right: 10px;
	bottom: 8px;
	color: #f87171;
}

.panel-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-top: 1px solid #eeeee9;
	background: var(--bg-elevated);
	gap: 10px;
}

.panel-footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--fg-muted);
	min-width: 0;
}

.panel-footer-brand .swatch {
	width: 20px;
	height: 20px;
	border-radius: 5px;
	background: var(--grad-btn);
	display: inline-block;
	flex-shrink: 0;
}

.panel-controls {
	display: flex;
	gap: 10px;
}

.panel-control {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bg-elevated-2);
	color: #374151;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.panel-control--end {
	background: var(--negative);
	color: #ffffff;
}

.panel-meta {
	font-family: var(--font-mono);
	font-size: 11px;
	color: #6d757d;
	white-space: nowrap;
}

.hero-callout {
	position: absolute;
	right: -8px;
	bottom: -22px;
	border: 1px solid rgba(13, 110, 82, 0.3);
	background: var(--bg-elevated);
	border-radius: 10px;
	padding: 10px 14px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--accent);
	box-shadow: 0 12px 30px rgba(17, 20, 23, 0.12);
	max-width: 90%;
}

@media (max-width: 860px) {
	.hero-callout {
		position: static;
		display: inline-block;
		margin-top: 1rem;
	}
}

/* --- Recordings library hero panel (features) --- */
.recordings-panel .session-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	font-size: 13px;
}

.recordings-panel .session-row:last-child {
	border-bottom: none;
}

.play-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e9f6f0;
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 12px;
}

.session-title {
	flex: 1;
	min-width: 0;
	color: var(--fg);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.session-meta {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-faint);
	white-space: nowrap;
}

.stored-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent-hover);
	background: #e9f6f0;
	border: 1px solid rgba(13, 110, 82, 0.25);
	padding: 8px 12px;
	margin: 4px 16px 12px;
	border-radius: 6px;
}

/* --- Deploy sequence hero (how-it-works) --- */
.deploy-strip {
	display: flex;
	gap: 12px;
	padding: 20px;
	flex-wrap: wrap;
}

.deploy-step {
	flex: 1;
	min-width: 160px;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 16px;
	background: var(--bg);
}

.deploy-step .num {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent);
	margin-bottom: 8px;
}

.deploy-step .label {
	font-size: 13px;
	color: var(--fg);
	margin-bottom: 4px;
}

.deploy-step .detail {
	font-size: 11px;
	color: var(--fg-faint);
}

.deploy-step--done {
	border-color: rgba(13, 110, 82, 0.3);
	background: #f2faf6;
}

.deploy-result {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--accent-hover);
	text-align: center;
	padding: 12px 20px 18px;
}

/* --- Timer hero (guides) --- */
/* Intentionally-dark UI chrome, like the meeting-window interior — keeps a
   dark surface with near-white text so it reads as a real app screen. */
.timer-panel {
	text-align: center;
	padding: 40px 20px;
	background: var(--dark-surface);
}

.timer-display {
	font-family: var(--font-mono);
	font-size: clamp(3rem, 2rem + 5vw, 4.5rem);
	font-weight: 500;
	color: var(--dark-fg);
	letter-spacing: -0.02em;
}

.timer-toast {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: #f87171;
	border: 1px solid rgba(248, 113, 113, 0.35);
	background: rgba(248, 113, 113, 0.12);
	padding: 8px 14px;
	border-radius: 999px;
}

.timer-toast::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f87171;
}

/* --- Assembly checklist hero (demo) --- */
.assembly-panel {
	padding: 20px;
}

.assembly-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 4px;
	font-size: 13px;
	color: var(--fg-muted);
	border-bottom: 1px solid var(--border);
}

.assembly-item:last-child {
	border-bottom: none;
}

.assembly-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e9f6f0;
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	flex-shrink: 0;
}

.assembly-domain {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--accent-hover);
	text-align: center;
	padding: 14px;
	border-top: 1px solid var(--border);
}

/* --- Price hero object (pricing) --- */
.price-hero {
	position: relative;
	max-width: 380px;
}

.price-hero .price-figure-big {
	font-family: var(--font-mono);
	font-size: 3rem;
	color: var(--accent);
	margin: 0;
}

.hero-cta-note {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--fg-faint);
}

/* --- Cards / grid --- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	padding: 0.5rem 0 2rem;
}

@media (max-width: 720px) {
	.card-grid {
		grid-template-columns: 1fr;
	}
}

.card {
	display: block;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
	color: inherit;
	text-decoration: none;
}

.card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.card p {
	margin: 0;
	color: var(--fg-muted);
	font-size: 0.95rem;
}

/* --- Sections --- */
.section {
	padding: 3rem 0;
	border-top: 1px solid var(--border);
}

.section h2 {
	font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
	font-weight: 600;
	margin: 0 0 1rem;
}

.section p {
	color: var(--fg-muted);
	max-width: var(--content-width);
}

.section-cta {
	text-align: center;
	padding: 3.5rem 0;
	border-top: 1px solid var(--border);
}

.section-cta h2 {
	margin: 0 0 0.75rem;
}

.section-cta p {
	margin: 0 auto 1.5rem;
	color: var(--fg-muted);
	max-width: 40rem;
}

/* --- Steps --- */
.steps {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.step {
	display: flex;
	gap: 1.25rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
}

.step-number {
	font-family: var(--font-mono);
	font-size: 1rem;
	color: var(--accent);
	flex-shrink: 0;
}

.step h3 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
}

.step p {
	margin: 0;
	color: var(--fg-muted);
	font-size: 0.95rem;
}

.step-caption {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--fg-faint);
}

/* --- Feature list --- */
.feature-list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.feature {
	border-top: 1px solid var(--border);
	padding-top: 2rem;
}

.feature:first-child {
	border-top: none;
	padding-top: 0;
}

.feature h3 {
	font-size: 1.2rem;
	margin: 0 0 0.6rem;
}

.feature p {
	color: var(--fg-muted);
	max-width: var(--content-width);
	margin: 0;
}

/* --- Price card / calculator (pricing page) --- */
.price-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
	margin: 2rem 0;
}

.price-figure {
	font-family: var(--font-mono);
	font-size: 1.3rem;
	margin: 0.25rem 0;
}

.price-figure small {
	color: var(--fg-muted);
	font-size: 0.85rem;
}

.includes-list,
.value-points-list {
	color: var(--fg-muted);
	padding-left: 1.25rem;
}

.note {
	color: var(--fg-muted);
	font-size: 0.9rem;
	border-left: 2px solid var(--accent);
	padding-left: 1rem;
	margin: 1.5rem 0;
}

.calculator {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
	margin: 2rem 0;
	overflow-x: auto;
}

.field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}

@media (max-width: 640px) {
	.field-grid {
		grid-template-columns: 1fr;
	}
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.field label {
	font-size: 0.85rem;
	color: var(--fg-muted);
}

.field-help {
	font-size: 0.78rem;
	color: var(--fg-faint);
	margin: 0;
}

.field input,
.field select {
	background: var(--bg-elevated);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--fg);
	padding: 0.6rem 0.75rem;
	font-size: 0.95rem;
	font-family: var(--font-body);
}

.field input:focus,
.field select:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
}

.results-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.5rem 0 1rem;
}

@media (max-width: 640px) {
	.results-grid {
		grid-template-columns: 1fr;
	}
}

.result-tile {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	background: var(--bg);
}

.result-tile .label {
	font-size: 0.8rem;
	color: var(--fg-muted);
}

.result-tile .value {
	font-family: var(--font-mono);
	font-size: 1.3rem;
}

.verdict {
	font-size: 1rem;
	padding: 1rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
}

.verdict--positive {
	border-color: var(--positive);
	color: var(--positive);
}

.verdict--negative {
	border-color: var(--negative);
	color: var(--negative);
}

.breakeven-note {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--fg-faint);
}

/* --- Comparison table --- */
.table-scroll {
	overflow-x: auto;
	margin: 1.5rem 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

table {
	border-collapse: collapse;
	width: 100%;
	min-width: 560px;
	font-size: 0.9rem;
	background: var(--bg-elevated);
}

th,
td {
	text-align: left;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--border);
}

th {
	color: var(--fg-muted);
	font-weight: 500;
	background: var(--bg-elevated-2);
}

tr:last-child td {
	border-bottom: none;
}

/* --- Table of contents / guides --- */
.toc {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
	margin: 2rem 0;
}

.toc h2 {
	font-size: 0.95rem;
	margin: 0 0 0.75rem;
	color: var(--fg-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-family: var(--font-mono);
}

.toc ol {
	margin: 0;
	padding-left: 1.25rem;
}

.toc li {
	margin-bottom: 0.35rem;
}

article h2 {
	margin-top: 2.5rem;
	font-size: 1.4rem;
}

article h3 {
	font-size: 1.1rem;
}

article p,
article li {
	color: var(--fg-muted);
}

article ul,
article ol {
	padding-left: 1.25rem;
}

.cross-links {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
	margin: 2rem 0;
}

.cross-links h2 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-family: var(--font-mono);
	color: var(--fg-muted);
	margin: 0 0 0.75rem;
}

/* --- Form (demo page) --- */
.demo-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 32rem;
}

.form-status {
	font-size: 0.95rem;
	padding: 0.9rem 1rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	display: none;
}

.form-status[data-state="submitting"],
.form-status[data-state="success"],
.form-status[data-state="error"] {
	display: block;
}

.form-status[data-state="success"] {
	border-color: var(--positive);
	color: var(--positive);
}

.form-status[data-state="error"] {
	border-color: var(--negative);
	color: var(--negative);
}

.privacy-line,
.footer-note {
	color: var(--fg-faint);
	font-size: 0.85rem;
}

/* --- Pricing page live controls --- */
.pricing-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin: 1.5rem 0 0.75rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
}

.control-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.9rem;
	max-width: 34rem;
}

.control-checkbox input {
	margin-top: 0.2rem;
}

.control-select {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	color: var(--fg-muted);
}

.control-select select {
	background: var(--bg-elevated);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--fg);
	padding: 0.45rem 0.6rem;
	font-size: 0.9rem;
	font-family: var(--font-body);
}

/* --- Footer --- */
.site-footer {
	border-top: 1px solid var(--border);
	padding: 2rem 1.5rem;
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	color: var(--fg-faint);
	font-size: 0.85rem;
}

.site-footer nav {
	display: flex;
	gap: 1.25rem;
}

.site-footer a {
	color: var(--fg-muted);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--fg);
}

/* --- 404 --- */
.landing-screen {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 3rem 1.5rem;
	gap: 1.5rem;
}

@media (max-width: 480px) {
	.wrap {
		padding: 0 1rem;
	}
}

/* --- Homepage: capability showcase (6 vignettes) --- */
/* Deliberately no full-width border rules between sections here: transitions
   are spacing plus soft radial washes, matching the "no hard separator bars"
   direction from the founder's homepage brief. */
.showcase {
	position: relative;
	padding: 4.5rem 0 3.5rem;
	overflow: hidden;
}

.showcase-wash {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
	z-index: 0;
}

.showcase-wash--one {
	width: 420px;
	height: 420px;
	top: -120px;
	left: -140px;
	background: radial-gradient(circle, rgba(13, 110, 82, 0.08), transparent 70%);
}

.showcase-wash--two {
	width: 380px;
	height: 380px;
	bottom: -160px;
	right: -120px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
}

.showcase .section-label {
	position: relative;
	z-index: 1;
	margin-bottom: 1.5rem;
}

.showcase-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem 1.5rem;
}

@media (max-width: 900px) {
	.showcase-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.showcase-grid {
		grid-template-columns: 1fr;
	}
}

.vignette {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-elevated);
	box-shadow: 0 2px 10px rgba(17, 20, 23, 0.04);
	overflow: hidden;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.vignette:hover {
	box-shadow: 0 8px 24px rgba(17, 20, 23, 0.08);
	transform: translateY(-2px);
}

.vignette-visual {
	height: 128px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	background: var(--bg-elevated-2);
	border-bottom: 1px solid var(--border);
}

.vignette-visual--dark {
	background: var(--dark-surface);
	border-bottom-color: rgba(255, 255, 255, 0.06);
	align-items: center;
}

.vignette-label {
	margin: 1.1rem 1.25rem 0.35rem;
	font-size: 1rem;
	font-weight: 600;
}

.vignette-line {
	margin: 0 1.25rem 1.25rem;
	color: var(--fg-muted);
	font-size: 0.9rem;
}

/* Vignette 1: no time limits */
.mini-timer {
	font-family: var(--font-mono);
	font-size: 1.9rem;
	font-weight: 500;
	color: var(--dark-fg);
	letter-spacing: -0.02em;
	text-align: center;
}

.mini-status-dot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: center;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent-2);
	border: 1px solid rgba(20, 184, 166, 0.35);
	background: rgba(20, 184, 166, 0.12);
	padding: 4px 10px;
	border-radius: 999px;
}

.mini-status-dot::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent-2);
}

/* Vignette 2: recordings stay yours */
.mini-session-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
}

.mini-session-row .session-title {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mini-account-badge {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--accent-hover);
	background: #e9f6f0;
	padding: 3px 8px;
	border-radius: 999px;
	white-space: nowrap;
}

/* Vignette 3: webinars and livestreams */
.live-chip {
	align-self: flex-start;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #f87171;
	border: 1px solid rgba(248, 113, 113, 0.4);
	background: rgba(248, 113, 113, 0.12);
	padding: 3px 8px;
	border-radius: 4px;
}

.stage-row {
	display: flex;
	gap: 6px;
	width: 100%;
}

.stage-tile {
	flex: 1;
	height: 46px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.08);
}

.stage-tile--speaker {
	background: rgba(20, 184, 166, 0.28);
	border: 1px solid rgba(20, 184, 166, 0.4);
}

/* Vignette 4: clients join with a link */
.join-pill {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg);
	background: #ffffff;
	border: 1px solid var(--chip-border);
	border-radius: 999px;
	padding: 7px 12px;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.join-pill-note {
	align-self: center;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-faint);
}

/* Vignette 5: it updates itself */
.update-toast {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--dark-fg);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 8px 14px;
	border-radius: 999px;
}

.update-toast-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent-2);
	flex-shrink: 0;
}

/* Vignette 6: everything in your account */
.mini-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.mini-stack-domain {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent-hover);
	background: #f2faf6;
	border: 1px solid rgba(13, 110, 82, 0.25);
	padding: 5px 10px;
	border-radius: 6px;
}

.mini-stack::after {
	content: "";
	width: 1px;
	height: 10px;
	background: var(--border-strong);
}

.mini-stack-account {
	font-size: 11px;
	color: var(--fg-muted);
	border: 1px dashed var(--border-strong);
	padding: 10px 16px;
	border-radius: 6px;
	width: 100%;
	max-width: 220px;
	text-align: center;
}

/* --- Homepage: closing band --- */
.closing-band {
	position: relative;
	text-align: center;
	padding: 4rem 0 4.5rem;
	overflow: hidden;
}

.closing-band-wash {
	position: absolute;
	inset: -60px -20% auto -20%;
	height: 260px;
	background: radial-gradient(ellipse, rgba(13, 110, 82, 0.07), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.closing-band h2,
.closing-band p,
.closing-band .button {
	position: relative;
	z-index: 1;
}

.closing-band h2 {
	margin: 0 0 0.6rem;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}

.closing-band p {
	margin: 0 auto 1.5rem;
	color: var(--fg-muted);
	max-width: 30rem;
}

/* --- Homepage: hero CTA layout with primary + secondary buttons --- */
.hero-cta-primary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
}

.hero-cta-secondary {
	align-self: center;
}
