/* ============================================================
   VasoPT bioscience Limited — commercial site
   Design tokens / base / components / sections / responsive
   ============================================================ */

:root {
  --navy-900: #071B31;
  --navy-800: #0A2540;
  --navy-700: #103156;
  --blue-700: #1348A8;
  --blue-600: #1857C4;
  --blue-500: #2570E6;
  --blue-100: #E7F0FE;
  --blue-50: #F3F8FF;
  --cyan-600: #0090A8;
  --cyan-500: #00A6C0;
  --cyan-100: #E2F7FA;
  --mint-500: #17A67B;
  --mint-100: #E4F6EF;
  --amber-500: #C98A12;
  --amber-100: #FDF3DF;
  --red-500: #C6453F;
  --red-100: #FCEAE8;
  --ink: #0C1B2E;
  --ink-2: #2B3B4F;
  --muted: #5A6B80;
  --muted-2: #8294A8;
  --line: #E3EAF3;
  --line-2: #EDF2F8;
  --bg: #F6F9FD;
  --white: #FFFFFF;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 64, .04), 0 4px 14px rgba(11, 37, 64, .05);
  --shadow: 0 2px 6px rgba(11, 37, 64, .05), 0 18px 44px rgba(11, 37, 64, .09);
  --shadow-lg: 0 30px 70px rgba(8, 30, 56, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1180px;
  --hdr-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -.02em; font-weight: 600; line-height: 1.22; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(37, 112, 230, .16); }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

#ai, #case-drug, #case-nano, #case-env { scroll-margin-top: 96px; }

/* ---------- header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .86);
  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);
}
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 37, 64, .05); }

.hdr__in { display: flex; align-items: center; gap: 34px; height: var(--hdr-h); }

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__txt { display: flex; flex-direction: column; gap: 1px; line-height: 1.05; }
.brand__name { font-size: 19.5px; font-weight: 700; letter-spacing: -.03em; }
.brand__name .brand__pt { color: var(--blue-600); }
.brand__sub {
  font-size: 9px; font-weight: 500; letter-spacing: .155em; color: var(--muted-2);
  text-transform: uppercase; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; color: var(--ink-2); font-size: 15px; font-weight: 500;
  padding: 9px 14px; border-radius: 8px; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav a.is-active { color: var(--blue-600); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--blue-600); border-radius: 2px;
}

.hdr__cta { flex: none; }

/* ---------- language switcher ---------- */

.lang { position: relative; flex: none; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 9px 0 10px;
  border: 1px solid var(--line); background: #fff; border-radius: 9px; color: var(--ink-2);
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .07em; cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.lang__btn:hover { border-color: #BFD3F0; color: var(--blue-600); }
.lang__btn svg:first-child { color: var(--muted-2); }
.lang__chev { color: var(--muted-2); transition: transform .2s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang.is-open .lang__btn { border-color: #BFD3F0; color: var(--blue-600); box-shadow: 0 2px 10px rgba(11,37,64,.06); }

.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 176px; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  list-style: none; display: none; z-index: 95;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 11px; border-radius: 7px; font-size: 13.5px; color: var(--ink-2);
}
.lang__menu a:hover { background: var(--blue-50); color: var(--blue-600); }
.lang__menu a[aria-current="true"] { color: var(--blue-600); font-weight: 600; }
.lang__menu a[aria-current="true"]::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-600); flex: none;
}

.mnav__lang {
  display: flex; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2);
}
.mnav__lang a {
  display: block; width: 33.333%; padding: 7px 4px; font-size: 14px; color: var(--muted); border: 0;
}
.mnav__lang a[aria-current="true"] { color: var(--blue-600); font-weight: 600; }

.burger {
  display: none; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; padding: 0; cursor: pointer; align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

.mnav {
  display: none; position: fixed; left: 0; right: 0; top: var(--hdr-h); bottom: 0; z-index: 80;
  background: #fff; padding: 18px 28px 40px; overflow-y: auto;
}
.mnav.is-open { display: block; }
.mnav a {
  display: block; padding: 16px 4px; font-size: 17px; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mnav .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { flex: none; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(24, 87, 196, .22); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(24, 87, 196, .28); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #C9D7E8; background: var(--blue-50); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: #EAF2FF; transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- section scaffolding ---------- */

.sec { padding: 96px 0; }
.sec--tight { padding: 72px 0; }
.sec--alt { background: var(--bg); }
.sec--navy { background: var(--navy-800); color: #fff; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--navy p { color: rgba(255, 255, 255, .72); }

.sec__head { max-width: 760px; margin-bottom: 52px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.sec__head--center .eyebrow::before { display: none; }

h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 20px; }
.lead { margin-top: 18px; font-size: 17px; color: var(--muted); line-height: 1.8; }
.sec__head--center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -8%, #E9F3FF 0%, rgba(233, 243, 255, 0) 62%),
    radial-gradient(760px 420px at 6% 8%, #F2F8FF 0%, rgba(242, 248, 255, 0) 70%),
    linear-gradient(180deg, #FBFDFF 0%, #F6FAFF 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(16, 49, 86, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 49, 86, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}
/* 注意：本元素同时带 .container，只能用 padding-block 设垂直间距，
   否则简写 padding 会把 .container 的左右内边距抹成 0（768–1183px 会顶到屏幕边缘） */
.hero__in {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px;
  align-items: center; padding-top: 84px; padding-bottom: 92px;
}

.hero h1 { font-size: clamp(34px, 4.1vw, 56px); letter-spacing: -.035em; line-height: 1.16; }
.hero h1 em { font-style: normal; color: var(--blue-600); white-space: nowrap; }
.hero__sub { margin-top: 24px; font-size: 17.5px; color: var(--muted); max-width: 560px; line-height: 1.85; }
.hero__cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: 100px; background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(11, 37, 64, .03);
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-500); }

.hero__visual { position: relative; }
.hero__img {
  width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, #E8F3FF 0%, #D8E9FF 55%, #CFE4FF 100%);
  box-shadow: var(--shadow-lg);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 11; mix-blend-mode: multiply; }

.scorecard {
  position: absolute; left: -34px; bottom: -30px; width: 268px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; padding: 18px 18px 16px;
  box-shadow: 0 24px 50px rgba(8, 30, 56, .18);
}
.scorecard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.scorecard__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.scorecard__tag { font-size: 11px; padding: 3px 8px; border-radius: 100px; background: var(--amber-100); color: var(--amber-500); font-weight: 600; }

.gauge { position: relative; width: 84px; height: 84px; margin: 0 auto 14px; }
.gauge svg { transform: rotate(-90deg); }
.gauge__val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__num { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.gauge__unit { font-size: 10px; color: var(--muted-2); margin-top: 2px; }

.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 62px 1fr 30px; gap: 10px; align-items: center; font-size: 11.5px; color: var(--muted); }
.bar__track { display: block; height: 5px; border-radius: 100px; background: var(--line-2); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--cyan-500), var(--blue-500)); width: 0; transition: width 1.2s var(--ease); }
.bar__num { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- metrics band ---------- */

.metrics { background: var(--navy-800); position: relative; overflow: hidden; }
.metrics::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 85% 0%, rgba(37, 112, 230, .38), transparent 70%);
  pointer-events: none;
}
.metrics__in { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 38px; padding-bottom: 38px; }
.metric { padding: 6px 30px; border-left: 1px solid rgba(255, 255, 255, .12); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric__num { font-size: 34px; font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.metric__num small { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .6); margin-left: 4px; }
.metric__txt { font-size: 13px; color: rgba(255, 255, 255, .62); margin-top: 4px; }

/* ---------- cards ---------- */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D6E3F2; }
.card h3 { font-size: 18px; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

.ico {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--blue-600); margin-bottom: 18px;
}
.ico--cyan { background: var(--cyan-100); color: var(--cyan-600); }
.ico--mint { background: var(--mint-100); color: var(--mint-500); }
.ico--amber { background: var(--amber-100); color: var(--amber-500); }
.ico svg { width: 21px; height: 21px; }

.card__num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--blue-600); margin-bottom: 10px; }

/* pain list */
.pain { display: grid; grid-template-columns: 120px 1fr; gap: 26px; }

/* method cards */
.method { position: relative; overflow: hidden; }
.method::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line); }
.method.is-gap::before { background: var(--blue-600); }
.method__row { display: flex; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.65; }
.method__k { flex: none; width: 34px; font-size: 11px; font-weight: 600; color: var(--muted-2); padding-top: 2px; }
.method__v { color: var(--ink-2); }
.method__v--con { color: var(--muted); }

/* gap banner */
.gapband {
  margin-top: 34px; display: flex; align-items: center; gap: 18px;
  background: linear-gradient(90deg, var(--blue-50), #fff);
  border: 1px solid #D9E7FA; border-left: 3px solid var(--blue-600);
  border-radius: 12px; padding: 22px 26px;
}
.gapband__ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; }
.gapband p { font-size: 16px; color: var(--ink); font-weight: 500; }
.gapband span { display: block; font-size: 13.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* split block */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--dark img { aspect-ratio: 16 / 11; }
.media__badge {
  position: absolute; left: 18px; bottom: 18px; font-size: 11.5px; color: #fff;
  background: rgba(7, 27, 49, .62); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 100px;
}

.checks { display: grid; gap: 16px; margin-top: 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ck { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-100); color: var(--mint-500); display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.checks b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.checks span { font-size: 14px; color: var(--muted); }

/* ---------- capability cards with media ---------- */

.cap { padding: 0; overflow: hidden; }
.cap__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.cap__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cap:hover .cap__img img { transform: scale(1.04); }
.cap__body { padding: 24px 26px 28px; }
.cap__body p { margin-top: 8px; }

.cap__img--panel {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(420px 240px at 78% 12%, rgba(37, 112, 230, .42), transparent 68%),
    radial-gradient(360px 220px at 8% 95%, rgba(0, 166, 192, .22), transparent 70%),
    linear-gradient(160deg, #0B2A4A 0%, #071B31 100%);
}
.minipanel { width: 74%; max-width: 260px; }
.minipanel__label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.minipanel__row { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.minipanel__score { font-size: 40px; font-weight: 600; color: #fff; letter-spacing: -.04em; line-height: 1; }
.minipanel__tag { font-size: 10.5px; padding: 3px 8px; border-radius: 100px; background: rgba(201, 138, 18, .18); color: #F0B844; border: 1px solid rgba(240, 184, 68, .32); }
.minipanel__bars { display: grid; gap: 7px; margin-top: 18px; }
.minipanel__bars span { display: block; height: 5px; border-radius: 100px; background: linear-gradient(90deg, #00C2DE, #4C8DFF); }
.minipanel__bars span:nth-child(2) { opacity: .78; }
.minipanel__bars span:nth-child(3) { opacity: .5; }
.minipanel__foot { margin-top: 16px; font-size: 11px; color: rgba(255, 255, 255, .46); }

/* ---------- pipeline 8 steps ---------- */

.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { border-color: #C9DCF5; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.step__n {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 8px; background: var(--blue-100); color: var(--blue-700); font-size: 12.5px; font-weight: 600;
  margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.step h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 7px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.step::after {
  content: ""; position: absolute; right: -10px; top: 50%; width: 6px; height: 6px;
  border-top: 1.5px solid #C6D6E8; border-right: 1.5px solid #C6D6E8; transform: translateY(-50%) rotate(45deg);
}
.step:nth-child(4n)::after, .step:last-child::after { display: none; }

.looprow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.loop {
  background: var(--blue-50); border: 1px dashed #C9DCF5; border-radius: 14px; padding: 20px 22px;
}
.loop b { font-size: 14.5px; color: var(--blue-700); }
.loop p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- AI scoring ---------- */

.aisteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: ai; }
.aistep { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; }
.aistep__n { font-size: 11px; letter-spacing: .12em; color: var(--blue-600); font-weight: 600; }
.aistep b { display: block; font-size: 14.5px; margin: 6px 0 5px; }
.aistep p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.indgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.ind { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.ind::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-500); flex: none; }

/* risk legend */
.risk { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.risk span { font-size: 12px; padding: 4px 10px; border-radius: 100px; }
.risk .r1 { background: var(--mint-100); color: var(--mint-500); }
.risk .r2 { background: var(--amber-100); color: var(--amber-500); }
.risk .r3 { background: var(--red-100); color: var(--red-500); }

/* ---------- comparison table ---------- */

.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; min-width: 720px; }
.tbl th, .tbl td { padding: 18px 22px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl thead th { background: var(--bg); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.tbl thead th:last-child { color: var(--blue-700); text-transform: none; letter-spacing: .02em; font-size: 13px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 500; color: var(--ink); width: 22%; }
.tbl td:nth-child(2) { color: var(--muted); }
.tbl td:last-child { background: rgba(243, 248, 255, .7); color: var(--ink); font-weight: 500; }

/* ---------- case tabs ---------- */

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.tab {
  height: 42px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--muted); cursor: pointer; transition: all .2s var(--ease);
}
.tab:hover { border-color: #C9DCF5; color: var(--blue-600); }
.tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.case { display: none; }
.case.is-active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.case__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.case__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.metaitem { background: var(--bg); border-radius: 12px; padding: 16px 18px; }
.metaitem dt { font-size: 11.5px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }
.metaitem dd { margin: 5px 0 0; font-size: 14.5px; color: var(--ink); font-weight: 500; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel__head b { font-size: 14.5px; }
.panel__head span { font-size: 11.5px; color: var(--muted-2); }

/* horizontal risk bars */
.hbars { display: grid; gap: 14px; }
.hbar { display: grid; grid-template-columns: 58px 1fr 84px; gap: 12px; align-items: center; font-size: 13px; }
.hbar__track { display: block; height: 9px; background: var(--line-2); border-radius: 100px; overflow: hidden; }
.hbar__fill { display: block; height: 100%; border-radius: 100px; width: 0; transition: width 1s var(--ease); }
.hbar__fill--high { background: var(--red-500); }
.hbar__fill--mid { background: var(--amber-500); }
.hbar__fill--low { background: var(--mint-500); }
.hbar__val { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.kpi { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.kpi b { display: block; font-size: 19px; letter-spacing: -.02em; }
.kpi span { font-size: 11.5px; color: var(--muted); }
.kpi .up { color: var(--red-500); font-size: 12px; font-weight: 600; }
.kpi .down { color: var(--mint-500); font-size: 12px; font-weight: 600; }

.pheno { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pheno span { font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; color: var(--ink-2); }

.note { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }

/* ---------- CTA band ---------- */

.cta {
  position: relative; overflow: hidden; background: var(--navy-800); color: #fff;
  border-radius: var(--radius-lg); padding: 56px 56px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 320px at 88% 10%, rgba(37, 112, 230, .45), transparent 65%),
    radial-gradient(500px 260px at 10% 100%, rgba(0, 166, 192, .18), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta p { color: rgba(255, 255, 255, .7); margin-top: 12px; font-size: 15.5px; max-width: 560px; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.frow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  padding: 12px 14px; font-size: 14.5px; color: var(--ink); font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37, 112, 230, .12);
}
.form__note { font-size: 12px; color: var(--muted-2); margin-top: 14px; line-height: 1.7; }
.form__ok {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: var(--mint-100); color: #0D7A57; font-size: 14px;
}
.form__ok.is-on { display: block; }

.contact__info { margin-top: 30px; display: grid; gap: 18px; }
.cinfo { display: flex; gap: 14px; }
.cinfo .ico { margin: 0; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.cinfo b { display: block; font-size: 14.5px; }
.cinfo span { font-size: 13.5px; color: var(--muted); }

/* ---------- footer ---------- */

.ftr { background: #061726; color: rgba(255, 255, 255, .62); padding: 62px 0 30px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ftr .brand__name, .ftr .brand { color: #fff; }
.ftr .brand__pt { color: #7FB0FF; }
.ftr .brand__sub { color: rgba(255, 255, 255, .42); }
.ftr__desc { margin-top: 16px; font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .55); max-width: 300px; }
.ftr h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.ftr li { margin-bottom: 9px; }
.ftr a { color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.ftr a:hover { color: #fff; }
.ftr__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255, 255, 255, .4);
}

/* ---------- sub page hero ---------- */

.phero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F7FBFF, #F1F7FF); padding: 66px 0 60px; border-bottom: 1px solid var(--line-2); }
.phero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(16, 49, 86, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 49, 86, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 70% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 100% at 70% 0%, #000, transparent 75%);
}
.phero__in { position: relative; }
.crumb { font-size: 12.5px; color: var(--muted-2); margin-bottom: 16px; }
.crumb a { color: var(--muted-2); }
.crumb a:hover { color: var(--blue-600); }
.phero h1 { font-size: clamp(32px, 4vw, 48px); }
.phero .lead { max-width: 660px; }

/* ---------- reveal ---------- */

.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }

/* ---------- company card ---------- */

.aboutcard {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start;
  padding: 40px 44px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #FFFFFF, #F8FBFF);
  box-shadow: var(--shadow-sm);
}
.aboutcard h2 { font-size: 26px; letter-spacing: -.025em; }
.aboutcard p { margin-top: 12px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.facts { margin: 0; }
.facts > div {
  display: grid; grid-template-columns: 92px 1fr; gap: 18px;
  padding: 12px 0; border-top: 1px solid var(--line-2);
}
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: 13px; color: var(--muted-2); letter-spacing: .02em; }
.facts dd { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.7; }

/* ---------- multilingual typography ---------- */

html[lang="ja"] body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
}
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 { line-height: 1.34; letter-spacing: 0; }
html[lang="ja"] .step h4, html[lang="ja"] .aistep b { line-height: 1.4; }

html[lang="ru"] body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "PT Sans", Arial, sans-serif;
}
html[lang="ru"] h1 { letter-spacing: -.035em; }

/* 西文指标名比中文长,放宽标签列 */
html:not([lang="zh-CN"]):not([lang="ja"]) .bar { grid-template-columns: 86px 1fr 26px; gap: 8px; font-size: 10.5px; }
html:not([lang="zh-CN"]):not([lang="ja"]) .hbar { grid-template-columns: 96px 1fr 72px; gap: 10px; font-size: 12px; }
html[lang="de"] .hbar { grid-template-columns: 106px 1fr 66px; font-size: 11.5px; }
html[lang="ru"] .hbar { grid-template-columns: 104px 1fr 70px; font-size: 12px; }
html:not([lang="zh-CN"]):not([lang="ja"]) .bar span:first-child,
html:not([lang="zh-CN"]):not([lang="ja"]) .hbar span:first-child { line-height: 1.3; }

/* 德/法/俄/西 长词在窄容器中的断行保护 */
html:not([lang="zh-CN"]):not([lang="ja"]) .card h3,
html:not([lang="zh-CN"]):not([lang="ja"]) .metric__txt,
html:not([lang="zh-CN"]):not([lang="ja"]) .facts dd { overflow-wrap: anywhere; }

/* ---------- responsive ---------- */

@media (max-width: 1150px) {
  .hdr__in { gap: 16px; }
  .nav a { padding: 9px 10px; font-size: 14.5px; }
  .lang__btn { padding: 0 8px; }
}

@media (max-width: 1023px) {
  .nav, .hdr__cta, .lang { display: none; }
  .burger { display: inline-flex; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 72px; }
  .hero__visual { max-width: 620px; }
  .scorecard { left: auto; right: 16px; bottom: -24px; width: 250px; }
  .split, .case__grid, .contact { grid-template-columns: 1fr; gap: 42px; }
  .split__media { order: -1; }
  .pipe { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(4n)::after { display: block; }
  .step:nth-child(2n)::after { display: none; }
  .aisteps { grid-template-columns: repeat(2, 1fr); }
  .indgrid { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .metrics__in { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .cta { grid-template-columns: 1fr; padding: 42px 36px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .aboutcard { grid-template-columns: 1fr; gap: 30px; padding: 34px 32px; }
}

@media (max-width: 767px) {
  :root { --hdr-h: 64px; }
  .container { padding: 0 20px; }
  .sec { padding: 68px 0; }
  .sec--tight { padding: 56px 0; }
  .hero h1 { font-size: 34px; }
  .hero__sub { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .scorecard { position: static; width: 100%; margin-top: 16px; }
  .metrics__in { grid-template-columns: 1fr 1fr; padding-top: 30px; padding-bottom: 30px; }
  .metric { padding: 6px 16px; }
  .metric__num { font-size: 27px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .pipe, .aisteps, .indgrid, .looprow, .case__meta, .kpis { grid-template-columns: 1fr 1fr; }
  .pipe { gap: 12px; }
  .step::after { display: none !important; }
  .frow { grid-template-columns: 1fr; }
  .cta { padding: 34px 24px; border-radius: 16px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .form { padding: 24px; }
  .pain { grid-template-columns: 1fr; gap: 8px; }
  .pain__ico { display: none; }
  .tbl th, .tbl td { padding: 14px 16px; font-size: 13.5px; }
  .brand__mark { width: 31px; height: 31px; }
  .brand__name { font-size: 18.5px; }
  .brand__sub { font-size: 8.5px; letter-spacing: .12em; }
  .aboutcard { padding: 26px 22px; border-radius: 16px; }
  .aboutcard h2 { font-size: 22px; }
  .facts > div { grid-template-columns: 76px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
}
