/* ==========================================================================
   ao3wangyebanliulanrukou.com
   Design system: CupNoodle-inspired (red / white / black, flat, bold type,
   repeating side text, generous spacing). No frameworks, no external fonts.
   ========================================================================== */

/* ------------------------------- Tokens -------------------------------- */
:root {
  --red: #ff0000;
  --red-strong: #d40000;
  --red-dark: #b30000;
  --ink: #000000;
  --muted: #666666;
  --muted-dark: #4a4a4a;
  --paper: #ffffff;
  --surface: #e4e4e4;
  --surface-soft: #f7f7f7;
  --line: #dbdbdb;
  --line-dark: #bdbdbd;
  --max: 1200px;
  --radius: 5px;
  --radius-lg: 15px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --fast: 100ms;
  --base: 200ms;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --num: "Arial Narrow", "Helvetica Neue Condensed", "Oswald", "Impact", sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 79px;
}

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

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

section[id],
main[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--red);
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.safety :focus-visible,
.cta :focus-visible {
  outline-color: #ffffff;
}

/* Prevent selection/copy on addresses and domains */
.no-copy {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.no-copy::selection {
  background: transparent;
  color: inherit;
}

.no-copy::-moz-selection {
  background: transparent;
  color: inherit;
}

/* ------------------------------ Utilities ------------------------------ */
.wrap {
  width: calc(100% - 64px);
  max-width: var(--max);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius);
  transition: top var(--base) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.text-red {
  color: var(--red-strong);
}

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

/* ------------------------------ Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: background-color var(--base) var(--ease), color var(--base) var(--ease),
    border-color var(--base) var(--ease), opacity var(--base) var(--ease), transform var(--base) var(--ease);
}

.btn:hover {
  opacity: 1;
}

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

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

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

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

.btn--outline {
  background: #ffffff;
  border-color: var(--red);
  color: var(--red-strong);
}

.btn--outline:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.btn--dark {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.btn--dark:hover {
  background: #222222;
  border-color: #222222;
}

.btn--light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--red-strong);
}

.btn--light:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.btn--on-red {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn--on-red:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--red-strong);
}

.btn--ghost {
  padding-inline: 8px;
  color: var(--red-strong);
}

.btn--ghost:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--red);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--red);
  color: #ffffff;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: rotate(-3deg);
  transition: transform var(--base) var(--ease), background-color var(--base) var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(0deg);
  background: var(--red-strong);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

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

.site-nav a {
  padding: 10px 11px;
  border-radius: var(--radius);
  color: var(--red-strong);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.site-nav a:hover {
  background: #fff0f0;
  color: var(--red-dark);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

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

.site-nav .nav-cta:hover {
  background: var(--red-strong);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #000000;
  border-radius: var(--radius);
  background: #ffffff;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.menu-toggle:hover {
  background: #000000;
  color: #ffffff;
}

.menu-lines {
  display: grid;
  gap: 5px;
  width: 20px;
}

.menu-lines span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--base) var(--ease), opacity var(--base) var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(1) {
  transform: translateY(7px) 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) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 24px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  border-bottom: 1px solid #000000;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__label {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--red-strong);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.mobile-nav__cta {
  margin-top: 18px;
  padding: 15px 18px !important;
  border: 0 !important;
  border-radius: var(--radius);
  background: var(--red);
  color: #ffffff !important;
  text-align: center;
  font-size: 16px !important;
}

.mobile-nav__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

/* ------------------------------ Side rails ------------------------------ */
.side-rail {
  position: fixed;
  top: 50%;
  z-index: 1;
  color: rgba(255, 0, 0, 0.14);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
  user-select: none;
}

.side-rail--l {
  left: 18px;
  transform: translateY(-50%) rotate(180deg);
}

.side-rail--r {
  right: 18px;
  transform: translateY(-50%);
}

/* ------------------------------- Page TOC -------------------------------- */
.page-toc-section {
  padding: 0;
}

.page-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.page-toc__label {
  margin-right: 4px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-toc a {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #333333;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease),
    border-color var(--fast) var(--ease);
}

.page-toc a:hover {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

/* -------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  padding: 68px 0 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 16%, rgba(255, 0, 0, 0.07), transparent 38%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 52px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.eyebrow--light {
  color: #ffffff;
}

.eyebrow--light::before {
  background: #ffffff;
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(40px, 4.8vw, 70px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
}

.hero-title .red {
  color: var(--red);
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 20px;
  color: #222222;
  font-size: clamp(16.5px, 1.5vw, 19.5px);
  font-weight: 500;
  line-height: 1.8;
}

.hero-lead strong {
  font-weight: 800;
  box-shadow: inset 0 -0.42em 0 rgba(255, 0, 0, 0.16);
}

.hero-note {
  max-width: 620px;
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-micro span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-micro i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* Hero panel */
.hero-panel {
  position: relative;
  border: 1px solid #000000;
  border-radius: var(--radius-lg);
  background: #ffffff;
  transform: rotate(0.55deg);
}

.hero-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px 14px 0 0;
  background: var(--red);
  color: #ffffff;
  font-family: var(--num);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel__body {
  padding: 24px 22px 22px;
}

.hero-panel h2 {
  margin: 0 0 4px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hero-panel__sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tip-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.tip-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.tip-list b {
  padding-top: 2px;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tip-list span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.tip-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.6;
}

.official-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #000000;
  border-radius: var(--radius);
  background: #fafafa;
}

.official-box span {
  color: var(--muted);
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.official-box strong {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  word-break: break-all;
  text-align: right;
}

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

.tape {
  position: absolute;
  top: -24px;
  right: 20px;
  padding: 8px 12px;
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  transform: rotate(3deg);
}

/* -------------------------------- Stats -------------------------------- */
.stats {
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat b {
  display: block;
  color: var(--red);
  font-family: var(--num);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: #222222;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.stat small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

/* ------------------------------- Sections ------------------------------ */
.section {
  padding: 84px 0;
}

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

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

.section--surface .section-head p,
.section--surface .section-foot,
.section--surface .trouble-list .do {
  color: var(--muted-dark);
}

.section--surface .eyebrow,
.section--surface .section-foot a,
.section--surface .faq .faq-a a {
  color: var(--red-dark);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 38px;
}

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

.section-head h2 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(32px, 4.1vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-head p {
  justify-self: end;
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.section-foot {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.section-foot a {
  color: var(--red-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------ Mirror list ----------------------------- */
.mirror-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mirror-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: border-color var(--base) var(--ease), transform var(--base) var(--ease);
}

.mirror-card:hover {
  border-color: #000000;
  transform: translateY(-2px);
}

.mirror-card--anchor {
  padding-top: 21px;
  border-top: 4px solid var(--red);
}

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

.mirror-index {
  color: var(--muted);
  font-family: var(--num);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mirror-index b {
  margin-right: 3px;
  color: var(--red);
  font-size: 16px;
}

.mirror-domain {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.35vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  word-break: break-all;
}

.mirror-url {
  margin: 0 0 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  word-break: break-all;
}

.mirror-desc {
  flex: 1;
  margin: 0 0 18px;
  color: #333333;
  font-size: 13px;
  line-height: 1.75;
}

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

.mirror-foot .meta {
  color: var(--muted);
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mirror-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--red-strong);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color var(--base) var(--ease), color var(--base) var(--ease),
    border-color var(--base) var(--ease);
}

.mirror-go::after {
  content: "→";
  transition: transform var(--base) var(--ease);
}

.mirror-go:hover {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
}

.mirror-go:hover::after {
  transform: translateX(4px);
}

.list-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #000000;
  border-left: 6px solid var(--red);
  background: #ffffff;
  font-size: 12.5px;
  line-height: 1.75;
}

.list-note b {
  flex-shrink: 0;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 2px;
}

.list-note p {
  margin: 0;
}

.list-note a {
  color: var(--red-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------- Steps -------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.step {
  position: relative;
  padding: 28px 24px 32px;
  border-left: 1px solid var(--line);
}

.step:first-child {
  padding-left: 0;
  border-left: 0;
}

.step-num {
  color: var(--red);
  font-family: var(--num);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.step p {
  color: #333333;
  font-size: 12.5px;
  line-height: 1.8;
}

/* ----------------------------- Long-form copy ---------------------------- */
.home-doc {
  margin: 0 auto;
}

.section-copy {
  max-width: 920px;
  margin: 18px 0 0;
  color: #333333;
  font-size: 14.5px;
  line-height: 1.9;
}

.section-copy + .section-copy {
  margin-top: 10px;
}

.safety-copy {
  max-width: 920px;
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.9;
}

.safety-copy + .safety-copy {
  margin-top: 10px;
}

/* -------------------------------- Safety -------------------------------- */
.safety {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background: var(--red);
  color: #ffffff;
}

.safety::before {
  content: "NO LOGIN · NO PAY · NO INSTALL · NO LOGIN · NO PAY · NO INSTALL";
  position: absolute;
  top: -30px;
  left: -80px;
  width: 150%;
  color: rgba(255, 255, 255, 0.075);
  font-family: var(--num);
  font-size: 110px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  transform: rotate(-7deg);
  pointer-events: none;
}

.safety .wrap {
  position: relative;
  z-index: 1;
}

.safety h2 {
  max-width: 900px;
  margin: 12px 0 16px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.safety-lead {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.85;
  color: #ffffff;
}

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

.safety-card {
  padding-top: 15px;
  border-top: 2px solid #ffffff;
}

.safety-card b {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.safety-card h3 {
  margin: 0 0 7px;
  font-size: 19px;
}

.safety-card p {
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.8;
}

.safety-link {
  display: inline-block;
  margin-top: 26px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* -------------------------------- Table --------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid #000000;
  border-radius: var(--radius);
  background: #ffffff;
}

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #ffffff;
}

.compare th,
.compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  border-bottom: 0;
  background: #000000;
  color: #ffffff;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare thead th:nth-child(2) {
  color: #ff8a8a;
}

.compare tbody th {
  width: 22%;
  background: #fafafa;
  font-size: 12.5px;
  font-weight: 800;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare .col-official {
  background: #fff7f7;
}

.compare--plain thead th:nth-child(2) {
  color: #ffffff;
}

.domain-table td[data-label="地址"] {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ------------------------------ Trouble list ---------------------------- */
.trouble-list {
  list-style: none;
  border-top: 1px solid #000000;
}

.trouble-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.trouble-list .n {
  color: var(--red);
  font-family: var(--num);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.trouble-list h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
}

.trouble-list p {
  color: #333333;
  font-size: 12.5px;
  line-height: 1.75;
}

.trouble-list .do {
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: border-color var(--base) var(--ease);
}

.card:hover {
  border-color: #000000;
}

.card .num {
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 19px;
}

.card p {
  color: #333333;
  font-size: 12.5px;
  line-height: 1.8;
}

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

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--red-strong);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* -------------------------------- Glossary ------------------------------ */
.glossary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #000000;
  border-radius: var(--radius);
  background: #ffffff;
}

.glossary > div {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.glossary > div:nth-child(3n) {
  border-right: 0;
}

.glossary > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.glossary dt {
  font-size: 15px;
  font-weight: 800;
}

.glossary dt span {
  display: block;
  margin-bottom: 4px;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.glossary dd {
  margin: 6px 0 0;
  color: #333333;
  font-size: 12px;
  line-height: 1.75;
}

/* ---------------------------------- FAQ --------------------------------- */
.faq {
  border-top: 1px solid #000000;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--red);
  font-family: var(--num);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--base) var(--ease);
}

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

.faq .faq-a {
  max-width: 840px;
  padding: 0 0 20px;
  color: #333333;
  font-size: 13.5px;
  line-height: 1.85;
}

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

.faq .faq-a a {
  color: var(--red-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ page tools */
.faq-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 30px 0 20px;
  padding: 15px;
  border: 1px solid #000000;
  border-radius: var(--radius);
  background: #fafafa;
}

.faq-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}

.faq-search svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.faq-search input {
  width: 100%;
  padding: 11px 13px 11px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: border-color var(--base) var(--ease), box-shadow var(--base) var(--ease);
}

.faq-search input:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.16);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #333333;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease),
    border-color var(--fast) var(--ease);
}

.chip:hover {
  border-color: #000000;
}

.chip[aria-pressed="true"] {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.faq-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-item[hidden] {
  display: none;
}

.faq-empty {
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafafa;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.faq-empty[hidden] {
  display: none;
}

.faq-empty a {
  color: var(--red-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------- CTA ---------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background: var(--red);
  color: #ffffff;
}

.cta::after {
  content: "→";
  position: absolute;
  right: -20px;
  bottom: -110px;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--num);
  font-size: 340px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: end;
}

.cta h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cta .cta-lead {
  max-width: 620px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.85;
}

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

/* -------------------------------- Footer --------------------------------- */
.site-footer {
  padding: 54px 0 22px;
  border-top: 1px solid #000000;
  background: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: 38px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-desc {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.footer-badge {
  display: inline-block;
  margin-top: 15px;
  padding: 6px 10px;
  border: 1px solid #000000;
  border-radius: 999px;
  color: #000000;
  font-family: var(--num);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col h3 {
  margin: 0 0 13px;
  color: #000000;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-col a {
  color: #444444;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition: color var(--fast) var(--ease);
}

.footer-col a:hover {
  color: var(--red-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col .footer-official {
  color: var(--red-strong);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  max-width: 780px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  font-size: 10.5px;
}

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

.footer-bottom__links a:hover {
  color: var(--red-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #000000;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--base) var(--ease), transform var(--base) var(--ease),
    background-color var(--fast) var(--ease), color var(--fast) var(--ease),
    visibility var(--base) var(--ease);
}

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

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

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

/* ------------------------------- FAQ page -------------------------------- */
.faq-page {
  padding: 44px 0 72px;
}

.ad-slot {
  margin-top: 24px;
  padding: 8px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.ad-slot[hidden] {
  display: none;
}

/* ------------------------------- Page hero -------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 40px;
  border-bottom: 1px solid #000000;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 320px;
  height: 320px;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 58px;
  width: 54px;
  height: 54px;
  background: repeating-linear-gradient(135deg, var(--red) 0 5px, transparent 5px 10px);
  opacity: 0.25;
  transform: rotate(8deg);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb span {
  color: var(--line-dark);
}

.page-hero h1 {
  max-width: 920px;
  margin: 10px 0 15px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-lead {
  max-width: 780px;
  color: #333333;
  font-size: 16px;
  line-height: 1.85;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.page-meta i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

/* ------------------------------- Doc layout ------------------------------- */
.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 54px 0 80px;
}

.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding-top: 15px;
  border-top: 2px solid #000000;
}

.doc-toc h2 {
  margin: 0 0 11px;
  color: #000000;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doc-toc ol {
  counter-reset: toc;
  display: grid;
  gap: 0;
  list-style: none;
}

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

.doc-toc a {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #eeeeee;
  color: #444444;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition: color var(--fast) var(--ease);
}

.doc-toc a::before {
  content: counter(toc, decimal-leading-zero);
  padding-top: 1px;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 700;
}

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

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

.doc section {
  padding-bottom: 44px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.doc section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.doc h2 {
  margin: 0 0 15px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.doc h2 .h2num {
  display: block;
  margin-bottom: 7px;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doc h3 {
  margin: 26px 0 9px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.doc p {
  margin: 0 0 15px;
  color: #222222;
  font-size: 15.5px;
  line-height: 1.9;
}

.doc ul,
.doc ol {
  margin: 0 0 17px;
  padding-left: 1.25em;
  color: #222222;
  font-size: 15px;
  line-height: 1.9;
}

.doc li {
  margin-bottom: 6px;
}

.doc li::marker {
  color: var(--red-strong);
}

.doc a {
  color: var(--red-strong);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.callout a {
  overflow-wrap: anywhere;
}

.doc strong {
  font-weight: 800;
}

.doc code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #f7f7f7;
  font-family: var(--mono);
  font-size: 0.88em;
}

.doc-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid #000000;
  border-radius: var(--radius);
}

.doc-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #ffffff;
}

.doc-table th,
.doc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.doc-table thead th {
  background: #000000;
  color: #ffffff;
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doc-table tbody th {
  background: #fafafa;
  font-size: 11.5px;
  font-weight: 800;
}

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

.callout {
  margin: 20px 0;
  padding: 17px 19px;
  border: 1px solid #000000;
  border-left: 6px solid var(--red);
  background: #fafafa;
  font-size: 13px;
  line-height: 1.85;
}

.callout b {
  display: block;
  margin-bottom: 5px;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.callout--dark {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.callout--dark b {
  color: #ff7a7a;
}

.callout--dark p {
  color: #ffffff;
}

/* --------------------------------- Jump ---------------------------------- */
.jump-main {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: 56px 0 72px;
}

.jump-wrap {
  max-width: 780px;
}

.jump-card {
  overflow: hidden;
  border: 1px solid #000000;
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.jump-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
  background: var(--red);
  color: #ffffff;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jump-card__body {
  padding: 30px;
}

.jump-card h1 {
  margin: 0 0 11px;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.jump-intro {
  margin: 0 0 22px;
  color: #333333;
  font-size: 14px;
  line-height: 1.85;
}

.jump-intro strong {
  color: #000000;
  font-weight: 800;
}

.jump-target {
  padding: 17px;
  border: 1px solid #000000;
  border-radius: var(--radius);
  background: #fafafa;
}

.jump-target__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jump-host {
  margin: 0 0 5px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  word-break: break-all;
}

.jump-url {
  margin: 0 0 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  word-break: break-all;
}

.jump-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #444444;
  font-size: 11.5px;
  line-height: 1.75;
}

.jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 15px;
}

.jump-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.jump-secondary a {
  color: var(--red-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jump-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.jump-step b {
  display: block;
  margin-bottom: 3px;
  color: var(--red-strong);
  font-family: var(--num);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.jump-step p {
  color: #333333;
  font-size: 11.5px;
  line-height: 1.65;
}

.jump-error {
  padding: 22px;
  border: 1px solid #000000;
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  background: #ffffff;
}

.jump-error[hidden] {
  display: none;
}

.jump-error strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.jump-error p {
  margin: 0 0 14px;
  color: #333333;
  font-size: 13px;
  line-height: 1.8;
}

.jump-error .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------- 404 ---------------------------------- */
.error-page {
  padding: 88px 0 96px;
  text-align: center;
}

.error-code {
  color: var(--red);
  font-family: var(--num);
  font-size: clamp(120px, 24vw, 240px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.error-page h1 {
  margin: 22px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.error-desc {
  max-width: 580px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

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

/* --------------------------------- Reveal -------------------------------- */
/* Content stays visible without JavaScript. The class only adds an entrance
   animation when an element scrolls into view. */
.reveal.is-in {
  animation: reveal-rise 0.55s var(--ease) both;
}

@keyframes reveal-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 1120px) {
  .site-nav a {
    padding: 8px;
    font-size: 12.5px;
  }

  .site-nav .nav-cta {
    padding: 10px 14px;
  }

  .hero-grid {
    gap: 34px;
  }

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

  .side-rail {
    display: none;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .back-top {
    display: none;
  }

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

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

  .hero-panel {
    max-width: 620px;
    transform: none;
  }

  .section {
    padding: 62px 0;
  }

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

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    margin-bottom: 30px;
  }

  .section-head p {
    justify-self: start;
  }

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

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .safety {
    padding: 54px 0;
  }

  .safety-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .cta {
    padding: 54px 0;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

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

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 62px;
  }

  .doc-toc {
    position: static;
    padding: 16px;
    border: 1px solid #000000;
    border-radius: var(--radius);
    background: #fafafa;
  }

  .doc-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .doc {
    max-width: none;
  }

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

  .faq-page {
    padding: 32px 0 56px;
  }

  .jump-main {
    padding: 40px 0 56px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

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

  .header-inner {
    min-height: 68px;
  }

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

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

  .hero-title {
    margin-top: 0;
    font-size: clamp(34px, 11vw, 58px);
  }

  .hero-panel {
    display: none;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

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

  .mirror-card {
    padding: 21px 19px 18px;
  }

  .mirror-card--anchor {
    padding-top: 18px;
  }

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

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

  .glossary > div:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .glossary > div:nth-child(2n) {
    border-right: 0;
  }

  .glossary > div:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .glossary > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .trouble-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .trouble-list .do {
    display: none;
  }

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

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

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

  .jump-card__body {
    padding: 22px 18px;
  }

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

  .jump-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .faq summary {
    font-size: 15px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 10vw, 50px);
  }

  .page-lead {
    font-size: 14.5px;
  }

  .error-page {
    padding: 64px 0 72px;
  }
}

@media (max-width: 640px) {
  .doc-table {
    min-width: 0;
    display: block;
    border: 0;
    background: transparent;
  }

  .doc-table thead {
    display: none;
  }

  .doc-table tbody {
    display: grid;
    gap: 10px;
  }

  .doc-table tr {
    display: block;
    padding: 12px 14px;
    border: 1px solid #000000;
    border-radius: var(--radius);
    background: #ffffff;
  }

  .doc-table th,
  .doc-table td {
    display: block;
    width: auto;
    padding: 0 0 7px;
    border: 0;
    background: none;
    font-size: 12.5px;
  }

  .doc-table tbody th {
    background: transparent;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .doc-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--red-strong);
    font-family: var(--num);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .doc-table tr > :last-child {
    padding-bottom: 0;
  }

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

  .step {
    padding: 22px 0;
    border-left: 0;
  }

  .step:first-child {
    padding-left: 0;
  }

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

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

  .compare {
    min-width: 0;
    display: block;
    border: 0;
  }

  .compare thead {
    display: none;
  }

  .compare tbody {
    display: grid;
    gap: 12px;
  }

  .compare tr {
    display: block;
    padding: 14px 16px;
    border: 1px solid #000000;
    border-radius: var(--radius);
    background: #ffffff;
  }

  .compare th,
  .compare td {
    display: block;
    width: auto;
    padding: 0 0 8px;
    border: 0;
    background: none;
    font-size: 12px;
  }

  .compare tbody th {
    padding-bottom: 6px;
    background: transparent;
    color: var(--muted);
    font-family: var(--num);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--red-strong);
    font-family: var(--num);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .compare tr td:last-child {
    padding-bottom: 0;
  }

  .compare .col-official {
    background: none;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 18px 0;
    border-left: 0;
  }

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

  .step {
    padding: 20px 0;
  }

  .step:first-child {
    padding-left: 0;
  }

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

  .step-num {
    font-size: 36px;
  }

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

  .glossary > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .glossary > div:last-child {
    border-bottom: 0 !important;
  }

  .hero-actions,
  .cta-actions,
  .error-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .site-nav .nav-cta {
    width: auto;
  }

  .mirror-top {
    align-items: flex-start;
  }

  .jump-card__head {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .jump-host {
    font-size: 20px;
  }
}

/* --------------------------- Motion & print ----------------------------- */
@media (max-width: 360px) {
  .doc-toc ol {
    grid-template-columns: 1fr;
  }

  .official-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .official-box strong {
    text-align: left;
  }

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

}

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

  .reveal.is-in {
    animation: none;
  }
}

@media print {
  .site-header,
  .side-rail,
  .mobile-nav,
  .back-top,
  .cta,
  .ad-slot,
  .menu-toggle {
    display: none !important;
  }

  body {
    font-size: 11pt;
  }

  .wrap {
    width: 100%;
    max-width: none;
  }

  .doc-layout {
    display: block;
  }

  .doc-toc {
    display: none;
  }

  a {
    text-decoration: underline;
  }
}
