:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  --background: #f5f8f6;
  --panel: #fff;
  --text: #16241d;
  --muted: #4d5f55;
  --border: #d7e1db;
  --link: #087447;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0c1510;
    --panel: #15221a;
    --text: #eff8f2;
    --muted: #b8c9be;
    --border: #35493c;
    --link: #86edaf;
  }
}

body {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 36px) 48px;
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

a { color: var(--link); text-underline-offset: 3px; }

.document-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.document-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 42px); line-height: 1.18; }
h2 { margin: 0 0 12px; font-size: clamp(19px, 3vw, 24px); line-height: 1.35; }
.doc-icon, .doc-eyebrow { display: none; }
.doc-lead { font-size: 1.125rem; }
.doc-meta, .doc-footer { color: var(--muted); }
.doc-content { display: grid; gap: 16px; margin: 24px 0; }
.doc-section, .doc-note, .document-list {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}
.doc-section > :last-child { margin-bottom: 0; }
.document-list { list-style: none; }
.document-list li + li { margin-top: 12px; }
a[data-support-email]:not([hidden]) + .doc-support-fallback { display: none; }
