:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #11071d;
  color: #eee9f3;
}

a { color: #ffc9df; }

a:focus-visible {
  outline: 3px solid #ffcb67;
  outline-offset: 4px;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  background: #1a0b2b;
}

.header-inner {
  width: min(100% - 48px, 1080px);
  min-height: 80px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  display: block;
  width: 190px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

nav a {
  color: #d5c8df;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] { color: #fff; }

nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.legal-content {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
  padding: 44px 0 96px;
}

h1, h2, h3 {
  color: #fff;
  line-height: 1.32;
  scroll-margin-top: 28px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.025em;
}

h2 {
  margin: 45px 0 16px;
  font-size: clamp(22px, 2.8vw, 27px);
}

h3 {
  margin: 28px 0 12px;
  font-size: 19px;
}

p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.publication {
  margin-bottom: 34px;
  color: #bcb0c8;
  font-size: 14px;
}

.bullet { padding-left: 1.1em; text-indent: -1.1em; }

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    gap: 16px;
  }

  .brand img { width: 165px; }

  .legal-content { padding-top: 34px; }

  p { line-height: 1.7; }
}

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; }
  .site-header { display: none; }
  .legal-content { width: 100%; padding: 0; }
  h1, h2, h3, a { color: #111; }
  .publication { color: #444; }
}
