:root {
  --bg: #170a08;
  --bg2: #231007;
  --card: #2a1310;
  --card-border: #3f1f16;
  --red: #ff4757;
  --red-deep: #e0243a;
  --amber: #ffb84d;
  --text: #fbe9e4;
  --text-dim: #d1a89f;
  --text-mute: #8f6a62;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(ellipse at top, var(--bg2), var(--bg) 60%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Unbounded", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Age bar */
.agebar {
  background: #0a0504;
  color: var(--text-mute);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-bottom: 1px solid #331912;
}

.agebar b {
  color: var(--amber);
}

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 30px 0 46px;
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.7;
}

footer .legal {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

footer a {
  color: var(--text-dim);
  text-decoration: underline;
}

/* Policy pages */
.policy-back-wrap {
  padding: 18px 0 0;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(42, 19, 16, 0.55);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.policy-back svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.policy-back:hover,
.policy-back:focus-visible {
  color: var(--text);
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.08);
}

.policy-back:hover svg,
.policy-back:focus-visible svg {
  transform: translateX(-2px);
}

.policy-back:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.page-main {
  padding: clamp(20px, 3vw, 28px) 0 clamp(48px, 8vw, 80px);
}

.policy-hero {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.policy-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.35);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.policy-hero h1 {
  font-size: clamp(28px, 4.8vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.policy-hero p {
  color: var(--text-dim);
  font-size: clamp(14px, 2vw, 16px);
  max-width: 620px;
  margin: 0 auto;
}

.policy-meta {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-mute);
}

.policy-content {
  margin: 0 auto;
}

.policy-section {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 28px) clamp(20px, 3vw, 28px);
  margin-bottom: 16px;
}

.policy-section h2 {
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.policy-section h2 .num {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.06em;
}

.policy-section p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.72;
}

.policy-section p + p {
  margin-top: 10px;
}

.policy-section ul {
  margin-top: 10px;
  padding-left: 18px;
}

.policy-section li {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 6px;
}

.policy-section a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-section a:hover,
.policy-section a:focus-visible {
  color: var(--text);
}

.policy-toc {
  background: rgba(255, 71, 87, 0.06);
  border: 1px solid rgba(255, 71, 87, 0.18);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 28px;
}

.policy-toc h2 {
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--text);
}

.policy-toc ol {
  columns: 1;
  padding-left: 18px;
}

@media (min-width: 640px) {
  .policy-toc ol {
    columns: 2;
    column-gap: 28px;
  }
}

.policy-toc li {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
  break-inside: avoid;
}

.policy-toc a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-toc a:hover,
.policy-toc a:focus-visible {
  color: var(--text);
}

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