:root {
	--bg: #faf6ef;
	--panel: #ffffff;
	--panel-border: #e3dbcd;
	--text: #1c1a24;
	--muted: #6b6774;
	--accent: #7c5cf0;
	--accent-hover: #5b3fd9;
	--danger: #c9375a;
	--ok: #1f9463;
}

/* Commercial video spot - ported from the main site's landing.css
   (.video-frame etc.) so both sites show the same placeholder/eventual
   embed with consistent styling, just using this file's own color
   variables (--accent instead of --purple, --text instead of --ink)
   since the affiliate site doesn't share landing.css. */
.video-section {
	max-width: 760px;
	margin: 0 auto 40px;
	width: 100%;
}
.video-section .section-eyebrow {
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 14px;
}
.video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--panel-border);
	background: var(--text);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.55; }
.video-play-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
}
.video-play-badge svg { width: 22px; height: 22px; fill: var(--accent); margin-left: 3px; }
.video-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 18px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background:
		radial-gradient(620px circle at 6% 12%, rgba(124, 92, 240, 0.16), transparent 60%),
		radial-gradient(520px circle at 96% 8%, rgba(78, 168, 255, 0.14), transparent 55%),
		radial-gradient(680px circle at 94% 88%, rgba(199, 125, 255, 0.14), transparent 55%),
		radial-gradient(520px circle at 4% 92%, rgba(124, 92, 240, 0.12), transparent 55%),
		var(--bg);
	background-attachment: fixed;
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 16px;
	position: relative;
}
body::before {
	content: "";
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #c77dff, #7c5cf0, #5b3fd9, #4ea8ff);
	z-index: 50;
}
@media (max-width: 780px) {
	body { background-attachment: scroll; }
}

header {
	text-align: center;
	margin-bottom: 28px;
	max-width: 640px;
}

.eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-hover);
	margin: 0 0 10px 0;
}

header h1 {
	font-size: 32px;
	line-height: 1.2;
	font-weight: 800;
	margin: 0 0 10px 0;
}
header h1 .accent { color: var(--accent); }

header p {
	color: var(--muted);
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.card {
	background: var(--panel);
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	padding: 28px;
	width: 100%;
	max-width: 420px;
}

label {
	display: block;
	font-size: 13px;
	color: var(--muted);
	margin: 16px 0 6px 0;
}

label:first-of-type { margin-top: 0; }

input, textarea, select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid var(--panel-border);
	background: #fdfaf5;
	color: var(--text);
	font-size: 14px;
	font-family: inherit;
}

textarea { resize: vertical; min-height: 70px; }
select { cursor: pointer; }
select:invalid { color: var(--muted); }

button {
	width: 100%;
	margin-top: 22px;
	padding: 13px;
	border: none;
	border-radius: 999px;
	background: var(--accent);
	color: white;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s;
}

button:hover { background: var(--accent-hover); transform: translateY(-1px); }
button:active { transform: translateY(0); }
button:disabled { opacity: 0.5; cursor: default; transform: none; }
button.secondary { background: transparent; border: 1px solid var(--panel-border); color: var(--text); }
button.secondary:hover { background: rgba(124, 92, 240, 0.08); }
button.danger { background: var(--danger); }

.msg {
	margin-top: 16px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	display: none;
}
.msg.show { display: block; }
.msg.ok { background: rgba(31, 148, 99, 0.12); color: var(--ok); }
.msg.error { background: rgba(201, 55, 90, 0.12); color: var(--danger); }

.stat-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 20px 0;
}
.stat {
	background: #fdfaf5;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	padding: 14px;
	text-align: center;
}
.stat .value { font-size: 22px; font-weight: 700; }
.stat .label { font-size: 12px; color: var(--muted); margin-top: 4px; }

.link-box {
	display: flex;
	gap: 8px;
	align-items: center;
}
.link-box input { flex: 1; }
.link-box button { width: auto; margin: 0; padding: 10px 14px; font-size: 13px; }

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
th, td {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px solid var(--panel-border);
}
th { color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: none; }

.pill {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}
.pill.pending { background: rgba(124, 92, 240, 0.14); color: var(--accent-hover); }
.pill.paid { background: rgba(31, 148, 99, 0.14); color: var(--ok); }
.pill.unpaid { background: rgba(201, 55, 90, 0.14); color: var(--danger); }

.actions { display: flex; gap: 8px; }
.actions button { width: auto; margin: 0; padding: 6px 12px; font-size: 12px; }

.channel-link { color: var(--accent-hover); text-decoration: none; }
.channel-link:hover { text-decoration: underline; }

.wide { max-width: 760px; }

a.link { color: var(--accent-hover); text-decoration: none; font-size: 13px; }
a.link:hover { text-decoration: underline; }

.top-nav {
	width: 100%;
	max-width: 760px;
	display: flex;
	justify-content: flex-end;
	margin-bottom: -8px;
}

.site-nav {
	display: flex;
	gap: 4px;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	max-width: 640px;
	margin: 0 0 24px 0;
}
.site-nav a {
	padding: 7px 16px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	color: var(--muted);
	text-decoration: none;
	border: 1px solid transparent;
}
.site-nav a:hover { color: var(--text); border-color: var(--panel-border); }
.site-nav a.active { color: var(--accent-hover); background: rgba(124, 92, 240, 0.1); border-color: transparent; }
/* Overrides the generic `select { width: 100% }` rule above - this one
   sits inline in the nav pill row (see lang-switch.js) and should size to
   its content, not stretch full-width and force a wrap. */
.site-nav select.lang-select {
	width: auto;
	padding: 6px 10px;
	font-size: 13px;
	border-radius: 999px;
}

.prose h2 {
	font-size: 21px;
	font-weight: 800;
	margin: 32px 0 12px 0;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
	color: var(--text);
	font-size: 15px;
	line-height: 1.75;
	margin: 0 0 14px 0;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--accent-hover); }

.callout {
	background: rgba(124, 92, 240, 0.08);
	border-left: 3px solid var(--accent);
	border-radius: 8px;
	padding: 16px 20px;
	margin: 20px 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--text);
}

.faq-item { margin-bottom: 24px; padding-left: 20px; position: relative; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}
.faq-item h3 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px 0;
	color: var(--text);
}
.faq-item p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

.rate-note {
	font-size: 12px;
	color: var(--muted);
	margin-top: 10px;
	line-height: 1.5;
}

.hero-cols {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	width: 100%;
	max-width: 940px;
	margin: 0 0 40px;
}
.hero-cols .col-text { flex: 1; min-width: 280px; text-align: left; }
.hero-cols .col-form { flex: 1; min-width: 320px; }
.hero-cols .col-form .card { max-width: none; }
@media (max-width: 780px) {
	.hero-cols { flex-direction: column; gap: 28px; }
}

.avatar-thumb {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin: 0 auto 16px;
	overflow: hidden;
	background: linear-gradient(160deg, #fdf0e6 0%, #f3e9fb 100%);
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 1px var(--panel-border);
	display: flex;
	align-items: center;
	justify-content: center;
}
.avatar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-thumb .placeholder {
	font-size: 10px;
	color: var(--muted);
	text-align: center;
	line-height: 1.4;
	padding: 8px;
}

.signature {
	font-family: 'Caveat', 'Segoe Script', cursive;
	font-size: 34px;
	color: var(--accent-hover);
	margin-top: 6px;
}
.signature-block {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--panel-border);
}
.signature-block p {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}

.hero-image {
	width: 100%;
	max-width: 360px;
	border-radius: 20px;
	overflow: hidden;
	margin: 0 auto 32px;
	box-shadow: 0 12px 32px rgba(28, 26, 36, 0.18);
	border: 1px solid var(--panel-border);
}
.hero-image img { width: 100%; height: auto; display: block; }

.value-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 8px;
}
.value-item h3 {
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 6px 0;
	color: var(--text);
}
.value-item p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
}
