:root {
  color-scheme: light;
  --red: #ff3b30;
  --ink: #1d1d1f;
  --muted: #66666d;
  --line: #dfdfe4;
  --paper: #ffffff;
  --soft: #f5f5f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, #fff 0, #f6f6f8 46%, #ececef 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-header {
  max-width: 1180px;
  margin: auto;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 780;
  letter-spacing: -.6px;
  text-decoration: none;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 2px #ffffff66, 0 4px 12px #ff3b3040;
}
.top-nav { display: flex; align-items: center; gap: 8px; }
.top-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #56565c;
  font-size: 12px;
  font-weight: 680;
  text-decoration: none;
}
.top-nav a:hover { background: #fff; color: var(--ink); }
.legal-shell {
  max-width: 1180px;
  margin: 5vh auto 0;
  padding: 0 28px 90px;
}
.legal-hero {
  max-width: 850px;
  padding-bottom: 44px;
}
.eyebrow {
  color: var(--red);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 1.5px;
}
h1 {
  margin: 12px 0 18px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: .98;
  letter-spacing: -4px;
}
.intro {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: #7a7a81;
  font-size: 12px;
}
.meta span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffffb8;
}
.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}
.toc {
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffffc7;
  box-shadow: 0 10px 30px #15151808;
}
.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}
.toc a {
  display: block;
  padding: 8px 9px;
  border-radius: 9px;
  color: #66666d;
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
}
.toc a:hover { background: var(--soft); color: var(--ink); }
.legal-document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 24px 70px #1515180c;
}
.legal-section {
  padding: 34px 38px;
  scroll-margin-top: 24px;
}
.legal-section + .legal-section { border-top: 1px solid #e8e8ec; }
.section-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 11px;
  background: #fff0f0;
  color: #d92b34;
  font-size: 12px;
  font-weight: 800;
}
h2 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.8px;
}
h3 {
  margin: 25px 0 9px;
  font-size: 15px;
}
p, li {
  color: #5f5f66;
  font-size: 14px;
  line-height: 1.72;
}
p { margin: 0 0 13px; }
ul, ol { margin: 10px 0 4px; padding-left: 22px; }
li + li { margin-top: 7px; }
.callout {
  margin: 20px 0 4px;
  padding: 18px 20px;
  border: 1px solid #f0d7d9;
  border-radius: 16px;
  background: #fff7f7;
}
.callout strong { display: block; margin-bottom: 5px; font-size: 14px; }
.callout p { margin: 0; font-size: 12px; }
.data-table {
  width: 100%;
  margin: 20px 0 4px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 12px;
}
.data-table th, .data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e8e8ec;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.data-table th { background: var(--soft); color: #44444a; }
.data-table td { color: #66666d; }
.data-table tr:last-child td { border-bottom: 0; }
.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.contact-document { margin-top: 30px; }
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffffd1;
  box-shadow: 0 12px 35px #15151808;
}
.contact-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  background: #fff0f0;
  color: #d92b34;
  font-size: 18px;
  font-weight: 800;
}
.contact-card h2 { font-size: 19px; }
.contact-card p { font-size: 12px; }
.contact-card a {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 14px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}
.site-footer {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px 34px;
}
.footer-inner {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #d9d9de;
  color: #8b8b92;
  font-size: 11px;
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-links a {
  padding: 9px 12px;
  border: 1px solid #dcdce1;
  border-radius: 11px;
  background: #ffffffa8;
  color: #4d4d53;
  font-weight: 650;
  text-decoration: none;
}
.footer-links a:hover { border-color: #c5c5cb; background: #fff; color: var(--ink); }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc strong { grid-column: 1 / -1; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  .top-nav { display: none; }
  .legal-shell { margin-top: 4vh; padding-bottom: 65px; }
  h1 { letter-spacing: -2.5px; }
  .intro { font-size: 16px; }
  .toc { grid-template-columns: 1fr; }
  .legal-section { padding: 27px 22px; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr + tr { border-top: 1px solid var(--line); }
  .data-table td { border: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
