@import url('/fonts/dm-sans.css');

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

:root {
  --accent: #1a1a1a;
  --accent-hover: #0a0a0a;
  --border: rgba(0, 0, 0, 0.08);
  --bg-primary: #fafafa;
  --text-primary: #0a0a0a;
  --text-muted: rgba(10, 10, 10, 0.55);
}

body {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

.hidden { display: none !important; }

.policy-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}

.header-back {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-back:hover {
  color: var(--accent);
}

.policy-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.policy-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.policy-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 0.875rem;
  padding-top: 0.5rem;
}

.policy-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.25rem;
  margin-bottom: 0.625rem;
}

.policy-section p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
}

.policy-section ul,
.policy-section ol {
  padding-left: 1.5rem;
  margin-bottom: 0.875rem;
}

.policy-section li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

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

.policy-section a:hover {
  opacity: 0.7;
}

.policy-callout {
  background: rgba(0, 0, 0, 0.03);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.policy-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.policy-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin: 0 0.5rem;
}

.policy-footer a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .policy-header {
    padding: 1rem 1.25rem;
  }

  .policy-wrap {
    padding: 2rem 1.25rem 4rem;
  }

  .policy-title {
    font-size: 1.75rem;
  }
}
