:root {
  color-scheme: light dark;
  --page: #f4f1e9;
  --paper: rgba(255, 255, 255, 0.78);
  --ink: #1d2a23;
  --muted: #607067;
  --line: rgba(29, 42, 35, 0.12);
  --accent: #bc3d34;
  --accent-soft: rgba(188, 61, 52, 0.1);
  --shadow: 0 24px 70px rgba(45, 53, 46, 0.11);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #111814;
    --paper: rgba(26, 37, 31, 0.92);
    --ink: #f2f1ea;
    --muted: #b4c0b8;
    --line: rgba(242, 241, 234, 0.12);
    --accent: #ef786f;
    --accent-soft: rgba(239, 120, 111, 0.12);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 4rem);
}

main {
  width: min(100%, 760px);
  margin: 0 auto;
}

.language {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.85rem;
}

.language a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}

.language a:hover,
.language a:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
  outline: none;
}

article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

header {
  padding: clamp(2rem, 7vw, 4.25rem) clamp(1.4rem, 7vw, 4.5rem) 2rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.3rem, 8vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0;
  max-width: 10ch;
}

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 1.5rem 0 0;
  max-width: 53ch;
}

.effective-date {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 1rem 0 0;
}

.content {
  border-top: 1px solid var(--line);
  padding: 0 clamp(1.4rem, 7vw, 4.5rem) clamp(2rem, 7vw, 4.25rem);
}

section {
  border-bottom: 1px solid var(--line);
  padding: 1.7rem 0;
}

section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

h2 {
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

footer {
  color: var(--muted);
  font-size: 0.75rem;
  padding: 1.25rem 0;
  text-align: center;
}

@media (max-width: 520px) {
  article {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  article {
    animation: arrive 420ms ease-out both;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
}
