:root {
  --site-black: #050505;
  --site-white: #fff;
  --site-paper: #f5f5f3;
  --site-muted: #666;
  --site-line: #e5e5e2;
  --site-width: 1480px;
  --site-reading-width: 880px;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 52px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.site-header .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.site-header .brand-wordmark {
  width: 150px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 15px;
  font-weight: 750;
}

.desktop-nav a,
.mobile-menu a {
  text-decoration: none;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--site-black);
  transition: right .18s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  right: 0;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: var(--site-white);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--site-black);
  border-radius: 2px;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.mobile-menu[open] .menu-icon { background: transparent; }
.mobile-menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.mobile-menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(260px, calc(100vw - 32px));
  padding: 10px;
  display: grid;
  background: var(--site-white);
  border: 1px solid var(--site-line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}

.mobile-menu a {
  padding: 13px 14px;
  border-radius: 9px;
  font-weight: 750;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a[aria-current="page"] {
  background: #f2f2f2;
}

.site-footer {
  padding: 42px 52px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.4fr) auto;
  align-items: start;
  gap: 40px;
  background: var(--site-black);
  color: #a8a8a8;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
}

.site-footer .brand-wordmark {
  width: 156px;
  height: auto;
  filter: invert(1);
}

.footer-company p {
  margin: 0 0 8px;
  max-width: 600px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.65;
}

.footer-company p:first-child {
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 28px;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .copyright {
  grid-column: 2 / -1;
  margin: -18px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.site-body {
  margin: 0;
  color: var(--site-black);
  background: radial-gradient(circle at 50% 0%, #1c1c1c 0%, #050505 42%, #000 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.site-body *,
.site-body *::before,
.site-body *::after {
  box-sizing: border-box;
}

.site-body a {
  color: inherit;
}

.site-shell {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 16px auto 28px;
  overflow: hidden;
  background: var(--site-white);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .22);
}

.page-hero {
  padding: 86px 32px 70px;
  text-align: center;
  background: var(--site-paper);
  border-bottom: 1px solid var(--site-line);
}

.page-hero .eyebrow {
  margin: 0 0 18px;
  color: #777;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.03;
  letter-spacing: -.06em;
}

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

.info-page,
.legal-page {
  width: min(var(--site-reading-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.info-page > p:first-child {
  margin-top: 0;
  color: #333;
  font-size: 20px;
  line-height: 1.85;
}

.info-page p,
.legal-content p,
.legal-content li {
  color: #333;
  font-size: 16px;
  line-height: 1.85;
}

.info-page h2,
.legal-content h2 {
  margin: 58px 0 20px;
  padding-top: 4px;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.legal-content h3 {
  margin: 32px 0 10px;
  font-size: 19px;
}

.info-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin: 28px 0 0;
  border-top: 1px solid var(--site-line);
}

.info-grid dt,
.info-grid dd {
  margin: 0;
  padding: 19px 0;
  border-bottom: 1px solid var(--site-line);
  line-height: 1.75;
}

.info-grid dt {
  color: #777;
  font-size: 14px;
  font-weight: 750;
}

.info-grid dd {
  color: #222;
  overflow-wrap: anywhere;
}

.text-link {
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-toc {
  margin-bottom: 64px;
  padding: 28px 30px;
  background: var(--site-paper);
  border: 1px solid var(--site-line);
  border-radius: 20px;
}

.legal-toc h2 {
  margin: 0 0 18px;
  font-size: 16px;
  letter-spacing: 0;
}

.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 48px;
}

.legal-toc li {
  margin: 0 0 10px;
  break-inside: avoid;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content section {
  scroll-margin-top: 112px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 7px;
}

.entity-card {
  margin: 34px 0;
  padding: 26px 28px;
  background: #fafafa;
  border: 1px solid var(--site-line);
  border-left: 4px solid var(--site-black);
}

.entity-card p {
  margin: 0;
}

.entity-card p + p {
  margin-top: 7px;
}

:focus-visible {
  outline: 3px solid #888;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-shell {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 24px;
  }

  .site-header {
    min-height: 72px;
    padding: 0 24px;
  }

  .site-header .brand-mark { width: 42px; height: 42px; }
  .site-header .brand-wordmark { width: 132px; }

  .site-footer {
    grid-template-columns: 180px 1fr;
    padding: 38px 32px;
  }

  .footer-links { grid-column: 2; }
  .site-footer .copyright { margin-top: 0; }
}

@media (max-width: 700px) {
  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .site-header .brand { gap: 10px; }
  .site-header .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
  .site-header .brand-wordmark { width: 112px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }

  .page-hero {
    padding: 62px 20px 52px;
    text-align: left;
  }

  .page-hero h1 { font-size: clamp(40px, 13vw, 56px); }

  .info-page,
  .legal-page {
    width: calc(100% - 40px);
    padding: 52px 0 72px;
  }

  .info-page > p:first-child { font-size: 18px; }

  .info-grid { grid-template-columns: 1fr; }
  .info-grid dt { padding: 16px 0 0; border: 0; }
  .info-grid dd { padding: 7px 0 16px; }

  .legal-toc { padding: 24px 22px; }
  .legal-toc ol { columns: 1; }

  .info-page h2,
  .legal-content h2 {
    margin-top: 46px;
    font-size: 24px;
  }

  .entity-card { padding: 22px 20px; }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 34px 20px;
    gap: 26px;
  }

  .footer-links,
  .site-footer .copyright {
    grid-column: 1;
  }

  .site-footer .copyright { margin: 0; }
}
