.legal-page {
  padding-top: var(--header-h);
  background: var(--color-bg);
  min-height: 100vh;
}

.legal {
  max-width: 800px;
  padding: 40px 0 80px;
}

.legal__back {
  margin-bottom: 24px;
}

.legal__back a {
  color: var(--color-teal);
  font-weight: 700;
  font-size: 0.9375rem;
}

.legal h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-green);
}

.legal__intro {
  margin-bottom: 32px;
  line-height: 1.9;
  font-weight: 500;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.legal__table th,
.legal__table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  font-weight: 500;
}

.legal__table th {
  width: 28%;
  background: #edf6f9;
  font-weight: 700;
  color: var(--color-navy);
}

.legal__table tr:last-child th,
.legal__table tr:last-child td {
  border-bottom: none;
}

.legal__table a {
  color: var(--color-teal);
  font-weight: 700;
}

.legal__body h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-navy);
  margin: 2em 0 0.75em;
  padding-left: 12px;
  border-left: 4px solid var(--color-green);
}

.legal__body h3 {
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--color-teal);
  margin: 1.5em 0 0.5em;
}

.legal__body p {
  margin-bottom: 1em;
  line-height: 1.9;
  font-weight: 500;
}

.legal__body ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.legal__body li {
  margin-bottom: 0.5em;
  line-height: 1.8;
  font-weight: 500;
}

.legal__body hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2em 0;
}

.legal__contact {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
}

.legal__contact p {
  margin: 0 0 8px;
  font-weight: 700;
}

.legal__note {
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* Contact form */
.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
}

.contact-form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__field {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.contact-form__req {
  color: #d32f2f;
  margin-left: 4px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 1px;
}

.contact-form__note {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #666;
  margin: 8px 0 20px;
}

.contact-form__status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #edf6f9;
  font-weight: 700;
  color: var(--color-navy);
}

.contact-form__status.is-error {
  background: #fdecea;
  color: #b71c1c;
}

.contact-form__submit {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
