:root {
  --bg-color: #f3f4f6;
  --card-bg: #ffffff;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --border-color: rgba(148, 163, 184, 0.7);
  --text-main: #374151;
  --text-muted: #6b7280;
  --text-strong: #111827;
  --radius-lg: 14px;
  --radius-full: 999px;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.10);
  --max-width: 880px;
  --content-width: min(100% - 32px, var(--max-width));
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(224, 242, 254, 0.4) 0%, rgba(239, 246, 255, 0.2) 35%, #f9fafb 80%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.policy-header {
  width: var(--content-width);
  margin: 24px auto 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 10%, #eff6ff, #60a5fa 40%, #3b82f6 70%, #1d4ed8 100%);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-strong);
}

.brand-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: 12px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.btn span {
  font-size: 16px;
  line-height: 1;
}

.btn-primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #f9fafb;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

.btn-primary span {
  font-size: 16px;
}

.btn:hover {
  border-color: var(--accent);
  background-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.55);
}

.policy-main {
  width: var(--content-width);
  margin: 8px auto 40px;
  padding: 22px 20px 28px;
  background:
    radial-gradient(circle at 0 0, rgba(191, 219, 254, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(219, 234, 254, 0.16), transparent 55%),
    #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.policy-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0, rgba(148, 163, 184, 0.20), transparent 40%);
  opacity: 0.35;
  pointer-events: none;
}

.policy-inner {
  position: relative;
  z-index: 1;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 1);
  font-size: 11px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.5);
}

.page-title {
  font-size: clamp(22px, 3.2vw, 26px);
  margin: 4px 0 4px;
  color: var(--text-strong);
  letter-spacing: 0.03em;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.policy-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
}

.policy-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.policy-section h2 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--text-strong);
}

.policy-section h3 {
  font-size: 14px;
  margin: 10px 0 4px;
  color: var(--text-main);
}

.policy-section p {
  margin: 3px 0 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-main);
}

.policy-section ul {
  margin: 4px 0 6px 1.1em;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
}

.policy-section li {
  margin-bottom: 3px;
}

.policy-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(229, 231, 235, 1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 11px;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .policy-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    align-self: stretch;
    justify-content: space-between;
  }

  .policy-main {
    padding: 18px 14px 22px;
  }
}
