/* =========================================================
   ao3镜面网页版网址 — 静态导航站样式
   设计语言：深蓝主色 + 柔和渐变 + 浅灰格纹 + 大圆角
   ========================================================= */

:root {
  --ink: #0e0d6a;
  --ink-2: #22223b;
  --ink-3: #45455f;
  --muted: #5f6079;
  --paper: #ffffff;
  --surface: #f2f3f8;
  --surface-2: #e7e9f2;
  --line: #dde0e7;

  --orange: #fdc372;
  --pink: #ffafcb;
  --purple: #d8a8ff;
  --blue: #88d8fe;

  --grad-mirai: linear-gradient(135deg, #d8a8ff 2.88%, #ffe3f6 70.58%);
  --grad-tech: linear-gradient(132.95deg, #88d8fe 4.31%, #d9f8fe 68.39%);
  --grad-tsunagu: linear-gradient(135deg, #fdc372 2.88%, #fef2ca 69.74%);
  --grad-kurashi: linear-gradient(135deg, #ffafcb 0%, #ffe3f0 78%);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  --shadow: 0 2px 4px rgba(14, 13, 106, 0.08);
  --shadow-hover: 0 8px 20px rgba(14, 13, 106, 0.12);
  --ease: cubic-bezier(0.47, 0, 0, 1.15);
  --dur: 200ms;

  --max: 1200px;
  --gutter: 24px;

  --ff: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "SFMono-Regular", "Cascadia Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

section[id],
main[id] {
  scroll-margin-top: 84px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

::selection {
  background: var(--purple);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.br-mobile {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ============ 按钮 ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--surface-2);
}

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn:active {
  transform: translateY(1px);
}

/* ============ 顶部导航 ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(14, 13, 106, 0.07);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
}

.brand__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-full);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.nav__link:hover {
  background: var(--surface-2);
}

.nav__link.is-active {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.nav-open .nav-toggle__bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle__bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============ 首页主视觉 ============ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background: radial-gradient(
      58% 66% at 90% 0%,
      rgba(216, 168, 255, 0.2),
      transparent 62%
    ),
    radial-gradient(
      48% 58% at 0% 92%,
      rgba(136, 216, 254, 0.18),
      transparent 62%
    ),
    #fff;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--grad-mirai);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.eyebrow--tech {
  background: var(--grad-tech);
}

.eyebrow--sun {
  background: var(--grad-tsunagu);
}

.hero__title {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero__lead {
  max-width: 36em;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(1rem, 0.95rem + 0.22vw, 1.1rem);
  line-height: 1.95;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  padding: 0;
  color: var(--muted);
  font-size: 13.5px;
  list-style: none;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.hero__meta li:nth-child(2)::before {
  background: var(--blue);
}

.hero__meta li:nth-child(3)::before {
  background: var(--orange);
}

.hero__art {
  position: relative;
  isolation: isolate;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: -6% -4% -10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
      42% 46% at 76% 20%,
      rgba(216, 168, 255, 0.62) 0%,
      rgba(216, 168, 255, 0) 68%
    ),
    radial-gradient(
      40% 42% at 14% 80%,
      rgba(136, 216, 254, 0.55) 0%,
      rgba(136, 216, 254, 0) 70%
    ),
    radial-gradient(
      28% 30% at 90% 84%,
      rgba(253, 195, 114, 0.42) 0%,
      rgba(253, 195, 114, 0) 72%
    );
  filter: blur(14px);
  pointer-events: none;
}

.hero__art svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

/* ============ 区块骨架 ============ */

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--surface {
  border-block: 1px solid var(--line);
  background-color: var(--surface);
  background-image: linear-gradient(
      90deg,
      rgba(14, 13, 106, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(14, 13, 106, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section__head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section__head--wide {
  max-width: 860px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .section__lead {
  margin-inline: auto;
}

.section__title {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(1.55rem, 1.18rem + 1.3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.32;
  text-wrap: balance;
}

.section__lead {
  max-width: 46em;
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.9;
  text-wrap: pretty;
}

.section__foot {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ============ 特性卡片 ============ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.feature:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--grad-mirai);
  color: var(--ink);
}

.feature:nth-child(2) .feature__icon {
  background: var(--grad-tech);
}

.feature:nth-child(3) .feature__icon {
  background: var(--grad-tsunagu);
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature__title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.feature__text {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ============ 线路卡片 ============ */

.mirror-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mirror {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(221, 224, 231, 0.95);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.mirror:hover {
  border-color: #cdd1de;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.mirror__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.mirror__no {
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-full);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
}

.badge--brand {
  background: var(--grad-mirai);
}

.badge--short {
  background: var(--grad-tech);
}

.badge--multi {
  background: var(--grad-tsunagu);
}

.mirror__domain {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.mirror__url,
.go-url {
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink-3);
  font-family: var(--ff-mono);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

/* 列表中的域名与网址禁止选中复制 */
.mirror__domain,
.mirror__url,
.go-domain,
.go-url,
[data-nocopy] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: default;
}

.mirror__desc {
  flex: 1;
  margin: 14px 0 20px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.85;
}

.mirror__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mirror .badge {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.mirror__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.mirror--brand .mirror__link {
  background: var(--grad-mirai);
}

.mirror--short .mirror__link {
  background: var(--grad-tech);
}

.mirror--multi .mirror__link {
  background: var(--grad-tsunagu);
}

.mirror__link::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.mirror__link:hover {
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(14, 13, 106, 0.14);
}

.mirror__link:active {
  transform: translateY(1px);
}

.mirror__link:hover::after {
  transform: translateX(3px);
}

/* ============ 步骤 ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grad-tech);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step:nth-child(2) .step__num {
  background: var(--grad-mirai);
}

.step:nth-child(3) .step__num {
  background: var(--grad-tsunagu);
}

.step__title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.step__text {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ============ 表格 ============ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.75;
}

.table caption {
  padding: 16px 18px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  text-wrap: balance;
}

.table th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  vertical-align: top;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table td strong {
  color: var(--ink);
  font-weight: 600;
}

.table .mono {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--ink);
}

/* ============ 自检清单 ============ */

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-top: 32px;
  list-style: none;
}

.check {
  display: flex;
  gap: 13px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.check__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--grad-tech);
  color: var(--ink);
}

.check__icon svg {
  width: 14px;
  height: 14px;
}

.check:nth-child(2n) .check__icon {
  background: var(--grad-mirai);
}

.check:nth-child(3n) .check__icon {
  background: var(--grad-tsunagu);
}

.check__title {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
}

.check__text {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.8;
}

/* ============ 场景 ============ */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.scenario {
  position: relative;
  padding: 26px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.scenario::after {
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--grad-mirai);
  opacity: 0.55;
}

.scenario:nth-child(2)::after {
  background: var(--grad-tech);
}

.scenario:nth-child(3)::after {
  background: var(--grad-tsunagu);
}

.scenario__label {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.scenario__title {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.scenario__text {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ============ 术语 ============ */

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: 8px;
}

.glossary__item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.glossary dt {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}

.glossary dd {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ============ 术语表页 ============ */

.toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 36px;
}

.toc__label {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.toc a {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.toc a:hover {
  border-color: var(--surface-2);
  background: var(--surface-2);
}

.term-list {
  margin: 0 0 8px;
  border-top: 1px solid var(--line);
}

.term {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 6px 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.term dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.term__en {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.term dd {
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.9;
}

.term dd ul {
  margin: 8px 0 0;
  padding-left: 1.15em;
  font-size: 14.5px;
  line-height: 1.85;
}

.term dd li {
  margin-bottom: 4px;
}

.term dd li:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .term {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .term__en {
    display: inline;
    margin-top: 0;
    margin-left: 6px;
  }
}

/* ============ 安全提示 ============ */

.notice {
  padding: 28px;
  border: 1px solid rgba(255, 175, 203, 0.55);
  border-radius: var(--r-lg);
  background: linear-gradient(
    135deg,
    rgba(255, 175, 203, 0.18),
    rgba(253, 195, 114, 0.14)
  );
}

.notice__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.notice__title svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.notice__list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
}

.notice__list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.8;
}

.notice__list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.55;
}

.notice__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(14, 13, 106, 0.12);
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ============ FAQ ============ */

.faq {
  max-width: 840px;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease);
}

.faq__mark::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__mark {
  border-color: var(--ink);
  background: var(--ink);
}

.faq__item[open] .faq__mark::before,
.faq__item[open] .faq__mark::after {
  background: #fff;
}

.faq__item[open] .faq__mark::after {
  transform: rotate(0deg);
}

.faq__body {
  max-width: 72ch;
  padding: 0 46px 22px 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.95;
}

.faq__body p + p {
  margin-top: 12px;
}

/* ============ 日志与关于 ============ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.log {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding-left: 24px;
  border-left: 2px solid var(--line);
  list-style: none;
}

.log__item {
  position: relative;
}

.log__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -31px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 2px var(--line);
}

.log__date {
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.log__text {
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.85;
}

.about-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.subhead {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.about-box p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.9;
}

.about-box p + p {
  margin-top: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ============ CTA ============ */

.cta {
  padding: 0 0 80px;
}

.cta__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 52px 44px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
}

.cta__inner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(216, 168, 255, 0.55),
    transparent 68%
  );
  pointer-events: none;
}

.cta__inner::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 12%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(136, 216, 254, 0.32),
    transparent 68%
  );
  pointer-events: none;
}

.cta__copy {
  position: relative;
  z-index: 1;
  max-width: 46ch;
}

.cta__title {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.cta__text {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.85;
}

.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta .btn--primary {
  background: #fff;
  color: var(--ink);
}

.cta .btn--primary:hover {
  background: var(--surface-2);
}

.cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.cta .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

/* ============ 复制提示 ============ */

.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 200;
  max-width: min(92vw, 480px);
  padding: 12px 20px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 10px 30px rgba(14, 13, 106, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ 页脚 ============ */

.site-footer :focus-visible,
.cta :focus-visible {
  outline-color: #fff;
}

.site-footer {
  padding: 56px 0 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__brand .brand {
  color: #fff;
}

.footer__desc {
  max-width: 38ch;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.66);
}

.footer__title {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer__links {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom {
  display: grid;
  gap: 4px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 1.8;
}

.footer__bottom p {
  max-width: 88ch;
}

/* ============ 内页页头 ============ */

.page-hero {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
      52% 70% at 88% 0%,
      rgba(216, 168, 255, 0.18),
      transparent 62%
    ),
    linear-gradient(180deg, #fff, #f7f7fc);
}

.page-hero--article .container {
  max-width: 820px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  list-style: none;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #b9bcc9;
}

.page-hero__title {
  max-width: 20em;
  color: var(--ink);
  font-size: clamp(1.8rem, 1.35rem + 1.7vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.page-hero__lead {
  max-width: 44em;
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.95;
  text-wrap: pretty;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

/* ============ 长文 ============ */

.article {
  max-width: 820px;
  margin-inline: auto;
  padding: 56px 0 72px;
}

.article h2 {
  margin: 52px 0 16px;
  padding-top: 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.article h2:first-child {
  margin-top: 0;
}

.article h2[id] {
  scroll-margin-top: 84px;
}

.article h3 {
  margin: 32px 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.5;
}

.article p {
  margin-bottom: 18px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.95;
  text-wrap: pretty;
}

.article ul,
.article ol {
  margin: 0 0 20px;
  padding-left: 1.35em;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.95;
}

.article li {
  margin-bottom: 8px;
}

.article li::marker {
  color: var(--ink);
}

.article strong {
  color: var(--ink);
  font-weight: 600;
}

.article a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article a:hover {
  text-decoration-thickness: 2px;
}

.article .toc a,
.article .toc a:hover {
  text-decoration: none;
}

.article blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}

.article blockquote p:last-child {
  margin-bottom: 0;
}

.article .callout {
  margin: 26px 0;
  padding: 20px 22px;
  border: 1px solid rgba(136, 216, 254, 0.6);
  border-radius: var(--r-md);
  background: linear-gradient(
    135deg,
    rgba(136, 216, 254, 0.16),
    rgba(217, 248, 254, 0.4)
  );
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}

.article .callout p {
  margin-bottom: 8px;
  font-size: 15px;
}

.article .callout p:last-child {
  margin-bottom: 0;
}

.article .article__end {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.article .article__related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.article .article__related a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: #fff;
  font-size: 13.5px;
  text-decoration: none;
}

.article .article__related a:hover {
  background: var(--surface-2);
}

/* 内页 FAQ 可复用 */
.faq--page {
  max-width: none;
  margin-top: 8px;
}

/* ============ 中间确认页 ============ */

.go-wrap {
  min-height: 62vh;
  padding: 44px 0 72px;
}

.go-layout {
  max-width: 720px;
  margin-inline: auto;
}

.go-card {
  margin-top: 8px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.go-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.go-title {
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.go-domain {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.go-lead {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.9;
}

.go-target {
  display: grid;
  gap: 0;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.go-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.go-row:last-child {
  border-bottom: 0;
}

.go-row__label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.go-row__value {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.go-url {
  display: block;
  margin-top: 0;
  background: #fff;
  font-weight: 400;
  color: var(--ink-2);
}

.go-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.go-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.go-back {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
}

.go-back a {
  color: var(--muted);
  text-decoration: none;
}

.go-back a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ 404 ============ */

.notice-page {
  padding: 72px 0 88px;
}

.notice-box {
  max-width: 620px;
  margin-inline: auto;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.notice-box__code {
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.notice-box h1 {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  font-weight: 500;
  line-height: 1.35;
}

.notice-box p {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.9;
}

.notice-box .btn {
  margin-top: 24px;
}

.notice-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.notice-box__actions .btn {
  margin-top: 24px;
}

.notice-box__tip {
  margin-top: 18px;
  color: var(--muted) !important;
  font-size: 13px !important;
}

/* ============ 小屏导航与响应式 ============ */

@media (max-width: 1024px) {
  .mirror-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero__art {
    max-width: 540px;
    margin-inline: auto;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 28px rgba(14, 13, 106, 0.08);
  }

  .nav-open .nav {
    display: block;
    animation: nav-in 220ms var(--ease);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__link {
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 16px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section--tight {
    padding: 44px 0;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .feature-grid,
  .steps,
  .scenario-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .checks {
    grid-template-columns: minmax(0, 1fr);
  }

  .glossary {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .table {
    min-width: 0;
  }

  .table thead {
    display: none;
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

  .table tr:last-child {
    border-bottom: 0;
  }

  .table td {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 16px;
    border-bottom: 0;
  }

  .table td::before {
    content: attr(data-label);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
  }

  .table caption {
    display: block;
    width: 100%;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--line);
  }

  .cta {
    padding-bottom: 60px;
  }

  .cta__inner {
    padding: 36px 26px;
  }

  .article {
    padding: 40px 0 56px;
  }

  .go-card {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .br-mobile {
    display: inline;
  }

  .brand {
    font-size: 15px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .header__inner {
    min-height: 64px;
    gap: 12px;
  }

  .hero__title {
    font-size: clamp(1.85rem, 1.4rem + 3.2vw, 2.4rem);
  }

  .mirror-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mirror {
    padding: 20px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer__bottom {
    display: grid;
    gap: 6px;
  }

  .go-target {
    padding: 0 14px;
  }

  .go-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .go-actions .btn {
    width: 100%;
  }

  .faq__body {
    padding-right: 0;
  }

  .notice {
    padding: 22px;
  }

  .about-box {
    padding: 22px;
  }

  .page-hero {
    padding: 32px 0 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
