:root {
  --bg:      #0B0B0F;
  --surface: #141418;
  --fg:      #F0F0F5;
  --muted:   #8A8A9A;
  --border:  #252530;
  --accent:  #F07A5E;
  --gradient: linear-gradient(135deg, #E879AC, #F5A066, #F5C056);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.container {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 32px; }
.logo span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.back-link {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 80px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tab {
  padding: 10px 20px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.tab:hover {
  border-color: var(--muted);
  color: var(--fg);
}
.tab.active {
  background: var(--gradient);
  color: #0B0B0F;
  border-color: transparent;
}

/* Content */
.content {
  padding: 48px 0 80px;
}
.policy-section {
  display: none;
}
.policy-section.active {
  display: block;
}
.policy-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}
.meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.policy-section h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--fg);
}
.policy-section p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}
.policy-section ul {
  color: var(--muted);
  padding-left: 24px;
  margin: 0 0 16px;
  line-height: 1.8;
}
.policy-section li {
  margin-bottom: 8px;
}
.policy-section strong {
  color: var(--fg);
}

/* Card style for sections */
.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
@media (max-width: 600px) {
  .policy-card { padding: 24px; }
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.footer a {
  color: var(--accent);
  transition: opacity 0.2s;
}
.footer a:hover { opacity: 0.8; }
