.legal-main {
  background: #f6f8fb;
  color: var(--navy);
}

.legal-hero {
  padding: 0 0 64px;
  background: #0b2349;
  color: #fff;
  border-bottom: 4px solid var(--yellow);
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 64px;
  align-items: center;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.legal-hero-copy > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d6dfec;
  font-size: 18px;
  line-height: 1.7;
}

.legal-updated {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 13px;
}

.legal-updated span {
  padding-right: 12px;
  border-right: 1px solid #557092;
  color: #9fb0c8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.legal-updated time { color: #fff; font-weight: 700; }

.legal-status {
  padding: 30px;
  border: 1px solid #476285;
  border-top: 4px solid var(--orange);
  border-radius: 12px;
  background: #102c57;
}

.legal-status > span {
  display: block;
  margin-bottom: 12px;
  color: #ff9b7d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-status h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.legal-status p {
  margin: 14px 0 22px;
  color: #c4d0e0;
  font-size: 15px;
  line-height: 1.65;
}

.legal-status-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #405b7e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.legal-status-check i { color: var(--yellow); }

.legal-highlights {
  background: #fff;
  border-bottom: 1px solid #dfe5ec;
}

.legal-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-highlight-grid article {
  min-width: 0;
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-right: 1px solid #e3e8ef;
}

.legal-highlight-grid article:first-child { padding-left: 0; }
.legal-highlight-grid article:last-child { border-right: 0; }

.legal-highlight-grid article > i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff0eb;
  color: var(--orange);
  font-size: 18px;
}

.legal-highlight-grid span,
.legal-highlight-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.legal-highlight-grid span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.legal-highlight-grid strong { font-size: 15px; line-height: 1.4; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 104px;
}

.legal-index {
  position: sticky;
  top: 146px;
}

.legal-index nav {
  padding: 24px;
  border: 1px solid #dfe5ec;
  border-radius: 12px;
  background: #fff;
}

.legal-index nav > span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-index ol { margin: 0; padding: 0; list-style: none; }

.legal-index li + li { border-top: 1px solid #edf0f4; }

.legal-index li a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px;
  padding: 12px 0;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.legal-index li a:hover { color: var(--orange); }
.legal-index li b { color: #7d8da0; font-size: 12px; padding-top: 2px; }

.legal-document { min-width: 0; }

.legal-section {
  scroll-margin-top: 152px;
  padding: 40px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #fff;
}

.legal-section + .legal-section { margin-top: 28px; }

.legal-section > header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.legal-section > header > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.legal-section h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.legal-section > p {
  margin: 0;
  color: #455468;
  font-size: 16px;
  line-height: 1.8;
}

.legal-section > p + p,
.legal-section > p + .legal-list,
.legal-section > p + .legal-notice,
.legal-section > p + .legal-source-links { margin-top: 18px; }

.legal-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #455468;
  font-size: 15px;
  line-height: 1.7;
}

.legal-list li i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 6px;
  background: #fff0eb;
  color: var(--orange);
  font-size: 12px;
}

.legal-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  background: #dfe5ec;
}

.legal-definitions > div { min-width: 0; padding: 19px 20px; background: #f8fafc; }
.legal-definitions dt { margin-bottom: 7px; color: #5f6f82; font-size: 12.5px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.legal-definitions dd { margin: 0; color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }

.legal-notice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #d7e0ea;
  border-left: 4px solid #527090;
  border-radius: 10px;
  background: #f5f8fb;
}

.legal-notice > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #527090;
}

.legal-notice h3 { margin: 0 0 5px; font-size: 15px; }
.legal-notice p { margin: 0; color: #526174; font-size: 14px; line-height: 1.65; }
.legal-notice.is-warning { border-left-color: var(--orange); background: #fff8f5; }
.legal-notice.is-warning > i { color: var(--orange); }
.legal-notice.is-success { border-left-color: #14876b; background: #f1faf7; }
.legal-notice.is-success > i { color: #14876b; }

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
}

.legal-table-wrap table { width: 100%; min-width: 680px; border-collapse: collapse; }
.legal-table-wrap th { padding: 17px 18px; background: var(--navy); color: #fff; font-size: 14px; text-align: left; }
.legal-table-wrap td { padding: 19px 18px; border-top: 1px solid #e6ebf1; color: #455468; font-size: 15px; line-height: 1.65; vertical-align: top; }
.legal-table-wrap tbody tr:nth-child(even) td { background: #f8fafc; }

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-contact-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 20px;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--navy);
  text-decoration: none;
}

a.legal-contact-card:hover { border-color: var(--orange); }
.legal-contact-card > i:first-child { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #fff0eb; color: var(--orange); }
.legal-contact-card > i:last-child { margin-top: 11px; color: var(--orange); }
.legal-contact-card span { min-width: 0; }
.legal-contact-card small,
.legal-contact-card b,
.legal-contact-card em { display: block; overflow-wrap: anywhere; }
.legal-contact-card small { color: #5f6f82; font-size: 12px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.legal-contact-card b { margin-top: 6px; font-size: 15px; line-height: 1.4; }
.legal-contact-card em { margin-top: 9px; color: #5f6f82; font-size: 14px; font-style: normal; line-height: 1.6; }

.legal-source-links { display: grid; gap: 10px; margin-top: 22px; }
.legal-source-links a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #dfe5ec; border-radius: 8px; color: #243b5a; font-size: 13px; font-weight: 750; text-decoration: none; }
.legal-source-links a:hover { border-color: var(--orange); color: var(--orange); }
.legal-source-links i { color: var(--orange); }

.legal-related {
  padding: 72px 0 82px;
  background: #0b2349;
  color: #fff;
  border-top: 4px solid var(--yellow);
}

.legal-related-head { max-width: 700px; margin-bottom: 30px; }
.legal-related-head > span { color: var(--yellow); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.legal-related-head h2 { margin: 9px 0 0; color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.035em; }

.legal-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.legal-related-grid a { min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 22px; border: 1px solid #476285; border-radius: 10px; color: #fff; text-decoration: none; }
.legal-related-grid a:hover { border-color: var(--yellow); }
.legal-related-grid a > i:first-child { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: #173963; color: var(--yellow); }
.legal-related-grid a > i:last-child { color: var(--orange); }
.legal-related-grid b,
.legal-related-grid small { display: block; }
.legal-related-grid b { font-size: 14px; }
.legal-related-grid small { margin-top: 5px; color: #c7d3e2; font-size: 12.5px; line-height: 1.45; }

@media (max-width: 1024px) {
  .legal-hero-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 38px; }
  .legal-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
  .legal-section { padding: 32px; }
  .legal-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .legal-hero { padding: 0 0 54px; }
  .legal-hero-grid { grid-template-columns: 1fr; }
  .legal-hero h1 { font-size: clamp(44px, 10vw, 64px); }
  .legal-highlight-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .legal-highlight-grid article { min-height: 0; padding: 18px 0; border-right: 0; border-bottom: 1px solid #e3e8ef; }
  .legal-highlight-grid article:last-child { border-bottom: 0; }
  .legal-layout { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 64px; }
  .legal-index { position: static; }
  .legal-index nav { padding: 20px; }
  .legal-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .legal-document { margin-top: 6px; }
  .legal-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .legal-hero { padding: 0 0 46px; }
  .legal-hero-grid { gap: 30px; }
  .legal-hero h1 { font-size: 39px; }
  .legal-hero-copy > p { margin-top: 20px; font-size: 16px; line-height: 1.65; }
  .legal-updated { align-items: flex-start; flex-direction: column; gap: 6px; }
  .legal-updated span { padding: 0; border: 0; }
  .legal-status { padding: 23px; }
  .legal-index ol { grid-template-columns: 1fr; }
  .legal-section { padding: 24px 20px; border-radius: 10px; }
  .legal-section > header { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; margin-bottom: 22px; }
  .legal-section > header > span { width: 40px; height: 40px; }
  .legal-section h2 { font-size: 25px; }
  .legal-definitions { grid-template-columns: 1fr; }
  .legal-notice { grid-template-columns: 1fr; }
  .legal-contact-card { grid-template-columns: 40px minmax(0, 1fr); }
  .legal-contact-card > i:last-child { display: none; }
  .legal-related { padding: 56px 0 92px; }
}
