@charset "UTF-8";
/* yandex平台 — Armadillo 设计语言（#3f3350 / #ff7043 / #ffd740 / #fffef9） */

@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-primary: #3f3350;
  --c-primary-deep: #322941;
  --c-accent: #ff7043;
  --c-accent-2: #ffd740;
  --c-accent-3: #ffd7ca;
  --c-bg: #fffef9;
  --c-bg-soft: #fff8f2;
  --c-surface: #3f3350;
  --c-text: #3f3350;
  --c-text-2: #525252;
  --c-muted: #d4d4d4;
  --c-border: #3f3350;
  --c-border-light: #e6e0d8;

  --font-display: "Zilla Slab", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-card: rgba(63, 51, 80, 0.3) 0 0 26px 5px;
  --shadow-card-soft: rgba(63, 51, 80, 0.14) 0 0 26px 5px;
  --shadow-hover: rgba(0, 0, 0, 0.2) 0 1px 3px 0, rgba(0, 0, 0, 0.2) 0 10px 30px 0;
  --shadow-modal: 0 24px 70px rgba(32, 24, 44, 0.38);

  --ease: cubic-bezier(0.5, 0, 0.5, 1);
  --fast: 0.3s;
  --base: 0.5s;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(34px, 5vw, 45px);
}

h2 {
  font-size: clamp(24px, 3.2vw, 29px);
}

h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

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

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

::selection {
  background: var(--c-accent-2);
  color: var(--c-primary);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top var(--fast) linear;
}

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

/* ---------- 头部 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 249, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(150%) blur(8px);
  transition: padding var(--base) var(--ease), border-color var(--base) var(--ease),
    box-shadow var(--base) var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--c-border-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  transition: min-height var(--base) var(--ease);
}

.header.is-scrolled .header__inner {
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand__text {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand__text em {
  font-style: normal;
  color: var(--c-accent);
}

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

.nav__link {
  display: inline-block;
  padding: 9px 12px;
  font-size: 16px;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: color var(--fast) linear, background-color var(--fast) linear;
}

.nav__link:hover {
  color: var(--c-accent);
}

.nav__link[aria-current="page"] {
  color: var(--c-accent);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-primary);
  cursor: pointer;
}

.nav-toggle svg {
  margin: 0 auto;
  width: 22px;
  height: 22px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 13px 14px 11px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--fast) linear, color var(--fast) linear,
    border-color var(--fast) linear, transform 0.1s linear;
}

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

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

.btn--primary:hover {
  background: var(--c-accent);
}

.btn--outline {
  background: var(--c-bg);
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
}

.btn--outline:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.btn--hero {
  min-height: 56px;
  padding: 26px 34px;
  font-size: 18px;
  border: 1px solid #fff;
  border-radius: var(--radius-md);
  background: var(--c-primary);
  color: #fff;
}

.btn--hero:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.btn--hero svg {
  width: 20px;
  height: 20px;
  transition: transform var(--fast) var(--ease);
}

.btn--hero:hover svg {
  transform: translateY(2px);
}

.btn--precheck {
  background: #fff;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: var(--radius-sm);
}

.btn--precheck:hover {
  background: var(--c-accent);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #fffef9 0%, #fffaf3 100%);
}

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

.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  background: var(--c-accent-2);
  opacity: 0.85;
}

.hero::after {
  width: 300px;
  height: 260px;
  left: -150px;
  bottom: -120px;
  background: var(--c-accent-3);
  border-radius: 46% 54% 62% 38%;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero__copy {
  max-width: 880px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--c-accent-2);
  color: var(--c-primary);
  border-radius: var(--radius-full);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
}

.hero__title {
  max-width: 15em;
  margin-bottom: 40px;
  font-size: clamp(36px, 5.4vw, 60px);
  text-wrap: balance;
}

.hero__title span {
  display: inline-block;
  position: relative;
}

.hero__title .u-mark {
  color: var(--c-accent);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 64px 0;
}

.section--soft {
  background: var(--c-bg-soft);
}

.section--dark {
  background: var(--c-primary);
  color: #fff;
}

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

.section__head p {
  max-width: 40em;
  margin: 12px 0 0;
  color: var(--c-text-2);
  font-size: 16px;
}

.section__more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-primary);
  font-size: 15px;
  transition: color var(--fast) linear, border-color var(--fast) linear;
}

.section__more:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
}

/* ---------- 入口卡片 ---------- */
.entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entries--wide {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.entries--three {
  grid-template-columns: repeat(3, 1fr);
}

.entry {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-soft);
  transition: box-shadow var(--base) var(--ease), transform var(--base) var(--ease);
}

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

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

.entry__region {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-text-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.tag--ok {
  background: var(--c-accent-2);
  color: var(--c-primary);
}

.tag--jump {
  border: 1px solid var(--c-border-light);
  color: var(--c-text-2);
}

.tag--slow {
  background: var(--c-accent-3);
  color: var(--c-primary);
}

.entry__name {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.entry__desc {
  margin: 10px 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-2);
}

.entry__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-border-light);
}

.entry__domain {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 13px;
  color: var(--c-text-2);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: default;
}

.entry__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--c-primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: background-color var(--fast) linear, color var(--fast) linear,
    border-color var(--fast) linear;
}

.entry__go:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

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

/* ---------- 教程（图片来自 yandex.image1-4） ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-shot {
  margin: 0;
  max-width: 196px;
  justify-self: center;
  width: 100%;
}

.step-shot__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 6px 18px rgba(63, 51, 80, 0.1);
  transition: border-color var(--fast) linear, box-shadow var(--fast) linear,
    transform var(--fast) var(--ease);
}

.step-shot__btn:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.step-shot img {
  width: 100%;
  height: auto;
}

.step-shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text-2);
}

.step-shot figcaption b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-primary);
}

.guide-note {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 4px solid var(--c-accent-2);
  background: #fff;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.guide-note b {
  color: var(--c-primary);
  font-weight: 500;
}

/* ---------- 通用内容页 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border-light);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--c-accent-2);
  opacity: 0.5;
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 20em;
}

.page-hero__lead {
  position: relative;
  z-index: 1;
  max-width: 46em;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--c-text-2);
}

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

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--c-muted);
}

.prose {
  max-width: 46em;
  font-size: 16px;
  line-height: 1.8;
}

.prose h2 {
  margin: 40px 0 16px;
  padding-top: 8px;
}

.prose h3 {
  margin: 32px 0 12px;
}

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

.prose p {
  margin-bottom: 16px;
  color: var(--c-text-2);
}

.prose strong {
  color: var(--c-primary);
  font-weight: 500;
}

.prose ul {
  margin: 0 0 20px;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--c-text-2);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.prose ol {
  counter-reset: item;
  margin: 0 0 20px;
}

.prose ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--c-text-2);
  counter-increment: item;
}

.prose ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-accent-2);
  color: var(--c-primary);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.prose a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(255, 112, 67, 0.4);
}

.prose a:hover {
  border-bottom-color: var(--c-accent);
}

.prose code {
  padding: 2px 6px;
  background: #f3ede4;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.9em;
  color: var(--c-primary);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.layout > * {
  min-width: 0;
}

.aside {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-soft);
}

.aside h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.aside p {
  font-size: 14px;
  color: var(--c-text-2);
}

.aside__list li {
  border-bottom: 1px solid var(--c-border-light);
}

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

.aside__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  font-size: 15px;
  transition: color var(--fast) linear;
}

.aside__list a::after {
  content: "→";
  color: var(--c-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--fast) linear, transform var(--fast) linear;
}

.aside__list a:hover {
  color: var(--c-accent);
}

.aside__list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* 表格 */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0 32px;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-border-light);
  white-space: nowrap;
}

th {
  background: var(--c-bg-soft);
  font-weight: 500;
  color: var(--c-primary);
  font-size: 14px;
}

td {
  color: var(--c-text-2);
}

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

td:first-child {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  color: var(--c-primary);
}

th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--c-bg-soft);
}

td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}

td a {
  color: var(--c-accent);
  border-bottom: 1px dashed rgba(255, 112, 67, 0.55);
  transition: border-color var(--fast) linear, color var(--fast) linear;
}

td a:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

/* 提示条 */
.notice {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--c-accent-3);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-primary);
}

.notice--line {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-left: 4px solid var(--c-accent);
}

/* FAQ */
.faq {
  border-top: 1px solid var(--c-border-light);
}

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

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color var(--fast) linear;
}

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

.faq__item summary:hover {
  color: var(--c-accent);
}

.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 1px solid var(--c-border-light);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  transition: transform var(--fast) var(--ease), border-color var(--fast) linear;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.faq__body {
  padding: 0 0 20px;
  max-width: 52em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-2);
}

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

/* ---------- 跳转页 ---------- */
.go-wrap {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 360px);
  padding: 56px 0;
}

.go-card {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.go-card__kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--c-bg-soft);
  font-size: 13px;
  color: var(--c-text-2);
}

.go-card h1 {
  font-size: clamp(30px, 5vw, 45px);
}

.go-card__err {
  font-size: clamp(30px, 5vw, 45px);
}

.go-card__domain {
  display: inline-block;
  margin: 20px 0 8px;
  padding: 10px 20px;
  background: var(--c-bg-soft);
  border: 1px dashed var(--c-border-light);
  border-radius: var(--radius-md);
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 20px;
  color: var(--c-primary);
}

.go-card__desc {
  max-width: 38em;
  margin: 8px auto 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.go-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.go-card__actions .btn--primary {
  padding-left: 34px;
  padding-right: 34px;
}

.go-card__back {
  font-size: 14px;
  color: var(--c-text-2);
  border-bottom: 1px solid var(--c-border-light);
}

.go-card__back:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--c-primary);
  color: #fff;
  padding: 56px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer .brand__text {
  color: #fff;
}

.footer .brand__text em {
  color: var(--c-accent-2);
}

.footer__about {
  max-width: 30em;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.footer__title {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-accent-2);
  letter-spacing: 0.06em;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__list a {
  font-size: 15px;
  color: #fff;
  transition: color var(--fast) linear;
}

.footer__list a:hover {
  color: var(--c-accent-2);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: var(--c-muted);
}

.footer__bottom a:hover {
  color: var(--c-accent-2);
}

/* ---------- 固定控件 ---------- */
.backtop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--c-primary);
  background: #fff;
  color: var(--c-primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--fast) linear, visibility var(--fast) linear,
    transform var(--fast) var(--ease), background-color var(--fast) linear,
    color var(--fast) linear;
}

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

.backtop:hover {
  background: var(--c-primary);
  color: #fff;
}

.backtop svg {
  width: 18px;
  height: 18px;
}

.fab-guide {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--c-primary);
  color: #fff;
  border: 1px solid rgba(255, 254, 249, 0.72);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(63, 51, 80, 0.34);
  transition: background-color var(--fast) linear, transform var(--fast) var(--ease);
}

.fab-guide:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: translateX(-50%) translateY(-2px);
}

.fab-guide__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent-2);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* ---------- 访问前必看弹框 ---------- */
.guide {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.guide.is-open {
  display: block;
}

.guide__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 29, 50, 0.72);
  opacity: 0;
  transition: opacity var(--fast) linear;
}

.guide.is-ready .guide__backdrop {
  opacity: 1;
}

.guide__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  width: min(980px, calc(100vw - 32px));
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: 32px;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  opacity: 0;
  transition: opacity var(--fast) linear, transform var(--base) var(--ease);
  overscroll-behavior: contain;
}

.guide.is-ready .guide__dialog {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.guide__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.guide__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 32px);
  line-height: 1.2;
}

.guide__sub {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--c-text-2);
}

.guide__close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border-light);
  border-radius: 50%;
  background: #fff;
  color: var(--c-primary);
  cursor: pointer;
  transition: background-color var(--fast) linear, color var(--fast) linear,
    border-color var(--fast) linear;
}

.guide__close:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.guide__close svg {
  width: 16px;
  height: 16px;
}

.guide__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.guide__media {
  min-width: 0;
}

.guide__swiper {
  width: 100%;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(63, 51, 80, 0.08);
}

.guide__swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide__swiper img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 58vh;
  margin: 0 auto;
}

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

.guide__arrows {
  display: flex;
  gap: 8px;
}

.guide__arrow {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: #fff;
  color: var(--c-primary);
  cursor: pointer;
  transition: background-color var(--fast) linear, color var(--fast) linear,
    border-color var(--fast) linear;
}

.guide__arrow:hover {
  background: var(--c-primary);
  color: #fff;
}

.guide__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: #fff;
  color: var(--c-primary);
}

.guide__arrow svg {
  width: 15px;
  height: 15px;
}

.guide__count {
  font-size: 13px;
  color: var(--c-text-2);
  font-variant-numeric: tabular-nums;
}

.guide__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.guide__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-muted);
  cursor: pointer;
  transition: background-color var(--fast) linear, width var(--fast) var(--ease);
}

.guide__dot.is-active {
  width: 22px;
  border-radius: var(--radius-full);
  background: var(--c-accent);
}

.guide__steps {
  counter-reset: step;
}

.guide__steps-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 20px;
}

.guide__steps li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text-2);
  counter-increment: step;
}

.guide__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-accent-2);
  color: var(--c-primary);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 26px;
  text-align: center;
}

.guide__steps li b {
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
  color: var(--c-primary);
}

.guide__steps li span {
  font-size: 13px;
  color: var(--c-text-2);
}

.guide__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border-light);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.guide__foot a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(255, 112, 67, 0.4);
}

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--base) var(--ease), transform var(--base) var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .entries,
  .entries--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

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

@media (max-width: 900px) {
  .entries--three {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0;
  }

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

  .guide__swiper img {
    max-height: 46vh;
  }

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

  .aside {
    position: static;
    order: 2;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 48px 0;
  }

  .table--entries .col-ui {
    display: none;
  }

  table {
    font-size: 13.5px;
  }

  th,
  td {
    padding: 10px 12px;
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .step-shot {
    max-width: 100%;
  }

  .go-card {
    padding: 28px 20px;
  }

  .guide__dialog {
    padding: 20px;
    width: calc(100vw - 20px);
    max-height: 92vh;
    border-radius: var(--radius-md);
  }

  .guide__head {
    margin-bottom: 14px;
  }

  .guide__body {
    gap: 20px;
  }

  .guide__swiper img {
    max-height: 40vh;
  }

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

@media (max-width: 650px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 18px;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border-light);
    box-shadow: 0 12px 24px rgba(63, 51, 80, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    padding: 12px 4px;
    border-bottom: 1px solid var(--c-border-light);
  }

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

  .hero__title {
    font-size: clamp(32px, 8vw, 42px);
  }

  .hero::before {
    width: 240px;
    height: 240px;
    right: -100px;
    top: -120px;
    background: var(--c-accent-3);
  }

  .hero::after {
    width: 200px;
    height: 180px;
    left: -100px;
    bottom: -80px;
  }

  .page-hero::after {
    width: 180px;
    height: 180px;
    right: -70px;
    top: -80px;
  }

  .btn--hero {
    width: 100%;
    padding: 18px 20px;
    font-size: 17px;
  }

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

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

  .backtop {
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .fab-guide {
    bottom: 16px;
    padding: 11px 18px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .step-shot figcaption {
    font-size: 13px;
  }

  .entry__domain {
    font-size: 12px;
  }

  .guide__close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .guide__steps li {
    font-size: 14px;
  }

  .page-hero h1 {
    font-size: 30px;
  }
}

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

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

/* 页面底部为固定控件留白 */
main {
  padding-bottom: 0;
}

body.has-fab main {
  padding-bottom: 24px;
}

body.has-fab .footer {
  padding-bottom: 88px;
}

@media print {
  .header,
  .fab-guide,
  .backtop,
  .footer {
    display: none;
  }
}

/* 删除右侧状态卡后：桌面端 hero 居中收拢，避免右侧空置 */
@media (min-width: 901px) {
  .hero {
    padding: 80px 0 72px;
    text-align: center;
  }

  .hero__copy {
    max-width: 820px;
    margin: 0 auto;
  }

  .hero::before {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -150px;
  }
}
