:root {
  --canvas: #faf8f3;
  --surface: #fff;
  --ink: #111827;
  --muted: #4b5563;
  --primary: #2563eb;
  --hover: #1d4ed8;
  --sky: #eaf2ff;
  --border: #d7dee8;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.5 Inter, system-ui, sans-serif;
}
h1,
h2,
h3,
.brand {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.025em;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
a {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px white;
}
.wrap {
  width: min(100%, 1264px);
  margin: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.skip {
  position: absolute;
  z-index: 10;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 16px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  display: block;
  object-fit: contain;
  padding: 4px;
  background: var(--ink);
  border-radius: 50%;
}
.header nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header nav > a:not(.button),
.footer a {
  color: var(--ink);
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 14px 22px;
  background: var(--primary);
  color: white;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  transition: background 150ms;
}
.button:hover {
  background: var(--hover);
  color: white;
  text-decoration: none;
}
.button.small {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 14px;
}

.policy-hero {
  margin-top: 16px;
  padding: 72px 0 80px;
  background: var(--sky);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
h1 {
  max-width: 13ch;
  margin: 0 0 20px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.0625;
}
.policy-lead {
  max-width: 53ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}
.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  align-items: start;
  justify-content: space-between;
  gap: 72px;
  padding-top: 64px;
  padding-bottom: 96px;
}
.policy-toc {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.policy-toc h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 28px;
}
.policy-toc ol {
  margin: 0;
  padding-left: 20px;
}
.policy-toc li {
  margin: 8px 0;
  padding-left: 2px;
  font-size: 13px;
  line-height: 18px;
}
.policy-toc a {
  color: var(--muted);
}
.policy-toc a:hover {
  color: var(--primary);
}
.support-link {
  width: 100%;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font: 600 14px/20px Inter, system-ui, sans-serif;
  text-align: left;
}
.support-link:hover {
  text-decoration: underline;
}

.policy-content {
  min-width: 0;
}
.policy-content > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 28px;
}
.policy-content section {
  padding-top: 44px;
  scroll-margin-top: 24px;
}
.policy-content h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}
.policy-content h3 {
  margin: 28px 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.policy-content p,
.policy-content li {
  color: var(--muted);
}
.policy-content p {
  max-width: 70ch;
  margin: 0 0 20px;
}
.policy-content ul {
  max-width: 68ch;
  margin: 0 0 20px;
  padding-left: 24px;
}
.policy-content li {
  margin: 10px 0;
  padding-left: 4px;
}
.policy-content strong {
  color: var(--ink);
  font-weight: 600;
}
.policy-content address {
  margin-top: 52px;
  padding: 24px;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  color: var(--ink);
  font-style: normal;
  line-height: 28px;
}
.policy-content address a {
  font-weight: 600;
}
.effective-date {
  margin-top: 28px !important;
  color: var(--ink) !important;
  font-weight: 600;
}

.footer {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
}
.footer .brand {
  font-size: 20px;
}
.footer p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.footer nav {
  gap: 24px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .policy-toc {
    position: static;
  }
  .policy-toc ol {
    columns: 2;
    column-gap: 36px;
  }
  .policy-toc li {
    break-inside: avoid;
  }
  .policy-content section {
    padding-top: 40px;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header {
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .header nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
  }
  .policy-hero {
    padding-top: 48px;
    padding-bottom: 52px;
  }
  h1 {
    font-size: 40px;
    line-height: 44px;
  }
  .policy-layout {
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .policy-toc {
    padding: 20px;
  }
  .policy-toc ol {
    columns: 1;
  }
  .policy-content h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .policy-content h3 {
    font-size: 20px;
    line-height: 28px;
  }
  .policy-content section {
    padding-top: 36px;
  }
  .footer {
    gap: 20px;
  }
  .footer p {
    flex-basis: 100%;
  }
  .footer nav {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
