@font-face { font-family: "IR Geist"; src: url("./geist.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "IR Noto Sans SC"; src: url("./noto-sans-sc.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #18191c;
  --muted: #54565c;
  --paper: #f7f7f8;
  --canvas: #ededf0;
  --line: #d6d8dc;
  --deep: #17181a;
  --deep-line: #393b40;
  --light: #f5f6f7;
  --light-muted: #c2c4ca;
  --silver: #e9ebee;
  --header: 88px;
  --type: "IR Geist", "IR Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --heading-weight: 610;
  --heading-tracking: -.038em;
  --prose-leading: 1.68;
}
:root:lang(zh) { --heading-weight: 650; --heading-tracking: -.012em; --prose-leading: 1.8; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/var(--prose-leading) var(--type); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking); line-height: 1.2; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:is(a, button, input, summary):focus-visible { outline: 2px solid #686b74; outline-offset: 5px; }
:is(.site-header, .ir-hero, .site-footer) :focus-visible { outline-color: #d4d7dd; }
.wrap { width: min(1248px, calc(100% - 2 * clamp(20px, 5.5vw, 92px))); margin-inline: auto; }
.skip { position: absolute; left: 5px; top: 8px; clip-path: inset(50%); }
.skip:focus { z-index: 5; clip-path: none; color: var(--deep); background: var(--light); padding: 8px 12px; }
.site-header { background: var(--deep); color: var(--light); }
.masthead { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); position: relative; min-height: var(--header); border-bottom: 1px solid var(--deep-line); }
.brand { display: inline-flex; gap: 10px; align-items: center; width: fit-content; font-size: 22px; font-weight: 700; line-height: 1; }
.brand img { width: 34px; border-radius: 7px; }
.masthead .brand { flex: none; font-size: 26px; }
.brand-mark { position: relative; display: block; flex: none; width: 54px; overflow: hidden; border-radius: 10px; }
.brand-mark img { width: 100%; height: auto; border-radius: 0; }
.site-nav { display: flex; margin-inline-start: auto; align-items: center; gap: clamp(16px, 2.2vw, 34px); color: var(--light-muted); font-size: 17px; font-weight: 530; }
.site-nav a { display: flex; align-items: center; min-height: 48px; white-space: nowrap; }
.site-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; color: var(--light); }
.nav-end { display: flex; align-items: center; gap: 9px; }
.button, .menu { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 9px 18px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap; transition: color 160ms, background-color 160ms, border-color 160ms, translate 160ms; }
.button-primary { color: var(--light); background: #2b2e34; }
.button-primary:hover { background: #181a1e; }
.button-secondary { border-color: #a1a4ad; background: transparent; }
.button-secondary:hover { background: var(--canvas); }
.button:active, .menu:active { translate: 0 1px; }
.site-header .button, .menu { min-height: 44px; padding: 8px 14px; border-color: #62656e; color: var(--light); background: transparent; }
.site-header .button:hover, .menu:hover { background: #2c2e34; border-color: #b9bcc4; }
.menu { display: none; }
.underlink, .text-link { display: inline-flex; align-items: center; min-height: 42px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.underlink:hover, .text-link:hover { text-decoration-thickness: 2px; }

.ir-home .site-header, .ir-hero { background: #000; }
.ir-hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: clamp(600px, calc(100svh - var(--header)), 750px); color: var(--light); }
.ir-hero::before {
  --grid-cell: 46px;
  --grid-line: rgb(220 226 236 / 10%);
  --grid-major: rgb(220 226 236 / 6%);
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-major) 1px, transparent 1px);
  background-position: center;
  background-size:
    var(--grid-cell) var(--grid-cell), var(--grid-cell) var(--grid-cell),
    calc(3 * var(--grid-cell)) calc(3 * var(--grid-cell)), calc(3 * var(--grid-cell)) calc(3 * var(--grid-cell));
  mask-image: radial-gradient(ellipse 67% 58% at 71% 45%, #000 14%, rgb(0 0 0 / 72%) 42%, transparent 100%);
  opacity: .8;
}
.hero-stage { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(16px, 4vw, 56px); padding-block: clamp(32px, 5vh, 62px); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(44px, 5.5vw, 82px); line-height: 1.1; text-wrap: balance; }
.hero-copy h1:lang(zh) { font-size: clamp(41px, 5.15vw, 76px); }
.hero-copy > p { margin-top: 24px; max-width: 29em; font-size: clamp(16px, 1.55vw, 20px); color: var(--light-muted); text-wrap: balance; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 30px; }
.hero-support { width: min(100%, 370px); margin-top: clamp(26px, 5vh, 47px); border-top: 1px solid var(--deep-line); padding-top: 12px; }
.hero-support p { color: var(--light-muted); font-size: 13px; }
.hero-support dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 7px; font-size: 14px; line-height: 1.5; }
.hero-support dl > div + div { padding-inline-start: 14px; border-inline-start: 1px solid var(--deep-line); }
.hero-support dt { font-weight: 610; font-variant-numeric: tabular-nums; }
.hero-support dd { color: var(--light-muted); }
.ir-hero .button-primary { color: var(--deep); background: var(--silver); padding-inline: 22px; }
.ir-hero .button-primary:hover { background: #ffffff; }
.ir-hero .underlink { color: var(--light); }
.mark-plate { position: relative; width: 100%; max-width: 620px; aspect-ratio: 620 / 540; justify-self: end; display: grid; place-items: center; }
.plate-lines { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #575b65; stroke-width: 1; }
.plate-arcs { stroke: #8b909a; stroke-width: 1.25; }
.plate-ticks { stroke: #777d87; stroke-width: 2.2; stroke-dasharray: 1.2 14; opacity: .36; }
.plate-scan { stroke: #edf1f7; stroke-width: 1.8; stroke-dasharray: 106 1283; stroke-linecap: round; opacity: 0; }
.mark-plate img { width: 53%; aspect-ratio: 1; position: relative; }
.mark-plate:hover .plate-arcs { stroke: #bfc5d0; }
.repo-rail { display: flex; align-items: center; justify-content: space-between; gap: 14px 30px; padding-block: 19px 18px; border-top: 1px solid var(--deep-line); }
.source-field { min-width: 0; }
.source-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.source-line { display: flex; align-items: stretch; gap: 7px; }
.source-line input { min-width: 0; width: 100%; max-width: 330px; color: var(--ink); background: transparent; border: 1px solid #a1a4ad; border-radius: 4px; min-height: 44px; padding: 8px 10px; font: 14px/1.3 var(--mono); }
.source-line button { min-height: 44px; }
.copy-status { min-height: 1.45em; margin-top: 2px; font-size: 13px; color: var(--muted); }
.repo-rail .source-field { display: grid; grid-template-columns: max-content minmax(228px, 330px) minmax(0, 1fr); align-items: center; column-gap: 16px; }
.repo-rail label { margin: 0; color: var(--light-muted); }
.repo-rail input { min-height: 42px; color: var(--light); border-color: #666a73; }
.repo-rail .button { min-height: 42px; color: var(--light); border-color: #666a73; background: transparent; padding-inline: 12px; }
.repo-rail .button:hover { background: #2c2e34; }
.repo-rail .copy-status { color: var(--light-muted); margin: 0; }
.repo-rail > .underlink { white-space: nowrap; }

.walkthrough { padding-block: clamp(48px, 6vw, 86px); }
.walk-grid { display: grid; grid-template-columns: minmax(205px, .52fr) minmax(0, 1.48fr); gap: clamp(26px, 5vw, 69px); }
.walk-index h2, .reference h2 { font-size: clamp(31px, 4vw, 56px); text-wrap: balance; }
.walk-tabs { display: grid; margin-block: 31px 17px; border-top: 1px solid var(--line); }
.walk-tabs button { display: grid; grid-template-columns: 33px 1fr; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; text-align: start; font-weight: 560; line-height: 1.35; }
.walk-tabs button:hover, .walk-tabs button[aria-selected="true"] { color: var(--ink); background: #e2e4e8; }
.walk-tabs button[aria-selected="true"] { box-shadow: inset 3px 0 #474a52; font-weight: 680; }
.step-number { color: #565b65; font: 13px/1.3 var(--mono); }
.walk-index > .underlink { margin-top: 8px; }
.walk-panels { min-width: 0; }
.walk-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(195px, .73fr); gap: clamp(19px, 4vw, 55px); align-items: center; border-block: 1px solid var(--line); padding-block: 16px; }
.walk-step + .walk-step { margin-top: 24px; }
.js .walk-step { margin-top: 0; }
.walk-detail { min-width: 0; padding-block: 12px; }
.walk-detail h3 { font-size: clamp(22px, 2.35vw, 32px); text-wrap: balance; }
.walk-description { max-width: 26em; color: var(--muted); margin-top: 12px; }
.walk-detail .source-field { max-width: 365px; margin-top: 19px; }
.walk-actions { margin-top: 12px; }
.walk-actions .button { min-height: 42px; gap: 8px; }
.walk-visual { min-width: 0; display: grid; place-items: center; padding: 14px; background: var(--canvas); }
.walk-visual > img { width: min(100%, 220px); border: 1px solid #b8bbc3; border-radius: 9px; background: #fff; }

.reference { padding-block: clamp(54px, 8vw, 105px); background: var(--canvas); border-top: 1px solid var(--line); }
.reference-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 9vw, 142px); }
.reference p { max-width: 28em; margin-top: 13px; color: var(--muted); }
.versions { border-top: 1px solid #b4b7bf; margin-block: 25px 10px; }
.versions > div { display: grid; grid-template-columns: 1fr 1fr; padding: 13px 0; border-bottom: 1px solid #b4b7bf; }
.versions dt { font-weight: 600; font-variant-numeric: tabular-nums; }
.versions dd { color: var(--muted); }
.reference-nav h2 { font-size: clamp(28px, 3.3vw, 44px); }
.reference-nav ul { padding: 0; margin-block: 17px 8px; list-style: none; border-top: 1px solid #b4b7bf; }
.reference-nav li { border-bottom: 1px solid #b4b7bf; }
.reference-nav li a { display: flex; align-items: center; min-height: 41px; }
.reference-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { color: var(--light); background: var(--deep); padding-block: 34px 22px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px 27px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 21px; color: var(--light-muted); font-size: 14px; }
.copyright { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--deep-line); color: var(--light-muted); font-size: 13px; }

.inner { min-height: 62vh; padding-block: 28px clamp(54px, 8.5vw, 102px); }
.crumb { display: flex; flex-wrap: wrap; gap: 9px; font-size: 14px; color: var(--muted); }
.crumb a:hover { text-decoration: underline; }
.page-heading { margin-block: 28px 42px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.page-heading h1 { max-width: 17em; font-size: clamp(36px, 5.5vw, 68px); text-wrap: balance; }
.page-heading p { margin-top: 12px; color: var(--muted); }
.reading { display: grid; grid-template-columns: minmax(0, 1fr) 195px; gap: clamp(28px, 6vw, 90px); align-items: start; }
.reading .cms { grid-column: 1; grid-row: 1; }
.article-nav { grid-column: 2; grid-row: 1; display: grid; border-left: 1px solid var(--line); }
.article-nav a { padding: 8px 14px; color: var(--muted); font-size: 15px; }
.article-nav a:hover, .article-nav a[aria-current] { color: var(--ink); background: var(--canvas); }
.cms { min-width: 0; max-width: 775px; overflow-wrap: anywhere; font-size: clamp(16px, 1.2vw, 18px); }
.cms :is(p, span, div, li, h1, h2, h3, h4, h5, h6, td, th, font, a, strong, b, em, i) { font-family: var(--type) !important; }
.cms :is(pre, code, pre *, code *) { font-family: var(--mono) !important; }
.cms :is(h1, h2, h3) { line-height: 1.35 !important; }
.cms :is(h1, h2) { font-size: clamp(22px, 2.2vw, 31px) !important; }
.cms h3 { font-size: clamp(19px, 1.7vw, 24px) !important; }
/* The imported installation guide wraps body copy and screenshots in h1 tags. */
.cms h1:has(img, > span:only-child[style*="font-size: 14px"]) {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 400;
  letter-spacing: normal;
}
.cms :is(p, span)[style*="font-size: 14px"], .cms :is(p, span)[style*="font-size:14px"] { font-size: inherit !important; }
.cms > :first-child { margin-top: 0; }
.cms :is(h2, h3) { margin-block: 28px 10px; }
.cms p { margin-block: 12px; }
.cms a { color: #383c47; text-decoration: underline; text-underline-offset: 4px; }
.cms img { max-width: 100% !important; height: auto !important; }
.cms pre { max-width: 100%; overflow: auto; padding: 14px; background: var(--canvas); font-family: var(--mono); }
.cms table { display: block; max-width: 100%; overflow: auto; }
.guide-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.guide-links + .guide-links { margin-top: 20px; }
.guide-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 58px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.guide-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.install-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: clamp(24px, 7vw, 90px); align-items: start; }
.install-grid .source-field { max-width: 455px; margin-top: 17px; }
.install-grid .source-line input { max-width: none; }
.setup-preview { width: min(100%, 320px); border: 1px solid #b4b7bf; border-radius: 8px; overflow: hidden; }
.install-steps { padding-inline-start: 1.45em; }
.install-steps li { padding-inline-start: .22em; margin-block: 9px; }
.english-install-steps { padding-inline-start: 1.45em; }
.english-install-steps li { padding-inline-start: .3em; margin-block: 18px 32px; }
.english-install-steps img { width: min(100%, 275px); margin-top: 12px; border: 1px solid var(--line); border-radius: 9px; }
.notice, .purchase-panel { margin-block: 16px; padding: 16px 19px; border-left: 3px solid #62666f; background: var(--canvas); }
.purchase-panel p { margin-block: 10px 13px; }
.purchase-panel .text-link { margin-inline-start: 9px; }
.contact-image { width: min(100%, 719px); margin-top: 17px; }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 10px; margin-top: 20px; }
.qr-grid figure { padding: 14px; text-align: center; border-top: 1px solid var(--line); }
.qr-grid img { margin: 0 auto 8px; width: min(100%, 192px); }

@media (max-width: 990px) {
  .repo-rail .source-field { grid-template-columns: max-content minmax(228px, 300px); }
  .repo-rail .copy-status { grid-column: 2; }
}
@media (max-width: 800px) {
  :root { --header: 76px; }
  .masthead { flex-wrap: wrap; gap: 0 12px; justify-content: space-between; }
  .masthead .brand { font-size: 24px; gap: 8px; }
  .brand-mark { width: 46px; border-radius: 9px; }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0 19px; padding-bottom: 8px; font-size: 16px; }
  .js .menu { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; z-index: 4; border: 1px solid var(--deep-line); background: var(--deep); padding: 6px 12px; }
  .js .ir-home .site-nav { background: #000; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .site-nav a + a { border-top: 1px solid var(--deep-line); }
  .walk-grid { grid-template-columns: minmax(175px, .6fr) minmax(0, 1.4fr); }
  .walk-step { grid-template-columns: minmax(0, 1fr) minmax(150px, .73fr); gap: 16px; }
  .walk-visual { padding: 10px; }
}
@media (max-width: 640px) {
  .ir-hero { min-height: 0; }
  .ir-hero::before {
    --grid-cell: 34px;
    mask-image: radial-gradient(ellipse 70% 38% at 50% 70%, #000 15%, rgb(0 0 0 / 62%) 45%, transparent 100%);
  }
  .hero-stage { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 32px 4px; }
  .hero-copy h1 { font-size: clamp(42px, 10vw, 66px); }
  .hero-copy h1:lang(zh-CN) { font-size: clamp(39px, 9.3vw, 59px); }
  .hero-copy > p { margin-top: 16px; font-size: 16px; }
  .hero-actions { margin-top: 21px; gap: 12px 15px; }
  .hero-support { margin-top: 24px; }
  .mark-plate { width: min(95%, 300px); justify-self: center; }
  .repo-rail { display: block; padding-block: 12px 9px; }
  .repo-rail .source-field { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .repo-rail .copy-status { grid-column: 1; }
  .repo-rail > .underlink { min-height: 31px; font-size: 13px; }
  .walk-grid, .reference-grid, .reading, .install-grid { grid-template-columns: minmax(0, 1fr); }
  .walk-grid { gap: 16px; }
  .walk-step { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 8px 13px; }
  .walk-detail { padding-block: 8px 0; }
  .walk-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 21px 2px; }
  .walk-tabs button { grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 65px; padding-inline: 7px; font-size: 14px; overflow-wrap: anywhere; }
  .walk-tabs button[aria-selected="true"] { box-shadow: inset 0 -2px #474a52; }
  .walk-index > .underlink { font-size: 14px; }
  .reference-grid { gap: 41px; }
  .reading .cms { grid-column: 1; grid-row: 2; }
  .article-nav { grid-column: 1; grid-row: 1; display: flex; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--line); }
  .article-nav a { padding: 7px 8px; font-size: 13px; }
  .page-heading { margin-block: 23px 25px; padding-bottom: 17px; }
  .guide-links { gap: 0 13px; }
  .purchase-panel .text-link { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .ir-hero::before { animation: ir-grid-light 1.65s ease-in-out 650ms; }
  .ir-home .brand-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(111deg, transparent 36%, rgb(255 255 255 / 46%) 50%, transparent 64%);
    animation: ir-brand-glint 700ms cubic-bezier(.2,.65,.35,1) 130ms both;
  }
  .plate-scan { transform-box: view-box; transform-origin: center; animation: ir-ring-pass 1.65s cubic-bezier(.24,.55,.31,.98) 650ms both; }
  .mark-plate img { animation: ir-mark-light 950ms ease-in-out 600ms both; }
  .plate-arcs { transition: stroke .25s; }
  @keyframes ir-grid-light {
    0%, 100% { opacity: .8; }
    40% { opacity: 1; }
  }
  @keyframes ir-brand-glint {
    from { transform: translateX(-120%); }
    to { transform: translateX(120%); }
  }
  @keyframes ir-ring-pass {
    0% { transform: rotate(-72deg); opacity: 0; }
    19% { opacity: .82; }
    70% { opacity: .54; }
    100% { transform: rotate(288deg); opacity: 0; }
  }
  @keyframes ir-mark-light {
    0%, 100% { filter: brightness(1); }
    42% { filter: brightness(1.16); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
