/* Legal pages — shared minimal styling (privacy, terms).
   Light, readable, document-oriented. Independent of cabinet/landing. */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fafafa;
  color: #17171a;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: #52525b; margin-bottom: 32px;
}
.legal-back:hover { color: #17171a; text-decoration: none; }

.legal-meta {
  font-size: 13px; color: #8a8a94; margin-top: 8px; margin-bottom: 40px;
}

h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

p, ul, ol { margin-bottom: 14px; }

ul, ol { padding-left: 24px; }
li { margin-bottom: 6px; }

strong { font-weight: 700; }

.legal-callout {
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 14px;
  color: #52525b;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0 24px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  overflow: hidden;
}
.legal-table th, .legal-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #e5e5ea;
}
.legal-table th { background: #f4f4f6; font-weight: 700; }
.legal-table tr:last-child td { border-bottom: none; }

.legal-foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #e5e5ea;
  font-size: 13px;
  color: #8a8a94;
}
.legal-foot a { color: #52525b; }

@media (max-width: 600px) {
  .legal-wrap { padding: 32px 18px 64px; }
  h2 { margin-top: 32px; }
}
