.privacy-page {
  background: var(--surface);
}

.privacy-hero {
  padding: 158px 0 72px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.privacy-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.privacy-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 5.2vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.privacy-hero-inner > p:not(.privacy-meta) {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.privacy-meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.privacy-document-section {
  padding: 80px 0 144px;
}

.privacy-document-layout {
  display: grid;
  grid-template-areas: "article toc";
  grid-template-columns: minmax(0, 720px) 220px;
  justify-content: center;
  gap: 92px;
}

.privacy-document {
  grid-area: article;
  min-width: 0;
}

.privacy-toc {
  position: sticky;
  top: 108px;
  grid-area: toc;
  align-self: start;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.privacy-toc > p {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.privacy-toc ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-toc a {
  display: block;
  padding: 5px 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.45;
  transition: color 160ms ease;
}

.privacy-toc a:hover {
  color: var(--ink);
}

.privacy-callout {
  margin-bottom: 64px;
  padding: 0 0 40px 20px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--ink);
}

.privacy-callout strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 17px;
}

.privacy-callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.policy-section {
  scroll-margin-top: 104px;
  padding-bottom: 56px;
}

.policy-section + .policy-section {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 24px;
  font-size: clamp(1.75rem, 2.7vw, 2rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.policy-section h3 {
  margin: 32px 0 10px;
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.policy-section p,
.policy-section li,
.permission-list dd,
.provider-list dd {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.policy-section p {
  margin-bottom: 18px;
}

.policy-section ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 24px;
  padding-left: 22px;
}

.policy-section li::marker {
  color: var(--ink-muted);
}

.policy-section code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-warm);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.policy-section a,
.privacy-contact-link {
  color: var(--brand-700);
  font-weight: 620;
  text-decoration: underline;
  text-decoration-color: rgba(111, 39, 233, 0.34);
  text-underline-offset: 3px;
}

.policy-section a:hover,
.privacy-contact-link:hover {
  text-decoration-color: currentColor;
}

.policy-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--line-strong);
  background: var(--paper-warm);
}

.policy-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.permission-list,
.provider-list {
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.permission-list > div,
.provider-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.permission-list dt,
.provider-list dt {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.55;
}

.permission-list dd,
.provider-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.provider-links {
  font-size: 14px !important;
}

.retention-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.retention-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
}

.retention-table th,
.retention-table td {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  vertical-align: top;
}

.retention-table th:first-child {
  width: 38%;
}

.retention-table thead th {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.retention-table tbody th {
  color: var(--ink);
  font-weight: 620;
}

.policy-contact {
  padding-bottom: 0;
}

.policy-contact p {
  margin-bottom: 18px;
}

.privacy-contact-link::after {
  margin-left: 5px;
  content: "↗";
}
