@charset "utf-8";
/* ==========================================================================
   ao3lj.com — ao3 官网入口
   视觉语言：AZ Strawberry 设计参考
   · 草莓红 #e80000 / 炭黑 #212121 / 暖白与浅灰
   · 宋体标题 + 无衬线正文，大留白，胶囊按钮，20px 卡片圆角
   · 移动优先，断点 480 / 640 / 900 / 1100 / 1600
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  --red: #e80000;
  --red-deep: #a90000;
  --red-soft: #fff1f0;
  --ink: #212121;
  --ink-soft: #444444;
  --muted: #666666;
  --muted-light: #777777;
  --white: #ffffff;
  --paper: #f6f4f1;
  --paper-2: #efede9;
  --line: #e4e0dc;
  --line-dark: #333333;
  --dark: #212121;
  --dark-2: #191919;
  --focus: #007ca8;

  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC",
    "Yu Mincho Light", "YuMincho", "STSong", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    "Courier New", monospace;

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 82px;

  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 18px 44px rgba(33, 33, 33, 0.09);
  --shadow-deep: 0 28px 70px rgba(33, 33, 33, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 420ms;
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

strong,
b {
  font-weight: 600;
}

code,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

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

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

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. 布局与通用工具
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

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

.section {
  padding: 92px 0;
  position: relative;
}

.section--tint {
  background: var(--paper);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section h2 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 68ch;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-head__copy {
  max-width: 720px;
}

.section-head__aside {
  flex: none;
  padding-bottom: 5px;
}

.lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

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

.mono {
  font-family: var(--font-mono);
}

.nowrap {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color 240ms ease, color 240ms ease,
    border-color 240ms ease, transform 240ms var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn--outline {
  border-color: var(--red);
  color: var(--red-deep);
  background: var(--white);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn--ghost {
  padding-right: 0;
  padding-left: 0;
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
}

.btn--ghost:hover {
  color: var(--red);
  border-color: var(--red);
}

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--red-deep);
}

.btn--light:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn--on-red {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.btn--on-red:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--red-deep);
}

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

.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 200ms var(--ease);
}

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

/* --------------------------------------------------------------------------
   5. 页头
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow 260ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(33, 33, 33, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  text-transform: lowercase;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover {
  color: var(--red-deep);
  background: var(--red-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--red-deep);
  background: var(--red-soft);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding-right: 18px;
  padding-left: 18px;
  background: var(--red);
  color: var(--white);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--ink);
}

.menu-lines {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: top 220ms ease, transform 220ms ease, opacity 180ms ease;
}

.menu-lines span:nth-child(1) {
  top: 0;
}

.menu-lines span:nth-child(2) {
  top: 5px;
}

.menu-lines span:nth-child(3) {
  top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 55;
  padding: 18px 24px 40px;
  background: var(--white);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav__label {
  padding: 12px 0 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
}

.mobile-nav a::after {
  content: "→";
  color: var(--muted-light);
  font-size: 13px;
}

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

.mobile-nav .mobile-nav__cta {
  justify-content: center;
  margin-top: 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--white);
  font-size: 15px;
}

.mobile-nav .mobile-nav__cta::after {
  content: "→";
  color: var(--white);
}

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

/* --------------------------------------------------------------------------
   6. 首页 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 66px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 18%, rgba(232, 0, 0, 0.055), transparent 25%),
    var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 92px);
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(33, 33, 33, 0.07) 18%,
    rgba(33, 33, 33, 0.07) 82%,
    transparent
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 64px;
}

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

.hero-title {
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 5.8vw, 76px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-title em {
  position: relative;
  color: var(--red);
  font-style: normal;
  white-space: nowrap;
}

.hero-title em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 8px;
  background: rgba(232, 0, 0, 0.09);
  z-index: -1;
}

.hero-lead {
  max-width: 590px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

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

.hero-note {
  max-width: 590px;
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 30px;
}

.hero-art {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-art__orbit {
  position: absolute;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(33, 33, 33, 0.11);
  border-radius: 50%;
}

.hero-art__orbit::before,
.hero-art__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-art__orbit::before {
  top: -7px;
  left: 50%;
  width: 13px;
  height: 13px;
  background: var(--red);
  transform: translateX(-50%);
}

.hero-art__orbit::after {
  right: 9%;
  bottom: 13%;
  width: 68px;
  height: 68px;
  background: var(--red);
  opacity: 0.92;
}

.hero-art__ring {
  position: absolute;
  width: min(82%, 342px);
  aspect-ratio: 1;
  border: 1px dashed rgba(33, 33, 33, 0.16);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero-card {
  position: relative;
  z-index: 3;
  width: min(100%, 352px);
  padding: 30px 30px 26px;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-top: 5px solid var(--red);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-deep);
  transform: rotate(-2.2deg);
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-card__label {
  margin-top: 24px;
  color: var(--red-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-card__domain {
  margin-top: 7px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  word-break: break-all;
}

.hero-card__domain a {
  border-bottom: 1px solid transparent;
}

.hero-card__domain a:hover {
  color: var(--red-deep);
  border-color: currentColor;
}

.hero-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-card__meta div {
  padding: 15px 10px 15px 0;
}

.hero-card__meta div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hero-card__meta dt {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.hero-card__meta dd {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.2;
}

.hero-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.hero-card__foot b {
  color: var(--red-deep);
  font-weight: 600;
}

.hero-stamp {
  position: absolute;
  right: -26px;
  bottom: -28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  padding: 10px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  text-align: center;
  box-shadow: 0 14px 28px rgba(169, 0, 0, 0.24);
  transform: rotate(8deg);
}

.hero-stamp b {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-stamp small {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.hero-art__caption {
  position: absolute;
  right: 0;
  bottom: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

/* --------------------------------------------------------------------------
   8. 镜像入口列表
   -------------------------------------------------------------------------- */
.mirror-section {
  padding-top: 96px;
}

.mirror-section .section-head {
  align-items: flex-start;
}

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

.mirror-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 24px 24px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color 280ms ease, transform 280ms var(--ease),
    box-shadow 280ms ease;
}

.mirror-card::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--paper);
  transition: background-color 280ms ease, transform 400ms var(--ease);
}

.mirror-card:hover {
  border-color: #d9aaa7;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.mirror-card:hover::after {
  background: var(--red-soft);
  transform: scale(1.18);
}

.mirror-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mirror-card__index {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.mirror-card__series {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: right;
}

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

.no-copy.is-copy-blocked {
  border-radius: 3px;
  outline: 1px dashed rgba(232, 0, 0, 0.55);
  outline-offset: 3px;
}

.mirror-card__host {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.035em;
  word-break: break-all;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.mirror-card__url {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  word-break: break-all;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.mirror-card__desc {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.mirror-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mirror-card__type {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mirror-card__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--red);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--red-deep);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 200ms ease, border-color 200ms ease,
    color 200ms ease;
}

.mirror-card__go::after {
  content: "→";
  font-size: 12px;
  transition: transform 200ms var(--ease);
}

.mirror-card__go:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.mirror-card__go:hover::after {
  transform: translateX(2px);
}

.mirror-footnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.mirror-footnote::before {
  content: "※";
  color: var(--red);
  flex: none;
}

/* --------------------------------------------------------------------------
   9. 选择入口
   -------------------------------------------------------------------------- */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  align-items: start;
  gap: 72px;
}

.principle-list {
  margin-top: 34px;
}

.principle {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle__num {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.principle h3 {
  font-size: 17px;
  font-weight: 600;
}

.principle p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.order-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lift);
}

.order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.order-card__head h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
}

.order-card__head span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.order-list {
  counter-reset: order;
  margin-top: 6px;
}

.order-list li {
  counter-increment: order;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

.order-list li::before {
  content: "0" counter(order);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.9;
}

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

.order-card__note {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.order-card__note b {
  color: var(--red-deep);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. 访问步骤
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 30px 26px 10px 0;
  border-right: 1px solid var(--line);
}

.step + .step {
  padding-left: 26px;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step__num {
  color: rgba(232, 0, 0, 0.2);
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.step h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
}

.step p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.85;
}

.step__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.steps-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 38px;
}

.steps-note__box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.steps-note__box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.steps-note__box h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.steps-note__box ul {
  margin-top: 10px;
}

.steps-note__box li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.steps-note__box li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. 安全边界（深色）
   -------------------------------------------------------------------------- */
.safety-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: var(--dark);
  color: var(--white);
}

.safety-section::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.safety-section::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -170px;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(232, 0, 0, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.safety-section .section-kicker {
  color: #ff7770;
}

.safety-section h2 {
  max-width: 780px;
  color: var(--white);
}

.safety-section .section-intro {
  color: #bdbdbd;
}

.safety-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.safety-item {
  min-height: 196px;
  padding: 28px;
  background: var(--dark);
}

.safety-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.safety-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(232, 0, 0, 0.65);
  border-radius: 50%;
  color: #ff7770;
  font-family: var(--font-mono);
  font-size: 11px;
}

.safety-item__index {
  color: #666;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.safety-item h3 {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.safety-item p {
  margin-top: 8px;
  color: #b9b9b9;
  font-size: 13.5px;
  line-height: 1.85;
}

.safety-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.safety-bottom p {
  max-width: 700px;
  color: #9d9d9d;
  font-size: 12px;
  line-height: 1.8;
}

.safety-bottom .text-link {
  color: #ff8c86;
  flex: none;
}

.safety-bottom .text-link:hover {
  color: #fff;
  border-color: #fff;
}

/* --------------------------------------------------------------------------
   12. 阅读笔记
   -------------------------------------------------------------------------- */
.reading-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.reading-card {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 240ms ease, transform 240ms var(--ease);
}

.reading-card:hover {
  border-color: #d9aaa7;
  transform: translateY(-3px);
}

.reading-card__index {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.reading-card h3 {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.reading-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.85;
}

.reading-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.reading-foot p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   13. 打不开排查表
   -------------------------------------------------------------------------- */
.table-wrap {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.trouble-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.trouble-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.trouble-table th {
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trouble-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

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

.trouble-table td:first-child {
  width: 22%;
  color: var(--ink);
  font-weight: 600;
}

.trouble-table td:nth-child(2) {
  width: 34%;
}

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

.table-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.faq-item {
  height: fit-content;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.faq-item[open] {
  border-color: #d9aaa7;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 200ms ease;
}

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

.faq-answer {
  padding: 0 22px 21px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.9;
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-answer a {
  color: var(--red-deep);
  border-bottom: 1px solid rgba(169, 0, 0, 0.35);
}

.faq-answer a:hover {
  border-color: currentColor;
}

.faq-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.faq-foot p {
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   15. 关于模块
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: start;
  gap: 72px;
}

.about-copy p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.95;
}

.about-copy p strong {
  color: var(--ink);
}

.about-copy .btn-row {
  margin-top: 26px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.about-fact {
  min-height: 126px;
  padding: 24px 22px;
  background: var(--white);
}

.about-fact b {
  display: block;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.about-fact span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.about-footnote {
  grid-column: 1 / -1;
  padding: 22px 24px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   16. 底部 CTA
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background: #b84a45;
  color: var(--white);
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -60px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  right: 17%;
  bottom: -160px;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-copy {
  max-width: 720px;
}

.cta-copy .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.cta-copy .section-kicker::before {
  background: rgba(255, 255, 255, 0.5);
}

.cta-copy h2 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.cta-copy p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.85;
}

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

/* --------------------------------------------------------------------------
   17. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark-2);
  color: #dedede;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr 0.8fr 0.9fr;
  gap: 42px;
  padding: 62px 0 48px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-desc {
  max-width: 36ch;
  margin-top: 20px;
  color: #a8a8a8;
  font-size: 12px;
  line-height: 1.9;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 6px 11px;
  border: 1px solid #3a3a3a;
  border-radius: var(--radius-pill);
  color: #aaa;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.footer-col h3 {
  color: #7f7f7f;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  margin-top: 16px;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a {
  color: #c9c9c9;
  font-size: 12px;
  line-height: 1.7;
  transition: color 180ms ease;
}

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

.footer-col .footer-official {
  color: #ff9c97;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0 30px;
  border-top: 1px solid #333;
}

.footer-legal {
  max-width: 780px;
  color: #8f8f8f;
  font-size: 10.5px;
  line-height: 1.85;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: none;
  padding-top: 1px;
}

.footer-bottom__links a {
  color: #999;
  font-size: 10px;
}

.footer-bottom__links a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   18. 内页头部 / 面包屑 / 文档布局
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 58px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 0%, rgba(232, 0, 0, 0.06), transparent 32%),
    var(--paper);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: 6%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(33, 33, 33, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

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

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

.breadcrumb span[aria-current="page"] {
  color: var(--ink);
}

.breadcrumb__sep {
  color: #b5b5b5;
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.page-hero__intro {
  max-width: 760px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.95;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-hero__meta span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 10px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 64px;
  padding: 64px var(--gutter) 92px;
}

.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  align-self: start;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.doc-toc__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-toc ol {
  margin-top: 16px;
  counter-reset: toc;
}

.doc-toc li {
  counter-increment: toc;
}

.doc-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  transition: color 160ms ease;
}

.doc-toc a::before {
  content: "0" counter(toc);
  flex: none;
  color: #aaa;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 2.05;
}

.doc-toc a:hover {
  color: var(--red-deep);
}

.doc-toc__back {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.doc-toc__back a {
  color: var(--red-deep);
  font-size: 14px;
}

.doc-body {
  max-width: 820px;
  min-width: 0;
}

.doc-body > h2 {
  margin: 58px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.3vw, 35px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.doc-body > h2:first-child {
  margin-top: 0;
}

.doc-body > h3 {
  margin: 34px 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.doc-body p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.doc-body p a,
.doc-body li a {
  color: var(--red-deep);
  border-bottom: 1px solid rgba(169, 0, 0, 0.3);
}

.doc-body p a:hover,
.doc-body li a:hover {
  border-color: currentColor;
}

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

.doc-body ul,
.doc-body ol {
  margin-top: 16px;
}

.doc-body ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

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

.doc-body ol {
  counter-reset: doclist;
}

.doc-body ol li {
  counter-increment: doclist;
  position: relative;
  padding-left: 32px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.doc-body ol li::before {
  content: counter(doclist);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 3px;
  border: 1px solid #e2b5b2;
  border-radius: 50%;
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
}

.doc-callout {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--paper);
}

.doc-callout__label {
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doc-callout p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.9;
}

.doc-divider {
  height: 1px;
  margin: 52px 0;
  border: 0;
  background: var(--line);
}

.doc-end {
  margin-top: 52px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.doc-end h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
}

.doc-end p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.doc-end .btn-row {
  margin-top: 18px;
}

.prose-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: left;
}

.prose-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prose-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
  vertical-align: top;
}

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

/* --------------------------------------------------------------------------
   19. FAQ 页面 / 关于页面
   -------------------------------------------------------------------------- */
.page-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px var(--gutter) 92px;
}

.page-narrow > .faq-grid {
  margin-top: 0;
}

.faq-intro {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.faq-page-group {
  margin-top: 48px;
}

.faq-page-group:first-of-type {
  margin-top: 0;
}

.faq-page-group > h2 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 500;
}

.faq-page-group > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  padding: 64px var(--gutter) 92px;
}

.about-page-grid .doc-body {
  max-width: none;
}

.about-aside {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.about-aside h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.about-aside dl {
  margin-top: 16px;
}

.about-aside dl div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.about-aside dt {
  color: var(--muted);
  font-size: 10px;
}

.about-aside dd {
  margin-top: 3px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
}

.about-aside .btn {
  width: 100%;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   20. 中间确认页
   -------------------------------------------------------------------------- */
.jump-main {
  min-height: 68vh;
  padding: 64px 0 88px;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 0, 0, 0.05), transparent 38%),
    var(--paper);
}

.jump-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.jump-card {
  position: relative;
  overflow: hidden;
  padding: 40px 40px 34px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lift);
}

.jump-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(232, 0, 0, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.jump-kicker {
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jump-card h1 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.jump-target {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.jump-target__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jump-target__label span:last-child {
  color: var(--red-deep);
}

.jump-host {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.035em;
  word-break: break-all;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.jump-url {
  margin-top: 8px;
  padding: 9px 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  word-break: break-all;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.jump-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.jump-note::before {
  content: "!";
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid #e2b5b2;
  border-radius: 50%;
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.jump-actions .btn {
  min-width: 150px;
}

.jump-error__actions {
  margin-top: 14px;
}

.jump-error {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #f0d6d3;
  border-radius: var(--radius-sm);
  background: #fff8f7;
  color: #7b3a35;
  font-size: 12.5px;
  line-height: 1.85;
}

.jump-error strong {
  color: var(--red-deep);
}

.jump-hide {
  display: none !important;
}

/* --------------------------------------------------------------------------
   21. 404
   -------------------------------------------------------------------------- */
.notfound {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: 72px 0 88px;
  background: var(--paper);
}

.notfound__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.notfound__code {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.notfound h1 {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 500;
}

.notfound p {
  max-width: 48ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.notfound .btn-row {
  justify-content: center;
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   22. 回到顶部 / Toast / 动效
   -------------------------------------------------------------------------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(33, 33, 33, 0.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms ease, visibility 200ms ease,
    transform 200ms ease, color 180ms ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  color: var(--red);
  border-color: var(--red);
}

.back-top svg {
  width: 17px;
  height: 17px;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 150;
  max-width: calc(100vw - 40px);
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 200ms ease, visibility 200ms ease,
    transform 220ms var(--ease);
  pointer-events: none;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   23. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero::before {
    left: calc(50% + 46px);
  }

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

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

  .footer-main {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 12px;
    border-top: 1px solid #333;
  }

  .footer-col:last-child h3 {
    display: none;
  }

  .footer-col:last-child ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 0;
  }

  .footer-col:last-child li + li {
    margin-top: 0;
  }
}

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

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

  .hero-grid {
    gap: 38px;
  }

  .hero-art {
    min-height: 440px;
  }

  .split-layout,
  .about-grid,
  .about-page-grid {
    gap: 42px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .doc-toc {
    position: static;
    margin-bottom: 38px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
  }

  .doc-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }

  .doc-toc__back {
    padding-top: 12px;
  }

  .about-aside {
    position: static;
  }

  .about-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .section,
  .safety-section {
    padding: 68px 0;
  }

  .hero {
    padding: 54px 0 56px;
  }

  .hero::before {
    display: none;
  }

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

  .hero-art {
    display: none;
  }

  .hero-title {
    max-width: 680px;
  }

  .section-head {
    display: block;
  }

  .section-head__aside {
    margin-top: 22px;
  }

  .split-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .order-card {
    position: static;
  }

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

  .step {
    padding: 26px 24px 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .step:nth-child(2n) {
    padding-right: 0;
    padding-left: 24px;
    border-right: 0;
  }

  .step:nth-child(3) {
    padding-left: 0;
  }

  .step:nth-child(n + 3) {
    padding-top: 26px;
    padding-bottom: 8px;
    border-bottom: 0;
  }

  .step:nth-child(4) {
    padding-left: 24px;
  }

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

  .safety-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px 28px;
  }

  .footer-col:last-child {
    grid-column: auto;
    display: block;
    padding-top: 0;
    border-top: 0;
  }

  .footer-col:last-child h3 {
    display: block;
  }

  .footer-col:last-child ul {
    display: block;
    margin-top: 16px;
  }

  .footer-col:last-child li + li {
    margin-top: 9px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }

  .page-hero {
    padding: 42px 0 46px;
  }

  .doc-layout,
  .page-narrow,
  .about-page-grid {
    padding-top: 48px;
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  .header-inner {
    gap: 14px;
  }

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

  .brand-name {
    font-size: 15px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-title {
    font-size: clamp(39px, 11.4vw, 58px);
    line-height: 1.1;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14.5px;
    line-height: 1.9;
  }

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

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

  .section,
  .safety-section {
    padding: 54px 0;
  }

  .section h2 {
    font-size: clamp(29px, 8.8vw, 38px);
  }

  .section-intro {
    font-size: 14px;
  }

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

  .mirror-card {
    min-height: 0;
    padding: 22px 20px 18px;
  }

  .mirror-card__host {
    font-size: 24px;
  }

  .mirror-card__desc {
    font-size: 13.5px;
  }

  .mirror-card__go {
    min-height: 44px;
    padding: 10px 16px;
  }

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

  .principle__num {
    font-size: 24px;
  }

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

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

  .step,
  .step + .step,
  .step:nth-child(2n),
  .step:nth-child(n + 3) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step__num {
    font-size: 40px;
  }

  .steps-note {
    grid-template-columns: 1fr;
  }

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

  .safety-item {
    min-height: 0;
    padding: 24px;
  }

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

  .reading-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .faq-item summary {
    padding: 17px 18px;
    font-size: 13px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .about-facts {
    grid-template-columns: 1fr 1fr;
  }

  .about-fact {
    min-height: 112px;
    padding: 20px 18px;
  }

  .about-fact b {
    font-size: 29px;
  }

  .cta-section {
    padding: 52px 0;
  }

  .cta-actions {
    width: 100%;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-col:last-child ul {
    display: block;
  }

  .footer-bottom__links {
    gap: 10px 14px;
  }

  .page-hero h1 {
    font-size: clamp(33px, 9.6vw, 44px);
  }

  .page-hero__intro {
    font-size: 13.5px;
  }

  .doc-body > h2 {
    margin-top: 44px;
    font-size: 27px;
  }

  .doc-body p,
  .doc-body ul li,
  .doc-body ol li {
    font-size: 13.5px;
  }

  .doc-toc {
    padding: 18px;
  }

  .doc-toc ol {
    grid-template-columns: 1fr;
  }

  .prose-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

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

  .jump-target {
    padding: 18px;
  }

  .jump-actions {
    flex-direction: column;
  }

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

  .back-top {
    right: 14px;
    bottom: 14px;
  }

  .notfound {
    padding: 56px 0 72px;
  }
}

@media (max-width: 380px) {
  .mirror-card__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
