:root {
  color-scheme: light;
  --paper: #faf8f3;
  --surface: #f0ede4;
  --ink: #172c2a;
  --muted: #4d615c;
  --brand: #075f62;
  --line: #d4dbd2;
  --edge: clamp(48px, 4vw, 80px);
  font-size: 16px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
main { flex: 1; min-height: 0; overflow: auto; scroll-padding-top: 24px; scrollbar-gutter: stable both-edges; scrollbar-color: #889d95 var(--paper); }
a { color: var(--brand); text-underline-offset: .24em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.skip { position: absolute; inset: 10px auto auto var(--edge); z-index: 1; padding: 8px 12px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px var(--edge); border-bottom: 1px solid var(--line); overflow: hidden; scrollbar-gutter: stable both-edges; }
.top nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(12px, 3vw, 36px); }
.top a, .footer a { font-size: 14px; text-decoration: none; }
.top a:hover, .footer a:hover { text-decoration: underline; }
.top a[aria-current="page"] { color: var(--brand); font-weight: 750; text-decoration: underline; }
.top .brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); white-space: nowrap; font-size: 19px; font-weight: 750; }
.brand img { display: block; border-radius: 8px; }
.nav-download { padding: 7px 12px; border: 1px solid #8eb5ae; border-radius: 5px; font-weight: 650; }
.nav-download[aria-current="page"] { background: #e2eee8; }
.wrap { margin-inline: var(--edge); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding-block: clamp(28px, 3vw, 48px); }
.hero-detail { justify-self: end; }
.hero-caption, .preview-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.hero-caption { margin-top: 16px; }
.preview-note { margin: 14px 0 0; }
.product-preview { padding-bottom: 32px; }
.eyebrow { font-size: 13px; color: var(--brand); font-weight: 700; letter-spacing: .08em; }
.eyebrow span { display: inline-block; width: 14px; height: 2px; margin-right: 8px; vertical-align: middle; background: currentColor; }
h1, h2, h3, p { margin: 0 0 .65em; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-block: .16em .3em; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.2; letter-spacing: -.035em; }
h2 { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.3; letter-spacing: -.02em; }
h3 { font-size: 19px; line-height: 1.45; }
.intro { max-width: 28em; font-size: clamp(16px, 1.35vw, 22px); color: var(--muted); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 11px 17px; border-radius: 6px; background: var(--brand); color: white; font-size: 15px; font-weight: 700; text-decoration: none; }
.button:hover { background: #064c4e; }
.text-link { font-size: 15px; font-weight: 650; }
.showcase { display: grid; grid-template-columns: minmax(0, 4.23fr) minmax(0, 1fr); align-items: end; gap: clamp(16px, 2vw, 32px); padding: clamp(12px, 2vw, 24px); border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(ellipse at 88% 0%, #e2ece2, transparent 72%), var(--surface); }
.showcase figure { min-width: 0; margin: 0; }
.showcase figure a { display: block; border-radius: 7px; }
.showcase img { display: block; width: 100%; height: auto; border-radius: 7px; border: 1px solid #a9b8ad; background: var(--paper); box-shadow: 0 8px 18px #234b3d18; }
.showcase figcaption { margin-top: 9px; font-size: 14px; font-weight: 700; }
.showcase figcaption span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(16px, 5vw, 84px); }
.features, .faq, .getting-started { padding-block: clamp(32px, 4vw, 64px); border-top: 1px solid var(--line); }
.feature-grid { border-top: 1px solid var(--line); }
.feature-grid article { display: grid; grid-template-columns: 3em minmax(9em, .8fr) minmax(0, 1.3fr); align-items: baseline; gap: 10px 16px; border-bottom: 1px solid var(--line); padding-block: 20px; }
.feature-grid article > * { margin: 0; }
.feature-grid article > span { color: var(--brand); font: 600 13px ui-monospace, monospace; }
.feature-grid p, .platform li, .faq p { color: var(--muted); }
.feature-grid h3 a, .steps h3 a { text-decoration: none; color: var(--ink); }
.feature-grid h3 a:hover, .steps h3 a:hover { color: var(--brand); text-decoration: underline; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.steps li { padding-top: 20px; border-top: 2px solid var(--brand); }
.step-number { display: block; color: var(--brand); margin-bottom: 12px; font: 600 14px ui-monospace, monospace; }
.steps p, .section-heading > p:last-child { color: var(--muted); }
.steps li > a { font-size: 14px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); }
.page-intro { padding-block: clamp(28px, 3vw, 48px) 24px; }
.page-intro h1 { font-size: clamp(36px, 4vw, 60px); }
.platform-guide { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 650; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.platform { padding: clamp(16px, 2vw, 32px); border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.status { display: inline-block; padding: 4px 10px; border-radius: 4px; margin-bottom: 18px; background: #e0ece4; color: var(--brand); font-size: 13px; font-weight: 650; }
.platform ol { padding-left: 1.5em; margin: 0; }
.platform li + li { margin-top: 8px; }
.release { margin-bottom: 20px; }
.release p { margin-top: 8px; overflow-wrap: anywhere; }
details { border-bottom: 1px solid var(--line); padding: 13px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; overflow-wrap: anywhere; }
.legal { padding-bottom: 24px; }
.legal article { border-top: 1px solid var(--line); padding-block: 26px; }
.legal p { max-width: 75ch; }
.legal h3 { margin-top: 24px; }

.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: 40px; }
.guide-intro h1 { font-size: clamp(32px, 3.2vw, 48px); }
.guide-sidebar { position: sticky; top: 24px; }
.guide-directory { padding: 0; border: 0; }
.guide-directory summary { display: none; }
.guide-directory nav { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.guide-directory a { display: block; padding: 8px 12px; border-left: 2px solid transparent; margin-left: -1px; font-size: 14px; text-decoration: none; color: var(--muted); }
.guide-directory a:hover { background: #eaf0e8; color: var(--brand); }
.guide-directory a[aria-current="location"] { border-left-color: var(--brand); background: #e4eee5; color: var(--brand); font-weight: 700; }
.guide-content { min-width: 0; }
.guide-chapter { border-top: 1px solid var(--line); padding-block: 30px; overflow-wrap: anywhere; }
.guide-chapter:first-child { padding-top: 24px; }
.guide-chapter h2 { font-size: clamp(25px, 2.3vw, 34px); margin-bottom: 16px; }
.guide-chapter h3 { margin-top: 28px; }
.guide-chapter p, .guide-chapter li, .legal p { max-width: 76ch; }
.guide-chapter ol, .guide-chapter ul { padding-left: 1.5em; }
.guide-chapter li + li { margin-top: 8px; }
.menu-path { color: var(--brand); font-size: 14px; font-weight: 650; }
.guide-note, .guide-result { padding: 14px 18px; border-left: 3px solid #7b9f90; background: #edf1e9; margin-block: 18px; }
.guide-result { border-left-color: var(--brand); }
.guide-table-wrap { margin-block: 18px; }
.guide-table-wrap table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; text-align: left; }
.guide-table-wrap th, .guide-table-wrap td { padding: 12px; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.guide-table-wrap th { background: var(--surface); }
.guide-chapter pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; background: var(--surface); border-radius: 6px; }
.guide-chapter code { font-size: .92em; }
.guide-chapter img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.guide-chapter figure { margin: 20px 0; }
.guide-chapter figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.guide-screenshots { display: grid; grid-template-columns: minmax(0, 4.23fr) minmax(0, 1fr); align-items: end; gap: 16px; }
.guide-screenshots img { width: 100%; }
.troubleshooting dt { margin-top: 24px; font-weight: 700; font-size: 18px; }
.troubleshooting dd { margin: 10px 0 0; }

@media (max-width: 1023px) {
  :root { --edge: 32px; }
  .hero, .features { grid-template-columns: minmax(0, 1fr); }
  .hero-detail { justify-self: start; }
  .hero { gap: 12px; }
}

@media (max-width: 1023px), (max-height: 700px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .guide-sidebar { position: static; }
  .guide-directory { padding: 12px 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
  .guide-directory summary { display: list-item; }
  .guide-directory nav { margin-top: 12px; }
}

@media (max-width: 640px) {
  :root { --edge: 20px; }
  main { scrollbar-gutter: auto; }
  .top { padding-block: 12px; flex-wrap: wrap; gap: 10px 18px; scrollbar-gutter: auto; }
  .top .brand { font-size: 16px; }
  .top a, .footer a { font-size: 13px; }
  .top nav { gap: 8px 16px; }
  .showcase, .platform-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .phone-shot { justify-self: center; width: min(100%, 280px); }
  .feature-grid article { grid-template-columns: 3em minmax(0, 1fr); }
  .feature-grid p { grid-column: 2; }
  .guide-note, .guide-result { padding: 12px; }
  .guide-table-wrap th, .guide-table-wrap td { padding: 8px; font-size: 13px; }
  .guide-chapter figure { margin-inline: 0; }
  .guide-screenshots { grid-template-columns: minmax(0, 1fr); }
  .guide-screenshots figure:last-child { width: min(100%, 260px); justify-self: center; }
  .footer { padding-block: 20px; }
}
