:root {
  --text: #353537;
  --muted: #66676b;
  --border: #e7e7e8;
  --surface: #f7f7f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  border-bottom: 1px solid var(--border);
}

.header-inner,
.legal-main,
.footer-inner {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  display: block;
  width: 148px;
  height: auto;
}

.legal-main {
  flex: 1;
  padding: 72px 0 96px;
}

.document-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.effective-date {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.document-body {
  padding-top: 38px;
  font-size: 16px;
  line-height: 1.75;
}

.document-body h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.document-body h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  line-height: 1.45;
}

.document-body p,
.document-body ul,
.document-body ol {
  margin: 0 0 18px;
}

.document-body ul,
.document-body ol {
  padding-left: 24px;
}

.document-body li + li {
  margin-top: 8px;
}

.document-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.document-section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.document-details {
  margin: 22px 0 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}

.document-details div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.document-details div:last-child {
  border-bottom: 0;
}

.document-details dt {
  font-weight: 700;
}

.document-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.footer {
  padding: 36px 0 44px;
  background: var(--surface);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 18px;
  font-size: 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 600px) {
  .header-inner,
  .legal-main,
  .footer-inner {
    width: min(100% - 40px, 760px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-link img {
    width: 132px;
  }

  .legal-main {
    padding: 52px 0 72px;
  }

  .document-body {
    padding-top: 30px;
  }

  .document-section {
    padding-top: 28px;
    margin-top: 28px;
  }

  .document-details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
