:root {
  color-scheme: light;
  --navy: #101722;
  --deep: #0b111b;
  --ink: #151d2a;
  --muted: #546172;
  --line: #dbe1e8;
  --accent: #ff7338;
  --accent-dark: #aa3a10;
  --paper: #fff;
  --bg: #f2f5f8;
  --wrap: 1240px;
  font-family: "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; object-fit: cover; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.035em; }
:lang(zh) h2, :lang(zh) h3 { letter-spacing: normal; }
:focus-visible { outline: 3px solid #167fc6; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -6rem; padding: .7rem 1rem; background: white; z-index: 5; }
.skip:focus { top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.header { position: sticky; top: 0; z-index: 4; background: var(--deep); color: white; border-bottom: 1px solid #27313e; }
.header-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .65rem; font-weight: 850; font-size: 1.12rem; letter-spacing: .09em; line-height: 1; }
.brand small { display: block; margin-top: .27rem; font-size: .65rem; letter-spacing: .15em; font-weight: 650; color: #aeb9c8; }
.brand img { width: 2.45rem; height: 2.45rem; background: white; border-radius: 3px; }
.header nav, .header-actions { display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 2rem); }
.header nav a { font-size: .9rem; color: #dbe3ee; white-space: nowrap; }
.header nav a:hover, .footer a:hover { color: var(--accent); }
.language, .menu-control { padding: .3rem .5rem; min-height: 38px; color: #e0e7f0; background: transparent; border: 1px solid #4a5360; border-radius: 3px; font-size: .88rem; white-space: nowrap; }
.language:hover, .menu-control:hover { border-color: var(--accent); }
.menu-control { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .73rem 1.14rem; background: var(--accent); color: var(--deep); border: 1px solid transparent; border-radius: 3px; font-size: .94rem; font-weight: 750; line-height: 1.3; text-align: center; }
.button:hover { background: #ff945e; }
.button.button-small { min-height: 40px; padding: .62rem .85rem; white-space: nowrap; font-size: .88rem; }
.button-outline { color: white; background: #10172266; border-color: #778596; }
.button-outline:hover { color: white; background: #253344; border-color: #bcc8d8; }
.hero { background: radial-gradient(ellipse at 73% 54%, #30445a 0%, #101a28 65%); color: white; }
.hero-visual { min-width: 0; margin: 0; }
.hero-visual img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 14px 15px #070c1696); }
.hero-content { min-height: clamp(480px, 43vw, 640px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); align-items: center; gap: clamp(1.8rem, 4vw, 4rem); padding-block: clamp(3rem, 5vw, 5rem); }
.hero-copy { max-width: 540px; }
.eyebrow { margin: 0 0 .95rem; color: var(--accent-dark); font-weight: 760; font-size: .85rem; letter-spacing: .13em; }
.hero .eyebrow, .inquiry .eyebrow { color: #ff8855; }
.hero h1 { font-size: clamp(3.6rem, 6vw, 6.3rem); font-weight: 830; line-height: .95; letter-spacing: -.065em; }
.hero-lead { margin: .22em 0 .25em; font-size: clamp(1.7rem, 3vw, 2.95rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.2; }
.hero-description { max-width: 400px; color: #c8d3e1; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.55rem; }
.source-link { text-decoration: underline; text-underline-offset: .2em; }
.source-link:hover { color: var(--accent-dark); }
.metrics { background: #192533; color: white; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metrics-grid > div { padding: 1.32rem 1.45rem; border-inline-start: 1px solid #465363; }
.metrics-grid > div:first-child { padding-inline-start: 0; border: 0; }
.metrics-grid strong { display: block; line-height: 1.2; font-size: clamp(1.65rem, 3.4vw, 2.55rem); font-weight: 760; letter-spacing: -.045em; }
.metrics-grid span { color: #c3d0df; display: block; margin-top: .26rem; font-size: .9rem; }
.section { padding-block: clamp(3.7rem, 7vw, 7rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.25rem); font-weight: 790; }
h3 { font-size: 1.46rem; font-weight: 730; }
.section-note { color: var(--muted); max-width: 355px; margin: 0; }
.text-button { border: 1px solid #aeb9c6; border-radius: 3px; background: white; color: var(--ink); padding: .65rem .85rem; font-size: .92rem; font-weight: 650; white-space: nowrap; }
.text-button:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.spec-grid { display: grid; grid-template-columns: .8fr 1.65fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.spec-intro { padding-top: .5rem; }
.spec-intro p { margin-top: .8rem; color: var(--muted); }
.spec-intro .muted { margin-top: 1.5rem; font-size: .88rem; }
.table-block { border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
td, th { padding: .65rem 1rem; border-top: 1px solid var(--line); text-align: left; font-size: .95rem; }
th { width: 51%; color: var(--muted); font-weight: 550; }
td { font-weight: 690; }
tbody tr:nth-child(even) { background: #f7f9fb; }
.applications { background: var(--bg); }
.model-filters:not([hidden]) { display: flex; flex-wrap: wrap; gap: .5rem; }
.model-filters button { border: 1px solid #aeb9c6; border-radius: 3px; background: white; padding: .5rem .85rem; color: var(--ink); font-size: .9rem; font-weight: 680; }
.model-filters button:hover { border-color: var(--accent-dark); }
.model-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.result-count { margin: .7rem 0 1.1rem; color: var(--muted); font-size: .88rem; }
.part-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 1.1rem; }
.part { background: white; border: 1px solid var(--line); }
.part img { height: auto; aspect-ratio: 1.65; padding: .6rem; object-fit: contain; background: #fcfcfc; border-bottom: 1px solid var(--line); }
.part-body { padding: 1.4rem; }
.part-description { margin: .75rem 0; color: var(--muted); }
.part-meta { margin: 0 0 .55rem; font-size: .9rem; font-weight: 700; color: var(--accent-dark); }
.product-spec { margin-bottom: .85rem; border-top: 1px solid var(--line); }
.product-spec summary { padding: .55rem 0; font-size: .9rem; }
.product-spec table { margin-bottom: .55rem; }
.product-spec :is(th, td) { font-size: .85rem; padding: .45rem .5rem; overflow-wrap: anywhere; }
.model-inquiry { display: inline-flex; white-space: normal; }
.model-actions, .video-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.video-entry { display: inline-flex; align-items: center; gap: .45rem; white-space: normal; }
.video-entry::before { content: ""; border-block: .34em solid transparent; border-left: .55em solid currentColor; }
.video-dialog { width: min(640px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--paper); }
.video-dialog::backdrop { background: #0b111bcc; }
.video-dialog [hidden] { display: none; }
.video-dialog-header { display: flex; justify-content: space-between; align-items: start; gap: .8rem; margin-bottom: 1.2rem; }
.video-dialog-header .eyebrow { margin-bottom: .45rem; }
.video-dialog-header h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); overflow-wrap: anywhere; }
.video-dialog video { width: 100%; max-height: 55vh; margin-bottom: 1rem; background: var(--deep); }
.video-empty, .video-error { color: var(--muted); }
.video-dialog-actions { margin-top: 1rem; }
.catalog-software { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem; align-items: center; margin-top: 2rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: white; }
.catalog-software img { height: auto; object-fit: contain; }
.catalog-software h3 + p { margin-top: .75rem; color: var(--muted); }
.support-grid, .inquiry-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); }
.about { background: var(--bg); }
.about h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.about p { color: var(--muted); }
.about .eyebrow { color: var(--accent-dark); }
.support-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 1rem 0; font-size: 1.1rem; font-weight: 720; cursor: pointer; }
summary::marker { color: var(--accent-dark); }
details p { margin: 0 0 1rem 1rem; color: var(--muted); }
.inquiry { background: var(--navy); color: white; }
.inquiry h2 + p { margin-top: 1.05rem; max-width: 360px; color: #c6d2df; }
.sales-contact { margin-top: 1.45rem; border-top: 1px solid #506073; color: #e3eaf3; font-style: normal; }
.sales-contact p { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: .6rem; padding: .75rem 0; margin: 0; border-bottom: 1px solid #506073; }
.sales-contact p > span:first-child { font-weight: 720; }
.sales-contact a { color: #ffae87; text-decoration: underline; text-underline-offset: .18em; overflow-wrap: anywhere; width: fit-content; }
.wechat-contact { display: flex; align-items: center; gap: .9rem; margin: 1.15rem 0 0; color: #e3eaf3; }
.wechat-contact a { flex: 0 0 9.5rem; border: 2px solid white; border-radius: 3px; background: white; }
.wechat-contact img { display: block; height: auto; }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid label { display: grid; gap: .35rem; font-size: .91rem; font-weight: 640; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; padding: .56rem .7rem; border: 1px solid #617387; border-radius: 3px; background: #1e2a3a; color: white; font-size: 1rem; }
.form-grid select { appearance: none; padding-inline-end: 2rem; background-image: linear-gradient(45deg, transparent 50%, #c6d2df 50%), linear-gradient(135deg, #c6d2df 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form-grid textarea { resize: vertical; }
.form-grid textarea::placeholder { color: #afbecd; }
.form-note { margin: 1rem 0; color: #c6d2df; font-size: .88rem; }
.form-status { margin: .7rem 0 0; color: #ffae87; }
.footer { padding-block: 1.55rem; background: var(--deep); color: #c6d2df; border-top: 1px solid #344152; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; }
.footer .brand { color: white; }
.footer .footer-inner > a:last-child, .footer-inner > span { font-size: .9rem; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: .85rem; }
  .header nav, .header-actions { gap: .85rem; }
}
@media (max-width: 840px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; flex-wrap: wrap; }
  .menu-control { display: inline-flex; order: 1; align-items: center; }
  .header-actions { margin-left: auto; }
  .header nav { display: none; order: 2; width: 100%; padding-bottom: .8rem; flex-wrap: wrap; }
  .header nav.open { display: flex; }
  .hero-content { min-height: 0; grid-template-columns: 1fr; padding-block: 2.8rem 1.6rem; }
  .hero-visual { max-width: 600px; width: 100%; margin-inline: auto; }
  .hero-copy { max-width: 440px; }
  .hero-description { max-width: 310px; }
  .spec-grid, .support-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .header .button-small { display: none; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.4rem); }
  .hero-lead { font-size: 1.65rem; }
  .hero-description { max-width: none; }
  .hero-actions { gap: .52rem; }
  .hero-actions .button { padding-inline: .65rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid > div { padding: .95rem .8rem; }
  .metrics-grid > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .metrics-grid > div:nth-child(n+3) { border-top: 1px solid #465363; }
  .section-heading { align-items: start; flex-direction: column; gap: .8rem; margin-bottom: 1.4rem; }
  .part-grid, .form-grid { grid-template-columns: 1fr; }
  .catalog-software { grid-template-columns: 1fr; gap: 1.05rem; }
  td, th { padding-inline: .65rem; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  body { color: black; }
  .header, .skip, .hero, .metrics, .applications, .support, .about, .inquiry, .footer, .print-control { display: none; }
  #specifications { display: block; padding: 0; }
  #specifications .wrap { width: 100%; }
  #specifications .wrap::before { content: "HONGMASTER"; display: block; margin-bottom: 1rem; font-weight: 800; }
  .spec-grid { display: block; }
  .section-heading { margin-bottom: 1rem; }
}
