/* Nemagla — палитра Luminous, та же, что в приложении (src/theme/colors.ts). */
:root {
  --bg: #FBF7F2;
  --surface: #FFFFFF;
  --text: #2E2822;
  --text-secondary: #6B6157;
  --text-muted: #A79D91;
  --accent: #C0894A;
  --border: #EADFCF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--accent); }

nav.langs { display: flex; gap: 4px; }
nav.langs button {
  font: inherit;
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 999px;
  cursor: pointer;
}
nav.langs button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFF;
}

h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; font-weight: 600; }
h2 { font-size: 20px; margin: 36px 0 10px; font-weight: 600; }
h3 { font-size: 17px; margin: 26px 0 6px; font-weight: 600; }
p, li { color: var(--text-secondary); }
li { margin-bottom: 6px; }
a { color: var(--accent); }

.updated { color: var(--text-muted); font-size: 14px; margin: 0 0 28px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card strong { color: var(--text); }

.lead { font-size: 18px; color: var(--text); }

footer.site {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
footer.site a { margin-right: 16px; }

[data-lang] { display: none; }
[data-lang].active { display: block; }
