/* Colours — change here, they apply everywhere */
:root {
  --bg: #202124;
  --text: #e8e8e8;
  --muted: #9aa0a6;
  --link: #ff8a3d;   /* brand orange, lightened for dark background */
  --line: #3c4043;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 19px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2 { line-height: 1.25; margin: 1.8em 0 .6em; }
h1 { font-size: 2rem; margin-top: .6em; }
h2 { font-size: 1.45rem; }
ul { padding-left: 1.2em; }
li { margin-bottom: .55em; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* Header */
header .wrap { display: flex; align-items: center; justify-content: space-between; max-width: 1000px; padding-top: 22px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 10px; }
nav a { color: var(--text); text-decoration: none; margin-left: 26px; }
nav a:hover { color: var(--link); }
@media (max-width: 600px) { nav a { margin-left: 14px; font-size: .9rem; } }

.avatar { display: block; width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 48px auto 0; background: var(--line); }
.price { color: var(--muted); }
.small { color: var(--muted); font-size: .9rem; }

footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 24px 0 40px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }
footer a + a { margin-left: 16px; }

/* Download + legal pages */
.page { padding-top: 32px; padding-bottom: 32px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; background: var(--link); color: #1a1a1a; font-weight: 700; text-decoration: none; }
.steps { white-space: pre-line; border-left: 3px solid var(--line); padding-left: 18px; }

/* Templates page */
.item { border-top: 1px solid var(--line); padding-top: 4px; }
.item h2 { font-size: 1.2rem; margin: 1.1em 0 .3em; }
.item h2 .price { font-weight: 400; font-size: 1rem; margin-left: 6px; }
.item p { margin: .3em 0; }
