.policy-page {
  min-height: calc(100vh - 140px);
}

.policy-hero {
  padding-top: 56px;
  padding-bottom: 90px;
}

.policy-breadcrumb {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.policy-breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .18s ease;
}

.policy-breadcrumb a:hover {
  color: #fff;
}

.crumb-sep {
  color: rgba(163,172,196,0.8);
}

.policy-meta {
  margin-top: 10px;
  margin-bottom: 8px;
  color: #c8d2ee;
  font-size: 13px;
  font-weight: 700;
}

.policy-intro {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 24px;
  line-height: 1.6;
}

.policy-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(91,140,255,0.13), transparent 70%),
    var(--surface-2);
}

.policy-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
  font-family: var(--font-display);
}

.policy-card h2 + p,
.policy-card h2 + ul {
  margin-top: 0;
}

.policy-card h2:not(:first-child) {
  margin-top: 24px;
}

.policy-card p {
  color: #d7e0fa;
  line-height: 1.65;
  margin: 0 0 12px;
}

.policy-card a {
  color: #9bc2ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-card a:hover {
  color: #c6ddff;
}

.policy-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #d7e0fa;
}

.policy-card li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.policy-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 1px 6px;
  color: #d4f3ff;
}

.docs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.docs-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.docs-footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .18s ease;
}

.docs-footer-links a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .policy-hero {
    padding-top: 40px;
    padding-bottom: 70px;
  }

  .policy-card {
    padding: 18px;
  }

  .policy-card h2 {
    font-size: 18px;
  }

  .docs-footer-links {
    order: 1;
  }

  .docs-footer .footer-copy {
    order: 2;
    width: 100%;
  }

  .header-actions .btn:last-child {
    display: none;
  }
}
