:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #1D4ED8;
  --accent-light: #92b3ff;
  --night: #0b1422;
  --line: #dce3eb;
  --header-height: 72px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.65; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hero :focus-visible { outline-color: var(--accent-light); }
.wrap { width: min(1200px, calc(100% - clamp(36px, 9vw, 128px))); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: #fff;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: calc(var(--header-height) - 1px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  padding-block: 5px;
}
.brand img { width: 40px; height: 40px; flex: none; }
.brand-label { display: grid; gap: 3px; line-height: 1.2; }
.brand-primary { font-size: 1.0625rem; font-weight: 760; }
.brand-secondary { color: var(--muted); font-size: .75rem; font-weight: 600; }
.brand-business { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.65vw, 40px); }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 12px; }
.site-nav a, .language-nav a, .account-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 620;
  white-space: nowrap;
}
.site-nav a { color: var(--muted); }
.site-nav a:hover, .language-nav a:hover { color: var(--accent); }
.language-nav { display: flex; align-items: center; justify-self: end; color: var(--muted); }
.language-nav a { justify-content: center; min-width: 44px; padding-inline: 6px; }
.language-nav a[aria-current] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.language-nav span { color: #6b7280; }
.account-link {
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #c2d2f8;
  border-radius: 5px;
  background: #f2f6ff;
  color: var(--accent);
  line-height: 1.25;
}
.account-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 72% 0%, #162235, transparent 67%), var(--night);
  color: #fff;
  border-bottom: 3px solid var(--accent);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  min-height: 520px;
  gap: clamp(28px, 5vw, 78px);
  padding-block: clamp(42px, 5vw, 66px);
}
.eyebrow {
  color: #d1dbe8;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
  font: 700 .8125rem/1.45 system-ui, sans-serif;
  letter-spacing: .13em;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent-light); }
.hero h1 {
  font-size: clamp(3.75rem, 5.4vw, 5.25rem);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -.055em;
}
:lang(en) .hero h1 { font-size: clamp(2.5rem, 4.25vw, 4.5rem); }
.hero h1 span { display: block; color: var(--accent-light); }
.hero-summary {
  max-width: 27em;
  margin-top: 22px;
  color: #c7d3e2;
  font-size: 1.0625rem;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .9375rem;
  font-weight: 700;
  transition: background-color .15s, border-color .15s, color .15s;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #193da8; }
.button-outline { border-color: #526275; color: #edf2f8; }
.button-outline:hover { background: #ffffff12; border-color: #9fb2c8; }
.hero-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid #4d5a6c;
  border-radius: 8px;
  background: #0d1420;
}
.hero-figure img { width: 100%; aspect-ratio: 1.54; object-fit: cover; }

.section { padding-block: clamp(54px, 6.2vw, 90px); }
.section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.section-heading h2::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 15px;
  background: var(--accent);
}
.section-heading p { margin-top: 13px; color: var(--muted); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(17px, 2vw, 27px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.service-card-primary { background: #f2f6ff; border-color: #c2d2f8; }
.service-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: #f2f5f8;
  border-radius: 5px;
  color: var(--muted);
}
.service-card-primary .service-mark { background: #e0eaff; color: var(--accent); }
.mark { display: block; position: relative; width: 23px; height: 20px; }
.mark::before, .mark::after { content: ""; position: absolute; }
.mark-probe::before { inset: 13px 0 1px; border: 1.5px solid; border-radius: 2px; }
.mark-probe::after {
  inset: 2px 3px auto auto;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: rotate(-53deg);
  transform-origin: right center;
}
.mark-thin::before {
  inset: 4px 1px 4px;
  border-block: 2px solid;
  transform: skewY(-14deg);
}
.mark-thin::after { inset: 9px 3px auto; border-top: 1px solid; transform: skewY(-14deg); }
.mark-dice::before {
  inset: 0 2px;
  border: 1.5px solid;
  background: linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
              linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.mark-dice::after { display: none; }
.mark-metal::before { inset: 3px 1px 8px; border: 1.5px solid; border-radius: 50%; }
.mark-metal::after { inset: 7px 1px 0; border-bottom: 2px solid; border-radius: 50%; }
.service-card h3 { font-size: 1.1875rem; line-height: 1.4; font-weight: 750; }
.service-card h3 span { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.service-card p { margin: 8px 0 15px; color: var(--muted); }
.service-card a {
  margin-top: auto;
  padding-block: 8px 3px;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: #88a1df;
  text-underline-offset: 4px;
}
.service-card a:hover { text-decoration-color: currentColor; }

.prepare { background: #f4f7fa; border-block: 1px solid var(--line); }
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: clamp(36px, 6.5vw, 100px);
}
.download { margin-top: 24px; }
.materials { background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.material { padding: 21px clamp(18px, 3vw, 32px); }
.material + .material { border-top: 1px solid var(--line); }
.material:target { background: #eaf0ff; }
.material h3 { font-size: 1.125rem; font-weight: 750; }
.material ul { margin: 7px 0 0; padding-left: 1.18em; color: var(--muted); }
.material li + li { margin-top: 3px; }
.material li::marker { color: var(--accent); }
.material strong { color: var(--ink); margin-right: .7em; }
:lang(en) .material strong { display: block; margin-right: 0; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 16px;
  padding: 17px 2px;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 16px;
  height: 16px;
  background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat,
              linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat;
}
.faq-list details[open] summary::after { background-size: 100% 2px, 0 0; }
.faq-list summary:hover { color: var(--accent); }
.faq-list p { padding: 0 24px 18px 2px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 24px;
  padding-block: 23px 13px;
  font-size: .875rem;
}
.footer-inner .brand img { width: 34px; height: 34px; }
.footer-inner .brand-primary { font-size: .9375rem; }
.footer-meta, .footer-links { display: flex; flex-wrap: wrap; align-items: baseline; }
.footer-meta {
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 3px 14px;
  padding-top: 9px;
  border-top: 1px solid #edf0f4;
}
.footer-links { gap: 0 22px; }
.release-version { color: #626f80; font-size: .8125rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-inner a:hover { color: var(--accent); }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  :root { --header-height: 110px; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(65px, auto) 44px;
    gap: 0 10px;
    background: linear-gradient(#ecf0f4, #ecf0f4) center bottom 44px / 100% 1px no-repeat;
  }
  .header-actions { display: contents; }
  .account-link { grid-area: 1 / 2; justify-self: end; }
  .language-nav { grid-area: 2 / 2; }
  .site-nav { grid-area: 2 / 1; }
}

@media (max-width: 720px) {
  .header-inner .brand { gap: 6px; }
  .header-inner .brand img { width: 29px; height: 29px; }
  .header-inner .brand-primary { font-size: .875rem; }
  .header-inner .brand-secondary { font-size: .6875rem; }
  .site-nav a, .language-nav a, .account-link { font-size: .875rem; }
  .account-link { padding-inline: 8px; }
  .site-nav { gap: clamp(10px, 3vw, 22px); }
  .hero-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 27px; padding-block: 38px 30px; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4rem); }
  :lang(en) .hero h1 { font-size: clamp(2.5rem, 8vw, 3.75rem); }
  .hero-summary { margin-top: 16px; font-size: 1rem; }
  .hero-actions { margin-top: 23px; }
  .hero-figure img { aspect-ratio: 1.65; }
  .split-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; }
  .service-card { padding: 18px; }
  .service-mark { margin-bottom: 12px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { padding-inline: 12px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 18px 13px; }
  .footer-meta { grid-row: auto; }
}

@media (max-width: 420px) {
  :lang(en) .account-link {
    max-width: 104px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 370px) {
  .header-inner { column-gap: 5px; }
  .header-inner .brand img { width: 27px; height: 27px; }
  .header-inner .brand-primary { font-size: .8125rem; }
  .site-nav { gap: 6px; }
  .site-nav a, .language-nav a, .account-link { font-size: .8125rem; }
  .language-nav a { padding-inline: 4px; }
  :lang(en) .account-link { max-width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

.material li:target {
  background: #eaf0ff;
  outline: 4px solid #eaf0ff;
  border-radius: 2px;
}

html[lang] .brand img {
  width: clamp(40px, 5vw, 56px);
  height: clamp(40px, 5vw, 56px);
  flex: none;
}
html[lang=en] .brand .brand-primary {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 750;
  line-height: 1.15;
}
