:root {
  color-scheme: light dark;
  --bg: #f6f3ee;
  --card: #ffffff;
  --text: #201d1b;
  --muted: #665f58;
  --accent: #8f1f1d;
  --accent-strong: #6f1715;
  --border: #e4ddd3;
  --shadow: 0 24px 70px rgba(42, 27, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(143, 31, 29, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

.page-shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.summary {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.15rem;
}

.updated {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
}

article p:last-child {
  margin-bottom: 0;
}

abbr {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 34px rgba(111, 23, 21, 0.32);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent-strong);
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 940px);
    padding: 24px 0;
  }

  .hero,
  article {
    padding: 24px;
    border-radius: 20px;
  }

  .summary {
    font-size: 1rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171412;
    --card: #211d1a;
    --text: #f8f0e8;
    --muted: #c8bbb0;
    --accent: #ff8a7f;
    --accent-strong: #ffb0a8;
    --border: #3b332e;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }

  .hero {
    background: rgba(33, 29, 26, 0.72);
  }
}
