:root {
  --accent: #00e08c;
  --dark: #0e1217;
  --mid: #151b22;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: #222a33;
  --bg: #07090c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  padding: 48px 24px 80px;
}

.policy-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.policy-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
  margin-bottom: 48px;
}

.policy-badge {
  display: inline-block;
  background: rgba(0, 224, 140, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 224, 140, 0.25);
  margin-bottom: 16px;
}

.policy-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 13px;
  color: var(--muted);
}

h2 {
  scroll-margin-top: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin-top: 44px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 24px;
  margin-bottom: 8px;
}
p {
  color: #cbd5e1;
  margin-bottom: 14px;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
strong {
  color: #f1f5f9;
  font-weight: 600;
}

ul {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}
ul li {
  color: #cbd5e1;
  padding: 5px 0 5px 20px;
  position: relative;
}
ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.toc {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.toc ol {
  list-style: decimal;
  padding-left: 20px;
  margin: 0;
}
.toc ol li {
  padding: 3px 0;
  color: var(--muted);
  font-size: 14px;
}
.toc ol li a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.toc ol li a:hover {
  color: var(--accent);
}

.callout,
.copyright-notice,
.contact {
  display: block;
  background: var(--mid);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 40px;
  color: #cbd5e1;
  font-size: 14px;
}

.callout {
  margin: 20px 0;
}
.callout ul {
  margin-bottom: 0;
}
.contact {
  margin-top: 16px;
}

@media (max-width: 600px) {
  body {
    padding: 32px 16px 60px;
  }
  .policy-header {
    margin-bottom: 36px;
  }
  .toc {
    padding: 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
