:root {
  --legal-ink: #282828;
  --legal-wrap: 760px;
  --legal-paragraph-space: calc(17px * 1.7);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: #fff;
  color: var(--legal-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1 {
  margin: 0;
}

.legal-wrap {
  width: min(var(--legal-wrap), calc(100% - 48px));
  margin: 0 auto;
}

.legal-header {
  padding-top: clamp(44px, 7vw, 92px);
  padding-bottom: clamp(72px, 10vw, 132px);
}

.legal-brand {
  display: inline-block;
  transform: rotate(-11deg);
}

.legal-brand img {
  width: clamp(188px, 22vw, 252px);
  height: auto;
}

.legal-main {
  padding-bottom: clamp(88px, 10vw, 132px);
}

.legal-article h1 {
  font-size: clamp(38px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #050505;
}

.legal-meta,
.legal-intro,
.legal-summary,
.legal-warning {
  max-width: 100%;
}

.legal-meta {
  margin-top: var(--legal-paragraph-space);
  color: #4f4f4f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.legal-intro,
.legal-summary {
  margin-top: var(--legal-paragraph-space);
  color: var(--legal-ink);
  font-size: 21px;
  line-height: 1.52;
  letter-spacing: -0.03px;
}

.legal-warning {
  margin-top: var(--legal-paragraph-space);
  color: #050505;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.legal-content {
  margin-top: var(--legal-paragraph-space);
}

.legal-section + .legal-section {
  margin-top: calc(var(--legal-paragraph-space) * 1.5);
}

.legal-section > * + * {
  margin-top: var(--legal-paragraph-space);
}

.legal-section h2,
.legal-section h3,
.legal-section h4 {
  color: #050505;
}

.legal-section h2 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.legal-section h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.legal-section h4 {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.legal-section p,
.legal-section li,
.legal-address {
  color: var(--legal-ink);
}

.legal-list {
  margin: 0;
  padding-left: 1.35em;
}

.legal-list li + li {
  margin-top: calc(var(--legal-paragraph-space) * 0.4);
}

.legal-address {
  font-style: normal;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 16px 14px;
  border-top: 1px solid #e6e6e6;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: #050505;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.legal-table td:nth-child(3),
.legal-table td:nth-child(4) {
  white-space: nowrap;
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    line-height: 1.65;
  }

  :root {
    --legal-paragraph-space: calc(16px * 1.65);
  }

  .legal-header {
    padding-top: 32px;
    padding-bottom: 56px;
  }

  .legal-wrap {
    width: min(var(--legal-wrap), calc(100% - 40px));
  }

  .legal-intro,
  .legal-summary {
    font-size: 19px;
    line-height: 1.5;
  }

  .legal-section h2 {
    font-size: 22px;
  }

  .legal-section h3,
  .legal-section h4 {
    font-size: 18px;
  }

  .legal-table {
    font-size: 14px;
  }
}
