.legal-page {
  background: #f8fafc;
  min-height: calc(100vh - 60px);
  padding: 76px 0 120px;
}

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

.legal-hero {
  max-width: 860px;
  margin-bottom: 32px;
}

.legal-kicker {
  margin: 0 0 12px;
  font-family: var(--cb-font-mono);
  font-size: var(--cb-text-label);
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.legal-title {
  margin: 0;
  font-family: "Bakbak One", var(--cb-font-display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.95;
  font-weight: 400;
  text-transform: uppercase;
  color: #111827;
}

.legal-intro {
  margin: 18px 0 0;
  font-family: var(--cb-font-mono);
  font-size: var(--cb-text-body);
  line-height: 1.9;
  color: #475569;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-section,
.legal-table-shell {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 26px 28px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.legal-section-title,
.legal-table-title {
  margin: 0 0 14px;
  font-family: "Bakbak One", var(--cb-font-display);
  font-size: clamp(20px, 3.3vw, 36px);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: #111827;
}

.legal-section p,
.legal-section li,
.legal-table-note,
.legal-email-link {
  font-family: var(--cb-font-mono);
  font-size: var(--cb-text-body);
  line-height: 1.9;
  color: #334155;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section a,
.legal-email-link {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table tr {
  border-top: 1px solid #e5e7eb;
}

.legal-table tr:first-child {
  border-top: 0;
}

.legal-table th,
.legal-table td {
  padding: 16px 12px;
  vertical-align: top;
  text-align: left;
  font-family: var(--cb-font-mono);
  font-size: var(--cb-text-body);
  line-height: 1.8;
  color: #334155;
}

.legal-table th {
  width: 240px;
  color: #111827;
  font-weight: 500;
}

@media (max-width: 900px) {
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    padding: 14px 0;
  }

  .legal-table th,
  .legal-table td {
    padding: 6px 0;
  }
}

@media (max-width: 640px) {
  .legal-page {
    padding: 58px 0 92px;
  }

  .legal-shell {
    width: min(100%, calc(100% - 32px));
  }

  .legal-section,
  .legal-table-shell {
    padding: 22px 20px;
  }
}
