/* ==========================================================================
   ao3jingmianwangyeban.com
   静态导航站样式 · 视觉语言参考 UGOKKO 设计系统
   主色：#f55b96  辅色：#4bc3e5  底色：#f5f4ef
   ========================================================================== */

:root {
  --pink: #f55b96;
  --pink-ink: #c62f6f;
  --pink-dark: #a8245b;
  --pink-deep: #8f1b4c;
  --pink-soft: #fdeef4;
  --pink-line: #f8cbdd;

  --blue: #4bc3e5;
  --blue-deep: #1f9fc4;
  --blue-soft: #eaf8fc;
  --blue-line: #c9ecf5;

  --green: #2bb063;
  --green-soft: #e9f8ef;
  --orange: #fb9b00;
  --orange-soft: #fff7e8;
  --purple: #6367b0;

  --ink: #1f2a2e;
  --ink-soft: #333333;
  --text: #3b3b3b;
  --muted: #6b6b6b;
  --muted-light: #6e6e6e;
  --surface: #f5f4ef;
  --surface-deep: #efede5;
  --line: #e7e3da;
  --line-strong: #d3d3d3;
  --white: #ffffff;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --pill: 999px;

  --shadow-low: 0 1px 3px rgba(31, 42, 46, 0.06);
  --shadow-mid: 0 12px 32px rgba(31, 42, 46, 0.08);
  --shadow-high: 0 26px 64px rgba(8, 60, 76, 0.18);

  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

a:hover {
  color: var(--pink);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

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

strong {
  color: var(--ink);
}

::selection {
  background: #ffd7e6;
  color: #6f1a3c;
}

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

.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: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.no-copy {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand:hover .brand-name {
  color: var(--pink-ink);
}

.brand-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink) 8%, #f77fae 46%, var(--blue) 100%);
  box-shadow: 0 8px 18px rgba(245, 91, 150, 0.26);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 13px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  color: #3f3f3f;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--pink-ink);
  background: var(--surface);
}

.nav-link[aria-current="page"] {
  color: var(--pink-ink);
  background: var(--pink-soft);
  font-weight: 700;
}

.header-cta {
  flex: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 24px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--pink-ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(198, 47, 111, 0.24);
}

.btn-primary:hover {
  background: var(--pink-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(198, 47, 111, 0.3);
}

.btn-primary:active {
  background: var(--pink-deep);
  transform: none;
}

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

.btn-secondary:hover {
  background: var(--pink-ink);
  border-color: var(--pink-ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.95);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--pink-ink);
  transform: translateY(-2px);
}

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

/* Mobile menu */

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 28px;
  background: #fff;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0.38s var(--ease);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: none;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.mobile-close {
  display: inline-flex;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}

.mobile-nav nav {
  display: grid;
}

.mobile-nav nav a {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav nav a[aria-current="page"] {
  color: var(--pink-ink);
}

.mobile-nav .btn {
  margin-top: 22px;
  width: 100%;
}

.mobile-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 56px 0 108px;
  background: var(--blue);
  color: #0f3b47;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -15% auto;
  height: 76%;
  background: radial-gradient(60% 70% at 18% 8%, rgba(255, 255, 255, 0.5), transparent 68%),
    radial-gradient(48% 60% at 84% 22%, rgba(255, 255, 255, 0.32), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -34%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28), transparent 66%);
  pointer-events: none;
}

.cloud {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.cloud--1 {
  top: 16%;
  left: -40px;
  width: 220px;
  height: 62px;
  animation: drift 17s ease-in-out infinite alternate;
}

.cloud--2 {
  top: 22%;
  right: 7%;
  width: 132px;
  height: 40px;
  opacity: 0.75;
  animation: drift 21s ease-in-out infinite alternate-reverse;
}

.cloud--3 {
  bottom: 7%;
  left: 4%;
  width: 180px;
  height: 52px;
  opacity: 0.22;
  animation: drift 25s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(20px, -12px, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
  color: #0d4d5c;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.15rem, 5.4vw, 3.55rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #0b2f38;
}

.hero-lead {
  max-width: 60ch;
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.85;
  color: #123c47;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #0f4350;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: #0d5d3a;
}

.hero-panel {
  position: relative;
  z-index: 2;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-high);
}

.panel-title {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.panel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin: 0;
}

.panel-stat dt {
  margin: 0 0 1px;
  font-size: 12.5px;
  color: var(--muted);
}

.panel-stat dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.panel-stat dd span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-light);
}

.panel-stat .panel-date {
  padding-top: 5px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.panel-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 72px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 76px 0;
}

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

.section--surface {
  background: var(--surface);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head--wide {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-ink);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.1vw, 2rem);
}

.section-lead {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--muted);
}

.section-foot {
  margin: 26px 0 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--pink-ink);
  white-space: nowrap;
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--pink-dark);
}

.text-link:hover span {
  transform: translateX(3px);
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.split-head .section-head {
  margin-bottom: 0;
}

/* Info cards */

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

.info-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-low);
}

.info-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.info-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4d4d4d;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.icon-badge--pink {
  background: var(--pink-soft);
  color: var(--pink);
}

.icon-badge--blue {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.icon-badge--green {
  background: var(--green-soft);
  color: var(--green);
}

/* Notice */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 26px;
  padding: 16px 20px;
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  background: var(--blue-soft);
  color: #14505e;
}

.notice-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue-deep);
}

.notice-ico svg {
  width: 20px;
  height: 20px;
}

.notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.notice strong {
  color: #0e4553;
}

/* --------------------------------------------------------------------------
   Mirror cards
   -------------------------------------------------------------------------- */

.mirror-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.mirror-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-low);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.mirror-card:hover {
  transform: translateY(-3px);
  border-color: var(--pink-line);
  box-shadow: var(--shadow-mid);
}

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

.mirror-index {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6f6f6f;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.chip--pink {
  border-color: #fbd3e2;
  background: var(--pink-soft);
  color: #b2305e;
}

.chip--blue {
  border-color: var(--blue-line);
  background: var(--blue-soft);
  color: #0d6b82;
}

.mirror-domain {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  word-break: break-all;
}

.mirror-url {
  margin: 0;
  padding: 6px 9px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  word-break: break-all;
}

.mirror-note {
  flex: 1;
  margin: 10px 0 12px;
  font-size: 13.5px;
  line-height: 1.78;
  color: #4d4d4d;
}

.mirror-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.mirror-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--pink-line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--pink-ink);
  font-size: 13.5px;
  font-weight: 700;
}

.mirror-go:hover {
  background: var(--pink-ink);
  border-color: var(--pink-ink);
  color: #fff;
}

.mirror-go .arrow {
  transition: transform 0.3s var(--ease);
}

.mirror-go:hover .arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Small card grids
   -------------------------------------------------------------------------- */

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

.mini-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-low);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-mid);
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

.mini-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: #4d4d4d;
}

/* Steps */

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

.step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-low);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--pink);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(245, 91, 150, 0.24);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4d4d4d;
}

/* Troubleshooting */

.fix-panel {
  padding: 4px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-low);
}

.fix-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fix-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.fix-list li:last-child {
  border-bottom: 0;
}

.fix-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink-ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
}

.fix-list h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
}

.fix-list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4d4d4d;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-low);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 2px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item[open] summary {
  color: var(--pink-dark);
}

.faq-body {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.85;
  color: #4a4a4a;
}

.faq-body p {
  margin: 0;
}

.faq-body p + p {
  margin-top: 10px;
}

/* Glossary */

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

.term {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-low);
}

.term dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
}

.term dt span {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-light);
}

.term dd {
  margin: 6px 0 0;
  font-size: 13.8px;
  line-height: 1.78;
  color: #505050;
}

/* Checklist */

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14.5px;
  line-height: 1.75;
  color: #454545;
  box-shadow: var(--shadow-low);
}

.check-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.check-ico svg {
  width: 15px;
  height: 15px;
}

/* Maintenance */

.maintain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dot-list li {
  position: relative;
  padding: 0 0 12px 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4a4a4a;
}

.dot-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-low);
}

table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 14px;
}

caption {
  caption-side: top;
}

th,
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

th {
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

td:first-child {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* About panel */

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.about-panel .section-title {
  margin-bottom: 14px;
}

.about-panel p {
  font-size: 15px;
  line-height: 1.85;
  color: #474747;
}

.about-panel .btn {
  margin-top: 6px;
}

.disclaimer-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-low);
}

.disclaimer-box h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.disclaimer-box p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #4d4d4d;
}

.disclaimer-note {
  margin: 0 !important;
  font-size: 12.5px !important;
  color: var(--muted) !important;
}

.disclaimer-note a {
  color: var(--pink-ink);
}

/* CTA band */

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
  align-items: center;
  gap: 24px;
  padding: 46px;
  border: 1px solid #fff;
  border-radius: var(--radius-xl);
  background: linear-gradient(118deg, #ffe4ee 0%, #fdeef4 44%, #e2f7fc 100%);
  overflow: hidden;
}

.cta-copy {
  position: relative;
  z-index: 2;
}

.cta-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-copy p {
  max-width: 58ch;
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.85;
  color: #3f4a4d;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-orb--1 {
  top: -50px;
  right: 12%;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.55);
}

.cta-orb--2 {
  right: -40px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  background: rgba(75, 195, 229, 0.16);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 58px 0 28px;
  background: #24292b;
  color: #e9e6e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-sub {
  color: #8d979a;
}

.footer-brand p {
  max-width: 34ch;
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #b3bbbd;
}

.footer-meta {
  font-family: var(--mono);
  font-size: 12px !important;
  color: #8d979a !important;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d979a;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: #d8dcdd;
  font-size: 14px;
}

.footer-col a:hover {
  color: #ff9cc0;
}

.footer-col p {
  margin: 0;
  font-size: 13px;
  color: #a9b3b6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8d979a;
}

/* Back to top */

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-mid);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease), color 0.3s var(--ease);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  color: var(--pink);
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--blue-soft) 0%, #f8fdfe 62%, #fff 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

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

.breadcrumb a:hover {
  color: var(--pink);
}

.breadcrumb .sep {
  color: #b9c6c9;
}

.page-title {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.2;
}

.page-lead {
  max-width: 72ch;
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.9;
  color: #465256;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 46px;
  align-items: start;
  padding: 46px 0 68px;
}

.page-main {
  min-width: 0;
}

.page-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.toc {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-low);
}

.toc h2 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.toc ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc a {
  display: block;
  padding: 7px 9px;
  border-radius: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4a4a4a;
}

.toc a:hover {
  background: var(--pink-soft);
  color: var(--pink-ink);
}

.aside-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 13.2px;
  line-height: 1.8;
  color: #4e4e4e;
}

.aside-card h2 {
  margin: 0 0 8px;
  font-size: 15px;
}

.aside-card p:last-child {
  margin-bottom: 0;
}

.aside-card .btn {
  width: 100%;
  margin-top: 4px;
}

.prose h2 {
  margin: 46px 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  scroll-margin-top: 98px;
}

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

.prose h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  scroll-margin-top: 98px;
}

.prose p {
  margin: 0 0 16px;
  font-size: 16.3px;
  line-height: 1.92;
  color: #3d3d3d;
  overflow-wrap: break-word;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 1.3em;
}

.prose li {
  margin: 0 0 8px;
  font-size: 16.3px;
  line-height: 1.88;
  color: #3d3d3d;
  overflow-wrap: break-word;
}

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

.prose a:hover {
  color: var(--pink-dark);
}

.prose strong {
  color: var(--ink);
}

.callout {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  background: var(--blue-soft);
  font-size: 14.5px;
  line-height: 1.85;
  color: #14505e;
}

.callout p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.85;
  color: inherit;
}

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

.callout strong {
  color: inherit;
}

.callout--pink {
  border-color: #fbd3e2;
  background: var(--pink-soft);
  color: #7d2346;
}

.callout--warn {
  border-color: #f4d9a6;
  background: var(--orange-soft);
  color: #6a4a12;
}

.qa {
  display: grid;
  gap: 14px;
}

.qa-item {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-low);
}

.qa-item h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.55;
}

.qa-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #4a4a4a;
}

.qa-item p + p {
  margin-top: 10px;
}

.two-col,
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.compare-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-low);
}

.compare-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
}

.compare-card ul {
  margin: 0;
  padding-left: 1.15em;
}

.compare-card li {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.75;
  color: #4a4a4a;
}

.compare-card--good {
  border-color: #c8ecd6;
  background: #f4fcf7;
}

.compare-card--bad {
  border-color: #f4d9a6;
  background: #fffaf0;
}

.page-cta {
  margin-top: 46px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.page-cta h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.page-cta p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4d4d4d;
}

.page-cta .cta-actions {
  gap: 10px;
}

/* 正文内的按钮链接不受 .prose a 的颜色与下划线影响 */
.prose .btn {
  text-decoration: none;
}

.prose .btn-primary,
.prose .btn-primary:hover,
.prose .btn-primary:active {
  color: #fff;
}

.prose .btn-secondary {
  color: var(--pink-ink);
}

.prose .btn-secondary:hover {
  color: #fff;
}

.prose .btn-ghost {
  color: var(--ink);
}

.prose .btn-ghost:hover {
  color: var(--pink-ink);
}

/* Jump confirmation page */

.jump-main {
  padding: 26px 0 72px;
  background: linear-gradient(180deg, var(--blue-soft) 0, #fbfeff 320px, #fff 320px);
}

.jump-breadcrumb {
  margin-bottom: 26px;
}

.jump-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-mid);
}

.jump-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--pink-soft);
  color: var(--pink-ink);
  font-size: 12.5px;
  font-weight: 700;
}

.jump-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.35;
  word-break: break-word;
}

.jump-title .mono {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--pink-ink);
}

.jump-lead {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.88;
  color: #475153;
}

.target-box {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.target-label {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  text-transform: uppercase;
}

.target-domain {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.target-url {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
}

.jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
}

.jump-tips {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.jump-tips h2 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.jump-tips ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.jump-tips li {
  position: relative;
  padding: 0 0 8px 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #4d4d4d;
}

.jump-tips li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.jump-back {
  font-size: 13.5px;
  color: var(--muted);
}

.jump-back a {
  color: var(--pink-ink);
  font-weight: 600;
}

/* 404 */

.error-main {
  padding: 72px 0 96px;
  text-align: center;
}

.error-main .error-code {
  max-width: none;
  margin: 0 auto 6px;
  font-family: var(--mono);
  font-size: clamp(4.4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--pink);
}

.error-main h1 {
  margin: 14px 0 12px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}

.error-main p {
  max-width: 52ch;
  margin: 0 auto 24px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

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

  .footer-brand p {
    max-width: 60ch;
  }
}

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

  .cloud {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 42px 0 92px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

  .info-grid > :last-child:nth-child(odd),
  .steps > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .maintain-grid,
  .about-panel,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 34px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .page-aside {
    position: static;
    order: -1;
    grid-template-columns: 1fr;
  }

  .page-aside .toc ol {
    grid-template-columns: 1fr 1fr;
    column-gap: 6px;
  }

  .page-aside .toc a {
    padding: 6px 8px;
    font-size: 12.5px;
  }

  .page-aside .aside-card {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 56px 0;
  }

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

  .split-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .glossary,
  .check-grid,
  .two-col,
  .compare {
    grid-template-columns: 1fr;
  }

  .fix-panel {
    padding: 2px 20px;
  }

  .about-panel {
    padding: 26px;
    gap: 24px;
  }

  .hero h1 {
    margin-top: 14px;
  }

  .hero-points {
    gap: 10px 18px;
    font-size: 13px;
  }

  .brand-sub {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

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

  .jump-card {
    padding: 24px 20px;
  }

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

@media (max-width: 620px) {
  .grid-4,
  .info-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .info-grid > :last-child:nth-child(odd),
  .steps > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .mirror-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px 0 82px;
  }

  .hero-wave svg {
    height: 48px;
  }

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

  .hero-eyebrow {
    font-size: 11.5px;
  }

  .panel-stat dd {
    font-size: 26px;
  }

  .section-title {
    font-size: 1.42rem;
  }

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

  .cta-band {
    padding: 26px 22px;
  }

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

  .prose h2 {
    margin-top: 38px;
  }

  .prose p,
  .prose li {
    font-size: 16px;
  }

  table {
    min-width: 0;
  }

  th,
  td {
    padding: 12px;
    font-size: 13px;
  }

  td:first-child {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 15.5px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .to-top {
    right: 12px;
    bottom: 12px;
  }
}

@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;
  }
}
