/* Warmey legal pages — shared */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #1c1b19;
  --muted: #5c5a55;
  --line: #e4e2dc;
  --accent: #0f6e56;
  --accent-soft: #e7f4ef;
  --max: 42rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-soft), transparent 55%),
    var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner,
.site-footer__inner,
.page {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 2rem;
  width: auto;
}

.brand:hover {
  opacity: 0.85;
}

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

.page__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.page__title {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.toc {
  margin: 0 0 2.25rem;
  padding: 1.1rem 1.25rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.toc li {
  margin: 0.35rem 0;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

article section {
  margin: 0 0 2.25rem;
  padding-top: 0.25rem;
}

article h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  scroll-margin-top: 4.5rem;
}

article h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 650;
}

article p,
article li {
  color: color-mix(in srgb, var(--ink) 92%, var(--muted));
}

article p {
  margin: 0 0 0.9rem;
}

article ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

article li {
  margin: 0.35rem 0;
}

article strong {
  color: var(--ink);
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

@media (max-width: 560px) {
  .site-header__inner,
  .site-footer__inner,
  .page {
    width: min(100% - 1.5rem, var(--max));
  }
}
