:root {
  color-scheme: dark;
  --background: #030712;
  --panel: rgba(15, 23, 42, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #67e8f9;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(20px);
}

.shell { width: min(100% - 32px, 96rem); margin: 0 auto; }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; }
.back-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.back-link:hover {
  border-color: rgba(251, 146, 60, 0.65);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.2);
  transform: translateY(-1px) scale(1.03);
}

main { padding: 56px 0 72px; }
.legal-card { border: 1px solid var(--line); border-radius: 32px; background: var(--panel); padding: 32px; box-shadow: 0 24px 48px rgba(2, 6, 23, 0.5); }
.eyebrow { margin: 0; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
h1 { margin: 12px 0 32px; color: #fff; font-size: clamp(32px, 5vw, 48px); line-height: 1.12; }
h2 { margin: 42px 0 14px; color: #fff; font-size: 25px; line-height: 1.25; }
h3 { margin: 28px 0 10px; color: #e2e8f0; font-size: 18px; line-height: 1.35; }
h4 { margin: 22px 0 8px; color: #e2e8f0; font-size: 15px; line-height: 1.4; }
p, li { color: var(--muted); font-size: 16px; line-height: 1.75; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 24px; }
li + li { margin-top: 6px; }
.legal-card a:not(.brand):not(.back-link) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); background: #020617; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding: 34px 0; color: var(--muted); font-size: 14px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: #fff; }

@media (max-width: 700px) {
  .shell { width: min(100% - 24px, 96rem); }
  main { padding: 32px 0 48px; }
  .legal-card { border-radius: 24px; padding: 22px; }
  .brand span { font-size: 12px; }
  .footer-inner { flex-direction: column; }
}