:root {
  color-scheme: light;
  --primary: #2459f5;
  --primary-pressed: #1742c7;
  --accent: #15171a;
  --ink: #15171a;
  --muted: #636366;
  --line: rgba(21, 23, 26, 0.10);
  --surface: #ffffff;
  --surface-soft: #f5f6f8;
  --page: #f7f7f8;
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover,
a:focus-visible {
  color: var(--primary-pressed);
}

a:focus-visible {
  outline: 3px solid rgba(36, 89, 245, 0.42);
  outline-offset: 4px;
  border-radius: 4px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

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

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 9px;
}

.document-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  white-space: nowrap;
}

.document-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

.document-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 650;
}

main {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 48px 48px 40px;
  background: var(--surface);
}

.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  margin: 0 0 20px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(36, 89, 245, 0.06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.summary {
  margin: 32px 0 16px;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
}

.summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.summary p {
  margin: 0;
  color: var(--muted);
}

.summary-points {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.summary-points li + li {
  margin-top: 5px;
}

.sections {
  margin-top: 48px;
}

.section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.section-number {
  color: var(--primary);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.section > div {
  min-width: 0;
}

.section h2 {
  margin: -7px 0 13px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section p,
.section ul {
  margin: 0;
  color: var(--muted);
}

.section p + p,
.section p + ul,
.section ul + p {
  margin-top: 12px;
}

.section ul {
  padding-left: 1.25em;
}

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

.section strong {
  color: var(--ink);
  font-weight: 650;
}

.identity-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.identity-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
}

.identity-list dt {
  color: var(--muted);
}

.identity-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.data-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.data-table-wrap:focus-visible {
  outline: 3px solid rgba(36, 89, 245, 0.42);
  outline-offset: 4px;
}

.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

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

.data-table thead th {
  color: var(--ink);
  background: var(--surface-soft);
  font-weight: 700;
}

.data-table tbody th {
  width: 24%;
  color: var(--ink);
  font-weight: 650;
}

.data-table td {
  color: var(--muted);
}

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

footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 24px 48px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
}

footer p {
  margin: 0;
}

footer p + p {
  margin-top: 6px;
}

@media (max-width: 820px) {
  .topbar-inner {
    min-height: 60px;
  }

  .brand span {
    display: none;
  }

  .document-nav {
    gap: 14px;
  }

  main {
    padding: 32px 20px 28px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .lead {
    font-size: 17px;
  }

  .summary {
    margin-top: 40px;
    padding: 18px 18px;
  }

  .identity-list {
    padding: 16px;
  }

  .identity-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .sections {
    margin-top: 32px;
  }

  .section {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 28px 0;
  }

  .section h2 {
    margin-top: 0;
    font-size: 22px;
  }

  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
