/* ==========================================================================
   TIKON — Jiangxi Tikon Titanium Products Co., Ltd.
   Single stylesheet. No build step, no external requests.
   Palette and type scale follow docs/05-brand.md.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --blue:        #0582C7;
  --blue-deep:   #063A63;
  --blue-dark:   #04294a;
  --green:       #65B542;
  --ink:         #101820;
  --ink-muted:   #5A6672;
  --ink-faint:   #8A96A2;
  --line:        #E3E8ED;
  --line-soft:   #EFF3F6;
  --surface:     #F6F8FA;
  --white:       #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;
  --font-cn: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC',
             'Microsoft YaHei', 'Hiragino Sans GB', 'Heiti SC', sans-serif;

  --wrap: 1216px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 4px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 32, .05), 0 2px 8px rgba(16, 24, 32, .04);
  --shadow-md: 0 2px 4px rgba(16, 24, 32, .04), 0 12px 32px rgba(16, 24, 32, .07);
  --shadow-lg: 0 4px 8px rgba(16, 24, 32, .05), 0 24px 64px rgba(16, 24, 32, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
html[lang^="zh"] body { font-family: var(--font-cn); line-height: 1.75; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.021em;
  color: var(--ink);
  text-wrap: balance;
}
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 {
  letter-spacing: 0; line-height: 1.3;
}
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------------------------------------------------------------- type */
.h-xl  { font-size: clamp(2.45rem, 5.6vw, 4.05rem); line-height: 1.04; letter-spacing: -0.033em; }
.h-lg  { font-size: clamp(1.95rem, 3.6vw, 2.9rem);  line-height: 1.1;  letter-spacing: -0.028em; }
.h-md  { font-size: clamp(1.4rem, 2.2vw, 1.75rem);  line-height: 1.22; letter-spacing: -0.02em; }
.h-sm  { font-size: 1.14rem; line-height: 1.35; letter-spacing: -0.012em; }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-muted);
}
.measure { max-width: 63ch; }
.measure-narrow { max-width: 52ch; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: .765rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
}
html[lang^="zh"] .eyebrow { letter-spacing: .06em; }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  flex: 0 0 auto;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: #7FC8F3; }

.muted { color: var(--ink-muted); }
.tnum  { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section { padding-block: clamp(60px, 8vw, 116px); }
.section--tight { padding-block: clamp(46px, 5.5vw, 76px); }
.section--surface { background: var(--surface); }
.section--flush-top { padding-top: 0; }
.section--line { border-top: 1px solid var(--line); }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; gap: 26px; } }

.stack-sm > * + * { margin-top: 12px; }
.stack    > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 40px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: .97rem;
  font-weight: 500;
  letter-spacing: .003em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(5,130,199,.28); }
.btn--primary:hover { background: #046ba4; box-shadow: 0 4px 14px rgba(5,130,199,.26); }

.btn--outline { border-color: rgba(16,24,32,.20); color: var(--ink); background: rgba(255,255,255,.72); }
.btn--outline:hover { border-color: var(--ink); background: #fff; }

.on-dark .btn--outline { border-color: rgba(255,255,255,.36); color: #fff; background: transparent; }
.on-dark .btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.on-dark .btn--primary { background: #fff; color: var(--blue-deep); }
.on-dark .btn--primary:hover { background: #EAF4FB; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: .98rem;
  color: var(--blue);
}
.link-arrow::after {
  content: "";
  width: 15px; height: 9px;
  background: currentColor;
  -webkit-mask: var(--arrow) no-repeat center / contain;
  mask: var(--arrow) no-repeat center / contain;
  transition: transform .22s var(--ease);
}
:root {
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h13.2L9.6 1.4 10.9 0 16 5l-5.1 5-1.3-1.4L13.2 6H0z'/%3E%3C/svg%3E");
}
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: #9BD5F5; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 16px rgba(16, 24, 32, .05);
  background: rgba(255, 255, 255, .95);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 13px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover { color: var(--blue); background: var(--surface); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  flex: 0 0 auto;
}
.lang a {
  padding: 5px 11px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: 2px;
}
.lang a:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.lang a[aria-current] { background: var(--blue); color: #fff; }

.burger {
  display: none;
  width: 42px; height: 42px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.burger span {
  display: block;
  width: 21px; height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .18s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: block; order: 3; }
  .lang { order: 2; }
  .nav {
    order: 4;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gut) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  /* colour only, no panel behind it — the same cue the desktop nav gives */
  .nav a:hover, .nav a:focus-visible { color: var(--blue); background: transparent; }
  .nav a[aria-current="page"]::after { left: 4px; right: auto; width: 18px; bottom: 8px; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dbe9f4;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 44% 56%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.94) 26%,
      rgba(255,255,255,.64) 46%,
      rgba(255,255,255,.34) 68%,
      rgba(255,255,255,.16) 100%),
    linear-gradient(to bottom,
      rgba(255,255,255,.66) 0%,
      rgba(255,255,255,.10) 34%,
      rgba(255,255,255,.00) 62%,
      rgba(255,255,255,.55) 100%);
}
#particles {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(84vh, 760px);
  padding-block: clamp(64px, 11vh, 128px) clamp(96px, 14vh, 150px);
}
.hero h1 { max-width: 15ch; }
html[lang^="zh"] .hero h1 { max-width: 12ch; }
.hero .lead { max-width: 46ch; margin-top: 22px; color: #2C3944; font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-legal {
  margin-top: clamp(30px, 5vh, 52px);
  font-size: .82rem;
  color: var(--ink-muted);
  letter-spacing: .01em;
}

/* figures band, overlapping the hero edge */
.figures-band { position: relative; margin-top: clamp(-88px, -9vw, -56px); z-index: 2; }
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.figure { padding: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--line-soft); }
.figure:first-child { border-left: 0; }
.figure b {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.figure b span { color: var(--blue); }
html[lang^="zh"] .figure b span { font-size: .68em; letter-spacing: 0; }
.figure small {
  display: block;
  margin-top: 9px;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--ink-muted);
}
@media (max-width: 780px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 400px) {
  .figures { grid-template-columns: 1fr; }
  .figure { border-left: 0; }
  .figure + .figure { border-top: 1px solid var(--line-soft); }
}

/* ------------------------------------------------------- rays motif
   The rays of the sun in the mark, opened out into a background: a very
   light diagram of scattered light. Used two or three times site-wide. */
.rays-bg { position: relative; isolation: isolate; }
.rays-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-conic-gradient(from 8deg at 4% 104%,
    rgba(5, 130, 199, .062) 0deg .5deg, transparent .5deg 5.6deg);
  -webkit-mask-image: radial-gradient(130% 108% at 4% 104%, #000 0%, rgba(0,0,0,.35) 42%, transparent 74%);
  mask-image: radial-gradient(130% 108% at 4% 104%, #000 0%, rgba(0,0,0,.35) 42%, transparent 74%);
}
.rays-bg--right::before {
  background: repeating-conic-gradient(from 188deg at 98% -6%,
    rgba(5, 130, 199, .058) 0deg .5deg, transparent .5deg 5.6deg);
  -webkit-mask-image: radial-gradient(120% 110% at 98% -6%, #000 0%, rgba(0,0,0,.3) 44%, transparent 76%);
  mask-image: radial-gradient(120% 110% at 98% -6%, #000 0%, rgba(0,0,0,.3) 44%, transparent 76%);
}

/* ---------------------------------------------------------------- cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
              transform .25s var(--ease);
}
.card::before {
  /* a faint lift from the top edge — the cursor now carries the light, so
     the card no longer chases it with a blue blob of its own */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  background: linear-gradient(180deg, rgba(5, 130, 199, .05), transparent 45%);
}
.card:hover, .card:focus-within {
  border-color: #CBD8E2;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card:hover::before, .card:focus-within::before { opacity: 1; }
.card > * { position: relative; }

.card-grade {
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}
.card-grade sup { font-size: .5em; font-weight: 500; top: -0.85em; }
.card-use {
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
html[lang^="zh"] .card-use { letter-spacing: .05em; }
.card-desc { margin-top: 16px; color: var(--ink-muted); font-size: .97rem; }
.card-specs {
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: .9rem;
}
.card-specs li { display: flex; justify-content: space-between; gap: 14px; }
.card-specs span { color: var(--ink-muted); }
.card-specs b { font-weight: 500; }
.card-foot { margin-top: auto; padding-top: 22px; }

/* full-card link overlay (::before — ::after carries the arrow glyph) */
.card-link::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------------------------------------------------------------- chain */
.chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.chain-step {
  position: relative;
  padding: 20px 18px 22px;
  background: #fff;
  transition: background-color .2s var(--ease);
}
.chain-step:hover { background: #FBFDFE; }
.chain-step i {
  display: block;
  font-style: normal;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--blue);
  opacity: .55;
}
.chain-step b { display: block; margin-top: 9px; font-size: .93rem; font-weight: 500; line-height: 1.32; }
.chain-step small { display: block; margin-top: 6px; font-size: .8rem; color: var(--ink-muted); line-height: 1.4; }
@media (max-width: 900px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .chain { grid-template-columns: 1fr; } }
.chain-support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .86rem;
  color: var(--ink-muted);
  background: #fff;
}
.pill::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------------------------------------------------------------- tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}
table.data caption {
  text-align: left;
  padding-bottom: 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
table.data th, table.data td {
  padding: 12px 18px 12px 0;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.data thead th {
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
table.data tbody th { font-weight: 400; color: var(--ink-muted); padding-right: 32px; }
table.data td { font-weight: 500; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover th, table.data tbody tr:hover td { background: #FBFCFD; }

.note {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
  font-size: .88rem;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------- timeline */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line), var(--line) 88%, transparent);
}
.timeline li {
  position: relative;
  padding: 0 0 30px 40px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 3px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #C6D2DC;
}
.timeline li.is-key::before { border-color: var(--blue); background: var(--blue); }
.timeline b {
  display: block;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.timeline li.is-key b { color: var(--ink); }
.timeline span { display: block; margin-top: 3px; color: var(--ink-muted); font-size: .97rem; }
@media (min-width: 900px) {
  .timeline { columns: 2; column-gap: 64px; }
  .timeline::before { display: none; }
  .timeline li { break-inside: avoid; padding-left: 0; padding-bottom: 26px; }
  .timeline li::before { display: none; }
  .timeline li { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 4px; }
}

/* ---------------------------------------------------------------- award list */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tick-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: .99rem;
  line-height: 1.5;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .46em;
  width: 13px; height: 9px;
  background: var(--green);
  -webkit-mask: var(--tick) no-repeat center / contain;
  mask: var(--tick) no-repeat center / contain;
}
:root {
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 9'%3E%3Cpath d='M1.4 4.1 4.7 7.4 11.6.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}
.tick-list--cols { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 40px; }
/* short labels — two columns even inside a narrow grid cell */
.tick-list--tight { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 28px; }

/* ------------------------------------------------------------- plant plan
   Map and legend side by side, so highlighting an area never happens off
   screen. Hotspots live in .plan-canvas, which wraps the image and nothing
   else — their percentages are percentages of the image, not of the panel. */
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  /* both columns run the full height so the caption under the map and the
     hint under the legend sit on the same line */
  align-items: stretch;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(5, 130, 199, .055), transparent 62%),
    radial-gradient(90% 80% at 100% 100%, rgba(101, 181, 66, .05), transparent 60%),
    linear-gradient(180deg, #FCFDFE, var(--surface));
}
@media (max-width: 1040px) { .plan { grid-template-columns: 1fr; } }

.plan-map, .plan-side { display: flex; flex-direction: column; }
/* Both columns stretch to the same height, so the map panel and the legend
   start and finish on the same lines. The image keeps its own aspect ratio
   inside .plan-figure — the hotspot percentages are percentages of that. */
.plan-canvas {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 10px 30px rgba(16, 24, 32, .08);
}
.plan-figure { position: relative; width: 100%; }
.plan-figure img { display: block; width: 100%; height: auto; }

.plan-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 13px;
  font-size: .83rem;
  color: var(--ink-muted);
}
.plan-zoom {
  border: 0; background: none; padding: 0;
  font: inherit; font-size: .9rem; cursor: pointer;
}
.plan-hint { margin: 12px 0 0; padding-top: 1px; font-size: .82rem; color: var(--ink-faint); }
.plan-side .steps { flex: 1 1 auto; }
.plan-side .subhead { margin-bottom: 11px; }

/* ------------------------------------------------------------- hotspots */
.hotspot {
  position: absolute;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hotspot::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2.5px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.55);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .85),
              0 0 0 8px rgba(5, 130, 199, .22),
              0 0 26px 8px rgba(5, 130, 199, .40);
  background: rgba(5, 130, 199, .20);
}
.hotspot.is-active::after, .hotspot:hover::after, .hotspot:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

/* ------------------------------------------------------------- legend */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
@media (max-width: 480px)  { .steps { grid-template-columns: 1fr; } }
.steps li {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 0 -1px -1px 0;
}
.steps button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  height: 100%;
  padding: 8px 11px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .87rem;
  line-height: 1.3;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.steps button i {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-faint);
  font-style: normal;
  font-size: .68rem;
  font-weight: 600;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.steps li.is-active button, .steps button:hover { background: #F3F9FD; color: var(--blue-deep); }
.steps li.is-active button i, .steps button:hover i {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(5, 130, 199, .16);
}

/* ------------------------------------------------------------- zoom */
.zoom {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(6, 26, 44, .90);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.zoom[hidden] { display: none; }
.zoom-figure {
  margin: 0;
  /* width, not height: the plan is 2.23:1, so capping the width by the
     available height keeps the frame exactly the size of the image */
  width: min(1500px, 100%, calc(76vh * 2.23));
}
.zoom-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.zoom-figure figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .72);
}
.zoom-close {
  position: fixed;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.zoom-close:hover { background: rgba(255, 255, 255, .2); }

/* ---------------------------------------------------------------- callout */
.callout {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px) clamp(26px, 5vw, 68px);
  border-radius: var(--radius);
  background:
    radial-gradient(1100px 420px at 88% -10%, rgba(101, 181, 66, .20), transparent 62%),
    radial-gradient(900px 460px at 8% 110%, rgba(5, 130, 199, .40), transparent 60%),
    linear-gradient(135deg, #063A63 0%, #04294a 100%);
  color: #fff;
}
.callout h2 { color: #fff; }
.callout p { color: rgba(255, 255, 255, .78); }
.callout .btn { margin-top: 30px; }

.band-dark {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(5, 130, 199, .30), transparent 60%),
    linear-gradient(180deg, #063A63, #04294a);
  color: #fff;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255, 255, 255, .76); }

/* ---------------------------------------------------------------- contact */
.contact-cards { align-items: stretch; }
.contact-address {
  font-style: normal;
  font-size: .97rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.contact-address strong { color: var(--ink); font-weight: 600; }
.contact-address--alt {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: .93rem;
}
.contact-cards .card-specs a { color: var(--ink); }
.contact-cards .card-specs a:hover { color: var(--blue); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: linear-gradient(180deg, #063A63, #04294a);
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(46px, 6vw, 72px);
}
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 30px; width: auto; margin-bottom: 20px; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-col h3 {
  margin-bottom: 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
html[lang^="zh"] .footer-col h3 { letter-spacing: .05em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------------------------------------------------------------- page head */
.page-head { padding-block: clamp(48px, 7vw, 92px) clamp(30px, 4vw, 52px); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-top: 22px; }

.crumb {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .84rem;
  color: var(--ink-muted);
}
.crumb a { color: var(--ink-muted); }
.crumb a:hover { color: var(--blue); }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .07s; }
.js [data-reveal][data-delay="2"] { transition-delay: .14s; }
.js [data-reveal][data-delay="3"] { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card, .btn, .link-arrow::after, .hotspot::after { transition: none !important; }
  #particles { display: none; }
}

/* ---------------------------------------------------------------- misc */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .site-header, .site-footer, #particles, .hero-media { display: none; }
  body { font-size: 11pt; }
}

/* ---------------------------------------------------------------- grades */
.grade { padding-block: clamp(38px, 5vw, 64px); border-top: 1px solid var(--line); }
.grade:first-of-type { border-top: 0; }
.grade-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 6px; }
.grade-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); letter-spacing: -0.03em; }
.grade-head h2 sup { font-size: .42em; font-weight: 500; top: -1.1em; }
.grade-tag {
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(101, 181, 66, .12);
  color: #3F7C24;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
html[lang^="zh"] .grade-tag { letter-spacing: .05em; }
.grade-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .grade-body { grid-template-columns: 1fr; gap: 30px; } }
.subhead {
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
html[lang^="zh"] .subhead { letter-spacing: .05em; }
.conforms { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; }
.conforms span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: .82rem;
  color: var(--ink-muted);
}

/* ------------------------------------------------------- patent table */
table.data td.pat { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
                    font-size: .86rem; white-space: nowrap; color: var(--ink-muted); font-weight: 400; }



/* ------------------------------------------------------------ photo band
   A full-bleed photograph used as ground, not as a picture: dark scrim over
   it, a short text plate sitting on the bottom edge. The crop keeps the
   subject in the upper two thirds so the plate never covers it. */
.photo-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0B1B28;
}
.photo-band img {
  width: 100%;
  height: clamp(300px, 42vw, 520px);
  object-fit: cover;
  object-position: 50% 45%;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(6, 27, 40, .95) 0%,
      rgba(6, 27, 40, .88) 20%,
      rgba(6, 27, 40, .58) 44%,
      rgba(6, 27, 40, .20) 72%,
      rgba(6, 27, 40, .06) 100%),
    linear-gradient(to right, rgba(6, 27, 40, .46), rgba(6, 27, 40, .05) 62%);
}
.photo-plate {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding-block: clamp(22px, 3.4vw, 40px);
  color: #fff;
}
.photo-plate h2, .photo-plate h3 {
  color: #fff;
  max-width: 20ch;
}
.photo-plate p {
  margin: 12px 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .80);
  font-size: clamp(.97rem, 1.2vw, 1.08rem);
}
.photo-plate .eyebrow { color: #8ED0F5; margin-bottom: 14px; }
.photo-plate .eyebrow::before { background: var(--green); }

@media (max-width: 600px) {
  .photo-band img { height: 340px; object-position: 50% 42%; }
}

/* frames whose subject sits low need a higher anchor point */
.photo-band--high img { object-position: 50% 34%; }
/* tall frames whose subject sits near the bottom */
.photo-band--low img { object-position: 50% 84%; }

/* ========================================================== custom pointer
   A soft blue grain that follows the mouse and deforms over anything
   clickable. Mounted by cursor.js; the system cursor is only hidden once
   that script is actually running, and never on a touch device. */
.tk-cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}
.tk-cursor__dot {
  fill: url(#tk-cursor-grad);
  opacity: .86;
  transition: opacity .3s var(--ease);
}
.tk-cursor__ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.2;
  opacity: 0;
  transition: opacity .3s var(--ease), stroke .35s var(--ease);
}
/* the two gradient stops are what shimmers: blue at rest, blue-to-green
   over anything clickable, with the gradient itself turning continuously */
.tk-cursor__s1 { stop-color: #0068B4; transition: stop-color .38s var(--ease); }
.tk-cursor__s2 { stop-color: #0C97DE; transition: stop-color .38s var(--ease); }
html.tk-cursor-hot .tk-cursor__s1 { stop-color: #0582C7; }
html.tk-cursor-hot .tk-cursor__s2 { stop-color: #35A800; }
html.tk-cursor-hot .tk-cursor__dot { opacity: .58; }
html.tk-cursor-hot .tk-cursor__ring { opacity: 1; stroke: #35A800; stroke-width: 1.9; }
html.tk-has-cursor,
html.tk-has-cursor a,
html.tk-has-cursor button,
html.tk-has-cursor label,
html.tk-has-cursor summary,
html.tk-has-cursor [role="button"] { cursor: none; }
/* cursor is inherited — give the form controls their real one back, so a
   text field still shows an I-beam and a select still shows a pointer */
html.tk-has-cursor input,
html.tk-has-cursor textarea,
html.tk-has-cursor select { cursor: auto; }

/* ============================================================ spark motif
   The rays of the mark, reduced to three thin rings. Used once per page in
   a block that would otherwise be empty on the right. */
.spark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--blue);
}
.spark svg { display: block; width: 100%; height: auto; overflow: visible; }
.spark .rays-fan line {
  stroke: currentColor;
  stroke-width: .7;
  opacity: .11;
}
.spark .rays-fan line.ray-long { opacity: .19; }
.spark .arc {
  fill: none;
  stroke: currentColor;
  stroke-width: .8;
  opacity: .12;
  stroke-dasharray: 40 210;
  transform-origin: 6px 60px;
  animation: sparkSpin 54s linear infinite;
}
.spark .core { fill: var(--green); stroke: none; opacity: .38; }

@media (prefers-reduced-motion: reduce) { .spark .arc { animation: none; } }

@keyframes sparkSpin { to { transform: rotate(360deg); } }


.spark--head {
  top: 50%;
  right: clamp(10px, 3vw, 60px);
  width: clamp(150px, 16vw, 215px);
  transform: translateY(-50%);
}
@media (max-width: 900px) { .spark--head { display: none; } }

/* ===================================================== card hover border */
.card::after {
  content: "";
  position: absolute;
  /* inset 0, not -1px: .card clips its overflow, so a ring drawn outside
     the box would be cut away entirely */
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: linear-gradient(145deg,
              rgba(5, 130, 199, .18) 12%, rgba(5, 130, 199, .95) 62%, rgba(101, 181, 66, .95) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card:hover::after, .card:focus-within::after { opacity: 1; }

/* ===================================================== life in dark blocks */
.block-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.callout > *, .band-dark .wrap { position: relative; z-index: 1; }
/* `.callout > *` below sets position:relative — the canvas must win it back */
.callout > .block-particles, .band-dark > .block-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.band-dark { position: relative; overflow: hidden; }
.page-head > .wrap { position: relative; }

/* a thin luminous seam along the top edge */
.callout::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg,
              transparent, rgba(146, 214, 250, .9) 45%, rgba(146, 214, 250, .55) 60%, transparent);
}

/* ============================================================= documents
   Data sheets. Every row is one grade; the two links open the PDF in a new
   tab rather than replacing the page. */
.docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.docs li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.docs-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.docs-name sup { font-size: .5em; font-weight: 500; top: -.8em; }
.docs-name em {
  font-style: normal;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--green);
}
html[lang^="zh"] .docs-name em { letter-spacing: .05em; }
.docs-links { display: flex; flex-wrap: wrap; gap: 8px; }
.docs-note { margin-top: 18px; font-size: .86rem; color: var(--ink-muted); }

/* ---------------------------------------------------- document links
   A thumbnail of the first page sits inside the link — enough to show what
   the PDF is without turning every row into a gallery. */
.docs li { align-items: center; }
.doc-tile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              color .2s var(--ease);
}
.doc-tile picture { display: block; flex: 0 0 auto; }
.doc-tile img {
  display: block;
  width: 24px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .12);
}
.doc-tile-label { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.doc-tile-label small {
  margin-left: 8px;
  font-size: .78rem;
  font-weight: 400;
  color: var(--ink-faint);
}
.doc-tile:hover, .doc-tile:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 2px 10px rgba(5, 130, 199, .14);
  text-decoration: none;
}
.doc-tile:hover small { color: var(--blue); }

/* ================================================================= form
   Five fields. A long form on an industrial site gets abandoned; the value
   is in knowing the grade and the application, not in a full profile. */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 500; color: var(--ink); }
.field .req { color: var(--blue); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 104px; resize: vertical; }
.field select {
  appearance: none;
  background-image: var(--caret);
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 11px;
  padding-right: 36px;
}
:root {
  --caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235A6672' stroke-width='1.6'/%3E%3C/svg%3E");
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(5, 130, 199, .13);
}
.check { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start;
         font-size: .86rem; color: var(--ink-muted); }
.check input { width: 16px; height: 16px; margin: 3px 0 0; padding: 0; border: 0;
               accent-color: var(--blue); }
.field--full .btn { align-self: flex-start; }
.form-status { margin-top: 14px; font-size: .92rem; min-height: 1.2em; }
.form-status[data-state="ok"]  { color: #2F7D32; }
.form-status[data-state="err"] { color: #B3261E; }

/* ============================================================== WeChat
   In China a WeChat contact converts better than an email address. There is
   no universal click-to-chat link on the web, so the button opens the ID and
   the QR code the way every Chinese B2B site does it. */
.btn--wechat {
  background: #07C160;
  color: #fff;
  border-color: #07C160;
}
.btn--wechat:hover { background: #06AD56; border-color: #06AD56; color: #fff; }
.btn--wechat svg { width: 19px; height: 19px; fill: currentColor; }

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 26, 44, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.wechat-modal[hidden] { display: none; }
.wechat-card {
  width: min(340px, 100%);
  padding: 28px 26px 24px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.wechat-card h2 { font-size: 1.15rem; }
.wechat-card img {
  width: 210px;
  height: 210px;
  margin: 18px auto 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.wechat-id {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
}
.wechat-card p { margin-top: 14px; font-size: .84rem; color: var(--ink-muted); }


/* ========================================================= result dialog
   After sending, a line under the button is easy to miss — the eye is still
   on the button. The answer gets its own dialog, the same one the WeChat
   button uses, so there is no doubt the enquiry went through. */
.msg-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 26, 44, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.msg-modal[hidden] { display: none; }
.msg-card {
  width: min(400px, 100%);
  padding: 34px 30px 28px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.msg-mark {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(101, 181, 66, .14);
}
.msg-mark svg { width: 26px; height: 26px; stroke: var(--green); fill: none;
                stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.msg-modal[data-state="err"] .msg-mark { background: rgba(179, 38, 30, .10); }
.msg-modal[data-state="err"] .msg-mark svg { stroke: #B3261E; }
.msg-card p { margin-top: 12px; color: var(--ink-muted); }
.msg-card .btn { margin-top: 24px; }
