:root {
  --grape: #6D4AFF;
  --grape-600: #5733DB;
  --grape-50: #F2EEFF;
  --ink-900: #100E1A;
  --ink-700: #282438;
  --ink-500: #5A5473;
  --ink-200: #D8D4E4;
  --ink-50: #F9F8FC;
  --surface: #FFFFFF;
  --maxw: 820px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-900);
  font: 400 17px/1.65 Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--grape-600); }
a:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 3px; }
.site-header {
  background: linear-gradient(145deg, #8A63FF, var(--grape) 55%, #4A28C8);
  color: white;
  padding: 18px 24px;
}
.site-header__inner,
.site-footer__inner,
.legal {
  width: min(100%, var(--maxw));
  margin: 0 auto;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-weight: 800; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-nav a { color: white; font-weight: 700; text-decoration: none; }
.language-switcher { position: relative; }
.language-switcher summary {
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 0 14px;
  color: white;
  font-weight: 800;
  list-style: none;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after {
  content: '▾';
  font-size: .76em;
  transition: transform .16s ease;
}
.language-switcher[open] summary::after { transform: rotate(180deg); }
.language-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: min(260px, 82vw);
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 48px rgba(16,14,26,.24);
  padding: 8px;
}
.language-options a { display: block; min-height: 42px; border-radius: 10px; padding: 10px 12px; color: var(--ink-900); font-weight: 700; text-decoration: none; }
.language-options a:hover,
.language-options a[aria-current="true"] { background: var(--grape-50); color: var(--grape-600); }
.legal { padding: clamp(48px, 8vw, 88px) 24px; }
.eyebrow { color: var(--grape-600); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1, h2 { line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin: 10px 0 12px; }
h2 { font-size: 1.35rem; margin: 40px 0 10px; }
p, li { max-width: 72ch; }
.lede { color: var(--ink-500); font-size: 1.1rem; }
.prose ul { padding-left: 1.35rem; }
.prose li + li { margin-top: .45rem; }
.callout { background: var(--grape-50); border-left: 4px solid var(--grape); border-radius: 0 12px 12px 0; margin: 28px 0; padding: 18px 20px; }
.site-footer { border-top: 1px solid var(--ink-200); color: var(--ink-500); font-size: .94rem; padding: 34px 24px 42px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.footer-nav a { font-weight: 700; }
@media (max-width: 620px) {
  .site-header__inner { align-items: flex-start; flex-direction: column; }
}
