﻿:root {
  --doc-bg: #050505;
  --doc-panel: #f4f5fb;
  --doc-text: #0b0b0d;
  --doc-muted: #6b6d80;
  --doc-border: rgba(255, 255, 255, 0.14);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--doc-bg);
  color: #fff;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body :where(*, *::before, *::after) {
  font-family: inherit;
}

a {
  color: inherit;
}

.legal-page {
  min-height: 100dvh;
  padding: 32px 20px 56px;
}

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

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.legal-logo {
  width: 128px;
  height: auto;
}

.legal-eyebrow {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.4;
}

.legal-title {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-date {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.4;
}

.legal-card {
  background: var(--doc-panel);
  color: var(--doc-text);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 56px);
}

.legal-copy {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--doc-text);
}

.legal-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #050505;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .legal-page {
    padding: 24px 16px 40px;
  }

  .legal-top {
    margin-bottom: 40px;
  }

  .legal-logo {
    width: 104px;
  }
}
