/* Tingli Ltd — v3 deep-tech design system (shared by / and /en/) */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --surface: #ffffff;
  --ink: #0b1726;
  --ink-2: #4a5a6c;
  --ink-3: #6b7a8b;
  --line: #dde4ec;
  --navy: #0a1a2f;
  --navy-2: #12273f;
  --navy-line: #24405f;
  --navy-ink: #e9f0f7;
  --navy-ink-2: #a9bacb;
  --accent: #0a7c87;
  --accent-ink: #ffffff;
  --accent-soft: #e2f3f5;
  --accent-bright: #3fd0dc;
  --blue: #2f6fed;
  --warm: #9a4a10;
  --warm-soft: #fcefe3;
  --focus: #e8590c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 23, 38, .05), 0 6px 20px rgba(11, 23, 38, .06);
  --wrap: 1200px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
.lang-zh { --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08121e; --bg-alt: #0d1a29; --surface: #102033; --ink: #eaf1f8; --ink-2: #a7b6c6; --ink-3: #8394a6; --line: #22374e;
    --navy: #050d17; --navy-2: #0c1a2b; --navy-line: #20354f;
    --accent: #3fc6d2; --accent-ink: #04161a; --accent-soft: #0f2f36; --warm: #f0a46a; --warm-soft: #33210f; --focus: #ff8a3d;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
:root[data-theme="dark"] {
  --bg: #08121e; --bg-alt: #0d1a29; --surface: #102033; --ink: #eaf1f8; --ink-2: #a7b6c6; --ink-3: #8394a6; --line: #22374e;
  --navy: #050d17; --navy-2: #0c1a2b; --navy-line: #20354f;
  --accent: #3fc6d2; --accent-ink: #04161a; --accent-soft: #0f2f36; --warm: #f0a46a; --warm-soft: #33210f; --focus: #ff8a3d;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
.lang-zh body { font-size: 16.5px; line-height: 1.8; line-break: strict; }
h1, h2, h3, h4 { font-weight: 650; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
.lang-zh h1, .lang-zh h2, .lang-zh h3, .lang-zh h4 { letter-spacing: .01em; line-height: 1.35; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.12rem; }
h4 { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.lang-zh h4 { font: 600 .86rem var(--sans); letter-spacing: .04em; text-transform: none; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.icon-tile { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
ul, ol { padding: 0; margin: 0; list-style: none; }
.muted { color: var(--ink-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
main:focus, section:focus { outline: none; }
.preview-banner { background: var(--warm-soft); color: var(--warm); font-size: .82rem; text-align: center; padding: 6px 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.logo { width: 38px; height: 38px; flex: none; }
.logo-bg { fill: #0a1a2f; }
.logo-t { stroke: #3fd0dc; }
.logo-bars { stroke: #7fdce4; }
.brand-accent { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-bg { fill: #12273f; } }
:root[data-theme="dark"] .logo-bg { fill: #12273f; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name { font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.brand-desc { font-size: .72rem; color: var(--ink-3); max-width: 260px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; align-items: center; }
.site-nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a.nav-cta { background: var(--navy); color: #fff; padding: 8px 14px; margin-left: 6px; }
.site-nav a.nav-cta:hover { background: var(--navy-2); }
.site-nav a.nav-cta[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; color: var(--ink-3); white-space: nowrap; }
.lang-switch .icon { width: 1em; height: 1em; margin-right: 2px; }
.ls-item { padding: 3px 7px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; min-height: 28px; display: inline-flex; align-items: center; }
a.ls-item:hover { color: var(--accent); background: var(--accent-soft); }
.ls-item.is-current { background: var(--navy); color: #fff; }
.ls-sep { color: var(--line); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: .88rem; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; } .menu-bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1180px) {
  .header-inner { flex-wrap: wrap; row-gap: 0; }
  .header-actions { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { order: 5; flex-basis: 100%; margin: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; padding: 4px 0 14px; }
  .site-nav ul { flex-wrap: wrap; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav a { padding: 12px; font-size: 1rem; }
  .js .site-nav a.nav-cta { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  .brand-desc { display: none; }
  .lang-switch .icon { display: none; }
}

/* ---------- buttons & links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: 600 .98rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(10, 124, 135, .25); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; box-shadow: none; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--flush { padding-top: 8px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: var(--navy-ink); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: var(--navy-ink-2); }
.section--dark .eyebrow { color: var(--accent-bright); }
.section--dark .text-link { color: var(--accent-bright); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font: 500 .76rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lang-zh .eyebrow { font: 600 .88rem var(--sans); letter-spacing: .08em; }
.eyebrow--light { color: var(--accent-bright); }
.lead { font-size: 1.13rem; color: var(--ink-2); }
.body-lg { font-size: 1.06rem; }
.group-title { font-size: 1.3rem; margin-bottom: 22px; }
.small-title { font-size: .95rem; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; margin-top: 28px; }
.fine-print { font-size: .86rem; color: var(--ink-3); margin-top: 24px; max-width: 900px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .section-head { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split .section-head { margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
@media (max-width: 900px) { .split, .two-col, .three-col { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 104px) 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000 40%, transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(63, 208, 220, .14), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--navy-ink-2); max-width: 600px; font-size: 1.15rem; }
.hero-diagram { width: 100%; height: auto; display: block; }
.grid-line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.grid-bg { opacity: 1; }
.sig { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sig--noisy { stroke: #8fa3b8; }
.sig--clean { stroke: var(--accent-bright); stroke-width: 3; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2s .6s ease-out forwards; }
.flow { stroke: var(--accent-bright); stroke-width: 2; stroke-dasharray: 4 5; animation: flow 1.2s linear infinite; }
.arr-head { fill: var(--accent-bright); }
.chip-body { fill: #12304d; stroke: #2b5378; stroke-width: 1.5; }
.chip-core { fill: #0a1a2f; stroke: var(--accent-bright); stroke-width: 1.2; }
.chip-pin { stroke: #2b5378; stroke-width: 3; stroke-linecap: round; }
.chip-wave { fill: none; stroke: var(--accent-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-label { fill: #a9bacb; font: 500 13px var(--sans); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { to { stroke-dashoffset: -18; } }
.hero-pillars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 72px); background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); }
.hero-pillars a { display: flex; align-items: center; gap: 12px; padding: 22px 20px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; transition: background .15s; }
.hero-pillars a:hover { background: var(--navy-2); }
.hero-pillars .icon { color: var(--accent-bright); width: 1.4em; height: 1.4em; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-pillars { grid-template-columns: 1fr; }
  .hero-pillars a { padding: 16px; }
}

/* ---------- pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.pillar-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pillar-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.pillar-num { font: 500 .85rem var(--mono); color: var(--ink-3); }
.pillar-trust { font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--warm); margin-bottom: 6px; }
.lang-zh .pillar-trust { font: 600 .85rem var(--sans); letter-spacing: .04em; }
.pillar-card h3 { font-size: 1.28rem; }
.pillar-card > p { color: var(--ink-2); }
.pillar-card .check-list { margin-bottom: 18px; }
.pillar-card .text-link { margin-top: auto; }
.conclusion { margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--navy); color: #fff; font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; gap: 12px; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---------- lists ---------- */
.check-list li { display: flex; gap: 10px; padding: 4px 0; }
.check-list .icon { color: var(--accent); margin-top: .3em; }
.check-list--lg li { padding: 7px 0; font-size: 1.04rem; border-bottom: 1px solid var(--line); }
.dash-list li { position: relative; padding: 5px 0 5px 20px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 2px; background: var(--accent); }
.num-list { counter-reset: n; }
.num-list li { counter-increment: n; display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.num-list li::before { content: counter(n, decimal-leading-zero); font: 500 .8rem var(--mono); color: var(--accent); margin-top: .3em; }
.link-list li { padding: 6px 0; }

/* ---------- tabs: lifecycle phases ---------- */
.stage-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stage-tab { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; text-align: left; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.stage-tab:hover { border-color: var(--accent); }
.stage-tab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.stage-num { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--accent); color: var(--accent); font: 600 1rem var(--mono); }
.stage-tab[aria-selected="true"] .stage-num { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--navy); }
.stage-short { font-size: .8rem; font-weight: 600; color: var(--accent); }
.stage-tab[aria-selected="true"] .stage-short { color: var(--accent-bright); }
.stage-label { font-weight: 650; font-size: 1.04rem; line-height: 1.35; }
.stage-panel { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow); animation: fade .25s ease-out; }
.js [data-hidden] { display: none !important; }
.stage-kicker { font-size: .84rem; font-weight: 600; color: var(--warm); margin-bottom: 4px; }
.stage-question { font-size: 1.32rem; font-weight: 650; line-height: 1.4; margin-bottom: 20px; }
.decision { margin: 18px 0 0; padding: 12px 16px; background: var(--warm-soft); border-radius: var(--radius-sm); font-size: .95rem; }
.decision strong { color: var(--warm); }
.stage-more { margin: 16px 0 0; }
.combined { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 20px 24px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.combined p { margin: 0; font-size: 1.03rem; }
.combined-mark { flex: none; display: flex; align-items: center; gap: 4px; font: 600 1.05rem var(--mono); color: var(--accent); }
.combined-mark span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
@media (max-width: 760px) {
  .stage-tabs { grid-template-columns: 1fr; }
  .combined { flex-direction: column; align-items: flex-start; }
}

/* ---------- home: platform list, evidence mini, process ---------- */
.plat-list { display: grid; gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.plat-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: var(--navy-2); color: #fff; font-weight: 600; }
.plat-list small { font: 500 .75rem var(--mono); color: var(--accent-bright); letter-spacing: .06em; text-align: right; }
.lang-zh .plat-list small { font: 500 .82rem var(--sans); }
.ev-mini { display: grid; gap: 10px; }
.ev-mini li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 600; }
.ev-level { display: inline-flex; gap: 3px; align-items: flex-end; flex: none; }
.ev-level i { width: 5px; border-radius: 2px; background: var(--line); }
.ev-level i:nth-child(1) { height: 8px; } .ev-level i:nth-child(2) { height: 12px; } .ev-level i:nth-child(3) { height: 16px; } .ev-level i:nth-child(4) { height: 20px; }
.ev-level i.on { background: var(--accent); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.process li { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.process h3 { font-size: 1.04rem; margin-bottom: 4px; }
.process p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.process-num { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: var(--accent-bright); font: 600 .9rem var(--mono); }
.process--compact { grid-template-columns: 1fr; gap: 10px; }
.process--compact li { padding: 16px 18px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- audiences ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.aud { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.aud h3 { font-size: 1rem; }
.aud p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.aud--primary { background: var(--navy); border-color: var(--navy); }
.aud--primary h3 { color: #fff; }
.aud--primary p { color: var(--navy-ink-2); }
@media (max-width: 1100px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } .aud--primary { grid-column: 1 / -1; } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.case-card h3 { font-size: 1.15rem; }
.case-card > p { color: var(--ink-2); }
.case-card > .text-link { margin-top: auto; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.case-pillar { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--ink-3); }
.case-card details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 10px; }
.case-card summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 4px 0; }
.details-body { padding-top: 10px; }
.details-body p { color: var(--ink-2); }
.details-body strong { color: var(--ink); }
.source { font-size: .9rem; word-break: break-word; }
.case-card:target { outline: 3px solid var(--accent); outline-offset: 2px; }
.badge { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 1.4; }
.badge--completed { background: #e3f6ea; color: #17663a; }
.badge--active { background: #e6eefe; color: #1f4fb8; }
.badge--proposed { background: #f1ecfb; color: #5b3aa8; }
.badge--illustrative { background: var(--warm-soft); color: var(--warm); }
.badge--documented { background: var(--accent-soft); color: var(--accent); }
.badge--rd { background: var(--warm-soft); color: var(--warm); margin-top: 6px; }
@media (max-width: 1000px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }
.legend { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 24px; background: var(--bg-alt); }
.legend summary { cursor: pointer; font-weight: 600; }
.legend ul { display: grid; gap: 8px; margin-top: 12px; }
.legend li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink-2); }
.legend em { font-size: .82rem; color: var(--ink-3); }
.filters { display: grid; gap: 10px; margin-bottom: 24px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: .85rem; color: var(--ink-3); min-width: 6.5em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip { min-height: 40px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 .9rem var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.case-card[hidden] { display: none; }

/* ---------- founder, roadmap, commitments ---------- */
.founder, .about { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.monogram { width: 150px; height: 150px; border-radius: 20px; display: grid; place-items: center; background: var(--navy); color: #fff; font: 650 2.6rem var(--sans); position: relative; overflow: hidden; }
.monogram::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(63, 208, 220, .3), transparent 60%); }
.monogram--lg { width: 190px; height: 190px; font-size: 3.4rem; }
.role { color: var(--accent); font-weight: 600; }
.role-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.role-chips li { padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .88rem; }
.conf-inline { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--navy); color: var(--navy-ink); margin-bottom: 18px; }
.conf-inline p { margin: 0; font-size: .95rem; color: var(--navy-ink-2); }
.conf-inline strong { color: #fff; }
.conf-inline .icon { color: var(--accent-bright); margin-top: .2em; }
@media (max-width: 700px) {
  .founder, .about { grid-template-columns: 1fr; }
  .monogram, .monogram--lg { width: 96px; height: 96px; font-size: 1.8rem; }
}
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.roadmap li { position: relative; padding: 28px 24px 0 0; border-top: 2px solid var(--line); }
.roadmap li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.roadmap li:first-child::before { background: var(--accent); }
.roadmap li:first-child { border-top-color: var(--accent); }
.rm-when { font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lang-zh .rm-when { font: 600 .86rem var(--sans); }
.roadmap h3 { margin-top: 6px; }
.roadmap p { color: var(--ink-2); }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; gap: 8px; } .roadmap li { padding: 20px 0 0 0; } }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.commit { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.commit .icon-tile { margin-bottom: 16px; }
.commit p { color: var(--ink-2); margin: 0; }
.commit.commit--lock { background: var(--navy); border-color: var(--navy); }
.commit.commit--lock h3 { color: #fff; }
.commit.commit--lock p { color: var(--navy-ink-2); }
.commit.commit--lock .icon-tile { background: rgba(63, 208, 220, .12); color: var(--accent-bright); }
@media (max-width: 900px) { .commit-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #0d2f4a 100%); color: #fff; padding: clamp(52px, 7vw, 84px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner > div { max-width: 680px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--navy-ink-2); margin: 0; }

/* ---------- page hero & service grids ---------- */
.page-hero { padding: clamp(52px, 7vw, 88px) 0 36px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.page-hero .section-head { margin-bottom: 8px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-grid li { padding: 24px; background: var(--surface); transition: background .15s; }
.svc-grid li:hover { background: var(--bg-alt); }
.svc-grid h3 { font-size: 1.02rem; display: flex; gap: 10px; }
.svc-grid h3::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .45em; border-radius: 2px; background: var(--accent); }
.svc-grid p { color: var(--ink-2); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- technology page ---------- */
.quote-alt { font-size: 1.05rem; color: var(--accent-bright) !important; font-weight: 600; }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--navy-line); border-radius: var(--radius); background: var(--navy-2); }
.plat-head h3 { font-size: 1.15rem; margin-bottom: 8px; }
.plat-vendor { display: block; font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy-ink-2); margin-bottom: 4px; }
.plat-tag { align-self: flex-start; font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(63, 208, 220, .12); color: var(--accent-bright); margin-bottom: 12px; }
.plat-card p { font-size: .93rem; }
.plat-card .dash-list li { font-size: .9rem; color: var(--navy-ink); }
.plat-status { margin: auto 0 0; padding-top: 14px; font: 500 .74rem var(--mono); letter-spacing: .06em; color: var(--navy-ink-2) !important; border-top: 1px solid var(--navy-line); }
.lang-zh .plat-status { font: 500 .84rem var(--sans); }
.plat-card--twopi { opacity: .8; border-style: dashed; }
@media (max-width: 1000px) { .plat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plat-grid { grid-template-columns: 1fr; } }
.compare { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.cmp-picker h3 { font-size: 1.4rem; }
.cmp-result { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt); animation: fade .25s ease-out; }
.cmp-suggest { display: flex; flex-direction: column; margin-bottom: 12px; }
.cmp-suggest span { font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lang-zh .cmp-suggest span { font: 500 .84rem var(--sans); }
.cmp-suggest strong { font-size: 1.3rem; color: var(--accent); }
.cmp-ask-title { font-weight: 600; margin: 8px 0 2px; }
.cmp-matrix-title { font: 500 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lang-zh .cmp-matrix-title { font: 600 .9rem var(--sans); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .86rem; }
tbody th { font-weight: 500; color: var(--ink); }
tbody tr:last-child > * { border-bottom: 0; }
.lvl span { color: var(--accent); margin-right: 4px; }
.lvl--na { color: var(--ink-3); }
.lvl--na span { color: var(--ink-3); }
td.is-suggested, th.is-suggested { background: var(--accent-soft); }
thead th.is-suggested { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }
.disclaimer { border-left: 3px solid var(--line); padding-left: 14px; }
.consult { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent-soft); }
.consult h3 { font-size: 1.25rem; }
.consult p { margin: 0; color: var(--ink-2); }
.arch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; margin-bottom: 8px; }
.arch li { position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.arch li:not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 50%; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px); background-size: 14px 2px; animation: dash 1s linear infinite; }
.arch li:nth-child(3) { border-color: var(--accent); background: var(--accent-soft); }
.arch h4 { font: 650 1.02rem var(--sans); color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 6px; }
.arch p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.arch-num { display: inline-block; font: 500 .78rem var(--mono); color: var(--accent); margin-bottom: 6px; }
@keyframes dash { to { background-position: 14px 0; } }
@media (max-width: 900px) {
  .arch { grid-template-columns: 1fr; gap: 22px; }
  .arch li:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -18px; width: 2px; height: 14px; background: var(--accent); animation: none; }
}
.ip-note { padding: 24px; border-radius: var(--radius); background: var(--navy); color: var(--navy-ink); }
.ip-note p { color: var(--navy-ink-2); margin: 14px 0 0; }
.ip-note .icon-tile { background: rgba(63, 208, 220, .12); color: var(--accent-bright); }
.three-col h3 { font-size: 1.02rem; margin-top: 4px; }

/* ---------- clinical: evidence types ---------- */
.evidence { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: stretch; }
.ev-tabs { display: grid; gap: 8px; }
.ev-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 600 1rem var(--sans); cursor: pointer; }
.ev-tab:hover { border-color: var(--accent); }
.ev-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ev-tab[aria-selected="true"] .ev-level i { background: rgba(255,255,255,.2); }
.ev-tab[aria-selected="true"] .ev-level i.on { background: var(--accent-bright); }
.ev-panel { height: 100%; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); animation: fade .25s ease-out; }
.ev-answers { font-size: 1.35rem; font-weight: 650; line-height: 1.4; }
.ev-who { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); margin: 0; }
.ev-who .icon { color: var(--accent); margin-top: .25em; }
@media (max-width: 800px) { .evidence { grid-template-columns: 1fr; } }
.boundaries { font-size: .95rem; color: var(--ink-2); border-left: 3px solid var(--warm); padding: 6px 0 6px 16px; }
.trust-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--radius); background: var(--navy); color: #fff; margin-bottom: 48px; }
.trust-strip h2 { font-size: 1.2rem; margin: 0; color: #fff; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-strip li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.trust-strip .icon { color: var(--accent-bright); }

/* ---------- about ---------- */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role-grid li { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.role-grid p { color: var(--ink-2); margin: 0; font-size: .93rem; }
@media (max-width: 900px) { .role-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .role-grid { grid-template-columns: 1fr; } }

/* ---------- contact form ---------- */
.contact { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }
.enquiry { padding: clamp(22px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--services, .field--description, .field--consent { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .93rem; padding: 0; }
.req { font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--focus); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500 !important; font-size: .93rem !important; }
.check:hover { border-color: var(--accent); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.field--consent .check { border: 0; padding: 0; color: var(--ink-2); }
.form-actions { margin-top: 24px; }
.form-status { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fdecea; color: #a1281b; font-size: .94rem; }
.form-status.is-ok { background: var(--accent-soft); color: var(--ink); }
.notice { margin: 18px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--warm-soft); color: var(--warm); font-size: .88rem; }
.success { text-align: left; }
.success h2 { display: flex; align-items: center; gap: 12px; }
.success .icon { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.contact-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.side-card { padding: 22px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.side-card .small-title { margin-top: 0; }
.next-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.next-list p { margin: 0; font-size: .94rem; }
.conf-note { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.conf-note .icon { flex: none; width: 22px; height: 22px; color: var(--accent-bright); }
.conf-note p { margin: 4px 0 0; font-size: .88rem; color: var(--navy-ink-2); }
.direct { margin: 0; font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.direct .icon { color: var(--accent); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact-side { position: static; } }
@media (max-width: 560px) { .field-grid, .check-grid { grid-template-columns: 1fr; } }

/* ---------- prose / thanks ---------- */
.prose h2 { font-size: 1.2rem; margin-top: 1.8em; }
.prose p { color: var(--ink-2); }
.thanks { text-align: center; padding-bottom: 96px; }
.thanks .narrow { margin: 0 auto; }
.thanks-icon .icon { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); margin-bottom: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-ink-2); padding: 56px 0 28px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.brand--footer { color: #fff; margin-bottom: 14px; }
.brand--footer .brand-desc { color: var(--navy-ink-2); max-width: 340px; }
.footer-note { max-width: 460px; margin: 0; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer-nav a, .footer-bottom a { color: var(--navy-ink); text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--accent-bright); text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; border-top: 1px solid var(--navy-line); }
.footer-bottom p { margin: 0; }
.footer-bottom .lang-switch { margin-left: auto; border-color: var(--navy-line); }
.footer-bottom .ls-item { color: var(--navy-ink); }
.footer-bottom .ls-item.is-current { background: var(--accent-bright); color: var(--navy); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .footer-bottom .lang-switch { margin-left: 0; } }

/* ---------- motion: scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .sig--clean { stroke-dashoffset: 0; }
}
@media print {
  .site-header, .cta-band, .preview-banner, .hero-visual, .site-footer { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- v4: about / team / gallery ---------- */
.about-hero .split { align-items: center; }
.scene { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.scene-media { position: relative; background: var(--navy); }
.scene-media img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.scene-badge { position: absolute; left: 10px; bottom: 10px; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(10, 26, 47, .85); color: #ffd7b5; border: 1px solid rgba(255, 215, 181, .35); }
.scene figcaption { padding: 18px 20px 20px; }
.scene figcaption h3 { font-size: 1.05rem; margin-bottom: 6px; }
.scene figcaption p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.scene-credit { display: block; margin-top: 8px; font-size: .78rem; color: var(--ink-3); }
.scene--hero figcaption { display: none; }
.scene--compact figcaption { padding: 12px 14px; }
.scene--compact figcaption p { display: none; }
.scene--compact figcaption h3 { font-size: .95rem; margin: 0; }
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scene-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .scene-grid, .scene-pair { grid-template-columns: 1fr; } }
.base-points { display: grid; gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.base-points li { display: flex; gap: 12px; padding: 18px 20px; background: var(--navy-2); color: #fff; font-weight: 500; }
.base-points .icon { color: var(--accent-bright); margin-top: .25em; }
.section--dark .fine-print a { color: var(--accent-bright); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-grid li { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.cap-num { font: 500 .8rem var(--mono); color: var(--accent); }
.cap-grid h3 { margin-top: 8px; }
.cap-grid p { color: var(--ink-2); margin: 0; font-size: .94rem; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.lead-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt); }
.lead-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.affiliation { border-left: 3px solid var(--line); padding-left: 14px; margin-top: 36px; }
.scene-badge--photo { color: #c9f4f7; border-color: rgba(63, 208, 220, .45); }
.scene-badge--ai { color: #ffd7b5; }
.scene-grid > .scene:first-child { grid-column: 1 / -1; }
.scene-grid > .scene:first-child .scene-media img { aspect-ratio: 16 / 7; }
.scene--hero .scene-media img { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .scene-grid > .scene:first-child .scene-media img { aspect-ratio: 8 / 5; } }
