/* ==========================================================================
   鉴芯半导体 官网样式  |  jxinspect — site styles
   结构装置：切割道（scribe street）——1px 细线构成的芯片阵列网格
   Structural device: the scribe street — 1px rules forming a die array grid
   ========================================================================== */

:root {
  --ink:    #0B1822;   /* 墨蓝，正文与深底 */
  --ink-80: #24333F;
  --navy:   #21608E;   /* 品牌深蓝 */
  --sky:    #77C2ED;   /* 品牌亮蓝 */
  --paper:  #EFF3F6;   /* 晶圆冷灰 */
  --white:  #FFFFFF;
  --steel:  #526878;   /* 次级文字 */
  --flag:   #C4407A;   /* 红外伪彩 — 仅用于缺陷标记 */

  --rule:      rgba(33, 96, 142, 0.20);   /* 切割道，浅底 */
  --rule-dark: rgba(119, 194, 237, 0.20); /* 切割道，深底 */

  --gutter: 32px;
  --max: 1240px;

  --f-sans: "IBM Plex Sans", "Noto Sans SC", "PingFang SC",
            "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.24; letter-spacing: -0.012em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: 1.24rem; line-height: 1.62; color: var(--ink-80); max-width: 38em; }
.muted { color: var(--steel); font-size: .875rem; line-height: 1.6; }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------- 页眉 header */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 243, 246, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex; align-items: center; gap: 28px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; display: block; width: 32px; height: 44px; }
.brand-name { font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; }
.brand-sub { display: block; font-size: .72rem; font-weight: 400; color: var(--steel);
             letter-spacing: .02em; line-height: 1.3; margin-top: 1px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 13px; font-size: .935rem; color: var(--ink-80);
  text-decoration: none; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }

.lang {
  margin-left: 10px; padding: 5px 12px; font-size: .84rem; font-weight: 500;
  color: var(--navy); text-decoration: none;
  border: 1px solid var(--rule); background: transparent;
}
.nav a.lang:hover, .nav a.lang:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px; padding: 0;
  background: none; border: 1px solid var(--rule); color: var(--ink); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 17px; height: 1.5px; background: currentColor; content: "";
}
.nav-toggle span { margin: 0 auto; position: relative; }
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after  { position: absolute; top: 5px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 6px var(--gutter) 14px;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--navy); }
  .lang { margin: 12px 0 0; text-align: center; }
}

/* --------------------------------------------------------------- 按钮 buttons */

.btn {
  display: inline-block; padding: 12px 24px; font-size: .955rem; font-weight: 500;
  text-decoration: none; border: 1px solid var(--navy); background: var(--navy);
  color: var(--white); transition: background .16s ease, color .16s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { border-color: var(--sky); background: var(--sky); color: var(--ink); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-outline-light { border-color: var(--rule-dark); background: transparent; color: var(--sky); }
.btn-outline-light:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- 版块 sections */

.section { padding: 84px 0; border-top: 1px solid var(--rule); }
.section:first-of-type { border-top: none; }
.section-dark { background: var(--ink); color: var(--paper); border-top: none; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lede { color: rgba(239, 243, 246, .78); }
.section-dark a:not(.btn) { color: var(--sky); }

.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }

/* --------------------------------------------------------------- 首页头图 hero */

.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
  padding-top: 76px; padding-bottom: 76px;
}
.hero-kicker {
  font-size: .9rem; color: var(--sky); margin-bottom: 20px;
  padding-left: 14px; border-left: 2px solid var(--sky);
}
.hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.26; color: var(--white);
  margin-bottom: 24px; max-width: 15em;
}
.hero p { color: rgba(239, 243, 246, .76); max-width: 34em; font-size: 1.045rem; }
.hero .btn-row { margin-top: 32px; }

/* 芯片阵列动画 die array animation */
.array-panel { border: 1px solid var(--rule-dark); padding: 22px 22px 18px; }
.array-stage {
  display: flex; align-items: center; gap: 10px;
  font-size: .855rem; color: var(--steel); margin-bottom: 16px;
  min-height: 22px;
}
.array-stage b { font-weight: 500; color: var(--sky); }
.array-dot { width: 6px; height: 6px; flex: none; background: var(--sky); }
.array-svg { display: block; width: 100%; height: auto; }
.array-legend {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-dark);
  font-size: .8rem; color: var(--steel);
}
.array-legend span { display: inline-flex; align-items: center; gap: 7px; }
.array-legend i { width: 9px; height: 9px; display: block; }
.hero .hero-caption { margin-top: 14px; font-size: .78rem; line-height: 1.55; color: var(--steel); }

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* --------------------------------------------------------------- 芯片网格 die grid */

.diegrid {
  display: grid; gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
}
.diegrid > * { background: var(--paper); padding: 34px 30px; }
.section-dark .diegrid { background: var(--rule-dark); border-color: var(--rule-dark); }
.section-dark .diegrid > * { background: var(--ink); }
.diegrid-3 { grid-template-columns: repeat(3, 1fr); }
.diegrid-2 { grid-template-columns: repeat(2, 1fr); }
.diegrid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .diegrid-3, .diegrid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .diegrid { grid-template-columns: 1fr !important; } }

.die-code {
  font-size: .78rem; font-weight: 600; letter-spacing: .09em;
  color: var(--navy); margin-bottom: 14px;
}
.section-dark .die-code { color: var(--sky); }
.die h3 { font-size: 1.16rem; margin-bottom: 6px; }
.die-spec {
  font-size: .885rem; color: var(--navy); margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.section-dark .die-spec { color: var(--sky); }
.die p { font-size: .945rem; color: var(--ink-80); }
.section-dark .die p { color: rgba(239, 243, 246, .74); }

/* --------------------------------------------------------------- 流程 flow */

/* 设备图与纵向流程并排 */
.machine {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px; align-items: center;
}
.machine-shot { margin: 0; }
.machine-shot img { display: block; width: 100%; height: auto; }
.machine-shot figcaption {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule);
  font-size: .82rem; color: var(--steel);
}
.machine-flow h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 28px; }
@media (max-width: 900px) {
  .machine { grid-template-columns: 1fr; gap: 40px; }
  .machine-shot img { max-width: 340px; margin: 0 auto; }
}

/* 纵向流程 */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: fs; }
.flow-step {
  counter-increment: fs;
  position: relative; padding: 16px 0 16px 46px;
  border-top: 1px solid var(--rule);
}
.flow-step:last-child { border-bottom: 1px solid var(--rule); }
.flow-step::before {
  content: counter(fs); position: absolute; left: 0; top: 18px;
  width: 26px; height: 26px; line-height: 26px; text-align: center;
  font-size: .8rem; font-weight: 500;
  color: var(--navy); border: 1px solid var(--rule);
}
.flow-step b { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.flow-step span { font-size: .88rem; color: var(--steel); }
.flow-step.is-optics b { color: var(--navy); }
.flow-step.is-ir b { color: var(--flag); }
.flow-step.is-ir::before { color: var(--flag); }

/* --------------------------------------------------------------- 规格表 spec table */

.specset { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 40px; }
.specset + .specset { margin-top: 8px; padding-top: 40px; border-top: 1px solid var(--rule); }
.specset h3 { font-size: 1.05rem; padding-top: 14px; }
.spectable { width: 100%; border-collapse: collapse; }
.spectable th, .spectable td {
  text-align: left; vertical-align: top;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  font-size: .955rem;
}
.spectable tr:first-child th, .spectable tr:first-child td { border-top: 1px solid var(--rule); }
.spectable th { font-weight: 400; color: var(--steel); width: 40%; padding-right: 24px; }
.spectable td { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 780px) {
  .specset { grid-template-columns: 1fr; gap: 0; }
  .specset h3 { padding-top: 0; margin-bottom: 12px; }
  .specset + .specset { margin-top: 32px; }
}

/* --------------------------------------------------------------- 技术条目 tech items */

.techitem {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 0 40px; padding: 48px 0; border-top: 1px solid var(--rule);
}
.techitem:last-child { border-bottom: 1px solid var(--rule); }
.techitem-num { font-size: .85rem; font-weight: 500; color: var(--navy);
                padding-top: 7px; }
.techitem h2 { font-size: 1.5rem; margin-bottom: 8px; }
.techitem-lead { font-size: 1.02rem; color: var(--steel); }
.techitem-body { font-size: 1rem; color: var(--ink-80); max-width: 40em; }
@media (max-width: 940px) {
  .techitem { grid-template-columns: 1fr; gap: 0; }
  .techitem-num { padding-top: 0; margin-bottom: 10px; }
  .techitem-lead { margin-bottom: 24px; }
}

/* --------------------------------------------------------------- 应用 applications */

.app { padding: 34px 30px; }
.app-form { font-size: .82rem; color: var(--navy); margin-bottom: 12px; }
.app h3 { font-size: 1.2rem; margin-bottom: 12px; }
.app p { font-size: .945rem; color: var(--ink-80); }

/* --------------------------------------------------------------- 关于 about */

.about-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
              gap: 64px; align-items: start; }
@media (max-width: 900px) { .about-body { grid-template-columns: 1fr; gap: 40px; } }

/* --------------------------------------------------------------- 联系 contact */

.contact-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
                gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-body { grid-template-columns: 1fr; gap: 44px; } }

.channel + .channel { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--rule); }
.channel h3 { font-size: .95rem; color: var(--steel); font-weight: 400; margin-bottom: 10px; }
.channel p { font-size: 1.045rem; margin-bottom: 3px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: .875rem; color: var(--steel); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .97rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule);
}
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none;
  box-shadow: 0 0 0 2px rgba(33, 96, 142, .16); }
.field textarea { min-height: 132px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--flag); }

/* --------------------------------------------------------------- 页脚 footer */

.footer { background: var(--ink); color: rgba(239, 243, 246, .66); padding: 56px 0 40px;
          font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(100px, .45fr) minmax(0, 1.2fr);
              gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--rule-dark); }
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }
.footer h4 { font-size: .82rem; color: var(--steel); font-weight: 400; margin-bottom: 12px; }
.footer a { color: rgba(239, 243, 246, .82); text-decoration: none; }
.footer a:hover { color: var(--sky); text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer-brand { display: flex; align-items: flex-start; gap: 18px; }
.footer-brand-copy { min-width: 0; }
.brand-mark-light { width: 36px; height: 49px; margin: 2px 0 0; }
.footer-name { color: var(--white); font-size: 1rem; font-weight: 500; line-height: 1.6; margin-bottom: 8px; }
.footer-tag { max-width: 26em; margin: 0; }
@media (max-width: 480px) {
  .footer-brand { gap: 14px; }
  .brand-mark-light { width: 30px; height: 41px; }
}
.footer-base { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px;
               font-size: .82rem; color: var(--steel); }

/* --------------------------------------------------------------- 页头 page banner */

.pagehead { background: var(--ink); color: var(--paper); padding: 76px 0 68px; }
.pagehead h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--white); margin-bottom: 20px; }
.pagehead .lede { color: rgba(239, 243, 246, .78); }

/* --------------------------------------------------------------- 阵列动画 die array */

.die-body {
  fill: #14293A; stroke: rgba(119, 194, 237, .28); stroke-width: 1;
  transition: fill .5s ease, stroke .5s ease, opacity .55s ease;
}
.die-pad    { fill: rgba(119, 194, 237, .38); transition: fill .5s ease; }
.die-active { fill: rgba(119, 194, 237, .10); stroke: rgba(119, 194, 237, .18);
              stroke-width: .8; transition: fill .5s ease, stroke .5s ease; }

/* AOI 阶段：表面照明，版图清晰 */
.stage-aoi .die-body { fill: #14293A; stroke: rgba(119, 194, 237, .34); }
.stage-aoi .die-pad  { fill: rgba(119, 194, 237, .46); }
.stage-aoi .die-active { fill: rgba(119, 194, 237, .13); }

/* IR 阶段：透射成像，版图退隐，材料本体显影 */
.stage-ir .die-body { fill: #1B2340; stroke: rgba(196, 64, 122, .34); }
.stage-ir .die-pad  { fill: rgba(119, 194, 237, .08); }
.stage-ir .die-active { fill: rgba(196, 64, 122, .07); stroke: rgba(196,64,122,.14); }

/* 分选阶段：判定完成 */
.stage-sort .die-body { fill: #14293A; stroke: rgba(119, 194, 237, .30); }
.stage-sort .die-pad  { fill: rgba(119, 194, 237, .34); }

/* 缺陷标记 */
.mark { fill: none; stroke: var(--flag); stroke-width: 2; stroke-linecap: round;
        stroke-linejoin: round; opacity: 0; transition: opacity .45s ease; }
.mark-sub { stroke-width: 1.6; }
.show-surface .mark-surface { opacity: 1; }
.show-sub    .mark-sub     { opacity: 1; }
/* 隐裂只在 IR 与分选阶段可见——AOI 看不到，这正是要说明的事 */
.stage-aoi .mark-sub { opacity: 0; }

.show-surface .has-surface .die-body,
.show-sub     .has-sub     .die-body { stroke: var(--flag); }

/* 分选：不良品被剔除 */
.stage-sort.show-surface .has-surface,
.stage-sort.show-sub     .has-sub {
  opacity: .16; transition: opacity .6s ease;
}
.stage-sort.is-done .die-body { stroke: rgba(119, 194, 237, .34); }
.stage-sort.is-done .has-surface .die-body,
.stage-sort.is-done .has-sub .die-body { stroke: var(--flag); }

/* 扫描线 */
.scanline { fill: var(--sky); opacity: 0; }
.stage-ir .scanline { fill: var(--flag); }
.is-scanning .scanline { animation: sweep 2s cubic-bezier(.42,0,.58,1) 1 both; }
@keyframes sweep {
  0%   { opacity: 0; transform: translateY(0); }
  8%   { opacity: .85; }
  92%  { opacity: .85; }
  100% { opacity: 0; transform: translateY(252px); }
}
@media (prefers-reduced-motion: reduce) { .scanline { display: none; } }

.array-replay {
  margin-left: auto; padding: 2px 9px; font: inherit; font-size: .8rem;
  color: var(--sky); background: none; border: 1px solid var(--rule-dark);
  cursor: pointer;
}
.array-replay:hover { background: var(--sky); color: var(--ink); border-color: var(--sky); }

/* 表单与辅助导航 */
:root{--f-sans:"PingFang SC","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif}
.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:#fff;padding:12px 20px}.skip-link:focus{top:12px}
.field select{width:100%;padding:12px 14px;font:inherit;min-height:46px;border:1px solid #8b9da9;background:#fff;color:var(--ink);border-radius:0}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;margin:20px 0}.consent input{margin-top:5px;flex:none;width:18px;height:18px}.consent label{cursor:pointer}
#form-status{min-height:1.7em;font-size:14px}#form-status[data-state="error"]{color:#9c2448}#form-status[data-state="success"]{color:#215a3c}
button:disabled{opacity:.6;cursor:wait}.privacy-copy{max-width:850px}.product-media figure{margin:25px 0}.product-media img,.product-media video{max-width:100%;height:auto}.product-media figcaption{font-size:14px;color:var(--steel)}
.contact-body>div{min-width:0}.channel p{overflow-wrap:anywhere}.field input,.field textarea{min-width:0}.btn{min-height:44px}
.privacy-modal-open{overflow:hidden}
.contact-challenge[hidden]{display:none}
.contact-challenge{margin:20px 0;padding:18px;border:1px solid var(--rule);background:#fff}
.contact-challenge p{font-size:14px;margin:0 0 12px}
.captcha-image-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.captcha-image-row img{max-width:100%;object-fit:contain}.contact-challenge .field{margin-bottom:10px}
.contact-toast[hidden]{display:none}
.contact-toast{position:fixed;top:max(24px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:200;width:max-content;max-width:calc(100% - 32px);display:flex;align-items:center;gap:14px;padding:18px 20px;background:#fff;border:1px solid #b6d6c3;border-left:4px solid #26734b;border-radius:8px;box-shadow:0 12px 40px #0b182233;color:var(--ink)}
.contact-toast p{margin:0;font-size:16px;line-height:1.65;font-weight:500}
.toast-check{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#26734b;color:#fff;font-weight:bold}
#contact-toast-close{flex:none;width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--steel);font-size:24px;cursor:pointer}
@media(max-width:420px){.contact-toast{width:calc(100% - 32px);gap:10px;padding:14px 12px}.contact-toast p{font-size:14px}}
.privacy-dialog{width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--rule);background:#fff;color:var(--ink);box-shadow:0 24px 80px #071c3040}
.privacy-dialog::backdrop{background:rgba(7,28,48,.6)}
.privacy-dialog[open]{display:flex;flex-direction:column}
.privacy-dialog-head{display:flex;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid var(--rule);flex-shrink:0}
.privacy-dialog-head h2{font-size:1.3rem;margin:0;flex:1}
.privacy-close{width:44px;height:44px;flex-shrink:0;border:0;background:transparent;color:inherit;font-size:28px;cursor:pointer}
.privacy-dialog-copy{padding:24px;overflow-y:auto;overscroll-behavior:contain;font-size:15px;line-height:1.85}
.privacy-dialog-copy p{margin:0 0 16px}.privacy-dialog-copy p:last-child{margin-bottom:0}
.privacy-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;padding:18px 24px;border-top:1px solid var(--rule);flex-shrink:0}
.privacy-dialog-actions .privacy-dismiss{background:#fff;color:var(--ink);border:1px solid var(--rule)}
@media(max-width:420px){.privacy-dialog-head,.privacy-dialog-copy,.privacy-dialog-actions{padding:16px}.privacy-dialog-actions .btn{flex:1;text-align:center;padding:12px}}
@media(max-width:420px){:root{--gutter:20px}.brand-sub{max-width:200px}.brand-name{font-size:.95rem}}

/* 标题与导语并排：标题左、导语右 */
.section-head--row {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 48px; align-items: start;
}
.section-head--row h2 { margin-bottom: 0; padding-top: .22em; }
@media (max-width: 900px) {
  .section-head--row { grid-template-columns: 1fr; gap: 16px; }
  .section-head--row h2 { padding-top: 0; }
}

/* --------------------------------------------------------------- 产品线 product line */

.lineset { border-top: 1px solid var(--rule); }
.line {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 12px 48px; align-items: baseline;
  padding: 24px 0 24px 20px;
  border-bottom: 1px solid var(--rule);
  border-left: 3px solid var(--navy);
}
.line-id h3 { font-size: 1.06rem; margin-bottom: 3px; color: var(--navy); }
.line-id span { display: block; font-size: .84rem; color: var(--steel); }
.line-body p { font-size: .965rem; color: var(--ink-80); margin: 0; }
.lineset-brief .line { grid-template-columns: 1fr; padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 780px) {
  .line { grid-template-columns: 1fr; gap: 10px; }
}

/* Readability and responsive rhythm across both languages. */
.hero, .section-dark, .pagehead, .footer { --steel: #9AADB9; }
.hero h1, .pagehead h1, .section-head h2 { text-wrap: balance; }
.hero-phrase { display: inline-block; }
.performance-note { margin-top: 20px; max-width: 65em; }
.section-dark :focus-visible, .footer :focus-visible { outline-color: var(--sky); }
.field input, .field textarea, .field select { font-size: 1rem; }
.optional { font-size: .82rem; font-weight: 400; }
.channel, .footer li, .spectable td { overflow-wrap: anywhere; }
#main-content, .field, .consent { scroll-margin-top: 96px; }
@media (max-width: 620px) {
  .pagehead { padding: 48px 0; }
  .diegrid > * { padding: 26px 22px; }
  .btn-row { gap: 12px; }
  .spectable th { width: 32%; padding-right: 16px; }
}

/* Three-language navigation and Traditional Chinese system fonts. */
html[lang="zh-Hant-TW"] body { font-family: "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }
.langset { display: inline-flex; flex-shrink: 0; margin-left: 10px; }
.langset .lang { margin-left: 0; }
.langset .lang + .lang { margin-left: -1px; }
@media (max-width: 900px) {
  .langset { display: flex; margin: 12px 0 0; }
  .langset .lang { flex: 1; text-align: center; }
}
