:root {
  color-scheme: light;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5f6f86;
  --line: #dce6ef;
  --teal: #14b8a6;
  --teal-dark: #087f73;
  --amber: #f4b84d;
  --amber-soft: #fff4d8;
  --shadow: 0 18px 48px rgba(26, 58, 86, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(24, 183, 168, 0.12), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(246, 184, 75, 0.10), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

.site-nav {
  position: sticky;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(244, 248, 251, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  width: 100%;
  max-width: 1180px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo,
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img,
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
  flex-shrink: 0;
}

.nav-logo-text {
  color: var(--text);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.nav-logo-text span,
.footer-brand-name span {
  color: var(--teal);
}

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

.nav-link {
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover {
  background: rgba(24, 184, 165, 0.08);
  color: var(--text);
}

.nav-btn,
.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-btn,
.btn-primary {
  background: var(--teal);
  color: #ffffff;
}

.btn-ghost {
  background: #e7f8f5;
  color: var(--teal-dark);
}

.lang-select-wrap select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0 30px 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

main {
  padding-top: 0;
}

.hero {
  max-width: 1180px;
  min-height: 560px;
  margin: 0 auto;
  padding: 62px 32px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 8.5em;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-sub {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 46px;
  padding: 0 18px;
}

.hero-index {
  max-width: 620px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-index a {
  display: block;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(24, 184, 165, 0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(26, 58, 86, 0.05);
}

.hero-index a:hover {
  border-color: rgba(24, 184, 165, 0.34);
  background: #ffffff;
}

.hero-index span {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 900;
}

.hero-index small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.wiki-hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
}

.wiki-hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px 0 22px 72px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(232,249,247,0.9));
  border: 1px solid rgba(24,184,165,0.18);
  box-shadow: 0 22px 46px rgba(15,23,42,0.08);
}

.wiki-assistant {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: clamp(190px, 20vw, 270px);
  z-index: 2;
  filter: drop-shadow(0 18px 28px rgba(15,23,42,0.14));
}

.wiki-guide-panel {
  position: relative;
  z-index: 3;
  width: min(100%, 310px);
  margin-left: auto;
  margin-right: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(219,230,239,0.94);
  box-shadow: 0 16px 28px rgba(15,23,42,0.08);
}

.wiki-guide-panel p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.wiki-guide-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
}

.wiki-guide-panel a:hover {
  background: #edf9f6;
}

.wiki-guide-panel img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.wiki-guide-panel span {
  font-size: 15px;
  font-weight: 850;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 164px;
  margin: 20px 24px 0 auto;
  padding: 7px;
  border-radius: 24px;
  background: #0f172a;
  box-shadow: 0 16px 32px rgba(26, 58, 86, 0.14);
  opacity: 0.92;
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.divider-section {
  padding: 56px 32px 62px;
  background: linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0.8));
  border-top: 1px solid rgba(220, 230, 239, 0.72);
}

.divider-section,
.wiki-section,
.doc {
  scroll-margin-top: 78px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.section-sub {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

.info-card,
.doc {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 20px;
}

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

.info-card p,
.doc-summary,
.doc-block li,
.doc-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.info-card p {
  margin: 10px 0 0;
}

.wiki-section {
  padding: 72px 32px 88px;
}

.wiki-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.toc-title {
  margin: 0 0 8px;
  color: #9aaabb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.toc a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.toc a:hover {
  background: rgba(24, 184, 165, 0.08);
  color: var(--text);
}

.docs {
  display: grid;
  gap: 18px;
}

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  column-gap: 24px;
  overflow: hidden;
}

.doc-header {
  display: contents;
  background: #fbfdff;
}

.doc-header > div:first-child {
  grid-column: 1;
  padding: 26px 0 0 26px;
}

.doc-header h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.12;
}

.doc-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.doc-title-row img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(15, 23, 42, 0.10));
}

.doc-title-row h2 {
  min-width: 0;
}

.doc-summary {
  margin: 12px 0 0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f8f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.badge.pro {
  background: var(--amber-soft);
  color: #8a5b07;
}

.doc-shot {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: min(100%, 190px);
  margin: 26px 26px 26px 0;
  justify-self: end;
  padding: 9px;
  border-radius: 26px;
  background: #0f172a;
  align-self: start;
}

.doc-shot img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.doc-body {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  padding: 20px 0 26px 26px;
}

.doc-block h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.doc-block ul {
  margin: 0;
  padding-left: 20px;
}

.doc-block li + li {
  margin-top: 6px;
}

.doc-note {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #f1d28e;
  background: #fff9ed;
  color: #6b4506;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-top {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.footer-brand-logo img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.footer-brand-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-brand-subtitle {
  color: var(--muted) !important;
  font-size: 14px;
  font-weight: 500;
}

.footer-tagline {
  max-width: 22em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: #9aaabb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.footer-copy,
.footer-domain {
  color: #b0bec8;
  font-size: 12px;
}

.footer-domain {
  font-weight: 600;
}

@media (max-width: 920px) {
  .hero,
  .wiki-layout,
  .doc-body {
    grid-template-columns: 1fr;
  }

  .doc {
    display: block;
  }

  .doc-header {
    display: grid;
    grid-template-columns: 1fr;
    padding: 24px;
    background: #fbfdff;
    border-bottom: 1px solid var(--line);
  }

  .doc-header > div:first-child {
    padding: 0;
  }

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

  .wiki-hero-visual {
    min-height: 400px;
    max-width: 620px;
    width: 100%;
    justify-self: center;
  }

  .phone-frame {
    width: min(100%, 290px);
  }

  .toc {
    position: static;
  }

  .doc-shot {
    grid-column: auto;
    grid-row: auto;
    width: min(100%, 190px);
    margin: 18px 0 0;
    justify-self: start;
  }

  .doc-body {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .doc-title-row img {
    width: 44px;
    height: 44px;
  }

  .nav-inner {
    min-height: 60px;
    padding: 0 14px;
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .nav-right {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .nav-link {
    display: none;
  }

  .nav-btn {
    display: none;
  }

  .lang-select-wrap select {
    min-height: 36px;
    max-width: 92px;
    font-size: 12px;
    padding: 0 22px 0 10px;
  }

  main {
    padding-top: 0;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    min-height: 0;
    padding: 36px 20px 38px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  h1 {
    max-width: 100%;
    font-size: 36px;
  }

  .hero-sub {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-index {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-index a {
    padding: 13px 14px;
  }

  .wiki-hero-visual {
    width: 100%;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    justify-self: stretch;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 14px 12px;
    border: 1px solid rgba(24,184,165,0.18);
    border-radius: 18px;
    background: rgba(255,255,255,0.82);
  }

  .wiki-hero-visual::before {
    display: none;
  }

  .wiki-assistant {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 86px;
    transform: none;
    opacity: 1;
    z-index: 1;
    filter: drop-shadow(0 10px 16px rgba(15,23,42,0.10));
  }

  .phone-frame {
    display: none;
  }

  .wiki-guide-panel {
    width: 100%;
    margin: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .wiki-guide-panel p {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .wiki-guide-panel a {
    min-height: 44px;
    padding: 6px 8px;
  }

  .wiki-guide-panel img {
    width: 30px;
    height: 30px;
  }

  .divider-section,
  .wiki-section {
    padding: 52px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 36px;
  }

  .footer-bottom {
    padding: 16px 20px;
  }
}
