/* DASAT MOBILE SL · Legal pages style */

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

:root {
  --bg: #f4f3ee;
  --bg-2: #fbfaf6;
  --ink: #0a0a0b;
  --ink-2: #4a4a4d;
  --ink-3: #82827e;
  --rule: #d6d4cc;
  --red: oklch(56% 0.22 27);
  --red-deep: oklch(38% 0.18 27);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --bg-2: #101012;
    --ink: #f4f3ee;
    --ink-2: #b8b6ad;
    --ink-3: #6e6c66;
    --rule: #2a2a2c;
    --red: oklch(67% 0.21 27);
    --red-deep: oklch(48% 0.20 27);
  }
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px 96px;
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}

.legal-top a.back {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legal-top a.back:hover { color: var(--red); }
.legal-top a.back::before {
  content: "←";
  display: inline-block;
}

.legal-top .brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  text-align: right;
}
.legal-top .brand b {
  font-family: 'Archivo Narrow', 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.legal-top .brand em {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-top: 2px;
}

.legal-shell .kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.legal-shell h1 {
  font-family: 'Archivo Narrow', 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.legal-shell h2 {
  font-family: 'Archivo Narrow', 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.005em;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.legal-shell h2 .num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 28px;
}

.legal-shell h2:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.legal-shell p,
.legal-shell li {
  color: var(--ink-2);
  margin-bottom: 14px;
  text-wrap: pretty;
}

.legal-shell ul, .legal-shell ol {
  margin: 0 0 14px 22px;
}
.legal-shell li { margin-bottom: 6px; }

.legal-shell strong, .legal-shell b {
  color: var(--ink);
  font-weight: 600;
}

.legal-shell a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-shell a:hover { color: var(--red-deep); }

.legal-shell .meta {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 20px 22px;
  margin: 24px 0 32px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 18px;
  font-size: 14.5px;
}
.legal-shell .meta dt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-self: center;
}
.legal-shell .meta dd { color: var(--ink); }

.legal-shell .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 28px;
}

.legal-shell .updated {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
