:root {
  --purple: #6a2ed9;
  --purple-700: #4a18aa;
  --purple-300: #b592f2;
  --ink: #101018;
  --muted: #656271;
  --line: #e8e2f6;
  --soft: #f7f4ff;
  --white: #ffffff;
  --dark: #0b0b22;
  --dark-2: #171052;
  --shadow: 0 24px 70px rgba(68, 28, 145, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfaff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.subpage-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 9px 6vw;
  color: white;
  background: rgba(11, 11, 34, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subpage-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.subpage-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.subpage-nav {
  justify-self: center;
  display: flex;
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.subpage-nav a,
.back-home,
.content-link {
  transition: color 180ms ease, transform 180ms ease, background 180ms ease;
}

.subpage-nav a:hover {
  color: white;
}

.back-home {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 750;
}

.back-home:hover,
.content-link:hover {
  transform: translateY(-1px);
}

.content-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 6vw 86px;
  color: white;
  background:
    radial-gradient(circle at 78% 20%, rgba(143, 85, 255, 0.48), transparent 24%),
    linear-gradient(135deg, #0b0b22 0%, #20115c 58%, #5524b2 100%);
}

.content-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 160px;
  right: -180px;
  bottom: 20px;
  border: 1px solid rgba(181, 146, 242, 0.35);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.content-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.content-kicker {
  margin: 0 0 18px;
  color: #d8c8ff;
  font-size: 14px;
  font-weight: 800;
}

.content-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.content-hero p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.8;
}

.content-main {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.content-section {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.8fr);
  gap: 64px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.content-section:first-child {
  padding-top: 0;
}

.content-section:last-child {
  border-bottom: 0;
}

.section-label {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 850;
}

.content-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.content-body {
  min-width: 0;
}

.content-body > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.content-body h3 {
  margin: 30px 0 12px;
  font-size: 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.content-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 36px rgba(68, 28, 145, 0.07);
}

.content-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--purple-700);
  font-size: 18px;
}

.content-card p,
.content-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.content-card ul,
.content-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.content-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.content-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 22px;
  border-radius: 10px;
  color: white;
  background: var(--purple);
  font-weight: 800;
}

.resource-accordion {
  display: grid;
  gap: 12px;
}

.resource-accordion details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.resource-accordion summary {
  cursor: pointer;
  font-weight: 800;
}

.resource-accordion p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 42px;
  padding: 64px 6vw 0;
  color: white;
  background: #09111f;
}

.footer-brand img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
}

.footer-brand p,
.footer-col a,
.footer-col p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.footer-brand p {
  max-width: 280px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: var(--purple);
  font-weight: 850;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1040px) {
  .subpage-nav {
    display: none;
  }

  .subpage-header {
    grid-template-columns: 1fr auto;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .subpage-header {
    padding: 9px 18px;
  }

  .subpage-brand span {
    display: none;
  }

  .back-home {
    padding: 10px 13px;
    font-size: 14px;
  }

  .content-hero {
    padding: 70px 22px 64px;
  }

  .content-main {
    width: auto;
    padding: 56px 22px 70px;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0;
  }

  .content-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 34px;
    padding: 52px 22px 0;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
