:root {
  --bg: #07140f;
  --panel: #0c1f17;
  --panel-2: #10271d;
  --line: rgba(224, 190, 96, 0.24);
  --gold: #e8c66a;
  --gold-soft: #c9a94f;
  --text: #dce7df;
  --muted: #93a99a;
  --danger: #ffb4a8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, #163a2b 0%, transparent 52%),
    linear-gradient(180deg, #07140f 0%, #040a07 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.62;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff0b8; text-decoration: underline; }

.wrap { width: min(920px, calc(100% - 40px)); margin: 0 auto; }

header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(4, 10, 7, 0.72);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 5;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
}

nav.top { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
nav.top a { color: var(--muted); }
nav.top a.active, nav.top a:hover { color: var(--gold); }

main { padding: 52px 0 72px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: 0.02em;
  color: #f3ead2;
  font-weight: 600;
}

h1 .accent { color: var(--gold); }

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

.lead {
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 39, 29, 0.85), rgba(8, 20, 14, 0.85));
  color: #cfe0d4;
}

.lang-links {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.lang-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(12, 31, 23, 0.6);
}

.lang-links a:hover { color: var(--gold); border-color: var(--gold-soft); text-decoration: none; }

section.lang {
  padding: 26px 0 8px;
  border-top: 1px solid rgba(224, 190, 96, 0.14);
}

section.lang:first-of-type { border-top: 0; }

h2 {
  margin: 30px 0 10px;
  font-size: 23px;
  color: #f0e4c4;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h3 { margin: 22px 0 8px; font-size: 17px; color: var(--gold); }

p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 6px 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 39, 29, 0.92), rgba(8, 20, 14, 0.92));
  color: var(--text);
}

.card:hover { border-color: var(--gold-soft); text-decoration: none; transform: translateY(-1px); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

.note {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-soft);
  background: rgba(224, 190, 96, 0.07);
  border-radius: 0 10px 10px 0;
  color: #d8e4da;
}

.danger { color: var(--danger); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 13px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

footer.site nav { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
  header.site .wrap { align-items: flex-start; flex-direction: column; }
  main { padding-top: 34px; }
}
