/* timevault.cloud — the public website.
 *
 * The TimeVault Cloud console's look: a near-black ground, #00E0B3 for action,
 * Inter for text and the system monospace for times, codes and labels. The
 * sign-in page (v16_timevault_whitelabel) uses the same tokens, so the site,
 * the sign-in and the console read as one product.
 *
 * Everything is scoped under .tvw. Frappe's base template also loads the
 * website theme, which styles headings, links and paragraphs; every rule here
 * states its own colour and size so nothing is taken from that theme.
 */

@font-face {
	font-family: "InterTVW";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/timevault_website/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
	font-family: "InterTVW";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/timevault_website/fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
	font-family: "InterTVW";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/timevault_website/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
	font-family: "InterTVW";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/timevault_website/fonts/Inter-Bold.woff2") format("woff2");
}

.tvw {
	--bg: #07090f;
	--bg-alt: #0a0d16;
	--surface: #0c0f1a;
	--surface-2: #11141f;
	--line: #1b2132;
	--line-2: #2a3248;
	--ink: #ecf1ff;
	--ink-2: #aab3cb;
	--ink-3: #8790ad;
	--accent: #00e0b3;
	--accent-hover: #33ebc6;
	--accent-ink: #04150f;
	--accent-soft: rgba(0, 224, 179, 0.14);
	--accent-tint: #0e2a27;
	--warn: #f2c94c;
	--warn-tint: #2b2410;
	--problem: #ff8a8a;
	--problem-tint: #2b1519;
	--font: "InterTVW", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
	--wrap: 1200px;
	--radius: 12px;

	color-scheme: dark;
	min-height: 100vh;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

.tvw h1,
.tvw h2,
.tvw h3,
.tvw h4 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.tvw p {
	margin: 0;
	color: var(--ink-2);
}

.tvw a {
	color: var(--accent);
	text-decoration: none;
}

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

.tvw img,
.tvw svg {
	display: block;
}

.tvw ul,
.tvw ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.tvw-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--accent);
}

.tvw .tvw-skip:focus {
	left: 16px;
	color: var(--accent-ink);
}

.tvw-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.tvw-mono {
	font-family: var(--mono);
}

/* ── type ───────────────────────────────────────────────────────────── */

.tvw .tvw-eyebrow {
	display: block;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.tvw .tvw-eyebrow--accent {
	color: var(--accent);
}

.tvw .tvw-h1 {
	font-size: clamp(40px, 5.6vw, 64px);
	line-height: 1.03;
	letter-spacing: -0.03em;
	font-weight: 700;
	text-wrap: balance;
}

.tvw .tvw-h2 {
	font-size: clamp(30px, 3.6vw, 40px);
	line-height: 1.1;
	text-wrap: balance;
}

.tvw .tvw-h3 {
	font-size: 20px;
	line-height: 1.25;
}

.tvw .tvw-lead {
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.5;
	color: var(--ink-2);
	max-width: 58ch;
}

.tvw .tvw-body {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-2);
}

.tvw .tvw-small {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-3);
}

/* ── buttons, pills ─────────────────────────────────────────────────── */

.tvw .tvw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

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

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

.tvw .tvw-btn--ghost {
	border-color: var(--line-2);
	background: transparent;
	color: var(--ink);
}

.tvw .tvw-btn--ghost:hover {
	border-color: #3a4462;
	background: var(--surface-2);
	color: #ffffff;
}

.tvw .tvw-btn--sm {
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}

.tvw .tvw-btn[disabled],
.tvw .tvw-btn[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

.tvw .tvw-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tvw .tvw-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 11px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-2);
	white-space: nowrap;
}

.tvw .tvw-pill--live {
	border-color: #1f5c52;
	color: #5eead4;
}

.tvw .tvw-pill--soon {
	border-color: #5c4a1f;
	color: var(--warn);
}

.tvw .tvw-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.tvw .tvw-tag {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.tvw .tvw-tag--in {
	background: var(--accent-tint);
	color: #5eead4;
}

.tvw .tvw-tag--dup {
	background: var(--warn-tint);
	color: var(--warn);
}

.tvw .tvw-tag--late {
	background: var(--problem-tint);
	color: var(--problem);
}

.tvw .tvw-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--ink-2);
}

.tvw .tvw-check svg {
	flex: 0 0 auto;
	color: var(--accent);
}

.tvw .tvw-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.tvw .tvw-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

/* ── nav ────────────────────────────────────────────────────────────── */

.tvw-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--line);
	background: rgba(7, 9, 15, 0.86);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	backdrop-filter: saturate(140%) blur(12px);
}

.tvw-nav__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 68px;
}

.tvw .tvw-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: 16px;
	color: var(--ink);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.tvw .tvw-brand:hover {
	color: #ffffff;
}

.tvw .tvw-brand img {
	border-radius: 8px;
}

.tvw-nav__menu {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 4px;
}

.tvw .tvw-nav__menu a:not(.tvw-btn) {
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-2);
}

.tvw .tvw-nav__menu a:not(.tvw-btn):hover,
.tvw .tvw-nav__menu a[aria-current="page"] {
	background: var(--surface-2);
	color: var(--ink);
}

.tvw-nav__spacer {
	flex: 1;
}

.tvw-nav__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

@media (max-width: 960px) {
	.tvw-nav__toggle {
		display: inline-flex;
	}

	.tvw-nav__bar {
		flex-wrap: wrap;
	}

	.tvw-nav__menu {
		display: none;
		flex: 1 0 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 8px 0 16px;
	}

	.tvw-nav[data-open="true"] .tvw-nav__menu {
		display: flex;
	}

	.tvw-nav__spacer {
		display: none;
	}

	.tvw .tvw-nav__menu .tvw-btn {
		margin-top: 8px;
	}
}

/* ── sections ───────────────────────────────────────────────────────── */

.tvw-section {
	padding: 88px 0;
	border-bottom: 1px solid var(--line);
}

.tvw-section--alt {
	background: var(--bg-alt);
}

.tvw-section--tight {
	padding: 64px 0;
}

.tvw-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 40px;
}

.tvw-section__head > div {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 760px;
}

.tvw-section__head > p {
	max-width: 46ch;
}

.tvw-grid {
	display: grid;
	gap: 16px;
}

.tvw-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.tvw-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.tvw-grid--tiles {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 12px;
}

.tvw-grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.tvw-split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px 56px;
}

.tvw-split > * {
	flex: 1 1 440px;
	min-width: 0;
}

.tvw-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tvw-stack--sm {
	gap: 12px;
}

/* ── hero ───────────────────────────────────────────────────────────── */

.tvw-hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 80px;
	border-bottom: 1px solid var(--line);
	isolation: isolate;
}

.tvw-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(135, 144, 173, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(135, 144, 173, 0.07) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 25% 20%, #000 20%, transparent 72%);
	mask-image: radial-gradient(ellipse 70% 70% at 25% 20%, #000 20%, transparent 72%);
}

.tvw-hero::after {
	content: "";
	position: absolute;
	top: -200px;
	right: -120px;
	z-index: -1;
	width: 640px;
	height: 520px;
	background: radial-gradient(closest-side, rgba(0, 224, 179, 0.08), transparent);
}

.tvw-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.tvw-hero__copy > .tvw-pill {
	align-self: flex-start;
	max-width: 100%;
}

/* The live board needs ~560px for all five columns: below that the hero
   stacks instead of squeezing the board. */
.tvw-split > .tvw-hero__visual {
	flex-basis: 560px;
}

@media (max-width: 560px) {
	.tvw .tvw-hide-sm {
		display: none;
	}
}

.tvw-hero--center .tvw-hero__copy {
	align-items: center;
	text-align: center;
}

.tvw-hero--center .tvw-lead {
	margin: 0 auto;
}

/* ── cards ──────────────────────────────────────────────────────────── */

.tvw-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.tvw-card--feature {
	border-color: #1f5c52;
	box-shadow: 0 0 0 1px rgba(0, 224, 179, 0.12), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.tvw-card--roadmap {
	border-style: dashed;
	border-color: var(--line-2);
}

.tvw-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tvw-card__icon {
	color: var(--accent);
}

.tvw-card__grow {
	flex: 1;
}

.tvw-list {
	display: flex;
	flex-direction: column;
}

.tvw-list li {
	padding: 10px 0;
	border-top: 1px solid var(--line);
	font-size: 15px;
	color: var(--ink-2);
}

.tvw-list--compact li {
	padding: 7px 0;
	font-size: 14px;
	color: var(--ink-3);
}

.tvw-kv {
	display: flex;
	flex-direction: column;
}

.tvw-kv div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.tvw-kv dt {
	color: var(--ink-3);
}

.tvw-kv dd {
	margin: 0;
	text-align: right;
	color: var(--ink);
}

.tvw-num {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--accent);
}

/* ── the live board mock ────────────────────────────────────────────── */

.tvw-board {
	overflow: hidden;
	max-width: 580px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.tvw-board__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	background: #0a0d16;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-2);
}

.tvw-board__head span:last-child {
	margin-left: auto;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--ink-3);
}

.tvw-board__scroll {
	overflow-x: auto;
}

.tvw-board table {
	width: 100%;
	border-collapse: collapse;
}

.tvw-board th,
.tvw-board td {
	padding: 12px 18px;
	text-align: left;
	white-space: nowrap;
	font-family: var(--mono);
}

.tvw-board th {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.tvw-board td {
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink-2);
}

.tvw-board td:first-child {
	color: var(--ink);
}

.tvw-board__foot {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	background: #0a0d16;
}

.tvw-board__foot div {
	padding: 14px 18px;
}

.tvw-board__foot div + div {
	border-left: 1px solid var(--line);
}

.tvw-board__foot small {
	display: block;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.tvw-board__foot strong {
	display: block;
	margin-top: 4px;
	font-family: var(--mono);
	font-size: 22px;
	font-weight: 600;
	color: var(--ink);
}

/* ── topology diagrams (Lite and Cloud) ─────────────────────────────── */

.tvw-topo {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 540px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.tvw-topo__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
}

.tvw-node {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 14px;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	background: var(--surface-2);
}

.tvw-node small {
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.tvw-node strong {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.tvw-node span {
	font-size: 13px;
	color: var(--ink-3);
}

.tvw-node--hub {
	padding: 18px;
	border-color: #1f5c52;
	background: #0b1714;
}

.tvw-node--hub small {
	color: var(--accent);
}

.tvw-node--dashed {
	border-style: dashed;
	background: transparent;
}

.tvw-flow {
	display: flex;
	justify-content: center;
	color: var(--accent);
}

.tvw-flow--muted {
	color: var(--line-2);
}

.tvw-address {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	padding: 10px 14px;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	background: var(--surface-2);
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--ink-3);
}

.tvw-address strong {
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
}

.tvw-shield {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #5eead4;
}

/* ── steps ──────────────────────────────────────────────────────────── */

.tvw-steps {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.tvw-steps li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.tvw-steps__n {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--accent);
	border-radius: 50%;
	font-family: var(--mono);
	font-size: 14px;
	font-weight: 600;
	color: var(--accent);
}

.tvw-steps li > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 7px;
}

.tvw-steps strong {
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
}

/* ── tables ─────────────────────────────────────────────────────────── */

.tvw-table-box {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.tvw-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}

.tvw-table th,
.tvw-table td {
	padding: 14px 16px;
	border-top: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
	font-size: 15px;
	color: var(--ink-2);
}

.tvw-table thead th {
	border-top: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.tvw-table tbody th {
	width: 30%;
	font-weight: 500;
	color: var(--ink-3);
}

.tvw-table .tvw-group th {
	padding-top: 24px;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.tvw-table .is-hl {
	color: var(--accent);
}

.tvw .tvw-yes {
	font-weight: 500;
	color: #5eead4;
}

.tvw .tvw-no {
	color: #5a6480;
}

.tvw .tvw-soon {
	font-weight: 500;
	color: var(--warn);
}

/* ── devices ────────────────────────────────────────────────────────── */

.tvw-device__art {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 190px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background:
		radial-gradient(closest-side, rgba(0, 224, 179, 0.07), transparent),
		var(--surface-2);
	color: var(--ink-3);
}

.tvw-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tvw-chip {
	padding: 5px 9px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--surface-2);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5a6480;
}

.tvw-chip--on {
	border-color: #1f5c52;
	color: #5eead4;
}

/* ── pricing ────────────────────────────────────────────────────────── */

.tvw-price {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tvw-price strong {
	font-family: var(--font);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.tvw-price--accent strong {
	color: var(--accent);
}

.tvw-faq {
	display: flex;
	flex-direction: column;
}

.tvw-faq details {
	border-top: 1px solid var(--line);
}

.tvw-faq details:last-child {
	border-bottom: 1px solid var(--line);
}

.tvw-faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
	list-style: none;
	cursor: pointer;
}

.tvw-faq summary::-webkit-details-marker {
	display: none;
}

.tvw-faq summary::after {
	content: "+";
	font-family: var(--mono);
	color: var(--ink-3);
}

.tvw-faq details[open] summary::after {
	content: "\2212";
}

.tvw-faq details p {
	padding: 0 0 20px;
	max-width: 70ch;
	line-height: 1.6;
}

/* ── promises strip ─────────────────────────────────────────────────── */

.tvw-promises {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.tvw-promises > div {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 -1px -1px 0;
	padding: 28px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.tvw-promises strong {
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
}

/* ── call to action band ────────────────────────────────────────────── */

.tvw-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.tvw-cta > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 56ch;
}

.tvw-callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 20px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface-2);
}

.tvw-callout svg {
	flex: 0 0 auto;
	color: var(--warn);
}

.tvw-callout p {
	flex: 1 1 360px;
	line-height: 1.55;
}

/* ── the demo form ──────────────────────────────────────────────────── */

.tvw-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tvw-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 16px;
}

.tvw-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tvw .tvw-field label {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
}

.tvw .tvw-field label span {
	font-weight: 400;
	color: var(--ink-3);
}

.tvw .tvw-input {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	background: var(--surface-2);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.12s, box-shadow 0.12s;
}

.tvw textarea.tvw-input {
	min-height: 110px;
	resize: vertical;
}

.tvw select.tvw-input {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238790ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E");
	background-position: right 13px center;
	background-repeat: no-repeat;
}

.tvw .tvw-input::placeholder {
	color: #6b7594;
}

.tvw .tvw-input:hover {
	border-color: #3a4462;
}

.tvw .tvw-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.tvw input.tvw-input:-webkit-autofill,
.tvw input.tvw-input:-webkit-autofill:hover,
.tvw input.tvw-input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--ink);
	caret-color: var(--ink);
	box-shadow: 0 0 0 1000px var(--surface-2) inset;
	transition: background-color 9999s ease-out 0s;
}

/* The trap field: off-screen for people, filled in by bots. */
.tvw-trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tvw-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.tvw-alert[hidden] {
	display: none;
}

.tvw-alert--ok {
	background: var(--accent-tint);
	color: #b7f5e6;
}

.tvw-alert--problem {
	background: var(--problem-tint);
	color: var(--problem);
}

/* ── footer ─────────────────────────────────────────────────────────── */

.tvw-foot {
	background: #05070b;
}

.tvw-foot__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 40px;
}

.tvw-foot__about {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 320px;
}

.tvw-foot__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

.tvw-foot__cols div {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tvw .tvw-foot__cols strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.tvw .tvw-foot__cols a {
	font-size: 14px;
	color: var(--ink-3);
}

.tvw .tvw-foot__cols a:hover {
	color: var(--ink);
}

.tvw-foot__base {
	padding-bottom: 28px;
}

.tvw-foot__base p {
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

/* ── small screens, motion ──────────────────────────────────────────── */

@media (max-width: 720px) {
	.tvw-section {
		padding: 64px 0;
	}

	.tvw-hero {
		padding: 56px 0 56px;
	}

	.tvw-card {
		padding: 22px;
	}

	.tvw-wrap {
		padding: 0 16px;
	}

	.tvw-board__foot strong {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tvw * {
		transition: none !important;
		animation: none !important;
	}
}
