/* =============================================================================
   Coax marketing site
   -----------------------------------------------------------------------------
   Token system mirrors src/ui/public/tokens.css from the desktop app so the
   visual identity is one thing across both surfaces. Dark by default; a
   light-theme toggle is implemented entirely with `[data-theme]` overrides.
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root,
[data-theme='dark'] {
	color-scheme: dark;

	/* Surface */
	--bg-base: #0a1020;
	--bg-elevated: #131a2d;
	--bg-sunken: #060a14;
	--bg-hover: #1a2238;
	--bg-active: #232d47;

	/* Border */
	--border: #232d47;
	--border-strong: #344261;

	/* Text */
	--text-primary: #f1f5f9;
	--text-secondary: #9aa6bb;
	--text-muted: #5e6a82;

	/* Brand */
	--accent: #60a5fa;
	--accent-hover: #93c5fd;
	--accent-subtle: #1e2e55;
	--accent-glow: rgb(96 165 250 / 0.28);
	--accent-on: #0a1020;

	/* Gradient */
	--gradient-brand: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
	--gradient-brand-soft: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);

	/* Semantic */
	--success: #4ade80;
	--danger: #f87171;
	--warning: #fbbf24;

	/* Shadow */
	--shadow-sm: 0 1px 3px rgb(0 0 0 / 0.45), 0 1px 2px rgb(0 0 0 / 0.35);
	--shadow-md: 0 4px 14px -2px rgb(0 0 0 / 0.55), 0 2px 6px -2px rgb(0 0 0 / 0.4);
	--shadow-lg: 0 16px 36px -8px rgb(0 0 0 / 0.65), 0 6px 14px -4px rgb(0 0 0 / 0.45);
	--shadow-xl: 0 22px 60px -12px rgb(0 0 0 / 0.7), 0 10px 22px -6px rgb(0 0 0 / 0.5);

	/* Method colors (compare table) */
	--method-get: #3b82f6;
	--method-post: #22c55e;
	--method-put: #f59e0b;
	--method-delete: #ef4444;
}

[data-theme='light'] {
	color-scheme: light;

	--bg-base: #ffffff;
	--bg-elevated: #fafbfc;
	--bg-sunken: #f4f6f8;
	--bg-hover: #f0f3f7;
	--bg-active: #e4e9f0;

	--border: #e4e9f0;
	--border-strong: #c7d0dd;

	--text-primary: #0b1729;
	--text-secondary: #475569;
	--text-muted: #8a95a8;

	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	--accent-subtle: #dbe7ff;
	--accent-glow: rgb(37 99 235 / 0.18);
	--accent-on: #ffffff;

	--gradient-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
	--gradient-brand-soft: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);

	--shadow-sm: 0 1px 2px rgb(15 23 42 / 0.04), 0 1px 3px rgb(15 23 42 / 0.06);
	--shadow-md: 0 2px 4px -2px rgb(15 23 42 / 0.05), 0 4px 10px -2px rgb(15 23 42 / 0.08);
	--shadow-lg: 0 4px 6px -2px rgb(15 23 42 / 0.04), 0 12px 20px -4px rgb(15 23 42 / 0.10);
	--shadow-xl: 0 8px 12px -4px rgb(15 23 42 / 0.04), 0 20px 30px -6px rgb(15 23 42 / 0.12);
}

:root {
	/* Theme-agnostic */
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', 'SF Mono', Monaco, Consolas, 'Courier New', monospace;

	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 20px;
	--radius-pill: 9999px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--motion-fast: 120ms;
	--motion-base: 220ms;

	--container: 1120px;
	--container-narrow: 760px;
}

/* -----------------------------------------------------------------------------
   Reset + base
   ----------------------------------------------------------------------------- */

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

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-primary);
	background: var(--bg-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.005em;
	font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--motion-fast) var(--ease-out);
}
a:hover {
	color: var(--accent-hover);
}

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

code {
	font-family: var(--font-mono);
	font-size: 0.92em;
	padding: 2px 6px;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--accent);
}

::selection {
	background: var(--accent-subtle);
	color: var(--text-primary);
}

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

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

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.container--narrow {
	max-width: var(--container-narrow);
}

section {
	padding: 96px 0;
}

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

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: var(--radius-md);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.005em;
	cursor: pointer;
	border: 1px solid transparent;
	transition:
		background var(--motion-fast) var(--ease-out),
		border-color var(--motion-fast) var(--ease-out),
		color var(--motion-fast) var(--ease-out),
		transform var(--motion-fast) var(--ease-out),
		box-shadow var(--motion-fast) var(--ease-out);
	white-space: nowrap;
}
.btn:active {
	transform: scale(0.98);
}
.btn--primary {
	background: var(--accent);
	color: var(--accent-on);
}
.btn--primary:hover {
	background: var(--accent-hover);
	color: var(--accent-on);
	box-shadow: var(--shadow-md), 0 0 0 4px var(--accent-glow);
}
.btn--secondary {
	background: var(--bg-elevated);
	border-color: var(--border);
	color: var(--text-primary);
}
.btn--secondary:hover {
	background: var(--bg-hover);
	border-color: var(--border-strong);
	color: var(--text-primary);
}
.btn--ghost {
	background: transparent;
	color: var(--text-secondary);
}
.btn--ghost:hover {
	background: var(--bg-hover);
	color: var(--text-primary);
}
.btn--lg {
	padding: 14px 28px;
	font-size: 15px;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--bg-base) 80%, transparent);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--border);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 16px 24px;
	max-width: var(--container);
	margin: 0 auto;
}
.site-header__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.015em;
	color: var(--text-primary);
}
.site-header__brand:hover {
	color: var(--text-primary);
}
.site-header__nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
}
.site-header__nav a {
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
}
.site-header__nav a:hover {
	color: var(--text-primary);
}
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}
.theme-toggle {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--text-secondary);
	cursor: pointer;
	transition:
		background var(--motion-fast) var(--ease-out),
		color var(--motion-fast) var(--ease-out),
		border-color var(--motion-fast) var(--ease-out);
}
.theme-toggle:hover {
	background: var(--bg-hover);
	color: var(--text-primary);
}
@media (max-width: 768px) {
	.site-header__nav a {
		display: none;
	}
}

/* Brand mark — same dark-card aesthetic as the app icon */
.brand-mark {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: linear-gradient(180deg, #1a2238 0%, #0a1020 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 0.10),
		inset 0 0 0 1px rgb(255 255 255 / 0.06),
		var(--shadow-sm);
	position: relative;
}
.brand-mark::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgb(255 255 255 / 0.08) 0%, transparent 50%);
	pointer-events: none;
}
.brand-mark svg {
	width: 22px;
	height: 22px;
	position: relative;
	z-index: 1;
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */

.hero {
	padding-top: 96px;
	padding-bottom: 64px;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	inset: -10% -10% auto -10%;
	height: 600px;
	background:
		radial-gradient(ellipse 50% 50% at 50% 30%, var(--accent-subtle) 0%, transparent 70%);
	z-index: 0;
	pointer-events: none;
}
.hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}
.hero__mark {
	width: 96px;
	height: 96px;
	border-radius: 24px;
	background: linear-gradient(180deg, #1a2238 0%, #0a1020 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 0.10),
		inset 0 0 0 1px rgb(255 255 255 / 0.06),
		var(--shadow-xl);
	position: relative;
	margin-bottom: 32px;
	animation: hero-float 5s var(--ease-in-out) infinite;
}
.hero__mark::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgb(255 255 255 / 0.10) 0%, transparent 50%);
	pointer-events: none;
}
.hero__mark svg {
	width: 64px;
	height: 64px;
	position: relative;
	z-index: 1;
}
@keyframes hero-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}
.hero__tagline {
	font-size: clamp(36px, 6vw, 60px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 700;
	margin: 0 0 20px;
	color: var(--text-primary);
}
.hero__tagline .accent {
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero__sub {
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.55;
	color: var(--text-secondary);
	margin: 0 0 36px;
	max-width: 600px;
}
.hero__sub code {
	color: var(--accent);
}
.hero__cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 18px;
}
.hero__meta {
	display: flex;
	gap: 16px;
	color: var(--text-muted);
	font-size: 13px;
}
.hero__meta .dot {
	opacity: 0.5;
}

/* -----------------------------------------------------------------------------
   Hero screenshot
   ----------------------------------------------------------------------------- */

.hero-screenshot {
	margin-top: 64px;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-xl);
	border: 1px solid var(--border);
	background: var(--bg-elevated);
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
.hero-screenshot__placeholder {
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-family: var(--font-mono);
	font-size: 13px;
	background:
		repeating-linear-gradient(
			135deg,
			var(--bg-elevated),
			var(--bg-elevated) 12px,
			var(--bg-hover) 12px,
			var(--bg-hover) 24px
		);
}
.hero-screenshot__img {
	display: block;
	width: 100%;
	height: auto;
}

/* -----------------------------------------------------------------------------
   "Why file-based?" — three columns
   ----------------------------------------------------------------------------- */

.section-eyebrow {
	display: block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12px;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 12px;
}
.section-title {
	text-align: center;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--text-primary);
}
.section-lede {
	text-align: center;
	max-width: 580px;
	margin: 0 auto 56px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--text-secondary);
}

.why {
	background: var(--bg-elevated);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.why__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.why__card {
	background: var(--bg-base);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
}
.why__card .icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-md);
	background: var(--accent-subtle);
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.why__card h3 {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--text-primary);
}
.why__card p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 14.5px;
	line-height: 1.6;
}
@media (max-width: 768px) {
	.why__grid {
		grid-template-columns: 1fr;
	}
}

/* -----------------------------------------------------------------------------
   Features grid (6 tiles)
   ----------------------------------------------------------------------------- */

.features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.feature {
	padding: 24px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: var(--bg-base);
	transition:
		border-color var(--motion-base) var(--ease-out),
		transform var(--motion-base) var(--ease-out),
		box-shadow var(--motion-base) var(--ease-out);
}
.feature:hover {
	border-color: var(--border-strong);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.feature .icon {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-md);
	background: var(--accent-subtle);
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.feature h3 {
	font-size: 15.5px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--text-primary);
}
.feature p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.55;
}
@media (max-width: 768px) {
	.features__grid {
		grid-template-columns: 1fr;
	}
}

/* -----------------------------------------------------------------------------
   See it in action — alternating image/caption rows
   ----------------------------------------------------------------------------- */

.in-action {
	padding: 96px 0;
}
.in-action__grid {
	display: flex;
	flex-direction: column;
	gap: 96px;
	margin-top: 56px;
}
.in-action__item {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 48px;
	align-items: center;
	margin: 0;
}
.in-action__item:nth-child(even) {
	grid-template-columns: 1fr 1.35fr;
}
.in-action__item:nth-child(even) img {
	order: 2;
}
.in-action__item img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
	background: var(--bg-elevated);
}
.in-action__item figcaption h3 {
	font-size: 22px;
	margin: 0 0 12px;
	color: var(--text-primary);
	letter-spacing: -0.01em;
}
.in-action__item figcaption p {
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}
.in-action__item figcaption p code {
	font-family: var(--font-mono);
	font-size: 0.9em;
	padding: 1px 5px;
	border-radius: 4px;
	background: var(--bg-elevated);
	color: var(--text-primary);
}
@media (max-width: 768px) {
	.in-action {
		padding: 64px 0;
	}
	.in-action__grid {
		gap: 64px;
		margin-top: 40px;
	}
	.in-action__item,
	.in-action__item:nth-child(even) {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.in-action__item:nth-child(even) img {
		order: 0;
	}
}

/* -----------------------------------------------------------------------------
   Compare table
   ----------------------------------------------------------------------------- */

.compare {
	background: var(--bg-elevated);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.compare__table-wrap {
	overflow-x: auto;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: var(--bg-base);
}
.compare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	min-width: 640px;
}
.compare__table th,
.compare__table td {
	text-align: left;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
}
.compare__table thead th {
	font-weight: 600;
	color: var(--text-primary);
	background: var(--bg-elevated);
	font-size: 13px;
	letter-spacing: -0.005em;
}
.compare__table thead th:first-child {
	color: var(--text-muted);
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.compare__table .col-coax {
	background: var(--accent-subtle);
	color: var(--text-primary);
}
.compare__table .yes {
	color: var(--success);
	font-weight: 600;
}
.compare__table .no {
	color: var(--text-muted);
}
.compare__table tbody tr:last-child td {
	border-bottom: none;
}

/* -----------------------------------------------------------------------------
   Pricing
   ----------------------------------------------------------------------------- */

.pricing__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	max-width: 880px;
	margin: 0 auto;
}
.pricing__grid > .price-card {
	flex: 1 1 360px;
	max-width: 440px;
}
.price-card {
	padding: 32px;
	border-radius: var(--radius-xl);
	border: 1px solid var(--border);
	background: var(--bg-elevated);
	display: flex;
	flex-direction: column;
}
.price-card--featured {
	border-color: var(--accent);
	background:
		linear-gradient(180deg, var(--accent-subtle) 0%, var(--bg-elevated) 50%),
		var(--bg-elevated);
	box-shadow: var(--shadow-lg), 0 0 0 4px var(--accent-glow);
	position: relative;
}
.price-card--featured::before {
	content: 'Available today';
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 12px;
	background: var(--accent);
	color: var(--accent-on);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-sm);
}
.price-card__name {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--text-primary);
}
.price-card__tagline {
	font-size: 14px;
	color: var(--text-secondary);
	margin: 0 0 24px;
}
.price-card__price {
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--text-primary);
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.price-card__price .currency {
	font-size: 24px;
	color: var(--text-secondary);
	font-weight: 600;
}
.price-card__price .period {
	font-size: 14px;
	color: var(--text-muted);
	font-weight: 500;
}
.price-card__features {
	list-style: none;
	padding: 0;
	margin: 24px 0;
	flex: 1;
}
.price-card__features li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 6px 0;
	color: var(--text-secondary);
	font-size: 14.5px;
}
.price-card__features li::before {
	content: '✓';
	color: var(--success);
	font-weight: 700;
	flex-shrink: 0;
}
.price-card--coming .price-card__features li::before {
	content: '◇';
	color: var(--text-muted);
}
.price-card--coming {
	opacity: 0.85;
}

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

.faq {
	max-width: var(--container-narrow);
	margin: 0 auto;
}
.faq__item {
	border-top: 1px solid var(--border);
	padding: 24px 0;
}
.faq__item:last-child {
	border-bottom: 1px solid var(--border);
}
.faq__item summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	color: var(--text-primary);
	list-style: none;
	position: relative;
	padding-right: 32px;
}
.faq__item summary::-webkit-details-marker {
	display: none;
}
.faq__item summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	color: var(--text-muted);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform var(--motion-base) var(--ease-out);
}
.faq__item[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}
.faq__item p {
	margin: 12px 0 0;
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   CTA strip
   ----------------------------------------------------------------------------- */

.cta-strip {
	text-align: center;
}
.cta-strip__inner {
	padding: 64px 32px;
	border-radius: var(--radius-xl);
	border: 1px solid var(--border);
	background:
		radial-gradient(ellipse 80% 60% at 50% 30%, var(--accent-subtle) 0%, transparent 70%),
		var(--bg-elevated);
}
.cta-strip h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin: 0 0 12px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-primary);
}
.cta-strip p {
	margin: 0 0 24px;
	color: var(--text-secondary);
	font-size: 16px;
}

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

.site-footer {
	border-top: 1px solid var(--border);
	background: var(--bg-elevated);
	padding: 48px 0;
	color: var(--text-muted);
	font-size: 14px;
}
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
}
.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-secondary);
	font-weight: 600;
}
.site-footer__links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.site-footer__links a {
	color: var(--text-muted);
	font-size: 14px;
}
.site-footer__links a:hover {
	color: var(--text-primary);
}

/* -----------------------------------------------------------------------------
   Privacy doc page
   ----------------------------------------------------------------------------- */

.prose {
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: 64px 24px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-secondary);
}
.prose h1 {
	font-size: clamp(32px, 4vw, 44px);
	letter-spacing: -0.02em;
	color: var(--text-primary);
	margin: 0 0 12px;
}
.prose h2 {
	font-size: 22px;
	margin: 40px 0 12px;
	color: var(--text-primary);
}
.prose h3 {
	font-size: 17px;
	margin: 32px 0 8px;
	color: var(--text-primary);
}
.prose p {
	margin: 12px 0;
}
.prose .lede {
	font-size: 18px;
	color: var(--text-primary);
	margin: 0 0 24px;
}
.prose ul,
.prose ol {
	margin: 12px 0;
	padding-left: 22px;
}
.prose pre {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 14px 16px;
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.55;
	margin: 14px 0;
}
.prose pre code {
	background: transparent;
	padding: 0;
	color: var(--text-primary);
	font-size: inherit;
}
.prose code {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}
.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}
.prose th,
.prose td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	font-size: 14.5px;
}
.prose th {
	background: var(--bg-elevated);
	color: var(--text-primary);
	font-weight: 600;
}

/* -----------------------------------------------------------------------------
   Thanks page
   ----------------------------------------------------------------------------- */

.thanks-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	color: var(--accent);
	margin-bottom: 8px;
}

.thanks-downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 8px;
}

.thanks-ref {
	margin-top: 32px;
	font-size: 13px;
	color: var(--text-tertiary, var(--text-secondary));
	opacity: 0.7;
}

.thanks-snippet {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 14px 16px;
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.6;
	margin: 14px 0;
}
.thanks-snippet code {
	background: transparent;
	padding: 0;
	color: var(--text-primary);
}
