:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1a2a;
  --surface-2: #122238;
  --text: #f5efe2;
  --muted: #b9c1cc;
  --gold: #d6b66f;
  --line: rgba(214, 182, 111, 0.28);
  --good: #75c6a4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -20%, rgba(214, 182, 111, 0.12), transparent 36rem),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--gold); }
a:hover { color: #efd493; }

.shell {
  width: min(100% - 2rem, 54rem);
  margin: 0 auto;
}

.site-header {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.language-switcher {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.language-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--text);
}

main { padding: 3.5rem 0 4rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}

h1 {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(2.15rem, 7vw, 4.2rem);
}

h2 {
  margin: 2.4rem 0 0.6rem;
  font-size: 1.45rem;
}

.lede {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.updated,
.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.card,
.callout {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(13, 26, 42, 0.88);
}

.card {
  display: block;
  padding: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.card span { color: var(--muted); }

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-color: rgba(117, 198, 164, 0.38);
}

.callout strong { color: var(--good); }

ul,
ol { padding-inline-start: 1.4rem; }
li + li { margin-top: 0.45rem; }

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.15rem;
}

[hidden] { display: none !important; }

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .header-row,
  .footer-row { align-items: flex-start; }
  .footer-row { flex-direction: column; }
  main { padding-top: 2.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .card { transition: border-color 140ms ease, transform 140ms ease; }
}
