/* Catchmates website: the game's sky (boot splash #4aa7e0), the logo's navy outline and cream letters. */
:root {
	--sky-top: #6fbcef; --sky: #4aa7e0; --water: #3f9bd8;
	--navy: #14304f; --cream: #fff4d6; --orange: #f07b4f;
	--ink: #1d2a33; --muted: #5b6b75; --page: #f4f8fb; --card: #ffffff; --line: #dde7ee;
}
@media (prefers-color-scheme: dark) {
	:root { --ink: #e9eef0; --muted: #9fb0b8; --page: #0f1a22; --card: #17242e; --line: #263744; }
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--sky); }
@media (prefers-color-scheme: dark) { a { color: var(--sky-top); } }

/* The sky band on top of every page */
.sky {
	background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky) 100%);
	text-align: center; padding: 22px 16px 26px; position: relative; overflow: hidden;
}
.sky::before, .sky::after {  /* two soft clouds */
	content: ""; position: absolute; background: rgba(255, 255, 255, 0.85); border-radius: 999px;
	box-shadow: 40px -14px 0 6px rgba(255, 255, 255, 0.85), 84px 0 0 -4px rgba(255, 255, 255, 0.85);
}
.sky::before { width: 120px; height: 34px; left: -30px; top: 30px; }
.sky::after { width: 90px; height: 26px; right: 60px; top: 18px; opacity: 0.7; }
.sky img { position: relative; display: block; margin: 0 auto; height: auto; max-width: 100%; }

/* Home */
.hero { padding: 48px 16px 0; }
.hero .logo { width: min(520px, 86vw); }
.tagline { position: relative; color: #fff; font-size: 21px; font-weight: 600; margin: 18px auto 0; max-width: 560px;
	text-shadow: 0 1px 2px rgba(20, 48, 79, 0.35); }
.scene { display: block; width: 100%; max-width: 1080px; margin: 26px auto 0; border-radius: 22px 22px 0 0;
	position: relative; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 16px 0; }
.badge { background: var(--navy); color: var(--cream); border-radius: 14px; padding: 10px 18px; font-weight: 700;
	font-size: 15px; }

/* Document pages */
.doc-head .logo-small { width: 200px; }
main { max-width: 780px; margin: -14px auto 0; padding: 30px 26px 40px; background: var(--card);
	border-radius: 20px 20px 0 0; position: relative; }
.home main { margin-top: 0; border-radius: 0; background: transparent; text-align: center; }
h1 { font-size: 32px; line-height: 1.2; margin: 6px 0 6px; color: var(--navy); }
@media (prefers-color-scheme: dark) { h1 { color: var(--cream); } }
h2 { font-size: 21px; margin: 32px 0 8px; }
.muted { color: var(--muted); font-size: 15px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.todo { background: #ffe58a; color: #3a2e00; padding: 0 4px; border-radius: 4px; }
.mail { display: inline-block; margin: 6px 0 4px; background: var(--navy); color: var(--cream); text-decoration: none;
	font-weight: 700; padding: 12px 20px; border-radius: 14px; }
.mail:hover { background: #1d4470; }

footer { text-align: center; padding: 26px 16px 40px; font-size: 15px; color: var(--muted); }
footer a { margin: 0 10px; color: var(--muted); }
@media (prefers-color-scheme: dark) {
	.mail, .badge { background: var(--sky); color: #fff; }
	.mail:hover { background: var(--sky-top); }
}
