@import url("fonts.css");

:root {
  --profile-sub-text: rgba(23, 23, 23, 0.72);
  --profile-line: rgba(23, 23, 23, 0.08);
  --orange: #ff6f35;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f5f6f8;
  color: var(--profile-sub-text);
  font-family: var(--body-font);
}

.profile-legal-web-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.profile-legal-web-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 40px;
  background: #fff;
  border-bottom: 1px solid var(--profile-line);
}

.profile-legal-web-brand {
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}

.profile-legal-web-brand:hover {
  color: #e85a24;
}

.profile-legal-web-header-title {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 400;
  color: rgba(23, 23, 23, 0.72);
}

.profile-legal-web-main {
  flex: 1;
  padding: 32px 24px 64px;
}

.profile-legal-web-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 48px 48px;
  background: #fff;
  border: 1px solid var(--profile-line);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(23, 23, 23, 0.04);
}

.profile-legal-web-doc.profile-legal-scroll {
  padding: 40px 48px 48px;
}

.profile-legal-web-doc .profile-legal-doc-title {
  margin: 0 0 20px;
  text-align: left;
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(23, 23, 23, 0.92);
}

.profile-legal-web-doc .profile-legal-meta {
  margin: 0 0 24px;
}

.profile-legal-web-doc .profile-legal-meta-row {
  margin: 0 0 8px;
  font-size: 10pt;
  line-height: 1.5;
}

.profile-legal-web-doc .profile-legal-meta-label {
  font-weight: 600;
  color: rgba(23, 23, 23, 0.88);
}

.profile-legal-web-doc .profile-legal-meta-value {
  color: var(--profile-sub-text);
}

.profile-legal-web-doc .profile-legal-intro {
  margin: 0 0 24px;
}

.profile-legal-web-doc .profile-legal-section {
  margin-bottom: 24px;
}

.profile-legal-web-doc .profile-legal-section-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(23, 23, 23, 0.92);
}

.profile-legal-web-doc .profile-legal-intro p {
  font-size: 9.5pt;
}

.profile-legal-web-doc .profile-legal-section-body p {
  margin: 0;
  font-size: 9.5pt;
  line-height: 1.65;
  color: rgba(23, 23, 23, 0.58);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
}

.profile-legal-web-doc .profile-legal-intro p,
.profile-legal-web-doc .profile-legal-section-body p:not(.profile-legal-subtitle):not(.profile-legal-clause) {
  text-indent: 2em;
}

.profile-legal-web-doc .profile-legal-section-body p.profile-legal-subtitle,
.profile-legal-web-doc .profile-legal-section-body p.profile-legal-clause {
  text-indent: 0;
}

.profile-legal-web-doc .profile-legal-section-body p:not(.profile-legal-subtitle),
.profile-legal-web-doc .profile-legal-intro p,
.profile-legal-web-doc .profile-legal-list li {
  color: rgba(23, 23, 23, 0.58);
}

.profile-legal-web-doc .profile-legal-section-body p + p,
.profile-legal-web-doc .profile-legal-section-body .profile-legal-subtitle + p {
  margin-top: 8px;
}

.profile-legal-web-doc .profile-legal-section-body p.profile-legal-subtitle {
  margin: 14px 0 0;
  font-size: 10pt;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(23, 23, 23, 0.92);
  text-align: left;
}

.profile-legal-web-doc .profile-legal-section-body p.profile-legal-subtitle:first-child {
  margin-top: 0;
}

.profile-legal-web-doc .profile-legal-section-body p.profile-legal-subtitle-l3 {
  text-indent: 2em;
}

.profile-legal-web-doc .profile-legal-section-body p.profile-legal-subtitle-mixed {
  color: rgba(23, 23, 23, 0.58);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
}

.profile-legal-web-doc .profile-legal-section-body p.profile-legal-subtitle-mixed .profile-legal-subtitle-label {
  color: rgba(23, 23, 23, 0.92);
}

.profile-legal-web-doc .profile-legal-emphasis {
  font-weight: 600;
  color: rgba(23, 23, 23, 0.95);
}

.profile-legal-web-doc .profile-legal-contact {
  font-weight: 600;
  color: rgba(23, 23, 23, 0.95);
}

.profile-legal-web-doc .profile-legal-inline-label {
  font-weight: 600;
  color: rgba(23, 23, 23, 0.92);
}

.profile-legal-web-doc .profile-legal-list {
  margin: 8px 0 0;
  padding-left: 1.2em;
  list-style: disc;
}

.profile-legal-web-doc .profile-legal-list li {
  font-size: 9.5pt;
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
}

.profile-legal-web-doc .profile-legal-list li + li {
  margin-top: 6px;
}

.profile-legal-web-doc .profile-legal-footer {
  margin-top: 24px;
  padding-top: 0;
}

.profile-legal-web-doc .profile-legal-footer-compact .profile-legal-footer-line {
  margin: 0;
  font-size: 9pt;
  line-height: 1.3;
  color: var(--profile-sub-text);
}

.profile-legal-web-doc .profile-legal-footer-compact .profile-legal-footer-line + .profile-legal-footer-line {
  margin-top: 2px;
}

.profile-legal-web-doc .profile-legal-footer-right {
  text-align: right;
}

@media (max-width: 768px) {
  .profile-legal-web-header {
    padding: 12px 20px;
  }

  .profile-legal-web-main {
    padding: 16px 12px 40px;
  }

  .profile-legal-web-doc {
    padding: 28px 24px 32px;
    border-radius: 8px;
  }

  .profile-legal-web-doc .profile-legal-doc-title {
    font-size: 18px;
  }
}
