/* Support pages (/support/**) — dark theme matching home.css */

:root {
	--bg: #07090d;
	--surface: rgba(255, 255, 255, 0.04);
	--surface-hover: rgba(255, 255, 255, 0.07);
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.18);
	--ink: #f4f6fa;
	--ink-2: #aab3c2;
	--ink-3: #6f7a8c;
	--brand: #3d8bff;
	--brand-2: #215a97;
	color-scheme: dark;
}

* { box-sizing: border-box; }
body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--ink);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	position: relative;
	overflow-x: hidden;
}
body::before, body::after {
	content: ''; position: fixed; z-index: -1; border-radius: 50%; filter: blur(110px); pointer-events: none;
}
body::before { width: 520px; height: 520px; left: -140px; top: -140px; background: radial-gradient(circle, #215a97, transparent 70%); opacity: 0.5; }
body::after { width: 480px; height: 480px; right: -140px; bottom: -120px; background: radial-gradient(circle, #da2e9f 0%, #8b4de8 45%, transparent 72%); opacity: 0.28; }
a { color: inherit; text-decoration: none; }

/* Top bar */
.topbar {
	display: flex; align-items: center; justify-content: space-between;
	max-width: 960px; margin: 0 auto; padding: 20px 24px;
}
.topbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; font-size: 1.05rem; }
.topbar .brand img { width: 28px; height: 28px; border-radius: 8px; }
.back {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
	color: var(--ink-2); font-size: 0.9rem; font-weight: 500; transition: color .2s, background .2s;
}
.back:hover { color: var(--ink); background: var(--surface-hover); }

/* Card */
main { display: flex; justify-content: center; padding: 8px 24px 48px; }
.card {
	width: 100%; max-width: 480px;
	padding: 32px; border-radius: 24px;
	background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
	border: 1px solid var(--line);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card.wide { max-width: 640px; }
.header-row { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.app-logo { display: block; flex: none; width: 44px; height: 44px; border-radius: 22.37%; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
h1 { font-size: 22px; margin: 0; letter-spacing: -0.02em; }
h1.solo { margin: 0 0 8px; }
p.lead { color: var(--ink-2); margin: 0 0 24px; }

/* App list (support index) */
ul.apps { list-style: none; margin: 0; padding: 0; }
ul.apps li + li { margin-top: 10px; }
a.app-link {
	display: flex; align-items: center; gap: 12px; padding: 12px 16px;
	border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
	font-weight: 600; transition: border-color .2s, background .2s, transform .2s;
}
a.app-link:hover { border-color: var(--brand); background: var(--surface-hover); transform: translateY(-1px); }
a.app-link img { flex: none; width: 36px; height: 36px; border-radius: 22.37%; }
a.app-link::after { content: '→'; margin-left: auto; color: var(--ink-3); }

/* Form */
label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 6px; color: var(--ink); }
input, textarea {
	width: 100%; padding: 10px 12px; font-size: 15px; color: var(--ink);
	background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); border-radius: 12px; font-family: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; }
button {
	margin-top: 24px; width: 100%; padding: 12px; font-size: 15px; font-weight: 600; font-family: inherit;
	color: #fff; background: var(--brand); border: none; border-radius: 999px; cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(61, 139, 255, 0.35); }
button:disabled { opacity: 0.6; cursor: default; }
.msg { margin-top: 16px; font-size: 14px; line-height: 1.5; }
.msg.error { color: #ff7a72; }
.msg.success { color: #5fd47a; }
.done h2 { font-size: 20px; margin: 0 0 8px; }
.done p { color: var(--ink-2); margin: 0; }
.done .back { margin-top: 20px; }

/* Long-form text (privacy) */
h2 { font-size: 17px; margin: 28px 0 8px; }
.card p, .card li { line-height: 1.6; }
.card ul:not(.apps) { margin: 8px 0; padding-left: 20px; }
.card p a, .card li a { color: var(--brand); }
