:root {
  --bg: #0e0d0c;
  --surface: #1a1816;
  --line: #2c2925;
  --text: #f3eee6;
  --muted: #b3aa9d;
  --gold: #e2b96f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  line-height: 1.9;
  padding: 32px 16px 48px;
}

main { max-width: 820px; margin: 0 auto; }

header { text-align: center; margin-bottom: 28px; }
header img { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 12px; }
header h1 { font-size: 30px; font-weight: 600; }
header p { color: var(--muted); font-size: 15px; }

nav {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 28px;
}
nav a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
nav a.active, nav a:hover { color: var(--bg); background: var(--gold); border-color: var(--gold); }

article {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 24px; margin-bottom: 20px;
}
article[dir="ltr"] { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif; line-height: 1.7; }

.updated { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

h2 { color: var(--gold); font-size: 20px; font-weight: 600; margin: 24px 0 8px; }
h2:first-of-type { margin-top: 0; }
p { color: var(--text); margin-bottom: 10px; }
ul { padding-inline-start: 22px; margin-bottom: 10px; }
li { margin-bottom: 6px; }
li::marker { color: var(--gold); }
a { color: var(--gold); }

.box {
  border-inline-start: 3px solid var(--gold); background: #221f1b;
  border-radius: 10px; padding: 14px 16px; margin: 12px 0;
}

.mail {
  display: inline-block; margin-top: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--gold); color: var(--bg); font-weight: 600; text-decoration: none;
}

details { border-top: 1px solid var(--line); padding: 12px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 500; }
details p { color: var(--muted); margin-top: 8px; }

footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

@media (max-width: 600px) {
  header h1 { font-size: 24px; }
  article { padding: 22px 18px; }
}
