:root {
  --paper: #f7f6f2;
  --white: #fff;
  --ink: #172c3b;
  --muted: #526270;
  --blue: #145fa6;
  --line: #d8dedf;
  --soft: #eaf0f3;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button {
  font: inherit;
  cursor: pointer;
}
button[hidden] {
  display: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
  text-wrap: balance;
  font-weight: 600;
}
p,
li {
  text-wrap: pretty;
}
h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.75rem);
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(2.1rem, 3.1vw, 3.25rem);
  letter-spacing: -0.045em;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--blue);
}
.wrap {
  width: min(1224px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 750;
  font-size: 1.65rem;
  letter-spacing: -0.07em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.wordmark-dot {
  color: var(--blue);
  padding-left: 0.04em;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.site-header nav a {
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}
.site-header nav a:hover {
  text-decoration: underline;
}
.site-header nav .language {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 0.75rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.9fr;
  align-items: center;
  gap: 55px;
  padding-top: 85px;
  padding-bottom: 88px;
}
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
  line-height: 1.6;
}
.intro {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin-top: 26px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.5;
  min-height: 48px;
}
.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.primary {
  background: var(--blue);
  color: #fff;
}
.primary:hover {
  background: #114e87;
}
.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.requirements {
  margin-top: 24px;
  font-size: 0.73rem;
  line-height: 1.9;
  color: var(--muted);
}

.context-strip {
  border-block: 1px solid var(--line);
  background: #f0f1ed;
}
.context-strip > .wrap {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 22px;
  align-items: center;
}
.context-strip p {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.context-strip span {
  font-size: 0.74rem;
  color: var(--muted);
}
.section {
  padding-block: 94px;
}
.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}
.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 630px;
  margin-top: 20px;
  font-size: 1.05rem;
}
.task-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.task-row {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  gap: 20px;
}
.step-number {
  font-size: 0.72rem;
  color: var(--blue);
  padding-top: 5px;
  letter-spacing: 0.08em;
}
.task-row h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.task-row p {
  font-size: 0.9rem;
  color: var(--muted);
}
.task-row .example {
  font-size: 0.83rem;
  color: var(--ink);
  margin-top: 24px;
  line-height: 1.8;
}
.section-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 30px;
}
.control-section {
  background: var(--ink);
  color: var(--white);
  padding-block: 75px;
}
.control-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.control-section .eyebrow {
  color: #b2d7fa;
}
.control-section p:not(.eyebrow) {
  color: #ccd5dd;
  margin-top: 24px;
  font-size: 0.95rem;
  max-width: 530px;
}
.control-section .text-link {
  color: #c9e3ff;
  display: inline-block;
  margin-top: 20px;
}
.control-details {
  border-left: 1px solid #52616e;
  padding-left: 70px;
}
.key-pair {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}
.key-pair kbd {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.3rem;
  width: 76px;
  height: 65px;
  display: grid;
  place-items: center;
  border: 1px solid #72818b;
  border-bottom-width: 4px;
  border-radius: 9px;
  background: #233c4c;
  color: #fff;
}
.key-pair > span {
  color: #8da0ae;
  font-size: 1rem;
}
.control-details h3 {
  font-size: 1.2rem;
}

.compatibility .section-heading {
  max-width: 800px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.55;
}
th,
td {
  padding: 18px 22px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
thead {
  background: #edf1f1;
}
th {
  font-weight: 600;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
.compatibility table {
  min-width: 620px;
}
.compatibility th:first-child {
  width: 29%;
}
.compatibility td {
  color: var(--muted);
}
.install-section {
  background: #e8edf0;
  border-block: 1px solid #d5dfe3;
  padding-block: 75px;
}
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.install-grid h2 {
  font-size: 2.8rem;
}
.install-grid > div > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 470px;
}
.install-grid .text-link {
  display: inline-block;
  margin-top: 22px;
}
.install-code {
  background: var(--white);
  border: 1px solid #cdd7dc;
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
}
.code-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  min-height: 49px;
}
.code-heading button {
  border: 0;
  background: #edf2f5;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--blue);
  min-height: 28px;
}
.install-code pre {
  margin: 0;
  padding: 24px 20px;
  overflow: auto;
  font-size: 0.76rem;
  line-height: 2;
  max-width: 100%;
}
.install-code p.install-note {
  font-size: 0.67rem;
  margin: 0;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.copy-status {
  font-size: 0.7rem;
  color: var(--blue);
  padding-inline: 20px;
}
.copy-status:empty {
  display: none;
}
.site-footer {
  padding-block: 54px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.site-footer > div > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.legal {
  grid-column: 1/-1;
  font-size: 0.65rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #2d78bc;
  outline-offset: 5px;
  scroll-margin-top: 24px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
.doc-header {
  padding-block: 65px 52px;
  border-bottom: 1px solid var(--line);
}
.doc-header h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  max-width: 850px;
}
.doc-header .intro {
  max-width: 700px;
}
.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 70px;
  padding-block: 56px 80px;
}
.toc {
  align-self: start;
  position: sticky;
  top: 32px;
  font-size: 0.83rem;
}
.toc .eyebrow {
  margin-bottom: 18px;
}
.toc nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.toc a {
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--blue);
}
.prose {
  min-width: 0;
  font-size: 0.98rem;
  color: #344956;
}
.prose h2 {
  font-size: 1.65rem;
  margin-top: 52px;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.25;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 35px;
  margin-bottom: 12px;
}
.prose p {
  margin-bottom: 20px;
}
.prose li {
  margin-block: 8px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  margin-block: 18px 24px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose code {
  font-size: 0.82em;
  background: #e9eef0;
  border-radius: 3px;
  padding: 2px 4px;
  overflow-wrap: anywhere;
}
.prose pre {
  background: #e9eef0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.9;
  margin-block: 24px;
  max-width: 100%;
}
.prose pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  overflow-wrap: normal;
}
.prose blockquote {
  margin: 24px 0;
  background: #e9eff3;
  padding: 22px 26px;
  border-radius: 7px;
}
.prose blockquote p {
  margin: 0;
  color: var(--ink);
}
.prose .table-scroll {
  margin-block: 24px;
}
.prose th,
.prose td {
  padding: 14px 16px;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 750px) 280px;
  gap: 80px;
  padding-block: 55px 85px;
}
.help-note {
  align-self: start;
  background: #e9eef0;
  padding: 30px;
  border-radius: 7px;
}
.help-note h2 {
  font-size: 1.5rem;
}
.help-note p {
  margin: 18px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.help-note .button {
  font-size: 0.85rem;
  padding-inline: 15px;
}
html[lang="zh-CN"] h1 {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
}
html[lang="zh-CN"] h1 em {
  font-family: var(--font);
  font-style: normal;
}
html[lang="zh-CN"] h2 {
  line-height: 1.3;
  letter-spacing: -0.025em;
}
html[lang="zh-CN"] .hero {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
}
html[lang="zh-CN"] .intro {
  line-height: 1.9;
}
html[lang="zh-CN"] .prose {
  line-height: 1.9;
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 110px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 30px;
    padding-block: 65px;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
  .hero .intro {
    font-size: 1rem;
  }
  .task-list {
    gap: 25px;
  }
  .task-row {
    gap: 12px;
  }
  .control-grid {
    gap: 50px;
  }
  .control-details {
    padding-left: 40px;
  }
  .install-grid {
    gap: 40px;
  }
  .doc-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 40px;
  }
  .faq-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 84px;
    gap: 18px;
  }
  .wordmark {
    font-size: 1.45rem;
  }
  .site-header nav {
    gap: 16px;
  }
  .site-header nav a {
    font-size: 0.75rem;
  }
  .site-header nav .language {
    padding: 3px 7px;
    font-size: 0.68rem;
  }
  .hero,
  html[lang="zh-CN"] .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 50px;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 9vw, 4.3rem);
  }
  .hero .intro {
    max-width: 520px;
    font-size: 1.06rem;
  }

  .context-strip > .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-block: 21px;
  }
  .context-strip p {
    font-size: 1rem;
  }
  .context-strip span {
    font-size: 0.69rem;
  }
  .section {
    padding-block: 64px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.64rem;
  }
  .task-list {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 35px;
  }
  .task-row {
    gap: 24px;
    padding-top: 24px;
  }
  .task-row .example {
    margin-top: 13px;
  }
  .task-row h3 {
    font-size: 1.35rem;
  }
  .task-row p {
    font-size: 0.95rem;
  }
  .control-section {
    padding-block: 58px;
  }
  .control-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .control-details {
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid #52616e;
  }
  .control-section p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .compatibility .section-heading > p {
    font-size: 0.95rem;
  }
  .install-section {
    padding-block: 55px;
  }
  .install-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .install-grid h2 {
    font-size: 2.3rem;
  }
  .install-code pre {
    font-size: 0.7rem;
    padding-inline: 16px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 28px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 20px;
  }
  .legal {
    font-size: 0.62rem;
  }
  .doc-header {
    padding-block: 42px 35px;
  }
  .doc-header h1,
  html[lang="zh-CN"] .doc-header h1 {
    font-size: 2.5rem;
  }
  .doc-header .intro {
    font-size: 1rem;
  }
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 32px 60px;
  }
  .toc {
    position: static;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }
  .toc nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 22px;
  }
  .toc a {
    font-size: 0.78rem;
  }
  .prose {
    font-size: 0.92rem;
  }
  .prose h2 {
    font-size: 1.5rem;
    margin-top: 40px;
  }
  .prose th,
  .prose td {
    padding: 12px;
    font-size: 0.77rem;
  }
  .prose blockquote {
    padding: 20px;
  }
  .prose pre {
    font-size: 0.76rem;
    padding: 16px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 35px 60px;
  }
  .help-note {
    max-width: 500px;
  }
  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(2.4rem, 7vw, 3.5rem);
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header nav {
    gap: 11px;
  }
  .site-header nav a {
    font-size: 0.68rem;
  }
  .wordmark {
    font-size: 1.3rem;
  }
  .actions {
    gap: 18px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }

  .button {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button:hover {
    transform: none;
  }
}
@media print {
  .site-header nav,
  .toc,
  .site-footer,
  .actions {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .doc-layout,
  .faq-layout {
    display: block;
  }
  .prose {
    color: #000;
  }
  .control-section {
    color: #000;
    background: #fff;
  }
  .control-section p:not(.eyebrow) {
    color: #222;
  }
  a {
    color: #000;
  }
}

/* Editorial content: the handoff sequence is explanatory text, not a product screenshot. */
.handoff-story {
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 42px;
  min-width: 0;
}
.story-heading {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--muted);
}
.handoff-story ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.handoff-story li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.story-number {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--blue);
  font-size: 1.15rem;
  line-height: 1.4;
}
.handoff-story h2 {
  font-size: 1.27rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.handoff-story li p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}
.story-footer {
  padding-top: 22px;
  margin-top: 3px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--blue);
}
.habits-section {
  border-bottom: 1px solid var(--line);
}
.habits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.habits-grid .section-heading {
  margin-bottom: 0;
}
.habits-grid .text-link {
  display: inline-block;
  margin-top: 24px;
}
.habit-features article + article {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 30px;
}
.feature-value {
  font-size: clamp(3.3rem, 5vw, 4.8rem);
  letter-spacing: -0.065em;
  line-height: 1.1;
  color: var(--blue);
  margin-bottom: 18px;
}
.habit-features h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.habit-features article > p:not(.feature-value):not(.feature-label) {
  font-size: 0.9rem;
  color: var(--muted);
}
.feature-label {
  font-size: 0.72rem;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.7;
}
.feature-label span {
  display: inline-block;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 7px;
  font-size: 0.65rem;
}
.habit-features article > p.privacy-note {
  font-size: 0.74rem !important;
  margin-top: 14px;
}
.examples-section .section-heading {
  max-width: 820px;
}
.examples-section .task-list {
  margin-top: 44px;
}
@media (min-width: 761px) and (max-width: 1050px) {
  .handoff-story {
    padding-left: 28px;
  }
  .handoff-story li {
    gap: 14px;
    padding-block: 20px;
  }
  .handoff-story h2 {
    font-size: 1.1rem;
  }
  .habits-grid {
    gap: 50px;
  }
}
@media (max-width: 760px) {
  .handoff-story {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }
  .handoff-story li {
    padding-block: 20px;
  }
  .story-heading {
    margin-bottom: 20px;
  }
  .handoff-story h2 {
    font-size: 1.25rem;
  }
  .handoff-story li p {
    font-size: 0.9rem;
  }
  .habits-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .habit-features article:first-child {
    padding-top: 30px;
    border-top: 1px solid var(--line);
  }
  .habit-features article > p:not(.feature-value):not(.feature-label) {
    font-size: 0.95rem;
  }
}

.film-section {
  border-bottom: 1px solid var(--line);
}
.film-section .section-heading {
  margin-bottom: 32px;
  max-width: 900px;
}
.film-figure video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
}
.film-figure figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.76rem;
}
.film-figure figcaption p {
  max-width: 720px;
}
.film-links {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.film-links a {
  font-weight: 600;
}
@media (max-width: 760px) {
  .film-figure video {
    border-radius: 5px;
  }
  .film-figure figcaption {
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
  }
  .film-links {
    gap: 24px;
  }
}
@media print {
  .film-figure video {
    display: none;
  }
}
