:root {
  --policy-bg: #f6f1e8;
  --policy-bg-deep: #eadcc4;
  --policy-ink: #10131a;
  --policy-muted: #667085;
  --policy-line: rgba(16, 19, 26, 0.1);
  --policy-surface: rgba(255, 255, 255, 0.84);
  --policy-surface-strong: rgba(255, 255, 255, 0.94);
  --policy-accent: #d9ff3f;
  --policy-gradient: linear-gradient(135deg, #ff6f4d 0%, #ff9f4a 34%, #d9ff3f 100%);
  --policy-gradient-dark: linear-gradient(135deg, rgba(16, 19, 26, 0.98) 0%, rgba(33, 42, 58, 0.94) 100%);
  --policy-shadow: 0 28px 72px rgba(16, 19, 26, 0.12);
  --policy-radius-xl: 34px;
  --policy-radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "PingFang SC", "SF Pro Text", "Microsoft YaHei", sans-serif;
  color: var(--policy-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 111, 77, 0.18) 0%, rgba(255, 111, 77, 0) 30%),
    radial-gradient(circle at right center, rgba(90, 164, 255, 0.14) 0%, rgba(90, 164, 255, 0) 26%),
    linear-gradient(180deg, var(--policy-bg) 0%, var(--policy-bg-deep) 100%);
}

a {
  color: inherit;
}

.policy-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 30px 30px;
  border-radius: var(--policy-radius-xl);
  background: var(--policy-gradient-dark);
  color: #fff;
  box-shadow: 0 40px 90px rgba(16, 19, 26, 0.24);
}

.policy-hero::before,
.policy-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.policy-hero::before {
  width: 280px;
  height: 280px;
  top: -150px;
  right: -80px;
  background: radial-gradient(circle, rgba(217, 255, 63, 0.3) 0%, rgba(217, 255, 63, 0) 72%);
}

.policy-hero::after {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 111, 77, 0.24) 0%, rgba(255, 111, 77, 0) 74%);
}

.policy-home {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.policy-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-top: 18px;
  border-radius: 999px;
  color: #10131a;
  background: var(--policy-gradient);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.policy-hero h1 {
  position: relative;
  z-index: 1;
  margin: 16px 0 10px;
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.policy-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.policy-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.policy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.policy-sidebar {
  position: sticky;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-card {
  padding: 18px;
  border-radius: var(--policy-radius-lg);
  border: 1px solid var(--policy-line);
  background: var(--policy-surface);
  box-shadow: var(--policy-shadow);
  backdrop-filter: blur(18px);
}

.policy-card h2,
.policy-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: 18px;
  line-height: 1.1;
}

.policy-card p {
  margin: 0;
  color: var(--policy-muted);
  font-size: 14px;
  line-height: 1.7;
}

.policy-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-nav a {
  display: block;
  padding: 11px 13px;
  border-radius: 16px;
  border: 1px solid rgba(16, 19, 26, 0.07);
  background: rgba(255, 255, 255, 0.74);
  color: var(--policy-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.policy-nav a.active,
.policy-nav a:hover {
  color: var(--policy-ink);
  border-color: rgba(90, 164, 255, 0.3);
}

.policy-library {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-library a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 19, 26, 0.08);
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-library a.current {
  border: none;
  background: var(--policy-gradient);
  color: #10131a;
}

.policy-article {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-section {
  padding: 24px 26px;
  border-radius: var(--policy-radius-lg);
  border: 1px solid var(--policy-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--policy-shadow);
}

.policy-section h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.policy-section h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  line-height: 1.2;
}

.policy-section p,
.policy-section li {
  color: #344054;
  font-size: 15px;
  line-height: 1.8;
}

.policy-section p {
  margin: 0;
}

.policy-section p + p,
.policy-section p + ul,
.policy-section ul + p {
  margin-top: 12px;
}

.policy-section ul {
  margin: 0;
  padding-left: 20px;
}

.policy-section li + li {
  margin-top: 8px;
}

.policy-highlight {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(90, 164, 255, 0.08) 0%, rgba(217, 255, 63, 0.12) 100%);
  border: 1px solid rgba(90, 164, 255, 0.12);
}

.policy-highlight strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media screen and (max-width: 960px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .policy-shell {
    width: min(100% - 20px, 100%);
    padding: 14px 0 28px;
  }

  .policy-hero,
  .policy-section,
  .policy-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}
