:root {
  color-scheme: light;
  --ink: #17191c;
  --ink-soft: #555b64;
  --ink-muted: #737982;
  --paper: #ffffff;
  --canvas: #f4f5f6;
  --line: #dfe2e6;
  --line-strong: #c8cdd3;
  --header: #131518;
  --header-soft: #22262b;
  --brand: #f2c614;
  --brand-deep: #b58d00;
  --focus: #2563eb;
  --content-width: 1160px;
  --reading-width: 760px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #245aa8;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #153d78;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #ffffff;
  background: var(--focus);
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: #ffffff;
  background: rgba(19, 21, 24, 0.97);
  border-bottom: 1px solid #30343a;
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content-width));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 174px;
  height: auto;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-nav a {
  min-height: 38px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  color: #cfd3d8;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.legal-nav a:hover {
  color: #ffffff;
  background: var(--header-soft);
}

.legal-nav a[aria-current="page"] {
  color: var(--header);
  background: var(--brand);
}

.masthead {
  color: #ffffff;
  background: var(--header);
  border-bottom: 1px solid #2d3136;
}

.masthead-inner {
  width: min(calc(100% - 48px), var(--content-width));
  min-height: 332px;
  margin: 0 auto;
  padding: 62px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.masthead h1 {
  max-width: 820px;
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
}

.masthead-summary {
  max-width: 720px;
  margin: 20px 0 0;
  color: #c7cbd0;
  font-size: 19px;
  line-height: 1.6;
}

.document-meta {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #969ca5;
  font-size: 13px;
}

.document-meta strong {
  color: #e3e5e8;
  font-weight: 600;
}

.page-shell {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 54px 0 96px;
  display: grid;
  grid-template-columns: 248px minmax(0, var(--reading-width));
  gap: 64px;
  align-items: start;
}

.desktop-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding-right: 12px;
}

.toc-label {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.toc-list {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
  list-style: none;
}

.toc-list a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}

.toc-list a:hover,
.toc-list a.is-active {
  color: var(--ink);
  border-left-color: var(--brand-deep);
}

.toc-list a.is-active {
  font-weight: 700;
}

.mobile-toc {
  display: none;
}

.legal-document {
  min-width: 0;
  padding: 48px 56px 64px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(22, 26, 31, 0.06);
}

.notice {
  margin: 0 0 42px;
  padding: 20px 22px;
  background: #f8f5e8;
  border-left: 4px solid var(--brand);
  border-radius: 4px;
  color: #474028;
}

.notice strong {
  display: block;
  margin-bottom: 3px;
  color: #28230f;
}

.legal-section {
  padding-top: 6px;
}

.legal-section + .legal-section {
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.section-number {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-section h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.24;
}

.legal-section h3 {
  margin: 30px 0 10px;
  color: #292d32;
  font-size: 19px;
  line-height: 1.35;
}

.legal-section p {
  margin: 0 0 17px;
  color: #3f454d;
}

.legal-section ul,
.legal-section ol {
  margin: 14px 0 20px;
  padding-left: 23px;
  color: #3f454d;
}

.legal-section li {
  margin: 8px 0;
  padding-left: 4px;
}

.definition-list {
  margin: 20px 0 0;
}

.definition-list dt {
  margin: 20px 0 4px;
  color: #292d32;
  font-weight: 700;
}

.definition-list dd {
  margin: 0;
  color: #3f454d;
}

.data-table-wrap {
  margin: 22px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.data-table th,
.data-table td {
  padding: 15px 16px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: #292d32;
  background: #f5f6f7;
  font-weight: 700;
}

.data-table td {
  color: #474d55;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.contact-block {
  margin-top: 24px;
  padding: 22px;
  background: #f5f6f7;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.site-footer {
  color: #b9bec5;
  background: var(--header);
  border-top: 1px solid #2d3136;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--content-width));
  min-height: 138px;
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  color: #dadddf;
  font-size: 13px;
  text-decoration: none;
}

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

@media (max-width: 980px) {
  .masthead h1 {
    font-size: 40px;
  }

  .page-shell {
    grid-template-columns: 204px minmax(0, 1fr);
    gap: 36px;
  }

  .legal-document {
    padding: 42px 38px 54px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .header-inner,
  .masthead-inner,
  .page-shell,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .header-inner {
    min-height: 62px;
    gap: 14px;
  }

  .brand-logo {
    width: 142px;
  }

  .legal-nav {
    gap: 3px;
  }

  .legal-nav a {
    min-height: 36px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .masthead-inner {
    min-height: 286px;
    padding: 46px 0 42px;
  }

  .masthead h1 {
    font-size: 34px;
  }

  .masthead-summary {
    margin-top: 16px;
    font-size: 17px;
  }

  .document-meta {
    margin-top: 22px;
  }

  .page-shell {
    padding: 28px 0 64px;
    display: block;
  }

  .desktop-toc {
    display: none;
  }

  .mobile-toc {
    margin: 0 0 18px;
    display: block;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .mobile-toc summary {
    padding: 14px 16px;
    cursor: pointer;
    color: #2d3136;
    font-weight: 700;
  }

  .mobile-toc .toc-list {
    margin: 0 16px 16px;
  }

  .legal-document {
    padding: 34px 24px 44px;
    box-shadow: none;
  }

  .data-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .data-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .data-table td:first-child {
    color: #292d32;
    background: #f5f6f7;
    font-weight: 700;
  }

  .data-table td:last-child {
    border-bottom: 0;
  }

  .data-table td:not(:first-child)::before {
    display: block;
    margin-bottom: 4px;
    color: var(--ink-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .data-table--categories td:nth-child(2)::before {
    content: "Examples";
  }

  .data-table--categories td:nth-child(3)::before {
    content: "Primary purposes";
  }

  .data-table--permissions td:nth-child(2)::before {
    content: "Why this is used";
  }

  .data-table--providers td:nth-child(2)::before {
    content: "Purpose and information";
  }

  .data-table--providers td:nth-child(3)::before {
    content: "More information";
  }

  .legal-section + .legal-section {
    margin-top: 42px;
    padding-top: 42px;
  }

  .legal-section h2 {
    font-size: 24px;
  }

  .legal-section h3 {
    font-size: 18px;
  }

  .footer-inner {
    min-height: 0;
    padding: 30px 0;
    display: block;
  }

  .footer-links {
    margin-top: 16px;
    justify-content: flex-start;
  }
}

@media (max-width: 410px) {
  .header-inner {
    align-items: flex-start;
    padding: 12px 0;
  }

  .brand-logo {
    width: 126px;
    margin-top: 6px;
  }

  .legal-nav {
    align-items: flex-end;
    flex-direction: column;
  }

  .legal-nav a {
    min-height: 30px;
    padding: 3px 7px;
  }

  .masthead-inner {
    min-height: 272px;
  }

  .legal-document {
    padding-right: 19px;
    padding-left: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    color: #000000;
    background: #ffffff;
    font-size: 11pt;
  }

  .site-header,
  .desktop-toc,
  .mobile-toc,
  .site-footer {
    display: none;
  }

  .masthead {
    color: #000000;
    background: #ffffff;
    border: 0;
  }

  .masthead-inner,
  .page-shell {
    width: 100%;
  }

  .masthead-inner {
    min-height: 0;
    padding: 0 0 28px;
  }

  .eyebrow,
  .masthead-summary,
  .document-meta,
  .masthead h1 {
    color: #000000;
  }

  .masthead h1 {
    font-size: 30pt;
  }

  .page-shell {
    padding: 0;
    display: block;
  }

  .legal-document {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .legal-section {
    break-inside: avoid;
  }

  a {
    color: #000000;
  }
}
