:root {
  --bg: #0e1526;
  --surface: #18233a;
  --surface-border: rgba(245, 239, 224, 0.12);
  --amber: #f4b859;
  --amber-soft: rgba(244, 184, 89, 0.14);
  --parchment: #f5efe0;
  --mist: #a8b3c7;
  --sage: #6db38b;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--parchment);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top center, #1b2845 0%, var(--bg) 52%);
}

a {
  color: var(--amber);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--surface-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--parchment);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand:hover {
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.94rem;
}

nav a {
  color: var(--mist);
}

nav a.active,
nav a:hover {
  color: var(--parchment);
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  background: var(--surface);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: var(--amber);
  color: #0e1526;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--parchment);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  margin: 0 0 12px;
}

h2 {
  font-size: 1.25rem;
  margin: 26px 0 8px;
}

p, li {
  color: var(--mist);
  font-size: 1rem;
}

strong {
  color: var(--parchment);
}

.subtitle {
  font-size: 1.08rem;
  color: var(--mist);
  margin: 0 0 24px;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 18px 0;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.card li + li {
  margin-top: 8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
}

.btn-primary {
  background: var(--amber);
  color: #0e1526;
}

.btn-primary:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--parchment);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  text-decoration: none;
  border-color: var(--amber);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.pill-list li {
  background: rgba(109, 179, 139, 0.14);
  color: var(--sage);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

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

.meta {
  font-size: 0.9rem;
  color: var(--mist);
  margin-bottom: 20px;
}

footer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--surface-border);
  font-size: 0.88rem;
  color: var(--mist);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
