:root {
  --ink: #211b3d;
  --muted: #665d82;
  --paper: #fffaf0;
  --line: #e3d8ef;
  --purple: #6d4bd8;
  --gold: #f0b62e;
  --bg: #17122b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(118, 85, 220, .22), transparent 32rem),
    linear-gradient(160deg, #1b1534, #241b42 48%, #171228);
  font-family: "Nunito", "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}

a { color: #5a3fc0; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: #291b66; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(22, 17, 42, .88);
  backdrop-filter: blur(14px);
}

.site-head .wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff8e8;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 20px;
}

.brand b { color: #ffd35e; }

.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; flex: none; box-shadow: 0 3px 10px rgba(0,0,0,.28); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 18px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a { color: #ded5f2; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #ffd35e; }

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  color: #3b2a08 !important;
  background: linear-gradient(160deg, #ffe071, #f0b62e);
  box-shadow: 0 4px 0 #ad7810;
}

main { padding: 52px 0 70px; }

.breadcrumbs {
  margin-bottom: 20px;
  color: #b9aed6;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a { color: #d8cff0; text-decoration: none; }
.breadcrumbs span { margin: 0 7px; opacity: .6; }

.article-shell {
  padding: clamp(24px, 4.5vw, 52px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,220,120,.16), transparent 22rem),
    var(--paper);
  box-shadow: 0 30px 80px rgba(6, 3, 20, .34);
}

.kicker {
  display: inline-block;
  margin-bottom: 13px;
  color: #8a70d7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.lede {
  max-width: 780px;
  margin: 0 0 22px;
  color: #55496f;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #877b9e;
  font-size: 13px;
  font-weight: 700;
}

.article-body {
  margin-top: 34px;
  font-size: 17px;
}

.article-body h2 {
  margin: 38px 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.22;
}

.article-body h3 { margin: 26px 0 8px; font-size: 21px; }

.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin: 7px 0; }

.article-body strong { color: #2f2352; }

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: #fff2c9;
  color: #5f4710;
}

.table-wrap { overflow-x: auto; margin: 22px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fffdf8;
}

th, td {
  padding: 11px 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th { background: #f3ecff; color: #4d376f; }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 38px 0 4px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(140deg, #2a2050, #45317e);
  color: #f7f1ff;
}

.cta p { margin: 0; color: #d7cdea; }
.cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  color: #3b2a08;
  background: linear-gradient(160deg, #ffe071, #f0b62e);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 #ad7810;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(78, 55, 125, .14);
}

.card small { color: #8a79a8; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card h2 { margin: 8px 0 8px; font-size: 21px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.faq-list { margin-top: 28px; }

.faq-item {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #3c2b62;
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: #9a82cf; font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 20px 18px; color: #5d5077; }

.related { margin-top: 34px; }
.related h2 { font-size: 24px; }

.page-footer {
  padding: 34px 0 48px;
  color: #b7aacd;
  font-size: 14px;
}

.page-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: #d4c9e9; text-decoration: none; }
.footer-links a:hover { color: #ffd35e; }

@media (max-width: 760px) {
  .site-head .wrap { min-height: auto; padding: 14px 0; align-items: flex-start; }
  .site-nav { justify-content: flex-end; gap: 6px 12px; font-size: 13px; }
  .play-link { padding: 7px 11px; }
  main { padding-top: 30px; }
  .article-shell { border-radius: 20px; padding: 24px 18px; }
  .cards { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 26px, 1080px); }
  .brand { font-size: 17px; }
  .site-nav { font-size: 12px; gap: 5px 10px; }
  .article-body { font-size: 16px; }
}
