/* Legal / policy pages (Sony Music portal) */

.sm-legal-page {
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 10vw, 120px);
}

.sm-legal-page .sm-container {
  max-width: 820px;
}

.sm-legal-page__header {
  margin-bottom: clamp(40px, 5vw, 56px);
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sm-legal-page h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.sm-legal-page__subtitle {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 12px;
  line-height: 1.4;
}

.sm-legal-page__updated {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.sm-legal-page__body {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.86);
}

.sm-legal-page__body > p {
  margin: 0 0 1.25em;
}

.sm-legal-page__body h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  margin: 2.25em 0 0.85em;
  color: var(--sm-white);
}

.sm-legal-page__body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 1.5em 0 0.65em;
  color: rgba(255, 255, 255, 0.95);
}

.sm-legal-page__body ol,
.sm-legal-page__body ul {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.sm-legal-page__body li {
  margin-bottom: 0.65em;
}

.sm-legal-page__body li:last-child {
  margin-bottom: 0;
}

.sm-legal-page__body--caps {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.sm-legal-page__body a {
  color: var(--sm-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sm-legal-page__body a:hover {
  color: var(--sm-red);
}

.sm-legal-page__toc {
  margin: 0 0 2em;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.sm-legal-page__toc ul {
  margin: 0;
  padding-left: 1.25em;
  columns: 1;
  column-gap: 32px;
}

.sm-legal-page__toc li {
  margin-bottom: 0.5em;
  break-inside: avoid;
}

.sm-legal-table-wrap {
  overflow-x: auto;
  margin: 1.5em 0 2em;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sm-legal-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.5;
}

.sm-legal-table th,
.sm-legal-table td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
  text-align: left;
}

.sm-legal-table th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--sm-white);
  font-weight: 600;
}

.sm-legal-page__links-list li {
  margin-bottom: 0.75em;
}

.sm-feedback-form-wrap {
  max-width: 560px;
}

.sm-feedback-form__field {
  margin-bottom: 20px;
}

.sm-feedback-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.sm-feedback-form input,
.sm-feedback-form select,
.sm-feedback-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--sm-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sm-feedback-form input:focus,
.sm-feedback-form select:focus,
.sm-feedback-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.sm-feedback-form textarea {
  resize: vertical;
  min-height: 140px;
}

.sm-feedback-form__submit {
  margin-top: 8px;
  cursor: pointer;
}

.sm-feedback-form__success {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.sm-feedback-form__success p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.sm-feedback-form__success p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .sm-legal-page__toc ul {
    columns: 2;
  }
}

@media (max-width: 1024px) {
  .sm-legal-page .sm-container {
    width: min(100% - 48px, var(--sm-max));
  }
}
