:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f6f8fc;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f6f8fc; color: #172033; }
a { color: #3157c8; }
.legal-header { background: #fff; border-bottom: 1px solid #e4e8f0; }
.legal-nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand { color: #17191d; font-size: 14px; font-weight: 850; letter-spacing: .12em; text-decoration: none; }
.legal-home-link { color: #5f6878; font-size: 14px; font-weight: 650; text-decoration: none; }
.legal-home-link:hover, .legal-brand:hover { color: #3157c8; }
.legal-content-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 64px auto 88px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: start;
}
.legal-sidebar { position: sticky; top: 28px; min-width: 0; }
.legal-sidebar-title {
  margin: 0 0 13px;
  color: #9299a6;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legal-sidebar nav {
  display: grid;
  border-left: 1px solid #d9dfe8;
}
.legal-sidebar a {
  margin-left: -1px;
  padding: 8px 10px 8px 17px;
  border-left: 3px solid transparent;
  color: #687386;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.legal-sidebar a:hover { color: #172033; }
.legal-sidebar a.active {
  border-left-color: #3157c8;
  color: #172033;
  font-weight: 800;
}
.legal-main {
  width: 100%;
  max-width: 820px;
  margin: 0;
  padding: 0;
}
.legal-kicker { margin: 0 0 10px; color: #3157c8; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.legal-summary { margin: 22px 0 0; color: #5e6879; font-size: 19px; line-height: 1.7; }
.legal-meta { margin: 18px 0 42px; color: #7a8392; font-size: 13px; }
.about-illustration {
  display: block;
  width: 100%;
  height: auto;
  margin: 34px 0 44px;
  border: 1px solid #e5e9f1;
  border-radius: 16px;
  background: #fdfcf9;
}
h2 { margin: 42px 0 13px; color: #1d2637; font-size: 24px; letter-spacing: -.02em; }
h3 { margin: 28px 0 10px; font-size: 18px; }
p, li { color: #465164; font-size: 16px; line-height: 1.75; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 7px; }
.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid #3157c8;
  border-radius: 8px;
  background: #f2f5ff;
}
.contact-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: #f9fafc;
}
.contact-card p { margin: 4px 0; }
.report-form { display: grid; gap: 16px; margin: 28px 0 38px; }
.report-form label { display: grid; gap: 7px; color: #344054; font-weight: 750; }
.report-form input, .report-form select, .report-form textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #cfd6e1; border-radius: 9px;
  background: #fff; color: #172033; font: inherit;
}
.report-form textarea { min-height: 150px; resize: vertical; }
.report-form button {
  justify-self: start; min-height: 44px; padding: 0 20px; border: 0; border-radius: 9px;
  background: #17191d; color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.report-form-status { min-height: 24px; color: #475467; font-size: 14px; }
.legal-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 40px;
  border-top: 1px solid #dfe4ec;
  color: #70798a;
  font-size: 13px;
  text-align: center;
}
.legal-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-bottom: 13px; }
.legal-footer a { color: #596579; text-decoration: none; }
.legal-footer a:hover { color: #3157c8; text-decoration: underline; }
.cookie-settings-link { border: 0; padding: 0; color: #596579; background: none; font: inherit; cursor: pointer; }
.cookie-settings-link:hover { color: #3157c8; text-decoration: underline; }
.faq-consent {
  position: fixed; inset: auto 18px 18px 18px; z-index: 20000;
  max-width: 680px; margin: 0 auto; padding: 20px;
  border: 1px solid #d8deea; border-radius: 14px; background: #fff;
  box-shadow: 0 20px 65px rgba(19, 31, 58, .22);
}
.faq-consent h2 { margin: 0 0 8px; font-size: 19px; }
.faq-consent p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; }
.faq-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.faq-consent button {
  min-height: 40px; padding: 0 15px; border: 1px solid #cbd3df; border-radius: 8px;
  background: #fff; color: #273247; font: inherit; font-weight: 700; cursor: pointer;
}
.faq-consent button.primary { border-color: #17191d; background: #17191d; color: #fff; }
@media (max-width: 620px) {
  .legal-nav { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .legal-content-layout {
    width: min(100% - 30px, 1120px);
    margin: 30px auto 64px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .legal-sidebar { position: static; margin: 0 -15px; padding: 0 15px 12px; overflow: hidden; border-bottom: 1px solid #dfe4ec; }
  .legal-sidebar-title { display: none; }
  .legal-sidebar nav {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    border-left: 0;
    scrollbar-width: none;
  }
  .legal-sidebar nav::-webkit-scrollbar { display: none; }
  .legal-sidebar a {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 0;
    border-left: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .legal-sidebar a.active { border-left: 0; border-bottom-color: #3157c8; }
  .legal-main { width: 100%; max-width: none; margin: 0; padding: 0; }
  .faq-consent-actions button { width: 100%; }
}
