/* ===================================================================
   Ai Koyama Website — styles
   Ported from design-reference/.../Ai Koyama Website V3.7.dc.html
   Desktop baseline ~1440px canvas, mobile baseline 390px canvas.
   Breakpoint: 860px (mobile layout below, desktop layout at/above).
   =================================================================== */

:root {
  --blue: #2250d9;
  --navy: #0f1b2d;
  --text: #0f1b2d;
  --muted: #566174;
  --muted-2: #3a4558;
  --muted-3: #667286;
  --border: #dde2ea;
  --border-2: #cfd6e2;
  --bg: #f7f8fa;
  --gray-light: #e0e5ed;
  --gray-2: #c9d1de;
  --gray-3: #8b98ae;
  --gray-4: #b8c2d3;
  --font: 'IBM Plex Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --page-max: 1440px;
  --pad-x: clamp(20px, 6.6vw, 96px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

h1, h2, h3, p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.hide-mobile { display: inline; }
.show-mobile { display: none; }

.br-mobile { display: none; }
.br-desktop { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.88; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  padding: 15px 28px;
}
.link-underline {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-3);
  padding-bottom: 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}
.site-header__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 68px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
}
.brand {
  margin-right: auto;
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.brand__name { font-size: 19px; font-weight: 600; }
.brand__kana { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav a { font-size: 14px; color: var(--muted-2); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--blue); }
.nav-badge {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: #eef0f4;
  border-radius: 999px;
  padding: 3px 10px;
  text-decoration: none;
  line-height: 1.6;
}
.nav-badge:hover { color: var(--blue); }
.nav-cta { font-size: 14px; padding: 9px 18px; white-space: nowrap; }
.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 22px;
  padding: 4px 8px;
  color: var(--text);
}
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .site-header__inner { min-height: 60px; gap: 8px; }
  .nav, .nav-cta { display: none; }
  .nav-badge { font-size: 11px; padding: 3px 8px; }
  .nav-toggle { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0; }
  .brand { gap: 0; flex-direction: column; align-items: flex-start; }
  .brand__kana { display: none; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 20px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg);
  }
  .mobile-nav a {
    padding: 12px 0;
    font-size: 15px;
    color: var(--muted-2);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav .btn { margin-top: 14px; text-align: center; color: #fff; }
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--pad-x) 0;
}
.wrap--adv { padding-top: clamp(32px, 5vw, 56px); }
.sec-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.6;
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ---------- Hero ---------- */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }

.hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--pad-x) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero > * { min-width: 0; }
.fu { animation: fadeUp 0.9s ease var(--d, 0s) both; }
.hero__eyebrow { font-size: clamp(14px, 1.4vw, 16px); font-weight: 600; color: var(--blue); line-height: 1.7; margin: 0 0 14px; }
.hero__title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.5; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 20px; }
.hl { display: block; overflow: hidden; }
.hl__in { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
.hl__in--2 { animation-delay: 0.35s; }
.hero__mark { position: relative; display: inline-block; isolation: isolate; }
.hero__mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: rgba(34, 80, 217, 0.18);
  transform-origin: left;
  animation: sweep 0.8s ease 1.2s both;
  z-index: -1;
}
.hero__lead { font-size: clamp(15px, 1.5vw, 17px); line-height: 2; max-width: 540px; margin: 0 0 12px; color: var(--muted-2); }
.hero__sub { font-size: clamp(14px, 1.4vw, 15.5px); line-height: 1.95; max-width: 540px; margin: 0 0 20px; color: var(--muted); }
.hero__lang {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px 14px;
  margin: 0 0 26px; padding: 8px 16px 8px 8px;
  background: #fff; border: 1px solid #c9d9f5; border-radius: 10px; max-width: 100%;
}
.hero__lang-badge {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px;
  border-radius: 999px; background: #eef3ff; border: 1.5px solid var(--blue); color: #1b3fae;
  font-size: clamp(15px, 1.5vw, 17px); font-weight: 700; line-height: 1.4;
}
.hero__lang-zh, .nav-zh { font-size: 15px; font-weight: 500; color: var(--muted-2); font-family: 'Noto Sans SC', 'IBM Plex Sans JP', sans-serif; }
.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 14px; }
.hero__btn {
  display: inline-flex; align-items: center; min-height: 52px; font-size: 16px; font-weight: 600;
  background: var(--blue); color: #fff; padding: 0 28px; border-radius: 4px; text-decoration: none;
}
.hero__btn:hover { background: #1b3fae; }
.hero__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500;
  color: var(--text); text-decoration: none; border-bottom: 1px solid #9aa6ba;
}
.hero__link:hover { color: var(--blue); border-color: var(--blue); }
.hero__note { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.hero__cap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.hero__cap-tag { font-weight: 600; color: #1b3fae; background: #eef3ff; border-radius: 999px; padding: 1px 12px; }
.hero__svg {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 24px 50px -32px rgba(15, 27, 45, 0.35);
}
.hf1 { animation: fadeUp 0.8s ease 1s both; }
.hf2 { animation: fadeUp 0.8s ease 1.5s both; }
.hf3 { animation: fadeUp 0.8s ease 2s both; }
.ha1 { stroke-dasharray: 44; animation: draw 0.6s ease 1.35s both; }
.ha2 { stroke-dasharray: 44; animation: draw 0.6s ease 1.85s both; }
.stat__plus { color: var(--blue); }

@media (max-width: 860px) {
  .hero__btn { display: flex; justify-content: center; width: 100%; }
}

/* ---------- Scroll fade-in ---------- */
[data-fx] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-fx].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-fx] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Pains ---------- */
.pains__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 12px; }
.pain-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s;
}
.pain-card:hover { border-color: #b9c8f0; }
.pain-card p { font-size: clamp(16px, 1.5vw, 18px); font-weight: 500; line-height: 1.7; margin: 0; }
.icon-chip {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--blue);
}

/* ---------- Demos ---------- */
.demos { margin-top: clamp(36px, 6vw, 72px); background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.demos__inner { max-width: var(--page-max); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--pad-x); }
.demos__head { max-width: 760px; margin: 0 0 clamp(32px, 5vw, 64px); }
.demos__eyebrow { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.demos__title { font-size: clamp(28px, 4vw, 46px); line-height: 1.5; margin: 0 0 18px; font-weight: 700; letter-spacing: -0.02em; }
.demos__lead { font-size: clamp(15px, 1.5vw, 17px); line-height: 2; color: var(--muted-2); }
.dm-flow { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr); align-items: stretch; }
.dm-arr { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.dm-card {
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; color: var(--text); text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dm-card:hover, .dm-card:focus-visible { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 22px 40px -22px rgba(34, 80, 217, 0.45); }
.dm-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.dm-thumb { position: relative; background: var(--bg); border-bottom: 1px solid var(--border); }
.dm-no {
  position: absolute; left: 14px; top: 14px; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 17px; font-weight: 700;
}
.dm-svg { display: block; width: 100%; height: auto; }
.dm-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 26px; }
.dm-time { display: inline-block; font-size: 13px; font-weight: 600; color: #1b3fae; background: #eef3ff; border-radius: 999px; padding: 1px 12px; }
.dm-title { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; margin: 0; font-weight: 700; }
.dm-desc { font-size: 15px; line-height: 1.95; margin: 0; color: var(--muted-2); flex: 1; }
.dm-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 600; border-radius: 4px; transition: background 0.2s ease;
}
.dm-card:hover .dm-btn, .dm-card:focus-visible .dm-btn { background: #1b3fae; }
.dm-btn svg { transition: transform 0.2s ease; }
.dm-card:hover .dm-btn svg { transform: translateX(3px); }
.dm-link {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid #9aa6ba; color: var(--text);
}
.dm-link:hover { color: var(--blue); border-color: var(--blue); }
.demos__foot { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 6px; }
.demos__foot-lead { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; line-height: 1.9; margin: 0 0 4px; max-width: 820px; }
.demos__foot-sub { font-size: clamp(15px, 1.5vw, 17px); font-weight: 500; line-height: 1.9; }
.demos__foot-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
.demos__foot-note { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .dm-flow { grid-template-columns: minmax(0, 1fr); }
  .dm-arr { height: 44px; }
  .dm-arr svg { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .dm-card, .dm-btn, .dm-btn svg { transition: none !important; }
  .dm-card:hover, .dm-card:focus-visible, .dm-card:hover .dm-btn svg { transform: none; }
}

/* ---------- Services ---------- */
.services__head p { font-size: 15.5px; line-height: 1.95; color: var(--muted-2); max-width: 640px; margin: -12px 0 clamp(20px, 3vw, 32px); }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sv-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 28px; background: #fff;
  border: 1px solid var(--border); border-top: 2px solid var(--border); border-radius: 6px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sv-card:hover { box-shadow: 0 14px 30px -20px rgba(15, 27, 45, 0.35); transform: translateY(-2px); }
.sv-card__body { min-width: 0; }
.sv-t { font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; line-height: 1.55; margin-bottom: 4px; }
.sv-d { font-size: 14.5px; line-height: 1.8; margin: 0; color: #1b3fae; font-weight: 600; }
.services__footnote { font-size: 13px; color: var(--muted-3); margin: 16px 0 0; line-height: 1.8; }

@media (max-width: 860px) {
  .sv-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sv-card { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .sv-card .icon-chip { width: 40px; height: 40px; }
  .sv-t { font-size: 16px; line-height: 1.5; margin-bottom: 2px; }
  .sv-d { font-size: 13px; line-height: 1.6; }
  .sv-card:hover { transform: none; }
}

/* ---------- Advanced (quieter block) ---------- */
.advanced { margin-top: clamp(36px, 6vw, 72px); background: #eff2f7; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-bottom: clamp(36px, 6vw, 72px); }

/* ---------- Data x AI ---------- */
.data-ai__head { margin-bottom: clamp(24px, 3.5vw, 44px); }
.data-ai__eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 6px; }
.data-ai__head h2 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.6; margin: 0 0 6px; font-weight: 700; letter-spacing: -0.015em; }
.data-ai__head p { font-size: 15px; line-height: 1.95; color: var(--muted); margin: 0; max-width: 680px; }

@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(34, 80, 217, 0.35); } 100% { box-shadow: 0 0 0 18px rgba(34, 80, 217, 0); } }
@keyframes dotv { 0% { top: -6px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.data-ai__stage { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; aspect-ratio: 1040 / 440; }
.data-ai__col-label { position: absolute; top: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.data-ai__col-label--src { left: 0; width: 21.1538%; }
.data-ai__col-label--hub { left: 39.4231%; width: 21.1538%; text-align: center; color: var(--blue); }
.data-ai__col-label--out { left: 78.8462%; width: 21.1538%; }
.data-ai__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.js-dataai-path-in, .js-dataai-path-out { stroke: var(--border-2); transition: stroke 0.6s; }
.js-dataai-dot-in, .js-dataai-dot-out { opacity: 0; transition: opacity 0.5s; }

.data-ai__node {
  position: absolute;
  left: 0;
  width: 21.1538%;
  height: 11.8182%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: var(--gray-3);
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  transition: all 0.5s;
}
.data-ai__node--out {
  left: 78.8462%;
  height: 20.9091%;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.data-ai__node--out strong { font-size: 17px; font-weight: 700; }
.data-ai__node--out span { font-size: 12.5px; line-height: 1.7; opacity: 0.8; }

.data-ai__hub {
  position: absolute;
  left: 39.4231%;
  top: 30%;
  width: 21.1538%;
  height: 45.4545%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: #fff;
  color: var(--gray-3);
  border: 1.5px solid var(--border-2);
  border-radius: 6px;
  transition: all 0.6s;
}
.data-ai__hub.is-pulsing { animation: ring 1s ease-out 1; }
.data-ai__hub-title { font-size: 19px; font-weight: 700; }
.data-ai__hub-subs { display: grid; gap: 4px; font-size: 13px; line-height: 1.6; opacity: 0.85; }

.data-ai__mobile { display: none; }
.data-ai__mobile-srcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.data-ai__chip {
  padding: 12px 8px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  background: #fff;
  color: var(--gray-3);
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  transition: all 0.5s;
}
.data-ai__connector { position: relative; height: 40px; width: 2px; margin: 0 auto; background: var(--border-2); overflow: hidden; transition: background 0.5s; }
.data-ai__connector-dot { position: absolute; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: dotv 1.3s linear infinite; }
.data-ai__mobile .data-ai__hub { position: static; width: auto; height: auto; padding: 20px 12px; }
.data-ai__hub-subs--inline { display: block; font-size: 12.5px; line-height: 1.9; margin-top: 2px; }
.data-ai__hub-subs--inline span { display: inline-block; padding: 1px 8px; margin: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.data-ai__mobile-outs { display: grid; gap: 8px; }
.data-ai__card {
  padding: 12px 16px;
  background: #fff;
  color: var(--gray-3);
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  transition: all 0.5s;
}
.data-ai__card strong { display: block; font-size: 16px; font-weight: 700; }
.data-ai__card span { font-size: 12.5px; line-height: 1.7; opacity: 0.8; }

.data-ai__footnote { font-size: 13px; color: var(--muted-3); margin: 20px 0 0; }

@media (max-width: 860px) {
  .data-ai__stage { display: none; }
  .data-ai__mobile { display: block; }
  .data-ai__mobile .data-ai__col-label { margin-bottom: 8px; }
}

/* ---------- Before / After ---------- */
.before-after__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.before-after__head h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.6; margin: 0 0 6px; font-weight: 700; letter-spacing: -0.015em; }
.before-after__head p { font-size: 14px; color: var(--muted); margin: 0; }
.before-after__tabs { display: flex; gap: 28px; }
.js-ba-tab {
  min-height: 44px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-3);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.js-ba-tab.is-active { color: var(--navy); border-bottom-color: var(--navy); }

.ba-diagram--desktop { display: grid; gap: 56px; }
.ba-diagram--mobile { display: none; }

.ba-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; transition: opacity 0.8s; }
.js-ba-before { opacity: 1; }
.js-ba-after { opacity: 0.4; }
.ba-row__label-title { font-size: 15px; font-weight: 700; }
.ba-row__label-title--after { color: var(--blue); }
.ba-row__label-sub { font-size: 13px; color: var(--muted); }
.ba-row__nodes { display: flex; }
.ba-node { flex: 1; }
.ba-node__row { display: flex; align-items: center; }
.ba-node__dot { width: 14px; height: 14px; border-radius: 50%; flex: none; display: block; }
.ba-node__dot--before { background: #fff; border: 1.5px solid var(--gray-3); }
.ba-node__line { flex: 1; height: 2px; margin: 0 8px; background: var(--border-2); position: relative; display: block; }
.ba-node__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--blue); transition: width 0.6s ease; }
.ba-node__label { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--muted-2); }
.ba-node__sub { font-size: 12.5px; color: var(--muted-3); }
.js-after-dot { background: #fff; border: 1.5px solid var(--border-2); transition: all 0.5s; }
.js-after-fill { background: var(--blue); }

@media (max-width: 860px) {
  .before-after__head { flex-direction: column; align-items: flex-start; margin-bottom: 22px; }
  .before-after__head p { font-size: 12.5px; margin: 0 0 18px; }
  .before-after__tabs { gap: 24px; margin-bottom: 0; }
  .js-ba-tab { font-size: 14.5px; }

  .ba-diagram--desktop { display: none; }
  .ba-diagram--mobile { display: grid; gap: 30px; }
  .ba-col__title { font-size: 14px; font-weight: 700; }
  .ba-col__title span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
  .ba-col__title--after { color: var(--blue); }
  .ba-col__nodes { margin-top: 14px; }
  .ba-node-v { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 14px; min-height: 44px; }
  .ba-node-v__rail { display: flex; flex-direction: column; align-items: center; }
  .ba-node-v__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: block; }
  .ba-node-v__dot--before { background: #fff; border: 1.5px solid var(--gray-3); }
  .ba-node-v__bar { flex: 1; width: 2px; background: var(--border-2); position: relative; margin: 2px 0; }
  .ba-node-v__fill { position: absolute; left: 0; right: 0; top: 0; height: 0%; background: var(--blue); transition: height 0.6s ease; }
  .ba-node-v__label { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--muted-2); }
  .ba-node-v__sub { font-size: 12px; font-weight: 400; color: var(--muted-3); margin-top: 2px; }
  .js-after-dot { transition: all 0.5s; }
}

/* ---------- How it works ---------- */
.how__title { margin-bottom: 12px; }
.how__lead { font-size: 16px; color: var(--muted); margin: 0 0 clamp(20px, 3vw, 36px); }
.how__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--navy);
}
.how__list li { padding: 22px 0; }
.how__n { font-size: 14px; color: var(--blue); font-weight: 600; }
.how__t { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; margin: 6px 0 10px; line-height: 1.5; }
.how__d { font-size: 15px; line-height: 1.95; color: var(--muted); }
.how__note { font-size: 16px; margin: 32px 0 0; color: var(--muted-2); }

/* ---------- Trust / About ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  border-top: 1px solid var(--navy);
  padding-top: clamp(20px, 3vw, 32px);
}
.trust .stat__plus { font-size: 0.42em; letter-spacing: 0; margin-left: 0.1em; }
.trust__num { font-size: clamp(64px, 9vw, 112px); line-height: 1.05; font-weight: 700; letter-spacing: -0.045em; }
.trust__num-label { font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; margin-top: 6px; }
.trust__body { min-width: 0; }
.trust__name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.trust__name-en { font-size: 16px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.trust__bio { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.95; margin: 8px 0 0; color: var(--muted-2); max-width: 620px; }
.trust__lang { font-size: 14.5px; line-height: 1.8; margin: 12px 0 0; color: #1b3fae; font-weight: 600; }
.trust__lang span { font-family: 'Noto Sans SC', 'IBM Plex Sans JP', sans-serif; font-weight: 500; }

/* ---------- Contact ---------- */
.ct-card {
  background: #edf4ff;
  border: 1px solid #c9d9f5;
  border-radius: 8px;
  padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px clamp(24px, 4vw, 56px);
  align-items: start;
}
.ct-card > * { min-width: 0; }
.ct-title { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.55; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); }
.ct-lang { font-size: clamp(19px, 2vw, 26px); line-height: 1.6; font-weight: 700; color: #1b3fae; margin: 0 0 4px; }
.ct-lang-zh { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 20px; font-family: 'Noto Sans SC', 'IBM Plex Sans JP', sans-serif; }
.ct-lead { font-size: clamp(15px, 1.4vw, 16px); line-height: 1.95; max-width: 520px; color: var(--muted-2); }
.ct-side { display: flex; flex-direction: column; gap: 20px; }
.ct-ask { background: #fff; border: 1px solid #c9d9f5; border-radius: 6px; padding: 20px 22px; }
.ct-ask__title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.ct-ask__list { display: flex; flex-direction: column; gap: 10px; }
.ct-ask__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.7; }
.ct-ask__n {
  display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; margin-top: 2px;
}
.ct-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ct-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; font-size: 17px; font-weight: 600;
  background: var(--blue); color: #fff; padding: 0 36px; border-radius: 4px; text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(34, 80, 217, 0.6);
}
.ct-btn:hover { background: #1b3fae; }
.ct-fallback { font-size: 13px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.ct-zh { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--blue); text-decoration: underline; font-family: 'Noto Sans SC', 'IBM Plex Sans JP', sans-serif; }
.ct-btn:focus-visible, .ct-zh:focus-visible, .hero__btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 860px) {
  .ct-btn { display: flex; width: 100%; padding: 0 16px; }
}

/* ---------- Footer ---------- */
.site-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 64px var(--pad-x) 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__brand { font-size: 17px; font-weight: 600; color: var(--navy); }
.site-footer__link { color: var(--muted); text-decoration: none; border-bottom: 1px solid #9aa6ba; }
.site-footer__lang { font-size: 12px; color: #7a869a; }
.site-footer__lang span { font-size: 11px; margin-left: 6px; font-family: 'Noto Sans SC', 'IBM Plex Sans JP', sans-serif; }
.site-footer__copy { margin-left: auto; }

@media (max-width: 860px) {
  .site-footer__copy { margin-left: 0; }
}

/* ---------- Reduced motion: disable smooth scrolling ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ba-row, .js-after-dot, .sv-card, .pain-card, .ba-node-v__fill, .ba-node__fill,
  .data-ai__node, .data-ai__hub, .data-ai__chip, .data-ai__card, .data-ai__connector,
  .data-ai__hub.is-pulsing, .data-ai__connector-dot,
  .btn { transition: none !important; animation: none !important; }
  .js-dataai-dot-in, .js-dataai-dot-out, .data-ai__connector-dot { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .fu, .hl__in, .hero__mark::after, .hf1, .hf2, .hf3, .ha1, .ha2 { animation: none !important; }
}
