:root { --green: #0F372A; --text: #1c1c1c; --muted: #555; --bg: #fff; --line: #e3e3e3; }
@media (prefers-color-scheme: dark) { :root { --green: #26A674; --text: #ececec; --muted: #b0b0b0; --bg: #121212; --line: #333; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Sinhala", sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
a { color: var(--green); }
p { margin: 8px 0; }
.muted { color: var(--muted); }
footer { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 16px; }

/* Home page */
.home main { padding-top: 40px; text-align: center; }
.home img { width: 96px; height: 96px; border-radius: 22px; }
.home h1 { color: var(--green); font-size: 2rem; margin: 12px 0 0; }
.home ul { list-style: none; padding: 0; margin: 24px 0; }
.home li { padding: 6px 0; }

/* Policy and support pages */
.doc header { display: flex; align-items: center; gap: 12px; }
.doc header img { width: 48px; height: 48px; border-radius: 12px; }
.doc header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.doc h1 { color: var(--green); font-size: 1.6rem; margin: 24px 0 4px; }
.doc h2 { font-size: 1.1rem; margin: 24px 0 4px; }
nav.lang { margin-top: 8px; }
.lead { color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.buttons a { display: inline-block; padding: 10px 16px; border: 1px solid var(--green); border-radius: 999px; text-decoration: none; font-weight: 600; }
section + section { border-top: 1px solid var(--line); margin-top: 40px; }
