:root {
  color-scheme: light;
  --brand-50: #f2eeff;
  --brand-100: #e3dafe;
  --brand-500: #7b68ee;
  --brand-600: #5a4dc7;
  --brand-ink: #5a3dd1;
  --accent-500: #5da8ff;
  --surface-0: #ffffff;
  --surface-1: #fafbfd;
  --surface-2: #f2f3f5;
  --border-soft: #eef0f3;
  --border-default: #e2e4ea;
  --text-primary: #111418;
  --text-strong: #2a2e34;
  --text-secondary: #5b6270;
  --text-muted: #8b93a1;
  --danger: #e5484d;
  --shadow-soft: 0 24px 60px rgba(17, 20, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface-0);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(242, 238, 255, 0.88), rgba(255, 255, 255, 0) 340px),
    var(--surface-0);
}

a {
  color: var(--brand-ink);
  text-decoration-color: rgba(90, 61, 209, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--brand-ink);
}

.page {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9f7bff 0%, var(--brand-500) 58%, var(--accent-500) 100%);
  box-shadow: 0 10px 24px rgba(123, 104, 238, 0.24);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  border: 1px solid rgba(226, 228, 234, 0.92);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  border-color: rgba(123, 104, 238, 0.34);
  background: var(--brand-50);
  color: var(--brand-ink);
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 228, 234, 0.88);
  border-radius: 28px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #9f7bff 0%, var(--brand-500) 58%, var(--accent-500) 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.summary {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 11px;
  background: var(--surface-1);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.content {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

section {
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
}

h2 {
  margin: 0 0 12px;
  color: var(--text-strong);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

li {
  margin: 8px 0;
  padding-left: 2px;
}

.notice {
  border-color: rgba(123, 104, 238, 0.2);
  background: linear-gradient(180deg, rgba(242, 238, 255, 0.8), rgba(255, 255, 255, 0.96));
}

.danger {
  border-color: rgba(229, 72, 77, 0.2);
  background: linear-gradient(180deg, rgba(254, 235, 236, 0.72), rgba(255, 255, 255, 0.96));
}

.footer {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 680px) {
  .page {
    padding: 20px 14px 40px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    border-radius: 22px;
    padding: 26px 20px 22px;
  }

  section {
    border-radius: 18px;
    padding: 18px;
  }

  h1 {
    font-size: 38px;
  }
}
