:root {
  color-scheme: dark;
  --base: #101215;
  --header: #0c0e10;
  --panel: #1b2027;
  --deep: #0b0d10;
  --text: #f3f6fb;
  --muted: #c0cbd9;
  --line: #a8bad64d;
  --blue: #1749ae;
  --blue-light: #5b99f7;
  --gutter: clamp(22px, 3.6vw, 70px);
  --content: 1600px;
  font-family: Geist, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--text); line-height: 1.65; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #a6b7ff; outline-offset: 5px; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 5; transform: translateY(-160%); padding: 8px 16px; background: var(--deep); }
.skip:focus { transform: translateY(0); }

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 calc(var(--gutter) + 12px);
  gap: clamp(18px, 2.5vw, 39px);
  background: var(--header);
  border-bottom: 1px solid #9caec34a;
  position: relative;
  z-index: 2;
}
.brand {
  display: block;
  width: clamp(131px, 11.5vw, 177px);
  position: relative;
  flex: 0 0 auto;
}
.site-header .brand { margin-right: auto; }
.brand img { width: 100%; height: auto; }
.brand-color {
  position: absolute;
  inset: 0;
  background: #00a6e4;
  mask: url("assets/logo-light.png") center / 100% 100% no-repeat;
  clip-path: inset(0 75% 0 0);
}
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.site-header nav a, .lang { font-size: 14px; font-weight: 520; white-space: nowrap; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 9px; text-decoration-color: var(--blue-light); }
.site-header nav a:hover, .lang:hover { color: #b8c8ff; }
.menu { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 41.67vw, 770px);
  display: flex;
  align-items: center;
  background: #0b0d10 url("assets/studio-dark.webp") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #06080b9c, transparent 70%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  margin-inline-start: clamp(42px, 8.25vw, 160px);
  width: min(53%, 740px);
}
.hero h1 {
  font-weight: 610;
  font-size: clamp(52px, 5.6vw, 105px);
  line-height: 1.16;
  letter-spacing: -.018em;
}
.hero h1 span { display: block; }
html[lang="en"] .hero h1 { font-size: clamp(41px, 4.9vw, 84px); }
.hero-product {
  position: absolute;
  left: 73%;
  height: 91%;
  max-width: 32%;
  bottom: 5%;
  transform: translateX(-50%);
}
.hero-product img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(1.07) drop-shadow(3px 0 4px #d2e2f16b) drop-shadow(14px 15px 16px #000d);
}
.hero-meta p {
  margin: 23px 0 30px;
  font-size: clamp(15px, 1.65vw, 24px);
  color: #e3eaf4;
}
.hero-meta .primary { border: 1px solid #74a7ff3b; }
.primary, .secondary, .more, .series-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
}
.primary {
  justify-content: center;
  min-height: 46px;
  padding: 9px clamp(16px, 2.35vw, 35px);
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
}
.primary:hover { background: #314eea; }
.secondary, .more, .series-link { color: #dce6ff; font-size: 14px; }
.secondary:hover, .more:hover, .series-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

.wrap { max-width: calc(var(--content) + var(--gutter) * 2); margin-inline: auto; padding: 68px var(--gutter); }
.series { padding-top: 0; }
.series-heading { display: grid; grid-template-columns: minmax(195px,.8fr) 3.1fr; align-items: center; border-bottom: 1px solid var(--line); }
.series-heading h2 { font-size: clamp(27px, 2.45vw, 40px); padding-inline: clamp(0px, 1.7vw, 28px); font-weight: 680; letter-spacing: -.035em; }
.series-controls { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; }
.series-controls a {
  position: relative;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  min-height: clamp(70px, 6vw, 94px);
  padding-inline: 3px;
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 560;
  color: #e9effa;
}
.series-controls a[aria-selected="true"]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue-light);
}
.series-controls a:hover { color: #b7c8ff; }
.series-panel {
  min-height: clamp(275px, 29vw, 480px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  margin-top: clamp(18px, 2.25vw, 36px);
  padding: clamp(20px, 3vw, 48px);
  background: #15191f;
  border: 1px solid #51648055;
}
.series-panel-copy { width: 41%; position: relative; z-index: 2; }
.series-panel h3 { font-size: clamp(25px, 3vw, 48px); letter-spacing: -.03em; font-weight: 590; }
.series-panel p { color: #d5ddea; margin: 8px 0 24px; }
.series-photo {
  position: absolute;
  inset: 0 0 0 35%;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 48%, #435266 0, #252e3a 34%, #15191f 74%);
}
.series-photo img {
  position: absolute;
  top: -31%;
  right: -7%;
  width: min(105%, 960px);
  max-width: none;
  height: auto;
  clip-path: var(--machine-outline);
  filter: brightness(1.05);
}
/* CSS outlines follow the original white-background photos and preserve the machine surfaces. */
.series-photo[data-model="dsml-lw-80"] { --machine-outline: polygon(32.67% 20.00%, 61.33% 15.78%, 64.67% 16.00%, 69.11% 17.78%, 69.11% 76.89%, 67.56% 78.00%, 67.78% 80.00%, 66.44% 80.67%, 64.67% 79.78%, 62.67% 81.33%, 61.56% 82.22%, 60.22% 81.56%, 60.00% 80.22%, 33.78% 77.78%, 34.00% 78.89%, 32.89% 80.00%, 31.78% 79.33%, 31.56% 77.56%, 30.67% 77.11%, 31.11% 48.67%, 33.78% 48.22%, 33.78% 33.78%, 32.67% 33.56%); }
.series-photo[data-model="dsml-bw-40"] { --machine-outline: polygon(39.56% 18.22%, 54.67% 16.67%, 57.56% 17.11%, 60.67% 18.44%, 60.67% 72.67%, 61.33% 73.56%, 61.11% 74.67%, 62.44% 75.11%, 62.44% 76.00%, 60.89% 77.11%, 60.89% 78.00%, 54.67% 80.22%, 40.00% 78.67%, 39.11% 78.00%, 38.89% 76.89%, 38.89% 48.00%, 40.00% 47.78%, 40.00% 33.56%, 39.56% 33.33%); }
.series-photo[data-model="dsml-fq-20"] { --machine-outline: polygon(39.33% 17.33%, 54.44% 15.78%, 57.56% 16.00%, 61.11% 17.56%, 61.11% 72.89%, 61.56% 74.00%, 61.33% 75.11%, 62.89% 76.00%, 62.67% 76.89%, 61.11% 78.00%, 61.11% 78.89%, 55.33% 81.11%, 39.78% 79.78%, 38.67% 78.89%, 38.67% 48.00%, 39.78% 47.78%, 39.78% 32.89%, 39.11% 32.67%); }
.sample-model {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 12px;
  background: #202731e6;
  color: #f4f7ff;
  font-size: 13px;
}
.sample-model:hover { background: #14287b; }

.introline { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.introline h2, .feature h2, .tech-text h2 { font-size: clamp(28px, 3vw, 49px); font-weight: 650; line-height: 1.22; letter-spacing: -.033em; }
.kicker { color: #9fb4ff; font-size: 13px; font-weight: 650; }
.tech-feature { isolation: isolate; display: grid; grid-template-columns: 1.05fr 1fr; background: #11171e; min-height: 390px; }
.tech-visual { position: relative; overflow: hidden; background: #16191f url("assets/studio-dark.webp") 55% 68% / cover; }
.tech-visual img { position: absolute; width: clamp(210px,35%,335px); max-width: none; left: 30%; top: 6%; filter: drop-shadow(10px 18px 16px #111725ae); }
.tech-text { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(36px,6vw,96px); }
.tech-text p, .feature p { color: var(--muted); }
.brand-story, .about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.brand-story img, .about-grid img { width: 100%; max-height: 430px; object-fit: cover; }
.feature p { max-width: 65ch; margin: 17px 0 22px; }
.advantage-preview, .advantage-details {
  display: grid;
  gap: 14px;
}
.advantage-preview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.advantage-details { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
.advantage-preview > div, .advantage-details > section {
  padding: clamp(17px, 2.3vw, 32px);
  background: var(--panel);
  border-top: 2px solid var(--blue-light);
}
.advantage-preview h3, .advantage-details h2 {
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.35;
  margin: 0 0 10px;
}
.advantage-preview p, .advantage-details p { color: var(--muted); }
.contactband { background: var(--panel); }
.contactband .wrap { padding-block: 32px; margin-bottom: 0; border-bottom: 0; }
.contactband strong { font-size: clamp(25px, 3.2vw, 44px); }
.site-footer { background: var(--deep); }
.footer-inner { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 31px var(--gutter); max-width: calc(var(--content) + var(--gutter) * 2); margin-inline: auto; }
.footer-inner .brand { width: 132px; }
.footer-organization, .footer-inner nav { font-size: 13px; color: var(--muted); }
.footer-inner .icp { display: inline-block; margin-top: 3px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 13px 21px; margin-left: auto; }
.footer-inner a:hover { text-decoration: underline; }

.pagehead { padding: clamp(36px, 5vw, 82px) var(--gutter); background: linear-gradient(105deg, #171b21, #222d3c); }
.pagehead h1 { font-size: clamp(34px, 4.2vw, 67px); line-height: 1.16; margin-top: 14px; font-weight: 650; letter-spacing: -.035em; overflow-wrap: anywhere; }
.crumb, .pagehead { color: #e3eafa; }
.body { min-height: 42vh; }
.body p { max-width: 85ch; margin: 0 0 15px; color: #dce4f0; white-space: pre-line; }
.body h2 { margin: 26px 0 15px; }
.group-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.group-links a { border: 1px solid var(--line); padding: 8px 14px; font-size: 14px; }
.group-links a:hover { background: var(--panel); }
.catalog { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 34px; }
.product { display: grid; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.product:hover { border-color: var(--blue-light); }
.product img { width: 100%; height: clamp(165px,18vw,255px); object-fit: contain; background: #fff; }
.product h3 { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 9px 14px; font-size: clamp(12px, 1.35vw, 17px); }
.product-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 28px; align-items: center; margin: 24px 0 38px; }
.product-detail > img { width: 100%; max-height: 560px; object-fit: contain; background: #fff; }
.specs { border-collapse: collapse; font-size: 14px; width: 100%; }
.specs tr { border-bottom: 1px solid var(--line); }
.specs th, .specs td { padding: 10px; text-align: left; }
.specs th { background: var(--panel); width: 38%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(255px,100%),1fr)); gap: 16px; }
.gallery a { display: block; padding: 12px; background: var(--deep); }
.gallery img { width: 100%; height: 290px; object-fit: contain; }
.technology-copy { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-bottom: 22px; }
.technology-copy section { padding: 22px; background: var(--panel); }
.technology-copy h2 { margin-top: 0; font-size: 21px; }
.technology-copy p { margin-bottom: 0; }
.news-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.news-item:hover { color: #b7c8ff; }
.news-item time, .article time { color: var(--muted); font-size: 13px; }
.article time { display: block; margin-bottom: 17px; }
.contactlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 24px; }
@media (max-width: 1020px) {
  .advantage-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 790px) {
  .site-header { padding: 10px var(--gutter); gap: 16px; flex-wrap: wrap; }
  .site-header nav { order: 5; width: 100%; gap: 12px 22px; flex-wrap: wrap; }
  .menu-ready #navigation { display: none; }
  .menu-ready.menu-open #navigation { display: flex; padding: 12px 0 8px; }
  .menu-ready .menu { display: inline-grid; width: 36px; height: 32px; align-content: center; justify-items: center; gap: 5px; background: none; color: var(--text); border: 1px solid var(--line); cursor: pointer; }
  .menu span { width: 15px; height: 1px; background: currentColor; }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero {
    min-height: max(530px, 99vw);
    align-items: flex-start;
    background-position: 67% 65%;
  }
  .hero-copy { margin: 10% var(--gutter) 0; width: calc(100% - 2 * var(--gutter)); }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(36px, 8.6vw, 61px); }
  .hero-product { height: 60%; max-width: 43%; bottom: 5%; left: 66%; }
  .hero-meta p { max-width: 17ch; margin: 15px 0 17px; font-size: 14px; }
  .hero-meta .primary { font-size: 13px; min-height: 43px; }
  .wrap { padding-block: 42px; }
  .series { padding-top: 19px; }
  .series-heading { grid-template-columns: 1fr; }
  .series-heading h2 { padding: 0; }
  .series-controls { gap: 8px; }
  .series-controls a { min-height: 50px; gap: 5px; font-size: 13px; padding-inline: 0; }
  .series-panel { min-height: 250px; padding: 18px; }
  .series-panel-copy { width: 52%; }
  .series-panel h3 { font-size: clamp(20px, 4.5vw, 32px); }
  .series-panel p { margin-bottom: 12px; font-size: 14px; }
  .series-photo { left: 37%; }
  .series-photo img { top: 0; width: max(125%, 300px); right: -27%; }
  .sample-model { font-size: 11px; padding: 5px 8px; right: 10px; bottom: 10px; }
  .introline { gap: 12px; }
  .brand-story, .about-grid, .product-detail, .technology-copy, .tech-feature { grid-template-columns: 1fr; }
  .tech-visual { min-height: 240px; }
  .tech-visual img { width: clamp(165px, 35%, 210px); left: 34%; }
  .advantage-details { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product img { height: 150px; }
  .news-item { grid-template-columns: 1fr auto; gap: 4px 15px; }
  .news-item time { grid-column: 1 / -1; }
  .footer-inner nav { margin-left: 0; }
}
@media (max-width: 360px) {
  .series-controls a { font-size: 12px; }
  .series-controls a span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
