/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --max-w:  760px;
  --serif:  'Old Standard TT', 'Times New Roman', serif;
  --bg:     #f7f3ea;
  --fg:     #160f05;
  --muted:  #6b5c46;
  --accent: #5a3a10;
  --border: #b8a882;
  --rule:   #8c7a5e;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  padding: 2rem 1.2rem;
}

.page {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Header ────────────────────────────────────────────────────────────── */
header {
  text-align: center;
  padding: 2.8rem 0 2.2rem;
  border-bottom: 1.5px solid var(--rule);
  margin-bottom: 2.8rem;
  position: relative;
}

.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  font-size: .88rem;
  font-style: italic;
  color: var(--muted);
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--accent);
}

/* ── Navigation (sub-pages) ─────────────────────────────────────────────── */
.page-nav {
  font-size: .88rem;
  font-style: italic;
  margin-bottom: 2.5rem;
  color: var(--muted);
}

.page-nav a { color: var(--muted); }
.page-nav a:hover { color: var(--accent); text-decoration: underline; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1 {
  font-size: 2rem;
  font-weight: bold;
  font-variant: small-caps;
  letter-spacing: .05em;
  line-height: 1.25;
  margin-bottom: .6rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: .02em;
  margin: 2.2rem 0 .7rem;
  border-bottom: .8px solid var(--rule);
  padding-bottom: .2rem;
}

h3 {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: bold;
  margin: 1.6rem 0 .5rem;
}

.subtitle {
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  margin-top: .3rem;
}

p { margin: .65rem 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: .6rem 0 .6rem 2rem; }
li { margin: .25rem 0; }

hr {
  border: none;
  border-top: .8px solid var(--border);
  margin: 2.2rem 0;
}

/* ── CTA buttons ─────────────────────────────────────────────────────────── */
.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2.2rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: .55rem 1.6rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-size: .97rem;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}

.btn-filled {
  background: var(--accent);
  color: var(--bg);
}

.btn-filled:hover { background: #3e2708; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
section { margin-bottom: 2rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1.5px solid var(--rule);
  margin-top: 3.5rem;
  padding-top: 1rem;
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--accent); text-decoration: underline; }

/* ── Legal / Privacy body ────────────────────────────────────────────────── */
.legal-body h2 { margin-top: 2.5rem; }
.legal-body h3 { margin-top: 1.8rem; }
.legal-body p  { margin: .6rem 0; }
.legal-body ul, .legal-body ol { margin: .5rem 0 .5rem 1.8rem; }
.legal-body li { margin: .2rem 0; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  body { font-size: .97rem; padding: 1.2rem .7rem; }
  h1   { font-size: 1.55rem; }
  .cta { flex-direction: column; align-items: center; }
  footer { flex-direction: column; gap: .2rem; }
}
