:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05030b;
  color: #f6f1ff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(91, 33, 182, 0.4), transparent 34rem),
    radial-gradient(circle at 84% 22%, rgba(180, 83, 9, 0.18), transparent 28rem),
    linear-gradient(180deg, #171033 0%, #090512 46%, #030206 100%);
  color: #eee9f7;
  line-height: 1.75;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 4, 15, 0.82);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.language-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  color: #ddd5eb;
}

.page { padding: 4rem 0 3rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: #fbbf24;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 500;
}

.lede {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: #c9c0d7;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.content {
  margin-top: 3rem;
  display: grid;
  gap: 1.2rem;
}

.content section {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1.35rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(145deg, rgba(18, 12, 34, 0.86), rgba(4, 3, 9, 0.86));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.content h2 {
  margin: 0 0 0.85rem;
  color: #fbbf24;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
}

.content h3 { margin: 1.4rem 0 0.45rem; color: #f5e8c4; }
.content p { margin: 0.6rem 0; }
.content ul { margin: 0.65rem 0; padding-left: 1.3rem; }
.content li + li { margin-top: 0.45rem; }
.content strong { color: #fff; }

blockquote {
  margin: 1.25rem 0;
  border-left: 3px solid #d99116;
  padding: 0.2rem 0 0.2rem 1rem;
  color: #d8cfdf;
  font-style: italic;
}

.page-nav {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-nav a {
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  text-decoration: none;
}

.page-nav a[aria-current="page"] {
  border-color: rgba(245, 158, 11, 0.55);
  color: #fbbf24;
}

.cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  border-radius: 1.35rem;
  padding: 1.35rem;
  background: linear-gradient(120deg, rgba(126, 34, 206, 0.35), rgba(180, 83, 9, 0.2));
}

.cta p { flex: 1 1 280px; margin: 0; color: #ddd4e7; }

.cta a {
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: #f3b72d;
  color: #211202;
  font-weight: 750;
  text-decoration: none;
}

.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.site-footer__inner { padding: 1.5rem 0 2.2rem; color: #91889e; font-size: 0.85rem; }

@media (max-width: 640px) {
  .page { padding-top: 2.75rem; }
  .page-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
