:root {
  color: #142834;
  background: #fff;
  font: 16px/1.65 "Instrument Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ink: #142834;
  --soft: #485c69;
  --blue: #155571;
  --line: #d6e6ed;
  --ice: #edf7fb;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, figure { margin: 0; }
h1, h2 { line-height: 1.17; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: #893853; }
a:focus-visible { outline: 2px solid #a53f5d; outline-offset: 4px; }
code { font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 4px; left: 5px; padding: 10px; z-index: 2; background: #fff; transform: translateY(-145%); }
.skip:focus { transform: none; }

.site-head { background: #fff; border-bottom: 1px solid var(--line); }
.head-inner, .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.head-inner { min-height: 68px; }
.brand { flex: none; font-size: 1.52rem; font-weight: 820; letter-spacing: -.045em; color: var(--ink); text-decoration: none; }
.main-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.main-nav > * { display: inline-flex; align-items: center; min-height: 44px; font-weight: 690; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.main-nav [aria-current] { color: #70243e; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .42em; }
.opening { background: linear-gradient(100deg, #f4fafc, #e4f1f8); border-bottom: 1px solid #d8e9f2; }
.setup-grid { display: grid; grid-template-columns: 1fr .94fr; align-items: stretch; gap: 39px; padding-block: 32px; }
.setup-copy { align-self: center; padding: 13px 0 18px; }
.setup-copy h1 { font-size: clamp(2.4rem, 4.9vw, 4.16rem); font-weight: 840; letter-spacing: -.055em; }
.setup-copy p { max-width: 34rem; margin-top: 17px; color: var(--soft); font-size: 1.07rem; }
.setup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 16px; border: 1px solid; border-radius: 9px; text-decoration: none; font-weight: 740; }
.button-primary { color: #fff; background: #163b51; border-color: #163b51; }
.button-primary:hover { background: #215d7a; color: #fff; }
.button-secondary { color: #18465c; background: #fff; border-color: #c2dbe6; }
.button-secondary:hover { background: #f9ebf1; color: #6d2842; }
.hero { align-self: center; min-width: 0; border-radius: 22px 22px 22px 4px; overflow: hidden; background: #b7cbd6; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }

.downloads-strip { padding-block: 28px 30px; border-bottom: 1px solid var(--line); }
.strip-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 15px; }
.strip-heading h2, .reading-strip h2 { font-size: 1.36rem; }
.strip-heading p { color: var(--soft); font-size: .93rem; }
.device-links { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.device-links a {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  min-height: 73px; padding: 8px 13px; text-decoration: none; border-left: 1px solid var(--line);
}
.device-links a:first-child { border-left: 0; }
.device-links a:hover { background: #f4fafc; }
.device-links strong { text-decoration: underline; }
.device-links span { color: var(--soft); font-size: .88rem; }
.reading-strip { display: grid; align-items: baseline; grid-template-columns: 1fr 4fr; gap: 12px; padding-block: 19px 26px; }
.guide-list, .related { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.guide-item, .related a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 3px; font-weight: 700; }

.document-main { max-width: 850px; padding-block: 22px 37px; }
.crumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--soft); margin-bottom: 14px; }
.crumb a::after { content: "/"; margin-left: 8px; color: #667d88; display: inline-block; }
.lead { border-bottom: 1px solid var(--line); padding: 8px 0 18px; }
.lead h1 { font-size: clamp(1.9rem, 4.3vw, 3.24rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.lead p { margin-top: 10px; color: var(--soft); }
.lead time { display: block; margin-top: 5px; color: var(--soft); font-size: .88rem; }
.reader-body section { padding-block: 18px; border-bottom: 1px solid var(--line); }
.reader-body section h2 { font-size: 1.2rem; margin-bottom: 7px; }
.reader-body p { overflow-wrap: anywhere; }
.steps { margin: 8px 0; padding-left: 1.4em; }
.steps li+li { margin-top: 5px; }
.note { color: #704059; }
.related { margin-top: 10px; }
.source-panel { margin-top: 20px; display: grid; grid-template-columns: 110px 1fr; gap: 5px 10px; background: var(--ice); padding: 16px; border-radius: 8px; }
.source-panel span, .source-panel code { font-weight: 750; }
.source-panel p { color: var(--soft); grid-column: 1/-1; }
.device-specs { margin: 8px 0 0; }
.device-specs > div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 165px 1fr; gap: 12px; scroll-margin-top: 16px; }
.device-specs > div:target { background: var(--ice); }
.device-specs dt { font-weight: 780; }
.device-specs dt span { display: block; font-size: .86rem; color: var(--soft); font-weight: 560; }
.device-specs dd { margin: 0; }

.site-foot { background: #f5fafc; border-top: 1px solid var(--line); color: var(--soft); }
.foot-inner { padding-block: 12px; min-height: 66px; gap: 8px 22px; }
.foot-inner p { font-size: .86rem; max-width: 680px; }
.foot-inner nav { display: flex; gap: 16px; }
.foot-inner nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 43px; font-size: .88rem; }

@media (max-width: 780px) {
  .container { width: calc(100% - 36px); }
  .head-inner { flex-wrap: wrap; gap: 0 18px; }
  .main-nav { gap: 14px; }
  .setup-grid { grid-template-columns: 1fr; padding-block: 22px; gap: 19px; }
  .setup-copy { padding: 0; }
  .hero { max-height: 340px; }
  .hero img { height: min(54vw, 340px); }
  .device-links { grid-template-columns: repeat(3, 1fr); }
  .device-links a { border-bottom: 1px solid var(--line); }
  .device-links a:nth-child(4) { border-left: 0; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .brand { margin-top: 7px; }
  .head-inner { display: block; }
  .main-nav { justify-content: space-between; gap: 2px 10px; }
  .main-nav > * { font-size: .86rem; }
  .setup-copy h1 { font-size: clamp(2.25rem, 10vw, 2.7rem); }
  .setup-copy p { margin-top: 11px; }
  .setup-actions { gap: 8px; margin-top: 14px; }
  .button { font-size: .91rem; padding-inline: 10px; min-height: 45px; }
  .hero { border-radius: 13px 13px 13px 4px; }
  .downloads-strip { padding-block: 19px 17px; }
  .device-links a { padding-inline: 8px; }
  .device-links strong { font-size: .88rem; }
  .device-links span { font-size: .79rem; }
  .reading-strip { display: block; padding-block: 15px; }
  .device-specs > div { grid-template-columns: 1fr; gap: 4px; }
  .source-panel { grid-template-columns: 1fr; }
  .foot-inner { flex-wrap: wrap; }
}
