.inline-link {
  display: inline;
  border: 0;
  background: none;
  padding: 0;
  color: #285693;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.inline-link:hover {
  color: var(--blue);
}
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}
.footer-legal a,
.footer-legal button {
  font-size: 12px;
  color: #4e6177;
}
.footer-legal a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer {
  gap: 20px 32px;
}
.site-footer > span {
  flex: none;
}
.remember-hint {
  margin: -8px 0 23px;
}
.signup-privacy {
  margin: 0 0 23px;
}
.signup-privacy a {
  color: #285693;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page {
  background: var(--page);
}
.legal-shell {
  padding-bottom: 28px;
}
.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 27px;
  font-size: 14px;
  color: #506882;
}
.legal-breadcrumb:hover {
  color: var(--blue);
}
.legal-heading {
  max-width: 1050px;
  margin-bottom: 32px;
}
.legal-heading .eyebrow {
  color: #586c85;
  letter-spacing: 0.11em;
  margin-bottom: 16px;
  font-size: 12px;
}
.legal-heading h1 {
  font-size: clamp(30px, 4.1vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.legal-heading > p:last-child {
  font-size: 16px;
  line-height: 1.65;
  color: #586979;
  max-width: 800px;
  margin: 18px 0 0;
}
.legal-meta {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
  font-size: 13px;
  color: #5b6b7d;
}
.document-badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 6px;
  font-weight: 600;
  color: #86460c;
  background: #fff0d7;
  border: 1px solid #efd2a0;
}
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 24px;
  padding: 22px 0;
}
.legal-nav-title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #697a8c;
  font-weight: 800;
}
.legal-sidebar nav {
  display: grid;
  gap: 6px;
}
.legal-sidebar nav a {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 9px;
  color: #465b72;
}
.legal-sidebar nav a:hover {
  background: #e7ecf3;
}
.legal-sidebar nav a[aria-current="page"] {
  color: #214fba;
  background: #e6edff;
  font-weight: 600;
}
.legal-sidebar .legal-toc {
  border-top: 1px solid #dbe2eb;
  margin-top: 24px;
  padding-top: 22px;
  gap: 4px;
}
.legal-toc a {
  padding-block: 7px !important;
  font-size: 13px !important;
}
.legal-article {
  min-width: 0;
  padding: 42px 48px;
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 22px;
  color: #334657;
}
.legal-notice {
  padding: 20px 22px;
  border-left: 3px solid #d8933e;
  background: #fff7e9;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #714e26;
}
.legal-notice strong {
  display: block;
  margin-bottom: 5px;
}
.legal-article section {
  scroll-margin-top: 28px;
  padding-top: 34px;
}
.legal-article section + section {
  margin-top: 26px;
  border-top: 1px solid #e6ebf1;
}
.legal-article h2 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #182d42;
  margin: 0 0 18px;
}
.legal-article h3 {
  font-size: 18px;
  color: #243c53;
  margin: 24px 0 12px;
}
.legal-article p,
.legal-article li,
.legal-article dd {
  font-size: 16px;
  line-height: 1.8;
}
.legal-article p {
  margin: 0 0 16px;
}
.legal-article p:last-child {
  margin-bottom: 0;
}
.legal-article ul,
.legal-article ol {
  padding-left: 24px;
  margin: 14px 0;
}
.legal-article li {
  margin: 8px 0;
  padding-left: 3px;
}
.legal-article a {
  color: #275db4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-article code {
  font-size: 0.85em;
  background: #edf2f8;
  padding: 2px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.legal-article mark {
  color: #7a4c12;
  background: #fff0cd;
  padding: 1px 5px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.legal-details {
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}
.legal-details > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
}
.legal-details dt {
  font-size: 14px;
  color: #6a7a8a;
}
.legal-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #dce4ee;
  border-radius: 12px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  min-width: 550px;
}
.legal-table th {
  text-align: left;
  font-weight: 600;
  color: #294b72;
  background: #eef3fa;
}
.legal-table th,
.legal-table td {
  padding: 15px 16px;
  vertical-align: top;
  border-bottom: 1px solid #e3e9f1;
}
.legal-table tr:last-child td {
  border-bottom: 0;
}
.legal-table caption {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: #294b72;
}
.legal-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e1e7ef;
  margin-top: 40px;
  padding-top: 25px;
  font-size: 14px;
}
.legal-noscript {
  margin-top: 24px;
  font-size: 14px;
  color: #586979;
}
@media (max-width: 1100px) {
  .legal-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
  }
  .legal-article {
    padding: 32px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .footer-legal {
    justify-content: flex-start;
  }
}
@media (max-width: 800px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .legal-sidebar {
    position: static;
    padding: 0;
  }
  .legal-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .legal-sidebar nav a {
    padding: 9px 12px;
  }
  .legal-sidebar .legal-toc {
    display: none;
  }
  .legal-nav-title {
    display: none;
  }
  .legal-heading {
    margin-bottom: 22px;
  }
}
@media (max-width: 650px) {
  .legal-breadcrumb {
    margin: 8px 0 22px;
  }
  .legal-article {
    padding: 25px 20px;
    border-radius: 17px;
  }
  .legal-article h2 {
    font-size: 22px;
  }
  .legal-article section {
    padding-top: 26px;
  }
  .legal-article section + section {
    margin-top: 22px;
  }
  .legal-details > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .legal-notice {
    padding: 17px;
  }
  .legal-next {
    align-items: flex-start;
  }
  .footer-legal {
    gap: 13px 20px;
  }
  .site-footer {
    padding: 22px 7px 26px;
  }
  .footer-legal a,
  .footer-legal button {
    font-size: 13px;
  }
}
@media print {
  .site-header,
  .site-footer,
  .legal-sidebar,
  .legal-breadcrumb,
  .privacy-ui,
  .legal-next {
    display: none !important;
  }
  body {
    padding: 0 !important;
    background: #fff;
  }
  .page-width {
    width: 100%;
    max-width: none;
  }
  .legal-layout {
    display: block;
  }
  .legal-article {
    padding: 0;
    border: 0;
  }
  .legal-heading h1 {
    font-size: 28pt;
  }
  .legal-article h2 {
    break-after: avoid;
  }
  .legal-table-wrap {
    overflow: visible;
  }
  .legal-table {
    min-width: 0;
  }
}
