:root {
  --paper: #fbfcff;
  --surface: #e7eefa;
  --ink: #19324a;
  --muted: #596d81;
  --accent: #3657d6;
  --line: #ced8e8;
  --saved: #2c6a5d;
  --folder: #e5d4a9;
  --display: 'Iowan Old Style', Baskerville, 'Palatino Linotype', Palatino, serif;
  font-family: 'Avenir Next', Avenir, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
summary,
input[type='checkbox'] {
  -webkit-tap-highlight-color: transparent;
}
button,
summary,
input[type='checkbox'] {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
input[type='checkbox'] {
  accent-color: var(--accent);
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button {
  color: inherit;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}
[hidden] {
  display: none !important;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
::selection {
  background: #dce5ff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
.container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.055em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}
.mobile-download {
  display: none;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-start: auto;
}
.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--accent);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-menu {
  position: relative;
}
.language-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.language-options {
  position: absolute;
  top: 44px;
  inset-inline-end: -10px;
  min-width: 150px;
  padding: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 8px 30px #19324a14;
}
.language-options a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
}
.language-options a:hover,
.language-options a[aria-current] {
  background: #edf2ff;
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 11px 24px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}
.button:hover {
  background: #2648b8;
  border-color: #2648b8;
  text-decoration: none;
}
.button-small {
  min-height: 39px;
  padding: 8px 15px;
  font-size: 13px;
}
.button-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: #bac7d9;
}
.button-secondary:hover {
  color: var(--accent);
  background: #edf2ff;
  border-color: #bdcbee;
}
.button-light {
  color: var(--ink);
  background: white;
  border-color: white;
}
.button-light:hover {
  color: var(--accent);
  background: #edf2ff;
  border-color: #edf2ff;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.inline-link:hover {
  text-decoration: underline;
}
.menu-button,
.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 36px;
  padding: 5px;
  border: 0;
  border-radius: 5px;
  background: transparent;
}
.menu-button {
  display: none;
}
.site-footer {
  padding-top: 55px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.25fr 1.15fr;
  gap: 35px;
  padding-bottom: 43px;
}
.footer-brand > p {
  margin-block: 18px 15px;
  color: var(--muted);
  font-size: 14px;
}
.quiet-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 9px;
}
.footer-heading {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 750;
}
.footer-top nav a {
  font-size: 12px;
  text-decoration: none;
  color: var(--muted);
}
.footer-top nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-block: 18px 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.footer-bottom a {
  color: var(--muted);
}
.page-heading {
  padding-block: 55px 43px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumbs .back-link {
  margin: 0;
}
.back-link {
  display: inline-block;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.back-link:hover {
  color: var(--accent);
}
.page-heading h1 {
  max-width: 800px;
  font-family: var(--display);
  font-size: 57px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.page-heading > p {
  max-width: 690px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}
.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 72px;
  padding-bottom: 70px;
  border-top: 1px solid var(--line);
}
.document-toc {
  padding-top: 27px;
}
.document-toc nav {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.document-toc nav > p {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.document-toc a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.document-toc a:hover {
  color: var(--accent);
}
.document-body {
  min-width: 0;
  padding-top: 27px;
}
.document-date {
  color: var(--muted);
  font-size: 12px;
}
.document-body section {
  padding-top: 28px;
  scroll-margin-top: 111px;
}
.document-body section:first-of-type {
  padding-top: 8px;
}
.document-body:has(.document-date) section:first-of-type {
  padding-top: 28px;
}
.document-body h2 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.document-body section > p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: #3c4e66;
  overflow-wrap: anywhere;
}
.document-body a {
  overflow-wrap: anywhere;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 25px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.policy-note {
  margin-top: 20px;
  padding: 17px 19px;
  border-inline-start: 3px solid #c1cfef;
  background: var(--surface);
  font-size: 13px;
}
.policy-note > p {
  margin-block: 8px;
}
.identity {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px 20px;
  margin-top: 22px;
  font-size: 14px;
}
.identity dt {
  color: var(--muted);
}
.identity dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.guide-body section {
  position: relative;
  margin-bottom: 17px;
  padding-inline-start: 45px;
}
.guide-number {
  position: absolute;
  inset-inline-start: 0;
  top: 31px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--accent);
  border: 1px solid #c8d6f3;
  font-size: 12px;
  font-weight: 650;
}
.guide-body section:first-of-type .guide-number {
  top: 11px;
}
.guide-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding-block: 26px 45px;
  border-top: 1px solid var(--line);
}
.guide-end h2 {
  margin-inline-end: auto;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 500;
}
.faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 740px);
  gap: 72px;
  padding-bottom: 65px;
}
.faq-search {
  position: sticky;
  top: 112px;
  align-self: start;
}
.faq-search > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid #bdcbee;
  border-radius: 6px;
  padding: 2px 12px;
}
.search-field input {
  width: 100%;
  min-width: 0;
  padding-block: 9px;
  font-size: 13px;
  background: transparent;
  border: 0;
  color: var(--ink);
}
.search-field input:focus-visible {
  outline-offset: 0;
}
.search-field input::-webkit-search-cancel-button {
  appearance: none;
}
[data-faq-count] {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.faq-groups section {
  margin-bottom: 36px;
}
.faq-groups h2 {
  margin-bottom: 13px;
  font-size: 18px;
  font-weight: 650;
}
.faq-groups details {
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.faq-groups details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-groups summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 2px;
  list-style: none;
  font-size: 15px;
  font-weight: 550;
}
.faq-groups summary::-webkit-details-marker {
  display: none;
}
.faq-groups summary > span {
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
.faq-groups details[open] summary > span {
  transform: rotate(45deg);
}
.faq-groups details > p {
  max-width: 66ch;
  padding: 0 28px 19px 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.faq-contact {
  padding-top: 12px;
}
.feedback-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 620px);
  gap: 100px;
  padding-bottom: 74px;
}
.feedback-aside {
  padding-top: 8px;
}
.feedback-aside h2 {
  font-size: 20px;
  line-height: 1.4;
}
.feedback-aside p {
  color: var(--muted);
  font-size: 14px;
  margin-block: 15px 22px;
}
.feedback-aside .feedback-privacy {
  margin-top: 28px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.feedback-panel {
  padding: 26px 29px;
  border: 1px solid #d1ddec;
  border-radius: 7px;
  background: #fafcff;
}
.feedback-panel h2 {
  margin-bottom: 21px;
  font-size: 23px;
  font-weight: 600;
}
.feedback-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.feedback-panel legend {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
}
.feedback-choice {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-block: 7px;
  font-size: 14px;
  cursor: pointer;
}
.feedback-choice input {
  width: 15px;
  height: 15px;
  margin: 0;
}
.field-label {
  display: block;
  margin-top: 23px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
}
.field-label span {
  color: var(--muted);
  font-weight: 400;
}
.feedback-panel textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 120px;
  padding: 11px 13px;
  border: 1px solid #bdcbee;
  border-radius: 5px;
  background: white;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.feedback-count {
  margin-top: 5px;
  text-align: end;
  font-size: 11px;
  color: var(--muted);
}
.form-message {
  margin-top: 8px;
  color: var(--saved);
  font-size: 13px;
}
.form-message[data-error] {
  color: #9e411f;
}
.form-message:empty {
  display: none;
}
.feedback-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 21px;
}
.field-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 15px;
}
.download-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-bottom: 70px;
}
.download-main {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.release-label {
  color: var(--saved);
  font-size: 12px;
  font-weight: 600;
}
.download-main h2 {
  margin-block: 9px 18px;
  font-size: 29px;
  font-weight: 600;
}
.download-main > p:not(.field-help) {
  max-width: 44ch;
  color: var(--muted);
  margin-bottom: 25px;
  font-size: 15px;
}
.store-note {
  margin-top: 32px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.manual-install summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.manual-install ol {
  padding-inline-start: 1.25rem;
  font-size: 14px;
}
.manual-install li + li {
  margin-top: 10px;
}
.store-note h3 {
  font-size: 16px;
}
.store-note p {
  color: var(--muted);
  margin-block: 10px;
  font-size: 14px;
}
.store-note a {
  font-size: 13px;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.installation-guide {
  background: var(--surface);
  padding: 26px 29px;
  border-radius: 6px;
}
.installation-guide h2 {
  font-size: 20px;
  font-weight: 650;
}
.installation-guide ol {
  padding-inline-start: 21px;
  margin: 18px 0 24px;
}
.installation-guide li {
  margin-bottom: 15px;
  padding-inline-start: 5px;
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.sample-dialog {
  width: min(540px, calc(100vw - 28px));
  max-height: calc(100dvh - 44px);
  padding: 0;
  border: 1px solid #c8d4e6;
  border-radius: 8px;
  color: var(--ink);
  background: white;
}
.sample-dialog::backdrop {
  background: #19324a66;
}
.sample-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 19px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.sample-dialog-top > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sample-dialog-top .icon-button {
  font-size: 25px;
  font-weight: 300;
}
.sample-article {
  padding: 30px 35px;
}
.sample-article .sample-title {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.2;
}
.sample-article > p:not(.note-source) {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.sample-article .sample-heading {
  margin-top: 25px;
  font-size: 18px;
}
.sample-article ul {
  padding-inline-start: 20px;
  font-size: 14px;
  line-height: 1.9;
}
.sample-article .sample-source {
  overflow-wrap: anywhere;
  font-size: 11px;
  margin-bottom: 23px;
}
.not-found {
  padding-block: 85px 95px;
}
.error-number {
  font-family: var(--display);
  font-size: 24px;
  color: var(--muted);
}
.not-found h1 {
  font-family: var(--display);
  font-size: 53px;
  font-weight: 500;
  margin-top: 9px;
}
.not-found > p {
  max-width: 550px;
  margin-block: 20px 30px;
  color: var(--muted);
}
.not-found .inline-link {
  margin-inline-start: 24px;
}
html:lang(zh-CN) {
  --display: 'Songti SC', STSong, 'Noto Serif CJK SC', serif;
}
/* A full-width folder holds both the tab selection and the exported reading. */
.hero {
  padding-top: 58px;
}
.hero-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 87px;
  margin-bottom: 44px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 6.5vw, 96px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.055em;
}
html:lang(zh-CN) .hero h1 {
  font-size: clamp(58px, 5.6vw, 82px);
  line-height: 1.14;
}
.hero-copy {
  max-width: 390px;
  padding-top: 5px;
}
.hero-copy > p:not(.hero-footnote) {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 23px;
}
.hero-footnote {
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
}
.demo-wrap {
  position: relative;
  scroll-margin-top: 105px;
}
.desk-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  padding-inline-end: 25px;
  color: var(--muted);
  font-size: 12px;
}
.desk-header > span:last-child {
  padding-bottom: 11px;
}
.folder-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 217px;
  min-height: 44px;
  padding: 11px 29px 11px 23px;
  border-radius: 10px 18px 0 0;
  background: var(--folder);
  color: #4b452f;
  font-weight: 600;
}
.folder-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-end: -15px;
  width: 25px;
  height: 24px;
  border-radius: 14px 0 0 0;
  background: var(--folder);
}
.desk-body {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 45px;
  align-items: start;
  padding: 31px;
  border: 1px solid #cbd7eb;
  border-radius: 0 13px 13px;
  background: var(--surface);
}
.browser-demo {
  overflow: hidden;
  border: 1px solid #c1d0e6;
  border-radius: 8px;
  background: #fff;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 43px;
  padding: 10px 15px;
  border-bottom: 1px solid #dbe4f1;
  background: #f5f8fc;
}
.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bac8da;
}
.browser-address {
  flex: 1;
  font-size: 11px;
  color: var(--muted);
}
.browser-bar > svg {
  color: #778ba3;
}
.demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 20px 19px 16px;
}
.demo-heading > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.demo-count {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.demo-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 18px;
}
.demo-tab {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 71px;
  padding: 12px 13px;
  border: 1px solid #dbe4f5;
  border-radius: 5px;
  background: #eff3fd;
  cursor: pointer;
}
.demo-tab:has(input:not(:checked)) {
  background: #fff;
}
.demo-tab-pinned {
  border-color: #e5eaf1;
  background: #f8fafc !important;
  cursor: default;
}
.demo-tab input {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 0;
}
.demo-tab-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 32px;
  border: 1px solid #cad6e8;
  border-radius: 4px;
  background: white;
  color: var(--accent);
  font-family: var(--display);
  font-size: 22px;
}
.demo-tab-copy {
  min-width: 0;
}
.demo-tab-copy strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-tab-copy > span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}
.demo-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  padding: 12px 18px;
  border-top: 1px solid #dce5f1;
}
.demo-action > span {
  font-size: 11px;
  color: var(--muted);
}
.demo-action .button {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 12px;
}
.demo-result {
  min-height: 282px;
  padding: 2px 20px 20px;
}
.saved-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--saved);
  font-size: 13px;
  font-weight: 600;
}
.demo-file {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 10px 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 3px;
  background: white;
  text-align: start;
}
.demo-file[aria-pressed='true'] {
  background: #edf2ff;
}
.demo-file > svg {
  color: var(--accent);
}
.demo-file > span {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-kept {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 11px;
}
.demo-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.desk-connector {
  position: absolute;
  top: 205px;
  inset-inline-start: calc(47% - 3px);
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #6f83a8;
}
.preview-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c7d4e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 0 #d6e0f0;
}
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 49px;
  padding: 10px 15px;
  border-bottom: 1px solid #dbe3f0;
}
.preview-filename {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
}
.preview-filename > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.view-switch {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 2px;
  border: 1px solid #d5dfef;
  border-radius: 5px;
  background: #f5f7fc;
}
.view-switch button {
  min-height: 28px;
  padding: 4px 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.view-switch button[aria-pressed='true'] {
  background: white;
  color: var(--accent);
  box-shadow: 0 1px 3px #19324a10;
}
.preview-reading {
  min-height: 367px;
  padding: 26px 31px 20px;
}
.preview-note-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
}
.preview-reading .preview-title {
  max-width: 22ch;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.preview-reading > p:not(.preview-note-label) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.preview-reading .preview-heading {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
}
.preview-reading ul {
  margin: 9px 0 18px;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}
.preview-reading li::marker {
  color: #97a9c1;
}
.preview-source {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid #dce5f1;
  color: var(--muted);
  font-size: 10px;
}
.preview-markdown {
  min-height: 367px;
  margin: 0;
  padding: 27px 29px;
  background: #f8faff;
  color: #3e536f;
  font:
    12px/1.85 'SFMono-Regular',
    Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.preview-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 17px;
  border-top: 1px solid #dce5f1;
}
.preview-bottom > span {
  font-size: 10px;
  color: var(--muted);
}
.demo-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
}
.how-section {
  padding-block: 38px 65px;
  scroll-margin-top: 103px;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 39px;
}
.workflow article {
  display: flex;
  gap: 15px;
  padding-top: 17px;
}
.step-number {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-top: 1px;
  border: 1px solid #bfcde4;
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
}
.workflow h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.workflow p {
  max-width: 29ch;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.output-section {
  padding-block: 83px;
  border-block: 1px solid #e2e8f1;
  background: #f0f4fa;
}
.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 113px;
}
.output-copy h2,
.safety-copy h2,
.home-faq h2,
.closing-section h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
}
.output-copy h2,
.safety-copy h2,
.home-faq h2 {
  font-size: 46px;
  line-height: 1.12;
}
.output-copy > p:not(.output-explanation) {
  max-width: 40ch;
  margin-top: 23px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.destination-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 25px;
  padding: 4px;
  border: 1px solid #bdcbe1;
  border-radius: 7px;
  background: #e5edf8;
}
.destination-switch button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 125px;
  min-height: 39px;
  padding: 8px 17px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.destination-switch button[aria-pressed='true'] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px #19324a10;
}
.output-explanation {
  max-width: 45ch;
  min-height: 49px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.output-copy > .inline-link {
  margin-top: 13px;
}
.output-example {
  min-width: 0;
  border: 1px solid #bdcce0;
  border-radius: 8px;
  background: #fff;
}
.output-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
}
.output-top > span:first-child {
  font-size: 13px;
  font-weight: 600;
}
.output-top > span:last-child {
  color: var(--muted);
  font-size: 10px;
}
.output-path {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 21px 24px 8px;
  font-size: 15px;
  font-weight: 500;
}
.output-path svg {
  color: #837244;
}
.file-tree {
  position: relative;
  margin: 7px 24px 26px 40px;
  padding: 0;
  list-style: none;
  border-inline-start: 1px solid #d2ddeb;
}
.file-tree li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 9px 18px 9px 29px;
}
.file-tree li::before {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 17px;
  height: 1px;
  background: #d2ddeb;
}
.file-tree li > svg {
  color: var(--accent);
}
.file-tree li > span {
  min-width: 0;
}
.file-tree strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.file-tree small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.zip-explanation {
  padding: 8px 24px 5px;
  color: var(--muted);
  font-size: 13px;
}
.output-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.output-bottom svg {
  color: var(--saved);
}
.safety-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 113px;
  padding-block: 96px;
}
.safety-copy > p {
  max-width: 43ch;
  margin-top: 23px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.safety-copy > .inline-link {
  margin-top: 22px;
}
.review-example {
  border-top: 2px solid #b4c5df;
}
.review-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 19px;
  font-size: 14px;
  font-weight: 600;
}
.review-title > svg {
  color: var(--saved);
}
.review-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.status-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.status-saved {
  background: #e5f0ec;
  color: var(--saved);
}
.status-kept {
  background: #edf1f9;
  color: #63799b;
}
.review-row > div {
  min-width: 0;
}
.review-row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.review-row p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.status-label {
  margin-inline-start: auto;
  color: var(--saved);
  font-size: 11px;
  white-space: nowrap;
}
.kept-label {
  color: #647a99;
}
.review-note {
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.local-section {
  border-block: 1px solid var(--line);
  background: #eef3fa;
}
.local-inner {
  display: flex;
  align-items: center;
  gap: 27px;
  padding-block: 31px;
}
.local-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 59px;
  height: 59px;
  border: 1px solid #c2d1e7;
  border-radius: 12px;
  background: var(--paper);
  color: var(--accent);
}
.local-inner h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.local-inner p {
  max-width: 60ch;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.local-inner > .inline-link {
  flex-shrink: 0;
  margin-inline-start: auto;
}
.home-faq {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 113px;
  padding-block: 89px;
}
.home-faq > div > .inline-link {
  margin-top: 23px;
}
.home-questions details {
  border-top: 1px solid var(--line);
}
.home-questions details:last-child {
  border-bottom: 1px solid var(--line);
}
.home-questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 19px 0;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}
.home-questions summary::-webkit-details-marker {
  display: none;
}
.home-questions summary > span {
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}
.home-questions details[open] summary > span {
  transform: rotate(45deg);
}
.home-questions details > p {
  padding: 0 25px 14px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.home-questions details > a {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 12px;
}
.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px 48px;
  border-radius: 11px;
  background: var(--accent);
  color: white;
}
.closing-section h2 {
  font-size: 37px;
  line-height: 1.2;
}
.closing-section p {
  margin-top: 8px;
  color: #e5ebff;
  font-size: 14px;
}
.closing-section > .button {
  flex-shrink: 0;
}

/* Reading pages share the same folder language, with readable document measure. */
.document-toc-inner {
  position: sticky;
  top: 111px;
}
.contents-disclosure > summary {
  display: none;
}
.document-toc nav {
  position: static;
  gap: 4px;
  border-inline-start: 1px solid #cfdaeb;
}
.document-toc nav > p {
  padding-inline-start: 16px;
  margin-bottom: 10px;
}
.document-toc a {
  display: block;
  margin-inline-start: -1px;
  padding: 7px 15px;
  border-inline-start: 2px solid transparent;
  font-size: 12px;
  line-height: 1.65;
}
.document-toc a:hover,
.document-toc a[aria-current='location'] {
  border-inline-start-color: var(--accent);
  color: var(--accent);
  background: #eef3fc;
}
.reading-progress {
  display: block;
  width: calc(100% - 16px);
  height: 3px;
  margin: 25px 0 0 16px;
  border: 0;
  background: #e5ecf7;
  appearance: none;
}
.reading-progress::-webkit-progress-bar {
  background: #e5ecf7;
}
.reading-progress::-webkit-progress-value {
  background: #a3b5dd;
}
.reading-progress::-moz-progress-bar {
  background: #a3b5dd;
}
.document-body section > p {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.95;
}
.faq-topic-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.faq-topic-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.faq-topic-links a:hover {
  color: var(--accent);
}
.faq-groups section {
  scroll-margin-top: 110px;
}
.faq-groups details > p {
  font-size: 15px;
  line-height: 1.9;
}
.feedback-panel {
  padding: 30px 35px;
  background: #eef3fc;
  border-color: #c4d2e7;
  border-radius: 9px;
}
.feedback-choice {
  min-height: 45px;
  padding: 10px 8px;
  border-bottom: 1px solid #d7e1f0;
  border-radius: 3px;
}
.feedback-choice:has(input:checked) {
  background: #e1e9fb;
  color: #2446b4;
}
.feedback-choice input {
  flex-shrink: 0;
}
.feedback-aside h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.feedback-aside p {
  font-size: 15px;
  line-height: 1.9;
}
.download-main {
  padding: 29px 34px;
  border: 1px solid #c6d4e8;
  border-radius: 8px;
  background: var(--surface);
}
.release-label {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: #e9dcbb;
  color: #5b4f30;
  font-size: 11px;
}
.download-main h2 {
  font-family: var(--display);
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.brand {
  font-size: 26px;
  font-weight: 650;
}
.container {
  width: min(1200px, calc(100% - 80px));
}

.text-button {
  min-height: 30px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  text-underline-offset: 4px;
}
.text-button:hover {
  text-decoration: underline;
}
.preview-bottom .text-button {
  font-size: 11px;
}

.demo-file:hover {
  background: #f3f6ff;
}
.installation-guide {
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.installation-guide ol {
  counter-reset: install;
  list-style: none;
  margin: 24px 0 27px;
  padding: 0;
}
.installation-guide li {
  position: relative;
  counter-increment: install;
  min-height: 48px;
  padding: 0 0 22px 46px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.installation-guide li::before {
  content: counter(install);
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #becee6;
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
}

@media (max-width: 1080px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero-intro {
    gap: 46px;
  }
  .hero h1 {
    font-size: 74px;
  }
  html:lang(zh-CN) .hero h1 {
    font-size: 66px;
  }
  .hero-copy > p:not(.hero-footnote) {
    font-size: 16px;
  }
  .desk-body {
    gap: 28px;
    padding: 23px;
  }
  .desk-connector {
    inset-inline-start: calc(47% - 5px);
  }
  .preview-reading {
    padding-inline: 23px;
  }
  .preview-toolbar {
    flex-wrap: wrap;
    gap: 7px;
  }
  .output-grid,
  .safety-section,
  .home-faq {
    gap: 65px;
  }
  .output-copy h2,
  .safety-copy h2,
  .home-faq h2 {
    font-size: 41px;
  }
  .document-layout {
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 50px;
  }
  .faq-layout {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 50px;
  }
  .feedback-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 50px;
  }
  .download-layout {
    gap: 50px;
  }
}
@media (max-width: 820px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .header-tools {
    gap: 16px;
  }
  .header-download {
    display: none;
  }
  .menu-button {
    display: grid;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 71px;
    inset-inline-start: -20px;
    inset-inline-end: -20px;
    padding: 12px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 10px 18px #19324a08;
  }
  .main-nav[data-open] {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1px;
  }
  .main-nav a {
    width: 100%;
    padding-block: 10px;
  }
  .main-nav .mobile-download {
    display: block;
    color: var(--accent);
  }
  html:not(.js-enabled) .header-inner {
    flex-wrap: wrap;
  }
  html:not(.js-enabled) .main-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  html:not(.js-enabled) .main-nav a {
    width: auto;
  }
  html:not(.js-enabled) .menu-button {
    display: none;
  }
  .hero {
    padding-top: 43px;
  }
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 33px;
  }
  .hero h1 {
    font-size: 75px;
  }
  html:lang(zh-CN) .hero h1 {
    font-size: 63px;
  }
  .hero-copy {
    max-width: 540px;
    padding: 0;
  }
  .hero-copy > p:not(.hero-footnote) {
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 21px;
  }
  .desk-header {
    padding: 0;
    align-items: start;
  }
  .desk-header > span:last-child {
    max-width: 180px;
    padding-top: 10px;
    font-size: 10px;
  }
  .folder-label {
    min-width: 183px;
    min-height: 42px;
    padding-inline-start: 19px;
    font-size: 11px;
  }
  .desk-body {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 23px;
  }
  .browser-demo {
    width: 100%;
  }
  .desk-connector {
    display: none;
  }
  .preview-reading {
    min-height: 0;
    padding: 25px 29px 21px;
  }
  .preview-reading .preview-title {
    max-width: none;
    font-size: 31px;
  }
  .preview-reading > p:not(.preview-note-label) {
    font-size: 14px;
  }
  .preview-reading ul {
    font-size: 13px;
  }
  .preview-markdown {
    min-height: 340px;
  }
  .preview-toolbar {
    flex-wrap: nowrap;
  }
  .how-section {
    padding-block: 29px 49px;
  }
  .workflow {
    gap: 23px;
  }
  .workflow article {
    gap: 10px;
  }
  .workflow h3 {
    font-size: 13px;
  }
  .workflow p {
    font-size: 12px;
  }
  .step-number {
    width: 23px;
    height: 23px;
  }
  .output-section {
    padding-block: 49px;
  }
  .output-grid,
  .safety-section,
  .home-faq {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .output-copy h2,
  .safety-copy h2,
  .home-faq h2 {
    font-size: 39px;
  }
  .output-copy > p:not(.output-explanation),
  .safety-copy > p {
    max-width: 55ch;
    margin-top: 19px;
    font-size: 15px;
  }
  .output-example {
    width: 100%;
    max-width: 580px;
  }
  .safety-section {
    padding-block: 52px;
  }
  .review-example {
    max-width: 580px;
  }
  .local-inner {
    flex-wrap: wrap;
    gap: 17px;
    padding-block: 25px;
  }
  .local-mark {
    width: 47px;
    height: 47px;
  }
  .local-inner > div {
    flex: 1;
    min-width: 0;
  }
  .local-inner h2 {
    font-size: 17px;
    line-height: 1.5;
  }
  .local-inner p {
    font-size: 12px;
  }
  .local-inner > .inline-link {
    margin-inline-start: 64px;
    font-size: 12px;
  }
  .home-faq {
    padding-block: 54px;
  }
  .home-faq > div > .inline-link {
    margin-top: 18px;
  }
  .closing-section {
    align-items: start;
    flex-direction: column;
    gap: 24px;
    padding: 31px 33px;
  }
  .closing-section h2 {
    font-size: 34px;
  }
  .closing-section p {
    font-size: 13px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 31px;
    padding-bottom: 36px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-brand > p br {
    display: none;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .page-heading {
    padding-block: 36px 31px;
  }
  .back-link {
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 45px;
  }
  .page-heading > p {
    margin-top: 19px;
    font-size: 15px;
  }
  .document-layout {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 50px;
  }
  .document-toc {
    padding-top: 19px;
  }
  .document-toc-inner {
    position: static;
  }
  .contents-disclosure {
    border: 1px solid #c4d3e8;
    border-radius: 6px;
    background: #f1f5fc;
  }
  .contents-disclosure > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 15px;
    font-size: 13px;
    list-style: none;
  }
  .contents-disclosure > summary::-webkit-details-marker {
    display: none;
  }
  .contents-disclosure > summary::after {
    content: '+';
    font-size: 20px;
    color: var(--muted);
  }
  .contents-disclosure[open] > summary::after {
    content: '−';
  }
  .document-toc nav {
    gap: 3px;
    margin: 0 14px 13px;
    border: 0;
  }
  .document-toc nav > p {
    display: none;
  }
  .document-toc a {
    padding-block: 8px;
    font-size: 12px;
  }
  .reading-progress {
    display: none;
  }
  .document-body {
    padding-top: 20px;
  }
  .document-body h2 {
    font-size: 21px;
  }
  .document-body section {
    scroll-margin-top: 97px;
  }
  .document-body section > p {
    font-size: 15px;
  }
  .guide-body section {
    padding-inline-start: 44px;
  }
  .guide-number {
    width: 27px;
    height: 27px;
  }
  .guide-end {
    gap: 17px;
  }
  .guide-end h2 {
    width: 100%;
    font-size: 30px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 31px;
    padding-bottom: 50px;
  }
  .faq-search {
    position: static;
    max-width: none;
  }
  .faq-topic-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 19px;
    margin-top: 18px;
    padding-top: 16px;
  }
  .faq-topic-links a {
    font-size: 12px;
  }
  .faq-groups summary {
    font-size: 14px;
  }
  .faq-groups details > p {
    font-size: 14px;
  }
  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 48px;
  }
  .feedback-aside {
    max-width: 550px;
  }
  .feedback-aside h2 {
    font-size: 25px;
  }
  .feedback-aside p {
    margin-block: 14px 18px;
    font-size: 14px;
  }
  .feedback-aside .feedback-privacy {
    margin-top: 17px;
    padding-top: 13px;
  }
  .feedback-panel {
    padding: 26px;
  }
  .download-layout {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-bottom: 48px;
  }
  .download-main {
    padding: 27px;
  }
  .identity {
    grid-template-columns: 105px 1fr;
    gap: 10px;
  }
  .not-found {
    padding-block: 55px 65px;
  }
  .not-found h1 {
    font-size: 46px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(44px, 12.9vw, 59px);
  }
  html:lang(zh-CN) .hero h1 {
    font-size: clamp(41px, 12.4vw, 55px);
  }
  .hero-copy > p:not(.hero-footnote) {
    font-size: 15px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .inline-link {
    font-size: 13px;
  }
  .desk-header {
    flex-direction: column;
    gap: 0;
  }
  .desk-header > span:last-child {
    order: -1;
    max-width: none;
    padding: 0 0 12px;
    font-size: 11px;
  }
  .desk-body {
    gap: 18px;
    padding: 14px;
  }
  .demo-heading {
    padding: 17px 13px 14px;
  }
  .demo-heading > span:first-child {
    gap: 6px;
    font-size: 11px;
  }
  .demo-count {
    font-size: 9px;
  }
  .demo-tabs {
    padding: 0 9px 14px;
    gap: 7px;
  }
  .demo-tab {
    gap: 8px;
    min-height: 69px;
    padding: 10px 9px;
  }
  .demo-tab input {
    width: 14px;
    height: 14px;
  }
  .demo-tab-icon {
    width: 25px;
    height: 29px;
    font-size: 19px;
  }
  .demo-tab-copy strong {
    font-size: 11px;
  }
  .demo-tab-copy > span {
    font-size: 9px;
  }
  .demo-action {
    padding: 11px 12px;
    gap: 9px;
  }
  .demo-action > span {
    font-size: 10px;
  }
  .demo-action .button {
    min-height: 35px;
    padding: 7px 11px;
    font-size: 11px;
  }
  .demo-result {
    min-height: 278px;
    padding-inline: 13px;
  }
  .demo-file > span {
    font-size: 11px;
  }
  .preview-toolbar {
    flex-direction: column;
    align-items: start;
    gap: 9px;
    padding: 11px 14px;
  }
  .preview-filename {
    max-width: 100%;
    font-size: 10px;
  }
  .view-switch {
    align-self: end;
  }
  .preview-reading {
    padding: 22px 20px;
  }
  .preview-reading .preview-title {
    font-size: 29px;
  }
  .preview-reading > p:not(.preview-note-label) {
    font-size: 13px;
  }
  .preview-reading ul {
    font-size: 12px;
  }
  .preview-source {
    flex-direction: column;
  }
  .preview-bottom {
    padding-inline: 12px;
  }
  .preview-bottom > span {
    max-width: 18ch;
    font-size: 9px;
  }
  .preview-bottom .text-button {
    font-size: 10px;
  }
  .preview-markdown {
    min-height: 365px;
    padding: 23px 19px;
    font-size: 11px;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .workflow article {
    gap: 15px;
    padding-top: 13px;
  }
  .workflow h3 {
    font-size: 15px;
  }
  .workflow p {
    max-width: 35ch;
    margin-top: 4px;
    font-size: 13px;
  }
  .step-number {
    width: 26px;
    height: 26px;
  }
  .output-copy h2,
  .safety-copy h2,
  .home-faq h2 {
    font-size: 35px;
  }
  .output-top {
    padding: 15px 19px;
  }
  .output-path {
    padding-inline: 20px;
    font-size: 13px;
  }
  .file-tree {
    margin-inline-start: 33px;
    margin-inline-end: 18px;
  }
  .file-tree li {
    gap: 10px;
    padding-inline-start: 24px;
    padding-inline-end: 0;
  }
  .file-tree strong {
    font-size: 12px;
  }
  .output-bottom {
    padding-inline: 19px;
    font-size: 10px;
  }
  .review-row {
    gap: 12px;
  }
  .review-row strong {
    font-size: 13px;
  }
  .review-row p {
    font-size: 11px;
  }
  .status-icon {
    width: 31px;
    height: 31px;
  }
  .home-questions summary {
    font-size: 14px;
  }
  .closing-section {
    padding: 28px 25px;
  }
  .closing-section h2 {
    font-size: 32px;
  }
  .page-heading h1 {
    font-size: 39px;
  }
  .feedback-panel {
    padding: 22px 19px;
  }
  .feedback-panel h2 {
    font-size: 21px;
  }
  .feedback-choice {
    font-size: 13px;
  }
  .feedback-actions {
    gap: 10px;
  }
  .feedback-actions .button {
    padding-inline: 15px;
    font-size: 12px;
  }
  .download-main {
    padding: 23px;
  }
  .sample-article {
    padding: 27px;
  }
  .sample-article .sample-title {
    font-size: 33px;
  }
  .sample-dialog-top {
    padding-inline: 13px;
  }
  .footer-top {
    gap: 30px 22px;
  }
  .footer-top nav > a {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* The menu follows the extension's catalogs; long native labels stay scrollable. */
.language-options {
  width: 245px;
  max-width: calc(100vw - 40px);
  max-height: min(560px, calc(100dvh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 20;
}
.language-options button {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 4px 4px 0 0;
  padding: 9px 12px 12px;
  margin-bottom: 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: start;
  cursor: pointer;
}
.language-options button:hover {
  background: #edf2ff;
  color: var(--accent);
}
.language-options a {
  text-align: start;
}
.language-options a[aria-current] {
  font-weight: 600;
}
.language-options a[aria-current]::after {
  content: '✓';
  float: inline-end;
}
.hero h1 {
  overflow-wrap: anywhere;
}
.header-inner,
.header-tools,
.main-nav {
  min-width: 0;
}
.header-tools {
  flex-shrink: 0;
}
.hero-actions,
.feedback-actions {
  flex-wrap: wrap;
}
.view-switch {
  flex-shrink: 0;
}
.preview-filename {
  min-width: 0;
}
.preview-filename > span {
  overflow-wrap: anywhere;
}
.preview-source,
.sample-source,
.note-source {
  overflow-wrap: anywhere;
}
.preview-markdown {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}
.destination-switch {
  max-width: 100%;
}
.destination-switch button {
  min-width: 95px;
  padding-inline: 12px;
}
:lang(ar) {
  --display: 'Geeza Pro', 'Noto Naskh Arabic', Georgia, serif;
}
html[dir='rtl'] :is(h1, h2, h3, .brand, .folder-label) {
  letter-spacing: normal;
}
html[dir='rtl'] .desk-connector svg {
  transform: scaleX(-1);
}
html[dir='rtl'] .folder-label {
  border-radius: 9px 9px 0 0;
}
html[dir='rtl'] :is(.preview-filename, .demo-file) {
  unicode-bidi: plaintext;
}
html[dir='rtl'] :is(.preview-source > span:last-child, .output-path, a[href^='mailto:'], time) {
  direction: ltr;
  unicode-bidi: isolate;
}
:lang(ja) {
  --display: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif;
}
:lang(ko) {
  --display: 'AppleMyungjo', 'Batang', 'Noto Serif CJK KR', serif;
}
@media (min-width: 821px) and (max-width: 1200px) {
  .header-inner {
    gap: 16px;
  }
  .main-nav {
    gap: 16px;
  }
  .header-tools {
    gap: 12px;
  }
  .header-download {
    display: none;
  }
}
@media (max-width: 480px) {
  .language-options {
    inset-inline-end: -10px;
  }
  .hero h1 {
    font-size: clamp(40px, 10.5vw, 55px);
    line-height: 1.12;
  }
  .hero-actions {
    gap: 14px;
  }
  .desk-header > span:last-child {
    max-width: 46%;
    text-align: end;
  }
  .demo-heading > span {
    flex-wrap: wrap;
  }
  .demo-action {
    flex-wrap: wrap;
    gap: 10px;
  }
  .preview-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .view-switch {
    margin-inline-start: auto;
  }
  .review-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .review-row .status-label {
    grid-column: 2;
    justify-self: start;
  }
  :lang(ar) .hero h1 {
    font-size: 45px;
    line-height: 1.4;
  }
  :lang(ja) .hero h1,
  :lang(ko) .hero h1 {
    font-size: 38px;
    line-height: 1.4;
  }
}

.language-options button[aria-current] {
  background: #edf2ff;
  color: var(--accent);
  font-weight: 600;
}

:is(h1, h2, h3) {
  overflow-wrap: anywhere;
}
.document-body {
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 820px) {
  .local-inner > .inline-link {
    display: inline-block;
    max-width: calc(100% - 64px);
    overflow-wrap: anywhere;
    line-height: 1.6;
  }
}
@media (max-width: 480px) {
  .folder-label {
    min-width: 0;
    max-width: 58%;
    padding-inline: 14px;
    overflow-wrap: anywhere;
    line-height: 1.4;
    flex-shrink: 0;
  }
  .folder-label svg {
    flex-shrink: 0;
  }
  .desk-header > span:last-child {
    max-width: 100%;
    text-align: start;
    line-height: 1.4;
  }
}

html[dir='rtl'] svg[data-icon='arrow'] {
  transform: scaleX(-1);
}

/* Product-specific SEO content uses the existing typography and colour system. */
.eyebrow {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 650;
  color: #52637a;
}
.hero h1.keyword-title {
  font-size: clamp(2.1rem, 4.1vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 680px;
}
.section-heading {
  margin: 0 0 38px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
summary h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}
.preview-reading .preview-title,
.preview-reading .preview-heading,
.sample-article .sample-title,
.sample-article .sample-heading {
  font-weight: 650;
}
.product-screenshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 324px);
  gap: 64px;
  align-items: center;
  padding-block: 56px;
  border-top: 1px solid #dde2ec;
}
.product-screenshot h2,
.editorial-links h2 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
}
.product-screenshot p {
  max-width: 530px;
  line-height: 1.8;
}
.product-screenshot figure {
  margin: 0;
}
.product-screenshot img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #dde2ec;
  border-radius: 16px;
  box-shadow: 0 16px 48px #1e31540d;
}
.product-screenshot figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #52637a;
}
.editorial-links {
  padding-block: 48px;
}
.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.guide-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #dde2ec;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.6;
}
.guide-card:hover {
  background: #f5f7fc;
  border-color: #3657d6;
}
.guide-card svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.editorial-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 24px;
  font-size: 12px;
  border-top: 1px solid #dde2ec;
}
.editorial-footer span {
  flex-basis: 100%;
  font-weight: 650;
}
.editorial-footer a {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.guide-resources {
  padding-inline-start: 22px;
  line-height: 1.8;
}
.guide-resources li {
  margin-block: 10px;
}
.guide-install {
  margin-block: 40px;
  padding: 24px;
  background: #f5f7fc;
  border-radius: 12px;
}
.comparison-table {
  overflow: auto;
  margin-block: 28px;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.comparison-table caption {
  text-align: start;
  margin-bottom: 12px;
  font-weight: 650;
}
.comparison-table :is(th, td) {
  text-align: start;
  vertical-align: top;
  padding: 14px;
  border: 1px solid #dde2ec;
}
.comparison-table thead {
  background: #f5f7fc;
}
@media (max-width: 820px) {
  .product-screenshot {
    gap: 28px;
    grid-template-columns: 1fr;
  }
  .product-screenshot figure {
    max-width: 324px;
    justify-self: center;
  }
  .guide-cards {
    grid-template-columns: 1fr;
  }
  .hero h1.keyword-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}
