/* Peal subpage theme — remaps the site palette to the Peal app
	(peal/assets/theme.json, preset "warm-dark": warm charcoal + copper).
	Load after css.css; only linked from the Peal subpages. */
:root {
	--bg: #16120d;
	--bg-soft: #1d1710;
	--card: #221b14;
	--card-hi: #2e251c;
	--text: #f4efe8;
	--muted: #b4a99a;
	--accent: #e0a45c;
	--accent2: #5fbf77;
	--rose: #e5584f;
	--accent-soft: rgba(224, 164, 92, .38);
	--border: #3b3126;
	--ok: #5fbf77;
}

/* Warm ambient glow (the app is amber, not green). */
body::before {
	background:
		radial-gradient(920px 500px at 12% -8%, rgba(224, 164, 92, .13), transparent 65%),
		radial-gradient(860px 460px at 88% -12%, rgba(224, 164, 92, .09), transparent 65%),
		radial-gradient(700px 700px at 50% 115%, rgba(95, 191, 119, .05), transparent 70%);
}

::selection { background: rgba(224, 164, 92, .3); }
:focus-visible { outline-color: rgba(224, 164, 92, .6); }

header.top { background: rgba(17, 13, 9, .72); }

/* Copper CTA (matches the app's amber buttons). */
.btn, a.peal-btn {
	background: linear-gradient(120deg, #e0a45c, #b57a42);
	box-shadow: 0 10px 26px rgba(224, 164, 92, .2), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn:hover, a.peal-btn:hover {
	box-shadow: 0 14px 32px rgba(224, 164, 92, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn.sub { border-color: rgba(180, 169, 154, .3); }
.btn.sub:hover { border-color: var(--accent-soft); }

/* Copper wordmark gradient (was gold→rose). The clip longhands must be
	re-declared here: the background shorthand resets background-clip, and this
	stylesheet loads after css.css, so it would otherwise win the cascade and
	leave transparent text over an unclipped gradient box. */
.glow {
	background: linear-gradient(95deg, #edc27f, #d99a5b);
	-webkit-background-clip: text; background-clip: text;
}

/* App-green tags (pre-release / available). */
.tag { border-color: rgba(95, 191, 119, .45); background: rgba(95, 191, 119, .08); }

/* Forms (downloads license modal + any fields). */
.field input { border-color: rgba(180, 169, 154, .28); }
.field input::placeholder { color: rgba(180, 169, 154, .55); }
.field input:focus { outline-color: rgba(224, 164, 92, .6); }
