:root {
  --bg: #14110f;
  --fg: #f4eee4;
  --muted: rgba(244, 238, 228, 0.68);
  --line: rgba(244, 238, 228, 0.12);
  --accent: #c4a574;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(196, 165, 116, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(90, 70, 50, 0.35), transparent 50%),
    var(--bg);
  color: var(--fg);
  line-height: 1.65;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(20, 17, 15, 0.82);
}

.brand {
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

nav a[aria-current="page"] {
  color: var(--accent);
}

.lang {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: system-ui, sans-serif;
}

h1 {
  margin: 0 0 1.25rem;
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

section {
  margin-bottom: 2rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

.foot {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot a {
  color: var(--accent);
  text-decoration: none;
}
