:root {
  color-scheme: light;
  --orange: #ea580c;
  --orange-light: #f97316;
  --orange-deep: #c2410c;
  --ink: #0f172a;
  --muted: #475569;
  --night: #080e19;
  --line: #dce2ea;
  --header-height: 76px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 5px; }

.wrap {
  width: min(100% - clamp(40px, 10vw, 144px), 1248px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 12px 18px;
  background: white;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid #e7ebf0;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand { justify-self: start; }
.brand img { width: 216px; height: 54px; margin-left: -8px; }
.primary-nav { display: flex; align-items: stretch; gap: 40px; height: 100%; }

.primary-nav a {
  position: relative;
  display: grid;
  align-items: center;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.primary-nav a:hover, .primary-nav .current { color: var(--orange-deep); }
.primary-nav .current::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9375rem;
  line-height: 1.4;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.button-header {
  justify-self: end;
  min-height: 40px;
  padding-inline: 17px;
  border-color: var(--line);
}

.button-header:hover { color: var(--orange-deep); border-color: var(--orange); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#a9b5c714 1px, transparent 1px), linear-gradient(90deg, #a9b5c714 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, #0009, transparent 65%);
}

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 max(0px, calc((100% - 1540px) / 2)) 0 auto;
  width: min(71%, 896px);
  mask-image: linear-gradient(to right, transparent, #000 27%, #000 96%, transparent);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent 34%, #080e1940 48%, transparent 65%),
              linear-gradient(0deg, #080e19b3, transparent 22%, transparent 93%, #080e1940);
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(466px, 35vw, 530px);
  padding-block: 58px 66px;
}

.hero-copy { width: min(100%, 555px); }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: #e2e8f0;
  font: 650 .8125rem/1.4 system-ui, sans-serif;
  letter-spacing: .16em;
}

.hero-eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--orange-light); }

.hero h1 {
  font-size: clamp(3.25rem, 4.65vw, 5rem);
  line-height: 1.16;
  letter-spacing: -.052em;
  font-weight: 800;
}

.hero h1 span { color: var(--orange-light); }
.hero-summary {
  max-width: 380px;
  margin-top: 23px;
  color: #cbd5e1;
  font-size: 1.0625rem;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button-primary { color: var(--night); background: var(--orange); }
.button-primary:hover { background: var(--orange-light); }
.button-secondary { color: #fff; background: #080e194d; border-color: #627185; }
.button-secondary:hover { background: #223047; border-color: #a1aebf; }
.hero :focus-visible, .about :focus-visible, .site-footer :focus-visible { outline-color: var(--orange-light); }


.services { padding: 45px 0 72px; background: #f6f8fb; }
.section-heading h2, .about h2 { font-size: clamp(1.9rem, 2.75vw, 2.6rem); line-height: 1.2; letter-spacing: -.043em; }
.section-heading p { margin-top: 12px; color: var(--muted); line-height: 1.7; }
.services .section-heading { margin-bottom: 27px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card {
  display: flex;
  height: 100%;
  min-height: 218px;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.service-card:hover, .service-card:focus-visible {
  border-color: #df854f;
  box-shadow: 0 8px 24px #0f172a0d;
}
.service-card h3 { margin-top: 14px; font-size: 1.25rem; line-height: 1.35; letter-spacing: -.035em; }
.service-card p { margin: 8px 0 12px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.card-link { margin-top: auto; color: var(--orange-deep); font-size: .875rem; font-weight: 700; }
.service-card:hover .card-link, .service-card:focus-visible .card-link { text-decoration: underline; text-underline-offset: 4px; }

.service-icon {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  color: var(--orange-deep);
  background: #fff1e8;
  border-radius: 4px;
}
.glyph { position: relative; display: block; width: 21px; height: 21px; }
.glyph-wafer {
  border: 1.5px solid;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, transparent 0 4px, currentColor 4px 5px),
              repeating-linear-gradient(transparent 0 4px, currentColor 4px 5px);
}
.glyph-probe {
  width: 24px;
  height: 11px;
  margin-top: 12px;
  border: 1.5px solid;
  border-radius: 50%;
}
.glyph-probe::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 14px;
  bottom: 3px;
  left: 9px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(33deg);
}
.glyph-chip {
  width: 18px;
  height: 18px;
  border: 1.5px solid;
  border-radius: 2px;
  outline: 1px dashed;
  outline-offset: 3px;
}
.glyph-chip::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid;
}
.glyph-analysis { width: 17px; height: 17px; margin: -3px 3px 0 0; border: 1.5px solid; border-radius: 50%; }
.glyph-analysis::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 9px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(46deg);
  transform-origin: left;
}

.details-section { padding: 74px 0 80px; }
.details-layout { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.45fr); gap: clamp(25px, 7vw, 104px); }
.details-layout .section-heading p { max-width: 285px; }
.detail-list { border-top: 1px solid var(--line); }
.detail-list details { border-bottom: 1px solid var(--line); }
.detail-list summary {
  position: relative;
  min-height: 58px;
  padding: 17px 32px 17px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 700;
}
.detail-list summary::-webkit-details-marker { display: none; }
.detail-list summary::before, .detail-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 13px;
  height: 1.5px;
  background: currentColor;
}
.detail-list summary::after { transform: rotate(90deg); }
.detail-list details[open] summary::after { transform: none; }
.detail-list details[open] summary, .detail-list summary:hover { color: var(--orange-deep); }
.detail-list p { padding: 0 32px 17px 0; color: var(--muted); line-height: 1.8; }

.about { padding: 69px 0; background: var(--ink); color: #fff; }
.about-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.about p { max-width: 610px; margin-top: 14px; color: #cbd5e1; line-height: 1.85; }
.about-logo { width: min(29%, 294px); height: auto; }
.site-footer { border-top: 1px solid #2a3343; background: var(--ink); color: #cbd5e1; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 66px; font-size: .875rem; }
.site-footer a:hover { color: var(--orange-light); }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-art { width: 76%; }
  .service-grid { gap: 12px; }
  .service-card { padding-inline: 16px; }
}

@media (max-width: 800px) {
  .primary-nav { gap: 23px; }
  .brand img { width: 185px; height: auto; }
  .hero-art { width: 88%; mask-image: linear-gradient(to right, transparent, #0009 25%, #000 100%); }
  .hero-art img { object-position: 59% center; }
  .hero::after { background: linear-gradient(90deg, #080e19bb, #080e1933 74%), linear-gradient(0deg, #080e19aa, transparent 30%); }
  .hero-inner { min-height: 470px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 184px; }
}

@media (max-width: 620px) {
  :root { --header-height: 104px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: 60px 44px; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; gap: 25px; }
  .primary-nav a { font-size: .875rem; }
  .hero-inner { min-height: 480px; padding-block: 96px 58px; }
  .hero h1 { font-size: clamp(2.4rem, 9.4vw, 3.25rem); }
  .hero-art { inset: 0; width: 100%; mask-image: linear-gradient(#0009 16%, #000b 54%, transparent 96%); }
  .hero-art img { object-position: 64% center; }
  .hero-summary { max-width: 345px; font-size: 1rem; }
  .hero-actions { gap: 8px; margin-top: 22px; }
  .hero-actions .button { padding-inline: 14px; }
  .services, .details-section, .about { padding-block: 43px; }
  .details-layout { grid-template-columns: 1fr; }
  .service-card h3 { font-size: 1.0625rem; }
  .about-inner { flex-direction: column; align-items: flex-start; gap: 21px; }
  .about-logo { width: 206px; margin-left: -8px; }
}

@media (max-width: 350px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 160px; }
}

.language-nav {justify-self:end;display:flex;align-items:center;gap:.4rem;font-size:.9rem}
.language-nav [aria-current] {color:var(--orange-deep);font-weight:700}
.release {margin-inline-start:.7rem;color:#adbbcd;font-size:.75rem}
html[lang="en"] .hero h1 {font-size:clamp(2.2rem,3.65vw,4rem);letter-spacing:-.04em}
html[lang="en"] .hero-copy {max-width:min(48vw,580px)}
@media(min-width:801px){.service-grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){html[lang="en"] .hero-copy{max-width:100%}.release{display:block;margin-inline:0}}
.brand-lockup{display:inline-flex;align-items:center;gap:6px;line-height:1.12}.brand-lockup img,.brand .brand-lockup img{width:42px;height:42px;margin:0}.brand-lockup b,.brand-lockup small{display:block}.brand-lockup b{font-size:21px}.brand-lockup small{font-size:10px;letter-spacing:.055em;margin-top:4px}.signin{font-weight:600;border-right:1px solid #cbd5e1;padding-right:9px;margin-right:3px}html[lang=en] .brand-lockup b{font-size:clamp(18px,1.7vw,25px);white-space:nowrap}@media(max-width:780px){.brand-lockup b,html[lang=en] .brand-lockup b{font-size:14px}.brand .brand-lockup img{width:27px;height:27px}.brand-lockup small{font-size:8px}.language-nav{font-size:.8rem;gap:3px}}

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

@media (max-width: 480px) {
  .site-header { height: auto; }
  .header-inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 0; padding-block: 4px; }
  .header-inner .brand { grid-row: 1; }
  .language-nav { grid-row: 2; justify-self: start; }
  .primary-nav { grid-row: 3; justify-self: start; }
  :root { --header-height: 140px; }
}
