:root {
  color-scheme: light;
  --legal-ink: #173f39;
  --legal-muted: #6f827d;
  --legal-line: #dce8e4;
  --legal-accent: #237e70;
  --legal-surface: #ffffff;
  --legal-background: #f4f8f7;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--legal-background);
  color: var(--legal-ink);
  font-family: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 6vw, 64px);
}

.legal-card {
  width: min(100%, 600px);
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid var(--legal-line);
  border-radius: 24px;
  background: var(--legal-surface);
  box-shadow: 0 22px 60px rgba(23, 63, 57, 0.08);
}

.legal-brand {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 14px;
  background: #e2f3ef;
  color: var(--legal-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.legal-eyebrow {
  margin: 0 0 8px;
  color: var(--legal-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.12;
}

.legal-identification {
  display: grid;
  gap: 0;
  margin: clamp(28px, 6vw, 42px) 0 0;
}

.legal-identification > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  padding: 19px 0;
  border-top: 1px solid var(--legal-line);
}

.legal-identification > div:last-child {
  border-bottom: 1px solid var(--legal-line);
}

dt {
  color: var(--legal-muted);
  font-size: 13px;
  font-weight: 700;
}

dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .legal-card {
    border-radius: 19px;
  }

  .legal-identification > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
