:root {
  color-scheme: dark;
  --home-bg: #1e1e1d;
  --paper: #f7f4ee;
  --ink: #191714;
  --muted: #5f5a52;
  --line: #d8d0c5;
  --accent: #244b45;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.home {
  min-height: 100vh;
  background: var(--home-bg);
  color: #f7f4ee;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 40px 20px 16px;
}

.logo {
  display: block;
  width: min(816px, 100%);
  height: auto;
}

.home-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 24px;
}

.home-footer a {
  color: rgba(247, 244, 238, 0.68);
  font-size: 13px;
  text-decoration: none;
}

.home-footer a:hover {
  color: #f7f4ee;
}

.policy {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  line-height: 1.6;
}

.policy-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.brand-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--accent);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}

.policy h1,
.policy h2,
.policy h3 {
  line-height: 1.18;
}

.policy h1 {
  margin: 0 0 8px;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 500;
}

.policy h2 {
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.policy h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.policy p,
.policy li {
  font-size: 17px;
}

.policy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.updated,
.note {
  color: var(--muted);
}

.note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.policy ul {
  padding-left: 22px;
}

.policy a {
  color: var(--accent);
}
