:root {
  --violet: #4A148C;
  --lilac: #EDE7F6;
  --deep: #2E1065;
  --white: #FFFFFF;
  --ink: #1F1235;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.75;
}

svg { display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

.page { width: min(1040px, calc(100% - 36px)); margin: 0 auto; }

.navhead {
  background: var(--lilac);
  border-bottom: 3px solid var(--violet);
}

.navhead .page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px 0;
}

.sign {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-weight: 700;
}

.sign svg { width: 28px; height: 28px; color: var(--violet); }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
}

.intro {
  padding: 32px 0 20px;
}

.intro h1 {
  font-size: 28px;
  color: var(--deep);
  max-width: 16em;
  margin-bottom: 12px;
}

.intro p {
  max-width: 44em;
  margin-bottom: 8px;
}

.pairs { padding: 8px 0 28px; }

.pairs h2 {
  font-size: 22px;
  color: var(--deep);
  margin-bottom: 10px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 12px 0;
  border: 1px solid #D1C4E9;
}

.risk, .act {
  padding: 18px 16px 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}

.risk {
  background: var(--lilac);
  border-right: 1px solid #D1C4E9;
}

.act { background: var(--white); }

.risk svg, .act svg {
  width: 28px;
  height: 28px;
  color: var(--violet);
}

.pair h3 { font-size: 16px; margin-bottom: 6px; }
.pair p { font-size: 14px; }

.label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 6px;
}

.panel {
  padding: 24px 0;
}

.panel h2 {
  font-size: 22px;
  color: var(--deep);
  margin-bottom: 10px;
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.cmp th, .cmp td {
  border: 1px solid #D1C4E9;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.cmp th {
  background: var(--violet);
  color: var(--white);
}

.trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.trio article {
  background: var(--lilac);
  padding: 18px 16px;
}

.trio h3 {
  color: var(--violet);
  margin-bottom: 8px;
  font-size: 16px;
}

.steps {
  counter-reset: leave;
  margin-top: 14px;
}

.steps li {
  list-style: none;
  background: var(--white);
  border: 1px solid #D1C4E9;
  padding: 14px 16px 14px 56px;
  margin-bottom: 8px;
  position: relative;
}

.steps li::before {
  counter-increment: leave;
  content: counter(leave);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  background: var(--violet);
  color: #fff;
  text-align: center;
  line-height: 28px;
  font-size: 13px;
}

.sight {
  background: var(--lilac);
  padding: 22px 20px;
  margin-top: 12px;
}

.sight p { margin-bottom: 10px; }

.after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.after article {
  border-top: 4px solid var(--violet);
  padding: 16px 14px;
  background: #F5F3FF;
}

.after h3 { margin-bottom: 8px; color: var(--deep); }

.faq details {
  background: var(--lilac);
  padding: 12px 16px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--deep);
}

.faq details p { margin-top: 8px; }

.check {
  background: var(--deep);
  color: #EDE7F6;
  padding: 22px 20px;
  margin: 20px 0 8px;
}

.check h3 {
  color: #fff;
  margin-bottom: 10px;
}

.check li { margin: 6px 0 6px 20px; }

.tail {
  background: var(--deep);
  color: #D1C4E9;
  padding: 26px 0;
  font-size: 13px;
}

.tail p { margin-bottom: 8px; }

@media (max-width: 860px) {
  .navhead .page { flex-direction: column; align-items: flex-start; }
  .pair, .trio, .after { grid-template-columns: 1fr; }
  .risk { border-right: 0; border-bottom: 1px solid #D1C4E9; }
  .intro h1 { font-size: 22px; }
}
