* {
  box-sizing: border-box;
}

.legal-page {
  margin: 0;
  min-height: 100vh;
  color: #17345e;
  background: radial-gradient(circle at top, #3179b2, #102f62 55%, #0a1e45);
  font-family: Arial, Helvetica, sans-serif;
}

.legal-page .site-header {
  display: flex;
  max-width: 940px;
  margin: auto;
  padding: 24px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-page .site-header a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.legal-page .site-header img {
  display: block;
  width: 86px;
  height: auto;
}

.legal-page .site-header .return {
  padding: 10px 15px;
  border: 2px solid #e9c769;
  border-radius: 10px;
  background: #174f91;
  white-space: nowrap;
}

.legal-page main {
  max-width: 900px;
  margin: 0 auto 36px;
  padding: clamp(24px, 4vw, 46px);
  border: 3px solid #d6b768;
  border-radius: 20px;
  background: #fffaf0;
  box-shadow: 0 12px 30px #03132c77;
}

.legal-page article {
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.65;
}

.legal-page article strong:first-child {
  display: inline-block;
  margin-bottom: 16px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}

.legal-page article a {
  color: #1259a0;
}

.legal-page--help .container {
  max-width: 900px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.legal-page--help h1,
.legal-page--help h2 {
  background: #174f91;
}

.legal-page--help .row {
  background: #f0f6fc;
  border-color: #a8c7e8;
}

.legal-page--help .question {
  color: #174f91;
}
.legal-page--help .button-row {
  padding: 0;
}
.legal-page--help button {
  background: #174f91;
  cursor: pointer;
}
.legal-page--help button.selected {
  background: #07634e;
}
.legal-page--help table.info {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 940px) {
  .legal-page main {
    margin: 0 12px 24px;
  }
}

@media (max-width: 600px) {
  .legal-page .site-header {
    padding: 14px 16px;
  }
  .legal-page .site-header img {
    width: 68px;
  }
  .legal-page .site-header .return {
    padding: 9px 10px;
    font-size: 14px;
  }
  .legal-page main {
    padding: 18px 14px;
  }
  .legal-page--help button {
    flex: 1 1 140px;
    width: auto;
    margin: 5px;
    padding: 10px;
    font-size: 14px;
  }
  .legal-page--help .row {
    margin-top: 10px;
    padding: 12px;
    font-size: 16px;
    line-height: 1.45;
  }
  .legal-page--help .row table {
    width: 100%;
  }
  .legal-page--help table.info th,
  .legal-page--help table.info td {
    font-size: 14px;
  }
}
