:root {
  --bg-1: #05050b;
  --bg-2: #0e0a1d;
  --bg-3: #091322;
  --glass: rgba(10, 12, 24, 0.8);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(245, 248, 255, 0.96);
  --muted: rgba(203, 210, 232, 0.76);
  --cyan: #55f6ff;
  --magenta: #ff4fd8;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at 20% 10%, rgba(85, 246, 255, 0.12), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(255, 79, 216, 0.14), transparent 24%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
}

.legal-shell {
  width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 0 calc(32px + env(safe-area-inset-bottom));
}

.legal-card {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.legal-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(240, 244, 255, 0.92);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

h1,
h2 {
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 6vw, 58px);
}

h2 {
  margin-top: 28px;
  font-size: clamp(22px, 3vw, 30px);
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  background: rgba(85, 246, 255, 0.12);
  border: 1px solid rgba(85, 246, 255, 0.18);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.support-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #e6fbff;
}

@media (max-width: 720px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 22px;
    border-radius: 24px;
  }
}
