:root {
  color-scheme: light;
  --seo-bg: #edf1ef;
  --seo-surface: #ffffff;
  --seo-surface-2: #e3e9e6;
  --seo-text: #172023;
  --seo-muted: #5c686c;
  --seo-border: rgba(23, 32, 35, 0.16);
  --seo-accent: #087f76;
  --seo-accent-strong: #096c65;
  --seo-accent-text: #ffffff;
  --seo-header: #080d0f;
  --seo-header-text: #f4f7f6;
  --seo-amber: #a96700;
  --seo-red: #c93f48;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --seo-bg: #0b1012;
  --seo-surface: #111719;
  --seo-surface-2: #1a2325;
  --seo-text: #f2f6f5;
  --seo-muted: #a7b1af;
  --seo-border: rgba(235, 247, 244, 0.14);
  --seo-accent: #2bbcad;
  --seo-accent-strong: #54d6c8;
  --seo-accent-text: #071311;
  --seo-header: #080c0d;
  --seo-header-text: #f4f7f6;
  --seo-amber: #f2ad35;
  --seo-red: #ff646d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--seo-bg);
  color: var(--seo-text);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

p,
dd {
  color: var(--seo-muted);
  line-height: 1.72;
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) auto minmax(340px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 13, 15, 0.96);
  color: var(--seo-header-text);
  padding: 12px 28px;
  backdrop-filter: blur(16px);
}

.seo-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
}

.seo-brand > span {
  display: grid;
  width: 250px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.30);
  border-radius: 8px;
  background: #050607;
  overflow: hidden;
}

.seo-brand img {
  width: calc(100% - 14px);
  height: calc(100% - 8px);
  object-fit: contain;
}

.seo-brand strong {
  display: grid;
  gap: 3px;
  font-size: 18px;
  line-height: 1.15;
  white-space: nowrap;
}

.seo-brand small {
  color: #b9c4c6;
  font-size: 13px;
  font-weight: 500;
}

.seo-header nav,
.seo-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.seo-header nav a,
.seo-login,
.seo-theme-toggle {
  border: 0;
  background: transparent;
  color: #d4dcde;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.seo-header nav a:hover,
.seo-login:hover {
  color: #ffffff;
}

.seo-header-actions {
  justify-content: flex-end;
}

.seo-theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 6px;
  cursor: pointer;
}

.seo-primary,
.seo-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

.seo-primary {
  background: var(--seo-accent);
  color: var(--seo-accent-text);
}

.seo-primary:hover {
  background: var(--seo-accent-strong);
}

.seo-secondary {
  border-color: var(--seo-border);
  background: var(--seo-surface);
  color: var(--seo-text);
}

main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 28px 72px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 52px;
  align-items: center;
  min-height: 660px;
  border-bottom: 1px solid var(--seo-border);
  padding: 72px 0 56px;
}

.seo-hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--seo-muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--seo-accent);
  font-weight: 800;
}

.seo-code,
.seo-section-number {
  color: var(--seo-accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
}

.seo-hero h1 {
  max-width: 14em;
  font-size: 56px;
  line-height: 1.13;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: keep-all;
}

.seo-lead {
  max-width: 780px;
  font-size: 19px;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-disclosure {
  border-left: 3px solid var(--seo-amber);
  padding-left: 12px;
  font-size: 13px;
}

.seo-hero-visual {
  min-width: 0;
  border: 1px solid var(--seo-border);
  background: var(--seo-surface);
}

.seo-hero-visual > div,
.seo-hero-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 9px 14px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.seo-hero-visual > div {
  border-bottom: 1px solid var(--seo-border);
}

.seo-hero-visual > div strong {
  color: var(--seo-red);
}

.seo-hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background: #ffffff;
  object-fit: cover;
}

.seo-hero-visual figcaption {
  border-top: 1px solid var(--seo-border);
  color: var(--seo-muted);
  font-family: inherit;
}

.seo-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--seo-border);
}

.seo-facts div {
  min-width: 0;
  border-right: 1px solid var(--seo-border);
  padding: 28px;
}

.seo-facts div:first-child {
  padding-left: 0;
}

.seo-facts div:last-child {
  border-right: 0;
}

.seo-facts dt {
  margin-bottom: 8px;
  color: var(--seo-accent);
  font-size: 12px;
  font-weight: 900;
}

.seo-facts dd {
  color: var(--seo-text);
  font-size: 17px;
  font-weight: 800;
}

.seo-content {
  border-bottom: 1px solid var(--seo-border);
  padding: 36px 0;
}

.seo-copy-section {
  display: grid;
  grid-template-columns: 100px minmax(0, 900px);
  gap: 34px;
  padding: 36px 0;
}

.seo-copy-section > div {
  display: grid;
  gap: 16px;
}

.seo-copy-section h2,
.seo-faq h2,
.seo-related h2,
.seo-cta h2,
.seo-boundary h2 {
  font-size: 32px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: keep-all;
}

.seo-copy-section p {
  font-size: 17px;
}

.seo-copy-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 6px 0 0;
  padding: 1px;
  background: var(--seo-border);
  list-style: none;
}

.seo-copy-section li {
  position: relative;
  min-height: 56px;
  background: var(--seo-surface);
  padding: 16px 18px 16px 42px;
  line-height: 1.5;
}

.seo-copy-section li::before {
  position: absolute;
  top: 21px;
  left: 19px;
  width: 8px;
  height: 8px;
  background: var(--seo-accent);
  content: "";
}

.seo-boundary {
  display: grid;
  grid-template-columns: 230px minmax(0, 850px);
  gap: 36px;
  margin: 48px 0;
  border-left: 4px solid var(--seo-amber);
  background: color-mix(in srgb, var(--seo-amber) 8%, var(--seo-surface));
  padding: 32px;
}

.seo-boundary > p {
  color: var(--seo-amber);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.seo-boundary > div {
  display: grid;
  gap: 12px;
}

.seo-faq,
.seo-related {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--seo-border);
  padding: 52px 0;
}

.seo-faq > div {
  display: grid;
  border-top: 1px solid var(--seo-border);
}

.seo-faq details {
  border-bottom: 1px solid var(--seo-border);
  padding: 0 2px;
}

.seo-faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 900;
}

.seo-faq details p {
  max-width: 900px;
  padding: 0 0 22px;
}

.seo-related > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.seo-related a {
  display: grid;
  min-height: 128px;
  align-content: space-between;
  gap: 18px;
  border: 1px solid var(--seo-border);
  border-radius: 6px;
  background: var(--seo-surface);
  padding: 18px;
  text-decoration: none;
}

.seo-related a:hover {
  border-color: var(--seo-accent);
}

.seo-related a span {
  color: var(--seo-accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
}

.seo-related a strong {
  line-height: 1.45;
}

.seo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--seo-border);
  border-bottom: 1px solid var(--seo-border);
  padding: 54px 0;
}

.seo-cta > div {
  display: grid;
  gap: 10px;
}

.seo-cta .seo-primary {
  flex: 0 0 auto;
}

.seo-footer {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--seo-header);
  color: var(--seo-header-text);
  padding: 38px max(28px, calc((100vw - 1444px) / 2));
}

.seo-footer > div {
  display: grid;
  gap: 4px;
}

.seo-footer span {
  color: #9ca9ac;
  font-size: 12px;
}

.seo-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.seo-footer a {
  color: #d6dddf;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.seo-footer a:hover {
  color: #ffffff;
}

@media (min-width: 1500px) {
  .seo-hero h1 {
    font-size: 64px;
  }
}

@media (max-width: 1240px) {
  .seo-header {
    grid-template-columns: minmax(300px, 1fr) auto;
  }

  .seo-header nav {
    display: none;
  }

  .seo-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seo-hero-copy {
    max-width: 900px;
  }

  .seo-related > div {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .seo-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 14px;
  }

  .seo-brand > span {
    width: 210px;
    height: 56px;
  }

  .seo-brand > strong {
    font-size: 16px;
  }

  .seo-header-actions {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .seo-login,
  .seo-theme-toggle,
  .seo-header-actions .seo-primary {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  main {
    padding: 0 16px 48px;
  }

  .seo-hero {
    gap: 32px;
    padding: 44px 0 36px;
  }

  .seo-hero h1 {
    max-width: none;
    font-size: 40px;
  }

  .seo-lead {
    font-size: 17px;
  }

  .seo-facts {
    grid-template-columns: 1fr;
  }

  .seo-facts div,
  .seo-facts div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--seo-border);
    padding: 20px 0;
  }

  .seo-facts div:last-child {
    border-bottom: 0;
  }

  .seo-copy-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seo-copy-section h2,
  .seo-faq h2,
  .seo-related h2,
  .seo-cta h2,
  .seo-boundary h2 {
    font-size: 28px;
  }

  .seo-copy-section ul,
  .seo-related > div {
    grid-template-columns: 1fr;
  }

  .seo-boundary {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
  }

  .seo-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-footer {
    grid-template-columns: 1fr;
    padding: 30px 18px;
  }
}

@media (max-width: 480px) {
  .seo-brand {
    align-items: flex-start;
  }

  .seo-brand > span {
    width: 176px;
    height: 50px;
  }

  .seo-brand > strong {
    white-space: normal;
  }

  .seo-brand small {
    display: none;
  }

  .seo-hero h1 {
    font-size: 34px;
  }

  .seo-hero-actions {
    display: grid;
  }

  .seo-hero-actions a {
    width: 100%;
  }

  .seo-hero-visual > div,
  .seo-hero-visual figcaption {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
