/* KABUTO TECHNOLOGY — site styles (Apple-style product presentation)
   Layout concept: full-bleed product tiles with centred headlines and pill CTAs, two-up tiles with
   12px gutters, a horizontally scrolling block lineup, Apple-style local nav and tech-spec pages.
   The brand commits to a light look on purpose (white enclosures, jade trim), so there is no dark
   theme; every colour is set explicitly. One black band presents the system diagram. */
:root {
  --white: #ffffff;
  --gray: #f5f5f7;
  --stone: #ebe8e7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --jade: #0f7a52;
  --jade-deep: #0b5c3e;
  --jade-tint: #e7f3ee;
  --black: #000000;
  --on-black: #f5f5f7;
  --on-black-2: #a1a1a6;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Hiragino Sans", "PingFang SC", "Noto Sans JP", "Noto Sans SC", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Hiragino Sans", "PingFang SC", "Noto Sans JP", "Noto Sans SC", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;

  --max: 980px;
  --wide: 1440px;
  --nav: 52px;
  color-scheme: light;
}
:lang(zh) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(ja) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 64px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:lang(zh) body, :lang(ja) body { letter-spacing: 0; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(251,251,253,.86); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--jade); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: inherit; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .sub, :lang(ja) .lead { word-break: auto-phrase; }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.wrap {
  max-width: calc(var(--max) + 2 * 22px); margin: 0 auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(22px, env(safe-area-inset-right, 0px));
}
.wrap.wide { max-width: calc(1200px + 2 * 22px); }
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- global nav ---------- */
.gnav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav);
  background: rgba(251,251,253,.86); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.gnav .wrap { max-width: calc(1024px + 44px); height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 15px; width: auto; }
.nav { display: flex; gap: 2px; margin: 0 auto; align-items: center; }
.nav a { color: rgba(0,0,0,.8); font-size: 13px; padding: 0 12px; height: 44px; display: inline-flex; align-items: center; letter-spacing: 0; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.langs { display: flex; gap: 0; flex: none; }
.langs a { font-size: 12px; color: var(--ink-3); padding: 0 8px; height: 44px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.langs a:hover { text-decoration: none; color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .brand { margin-right: auto; }
  .menu-btn { display: inline-flex; }
  .gnav .wrap { gap: 4px; }
}
.drawer { position: fixed; inset: 0; z-index: 70; background: rgba(251,251,253,.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.drawer-panel { max-width: 640px; margin: 0 auto; padding: calc(10px + env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px)) 40px max(22px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; }
.drawer-panel .close { align-self: flex-end; background: none; border: 0; width: 44px; height: 44px; font-size: 26px; cursor: pointer; color: var(--ink); }
.drawer-panel a { color: var(--ink); font: 600 28px/1.2 var(--font-display); padding: 10px 0; }
.drawer-panel a:hover { text-decoration: none; color: var(--jade); }

/* ---------- local nav (product pages) ---------- */
.has-lnav .gnav { position: relative; top: 0; }
.lnav {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 0px); z-index: 45; height: 52px;
  background: rgba(251,251,253,.86); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.lnav .wrap { max-width: calc(1024px + 44px); height: 100%; display: flex; align-items: center; gap: 18px; }
.lnav .title { font: 600 19px var(--font-display); color: var(--ink); white-space: nowrap; margin-right: auto; }
.lnav .title:hover { text-decoration: none; }
.lnav .links { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.lnav .links::-webkit-scrollbar { display: none; }
.lnav .links a { font-size: 12px; color: var(--ink-2); white-space: nowrap; height: 44px; display: inline-flex; align-items: center; }
.lnav .links a.on { color: var(--ink); }
.lnav .pill { font-size: 12px; padding: 4px 12px; min-height: 28px; }
@media (max-width: 760px) { .lnav .links { display: none; } }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 20px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 980px; font: 400 17px/1 var(--font); padding: 12px 22px; min-height: 44px; border: 1px solid var(--jade); cursor: pointer; letter-spacing: 0; }
.pill.solid { background: var(--jade); color: #fff; }
.pill.solid:hover { background: var(--jade-deep); border-color: var(--jade-deep); text-decoration: none; }
.pill.line { background: transparent; color: var(--jade); }
.pill.line:hover { background: var(--jade); color: #fff; text-decoration: none; }
.tile.black .pill.line, .band.black .pill.line { color: #5fd3a3; border-color: #5fd3a3; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; color: var(--jade); }
.more::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); }

/* ---------- tiles (home) ---------- */
.tile { text-align: center; overflow: hidden; position: relative; padding-top: clamp(44px, 5vw, 58px); background: var(--gray); }
.tile + .tile { margin-top: 12px; }
.tile.white { background: var(--white); }
.tile.stone { background: var(--stone); }
.tile.black { background: var(--black); color: var(--on-black); }
.tile .eyebrow { display: block; font: 600 clamp(14px, 1.4vw, 17px) var(--font); color: var(--jade); margin-bottom: 6px; letter-spacing: 0; }
.tile.black .eyebrow { color: #5fd3a3; }
.tile h2 { font-size: clamp(38px, 5.2vw, 56px); line-height: 1.07; letter-spacing: -0.005em; }
:lang(zh) .tile h2, :lang(ja) .tile h2 { line-height: 1.16; }
.tile .sub { font-size: clamp(19px, 2.1vw, 28px); line-height: 1.2; margin-top: 8px; color: var(--ink); font-weight: 400; }
.tile.black .sub { color: var(--on-black); }
.tile .media { margin: clamp(18px, 2.5vw, 30px) auto 0; max-width: 1080px; padding-inline: 16px; }
.tile .media img { width: 100%; }
.tile.stone .media img, .tile.blk .media img, .p-hero.blk .media img, .compare .ph img, .lineup .ph img, .related .ph.blk img {
  -webkit-mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 62%, transparent 100%); }
.tile.store { background: var(--gray); }
.tile.store .media img { border-radius: 18px; }
.tile .facts { display: flex; justify-content: center; gap: clamp(20px, 4vw, 56px); margin-top: 22px; flex-wrap: wrap; padding-inline: 16px; }
.tile .facts div { display: grid; gap: 2px; }
.tile .facts b { font: 600 clamp(24px, 2.6vw, 32px)/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tile .facts b small { font-size: .55em; margin-left: .15em; font-weight: 600; }
.tile .facts span { font-size: 13px; color: var(--ink-3); }
.tile .fine { font-size: 12px; color: var(--ink-3); padding: 0 16px 24px; }
.tile.pad-b { padding-bottom: clamp(44px, 5vw, 64px); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding-inline: 12px; }
.duo .tile { margin: 0; border-radius: 0; min-height: 580px; display: flex; flex-direction: column; }
.duo .tile h2 { font-size: clamp(32px, 3.6vw, 44px); }
.duo .tile .sub { font-size: clamp(18px, 1.8vw, 24px); }
.duo .tile .media { margin-top: auto; padding-top: 24px; max-width: 640px; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); padding-inline: 0; } .duo .tile { min-height: 0; } }

.cover { position: relative; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { text-align: center; padding-block: clamp(56px, 8vw, 96px) 0; background: var(--white); }
.hero .eyebrow { font: 600 clamp(15px, 1.5vw, 19px) var(--font); color: var(--jade); display: block; margin-bottom: 10px; letter-spacing: 0; }
.hero h1 { font-size: clamp(42px, 7vw, 88px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; }
:lang(zh) .hero h1, :lang(ja) .hero h1 { line-height: 1.14; letter-spacing: -0.01em; font-size: clamp(38px, 6.2vw, 76px); }
.hero .lead { font-size: clamp(19px, 2vw, 24px); color: var(--ink-2); max-width: 34em; margin: 22px auto 0; line-height: 1.4; }
.lineup { scroll-padding-inline: max(22px, env(safe-area-inset-left, 0px)); margin-top: clamp(40px, 5vw, 64px); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(22px, env(safe-area-inset-left, 0px)) 28px; scrollbar-width: thin; }
.lineup a { scroll-snap-align: start; display: grid; gap: 6px; text-align: left; color: var(--ink); padding-bottom: 6px; }
.lineup a:hover { text-decoration: none; }
.lineup a:hover .name { color: var(--jade); }
.lineup .ph { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; display: grid; place-items: center; }
.lineup .ph img { width: 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.lineup a:hover .ph img { transform: scale(1.04); }
.lineup .role { font-size: 12px; font-weight: 600; color: var(--jade); margin-top: 8px; }
.lineup .name { font: 600 19px var(--font-display); }
.lineup .line { font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.lineup .size { font-size: 12px; color: var(--ink-3); }
@media (min-width: 1300px) { .lineup { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; max-width: 1440px; margin-inline: auto; } }

/* ---------- black system band ---------- */
.band { padding-block: clamp(72px, 9vw, 120px); }
.band.gray { background: var(--gray); }
.band.black { background: var(--black); color: var(--on-black); }
.head-c { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 60px); }
.head-c .eyebrow, .head-l .eyebrow { display: block; font: 600 clamp(15px, 1.4vw, 19px) var(--font); color: var(--jade); margin-bottom: 8px; letter-spacing: 0; }
.band.black .eyebrow { color: #5fd3a3; }
.head-c h2, .head-l h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.005em; }
:lang(zh) .head-c h2, :lang(ja) .head-c h2, :lang(zh) .head-l h2, :lang(ja) .head-l h2 { line-height: 1.18; }
.head-c .lead, .head-l .lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--ink-3); margin-top: 16px; line-height: 1.5; }
.band.black .lead { color: var(--on-black-2); }
.head-l { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }

.sysflow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: stretch; max-width: 1100px; margin: 0 auto; position: relative; }
.sysflow li { list-style: none; position: relative; padding: 0 8px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.sysflow ol { display: contents; }
.sysflow .node { width: 100%; border-radius: 18px; background: #161617; border: 1px solid #2a2a2c; padding: 18px 10px; display: grid; gap: 4px; min-height: 104px; align-content: center; }
.sysflow .node.k { border-color: #2f7f5f; background: #0e1b16; }
.sysflow .node b { font: 600 17px var(--font-display); color: var(--on-black); }
.sysflow .node span { font-size: 13px; color: var(--on-black-2); }
.sysflow li:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 52px; width: 12px; height: 2px; background: #5fd3a3; z-index: 1; }
.sysflow .bus .node { background: #0e1b16; border-color: #5fd3a3; }
.sys-energy { max-width: 1100px; margin: 18px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sys-energy div { grid-column: 3; text-align: center; font-size: 13px; color: var(--on-black-2); border-top: 2px dashed #5fd3a3; padding-top: 10px; margin-inline: 8px; }
@media (max-width: 860px) {
  .sysflow { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 420px; }
  .sysflow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -12px; width: 2px; height: 10px; }
  .sys-energy { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .sys-energy div { grid-column: 1; }
}

/* ---------- hero (colour) ---------- */
.hero.aurora { position: relative; overflow: hidden; padding-bottom: 0; background:
  radial-gradient(60% 50% at 18% 8%, rgba(52, 211, 153, .20), transparent 70%),
  radial-gradient(50% 45% at 85% 4%, rgba(56, 189, 248, .20), transparent 70%),
  radial-gradient(55% 50% at 55% 30%, rgba(167, 139, 250, .14), transparent 72%),
  var(--white); }
.grad { background: linear-gradient(100deg, #0f7a52 0%, #10b981 28%, #06b6d4 58%, #6366f1 88%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.hero.aurora .lead { color: var(--ink-2); }
.stage { margin-top: clamp(36px, 5vw, 64px); background: linear-gradient(180deg, rgba(245,245,247,0) 0%, #f5f5f7 18%); padding: 0 16px clamp(28px, 4vw, 48px); }
.stage-row { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(8px, 2vw, 24px); align-items: end; }
.stage figure { margin: 0; text-align: center; }
.stage figure img { width: 100%; -webkit-mask-image: radial-gradient(ellipse 78% 74% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 78% 74% at 50% 50%, #000 62%, transparent 100%); }
.stage figcaption { font-size: 13px; color: var(--ink-3); margin-top: -6px; font-weight: 500; }

/* ---------- system diagram ---------- */
.band.black { background: radial-gradient(70% 60% at 50% 30%, #0c1f1a 0%, #000 70%); }
.sys-svg { display: block; width: 100%; height: auto; max-width: 1200px; margin: 0 auto; }
.sys-svg.sys-tall { display: none; max-width: 520px; }
@media (max-width: 760px) { .sys-svg.sys-wide { display: none; } .sys-svg.sys-tall { display: block; } }
.sys-card { fill: #161618; stroke: #2c2c2e; stroke-width: 1.2; }
.sys-card.key { stroke: #2f8f6c; }
.sys-t { font: 600 19px var(--font-display); fill: #f5f5f7; }
.sys-s { font: 400 14px var(--font); fill: #a1a1a6; }
.sys-bus { font: 600 15px var(--font); fill: #5eead4; }
.sys-unit { font: 500 13px var(--font); fill: #6e6e73; letter-spacing: .02em; }
.sys-hot { font: 500 12px var(--font); fill: #fb923c; }
.sys-cold { font: 500 12px var(--font); fill: #38bdf8; }
@media (prefers-reduced-motion: no-preference) { .sys-pulse { animation: syspulse 1.6s linear infinite; } @keyframes syspulse { to { stroke-dashoffset: -36; } } }
.band.black .sys-note { color: #a1a1a6; padding-bottom: 0; margin-top: 22px; }

/* ---------- AIDC intro ---------- */
.hero-logo { height: clamp(22px, 2.4vw, 30px); width: auto; margin: 0 auto 18px; }
.sysflow.light { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; margin-top: clamp(36px, 4vw, 52px); }
.sysflow.light .node { background: var(--gray); border: 0; }
.sysflow.light .node.k { background: var(--jade-tint); }
.sysflow.light .node b { color: var(--ink); }
.sysflow.light .node span { color: var(--ink-3); }
.sysflow.light li:not(:last-child)::after { background: var(--jade); }
.sys-note { text-align: center; font-size: 13px; color: var(--ink-3); margin: 16px auto 0; max-width: 40em; padding-bottom: clamp(48px, 6vw, 72px); }
@media (max-width: 860px) { .sysflow.light { grid-template-columns: minmax(0, 1fr); } }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; max-width: 520px; margin: 24px auto 4px; padding-inline: 16px; text-align: center; }
.mini div { display: grid; gap: 2px; }
.mini dt { font-size: 12px; color: var(--ink-3); }
.mini dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(16px, 4vw, 64px); max-width: 980px; margin: 0 auto; text-align: center; }
.compare .col-h { display: grid; gap: 6px; justify-items: center; padding-bottom: 20px; }
.compare .col-h .ph { width: 100%; border-radius: 18px; overflow: hidden; }
.compare .col-h h3 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 14px; }
.compare .col-h p { font-size: 14px; color: var(--ink-3); }
.compare .cell { border-top: 1px solid var(--line); padding: 20px 6px; display: grid; gap: 4px; align-content: start; }
.compare .cell .k { font-size: 12px; color: var(--ink-3); }
.compare .cell .v { font-size: 17px; font-weight: 500; }
.compare .cell .v.big { font: 600 clamp(28px, 3vw, 40px)/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.compare-note { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 24px; }

/* ---------- Japan map ---------- */
.map-stats { display: flex; justify-content: center; gap: clamp(28px, 6vw, 80px); flex-wrap: wrap; margin: 28px 0 0; }
.map-stats div { display: grid; gap: 2px; text-align: center; }
.map-stats b { font: 600 clamp(36px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.map-stats b small { font-size: .42em; margin-left: .15em; }
.map-stats span { font-size: 14px; color: var(--ink-3); }
.jm { position: relative; background: var(--white); border-radius: 24px; overflow: hidden; max-width: 1200px; margin: 0 auto; }
.jm-viewport { position: relative; overflow: hidden; touch-action: pan-y; }
.jm.zoomed .jm-viewport { touch-action: none; cursor: grab; }
.jm.dragging .jm-viewport { cursor: grabbing; }
.jm-svg { display: block; width: 100%; max-width: 1080px; margin: 0 auto; height: auto; }
.jm-svg.jm-tall { display: none; }
@media (max-width: 720px) { .jm-svg.jm-wide { display: none; } .jm-svg.jm-tall { display: block; } }
.jm-zoom { transform-origin: 0 0; }
.jm-land { fill: #e4e7e5; stroke: #c4ccc8; stroke-width: .7; stroke-linejoin: round; }
.jm-inset { fill: var(--gray); stroke: #dcdfe0; stroke-width: 1; }
.jm-inset-cap { fill: var(--ink-3); font-family: var(--font); }
.jm-line { stroke: var(--jade); stroke-width: 1.1; opacity: .8; }
.jm-halo { fill: var(--jade); opacity: .14; }
.jm-dot { fill: var(--jade); stroke: #fff; stroke-width: 2; }
.jm-label { cursor: pointer; outline: none; }
.jm-label rect { fill: #ffffff; stroke: #d2d2d7; stroke-width: 1; transition: stroke .15s, fill .15s; filter: drop-shadow(0 2px 6px rgba(0,0,0,.06)); }
.jm-name { fill: var(--ink-2); font-family: var(--font); }
.jm-sub { fill: var(--ink-3); font-family: var(--font); }
.jm-cap { fill: var(--ink); font-weight: 600; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.jm-unit { font-weight: 500; fill: var(--ink-3); }
.jm-label:hover rect, .jm-label.on rect { stroke: var(--jade); fill: var(--jade-tint); }
.jm-label:focus-visible rect { stroke: var(--jade); stroke-width: 2.5; }
.jm-line.on { stroke-width: 2.2; opacity: 1; }
.jm-dot.on { r: 8; }
.jm-controls { position: absolute; right: 16px; top: 16px; display: grid; gap: 8px; z-index: 2; }
.jm-controls button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(232,232,237,.9); color: var(--ink); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); }
.jm-controls button:hover { background: #dcdce1; }
.jm-controls button svg { width: 18px; height: 18px; }
.jm-pop { position: absolute; z-index: 3; min-width: 230px; max-width: min(300px, calc(100% - 24px)); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-radius: 18px; padding: 18px 20px 16px; box-shadow: 0 12px 40px rgba(0,0,0,.16); }
.jm-pop h3 { font-size: 19px; margin-bottom: 10px; padding-right: 30px; }
.jm-pop dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 15px; }
.jm-pop dt { color: var(--ink-3); }
.jm-pop dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.jm-pop p { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.jm-pop .x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: var(--gray); border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--ink-2); line-height: 1; }
.map-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; text-align: center; }
.map-foot small { color: var(--ink-3); font-size: 12px; }
.plist { margin: 18px auto 0; max-width: 980px; overflow-x: auto; background: var(--white); border-radius: 18px; }
.plist table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.plist th, .plist td { text-align: left; padding: 12px 18px; border-bottom: 1px solid #e8e8ed; }
.plist th { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.plist td.num, .plist th.num { text-align: right; font-variant-numeric: tabular-nums; }
.plist tfoot td { font-weight: 600; border-bottom: 0; }
.js .jm.armed .jm-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .jm.armed .jm-label, .js .jm.armed .jm-dot, .js .jm.armed .jm-halo { opacity: 0; }
.js .jm.play .jm-line { transition: stroke-dashoffset .7s cubic-bezier(.3,.6,.3,1); stroke-dashoffset: 0; }
.js .jm.play .jm-label, .js .jm.play .jm-dot { transition: opacity .5s .25s; opacity: 1; }
.js .jm.play .jm-halo { transition: opacity .5s .25s; opacity: .14; }

/* ---------- application cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: minmax(0, 1fr); } }
.acard { background: var(--white); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); box-shadow: 2px 4px 12px rgba(0,0,0,.06); transition: transform .3s cubic-bezier(0,0,.5,1), box-shadow .3s; }
a.acard:hover { transform: scale(1.012); box-shadow: 2px 8px 24px rgba(0,0,0,.1); text-decoration: none; }
.acard .ph { aspect-ratio: 5 / 3; overflow: hidden; }
.acard .ph img { width: 100%; height: 100%; object-fit: cover; }
.acard .tx { padding: 24px 26px 28px; display: grid; gap: 8px; }
.acard .k { font-size: 12px; font-weight: 600; color: var(--jade); }
.acard h3 { font-size: 24px; line-height: 1.17; }
.acard p { color: var(--ink-3); font-size: 15px; }

/* ---------- contact ---------- */
.contact { text-align: center; max-width: 720px; margin: 0 auto; }
.mailbox { margin-top: 28px; display: grid; gap: 16px; justify-items: center; }
.mail-panel { display: grid; gap: 14px; justify-items: center; width: 100%; }
.mailbox .img-wrap { width: 100%; max-width: 440px; transition: max-width .25s; }
.mailbox .img-wrap.big { max-width: 100%; }
.mailbox .img-wrap img { width: 100%; height: auto; }
.mailbox .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mailbox .help { font-size: 12px; color: var(--ink-3); max-width: 36em; }
.mailbox .err { font-size: 14px; color: #b23c0a; }

/* ---------- footer ---------- */
.site-footer { background: var(--gray); padding-block: 22px 28px; font-size: 12px; color: var(--ink-3); }
.site-footer .wrap { max-width: calc(980px + 44px); }
.foot-notes { border-bottom: 1px solid var(--line); padding-bottom: 14px; display: grid; gap: 6px; line-height: 1.5; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; padding-top: 16px; }
.foot-grid img { height: 13px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.foot-nav a { color: var(--ink-2); padding: 6px 8px; }
.foot-meta { margin-top: 10px; }

/* ---------- product pages ---------- */
.p-hero { text-align: center; padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.p-hero .eyebrow { font: 600 clamp(15px, 1.5vw, 19px) var(--font); color: var(--jade); display: block; letter-spacing: 0; }
.p-hero h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; margin-top: 6px; }
.p-hero .sub { font-size: clamp(21px, 2.6vw, 32px); line-height: 1.2; margin-top: 12px; font-weight: 500; }
.p-hero .media { max-width: 1200px; margin: clamp(24px, 4vw, 48px) auto 0; padding-inline: 16px; }
.p-hero .cap { font-size: 12px; color: var(--ink-3); padding: 8px 16px 28px; }
.crumbs { font-size: 12px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 18px; }
.crumbs a { color: var(--ink-3); }

.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.glance div { background: var(--white); border-radius: 18px; padding: 26px 22px; display: grid; gap: 6px; align-content: start; }
.glance b { font: 600 clamp(28px, 3vw, 40px)/1.05 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.glance b.txt { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; }
.glance b small { font-size: .5em; margin-left: .12em; }
.glance span { font-size: 14px; color: var(--ink-3); line-height: 1.4; }

.p-sec { padding-block: clamp(64px, 8vw, 104px); border-top: 1px solid #e8e8ed; }
.p-sec.gray { background: var(--gray); border-top: 0; }
.p-sec h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -0.005em; margin-bottom: clamp(20px, 2.6vw, 32px); }
:lang(zh) .p-sec h2, :lang(ja) .p-sec h2 { line-height: 1.2; }
.prose { max-width: 42em; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; display: grid; gap: 16px; }
.prose strong { color: var(--ink); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .two, .three { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--white); border-radius: 18px; padding: 28px 28px 30px; display: grid; gap: 10px; align-content: start; }
.p-sec:not(.gray) .panel { background: var(--gray); }
.panel h3 { font-size: 21px; line-height: 1.25; }
.panel p { color: var(--ink-3); font-size: 16px; }
.panel .tag { font: 600 12px var(--mono); color: var(--jade); }

.flow { display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; margin: 0; padding: 0; }
.flow ol { display: contents; }
.flow li { list-style: none; display: flex; align-items: center; }
.flow .step { background: var(--white); border-radius: 14px; padding: 14px 18px; font-weight: 600; font-size: 15px; min-height: 58px; display: flex; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.p-sec:not(.gray) .flow .step { background: var(--gray); box-shadow: none; }
.flow .step.k { background: var(--jade); color: #fff; }
.flow .arr { width: 28px; height: 2px; background: var(--jade); position: relative; margin: 0 6px; flex: none; }
.flow .arr::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--jade); border-right: 0; }
@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: stretch; }
  .flow li { flex-direction: column; align-items: stretch; }
  .flow .arr { width: 2px; height: 20px; margin: 4px auto; }
  .flow .arr::after { top: auto; bottom: -1px; left: -4px; right: auto; border: 5px solid transparent; border-top: 7px solid var(--jade); border-bottom: 0; }
}
.note { font-size: 14px; color: var(--ink-3); margin-top: 18px; max-width: 52em; line-height: 1.55; }
.kv { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.kv > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--ink-3); font-size: 15px; }
.kv dd { margin: 0; font-size: 17px; }
@media (max-width: 560px) { .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.checklist li { background: var(--gray); border-radius: 14px; padding: 18px 20px; font-size: 16px; font-weight: 500; }
.p-sec.gray .checklist li { background: var(--white); }

/* tech specs */
.ts { border-top: 1px solid var(--line); }
.ts-group { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.ts-group > h3 { font-size: 24px; line-height: 1.2; }
.ts-rows { display: grid; gap: 22px; }
.ts-row { display: grid; gap: 3px; }
.ts-row .k { font-size: 14px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ts-row .v { font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .ts-group { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.st { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 980px; white-space: nowrap; }
.st-design { color: var(--jade-deep); background: var(--jade-tint); }
.st-source { color: #1d4d7a; background: #e8f0f9; }
.st-display { color: #424245; background: #ececf0; }
.st-project { color: #7a4d00; background: #fdf1d8; }
.st-review { color: #8a2f00; background: #fde6da; }
.legend { font-size: 12px; color: var(--ink-3); margin-top: 18px; max-width: 52em; line-height: 1.55; }
.refs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.refs a { word-break: break-word; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 16px; border-radius: 980px; background: var(--gray); color: var(--ink-2); margin-top: 18px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d29a1e; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.related a { display: grid; gap: 8px; padding: 0 0 18px; border-radius: 18px; overflow: hidden; color: var(--ink); background: var(--white); }
.p-sec:not(.gray) .related a { background: var(--gray); }
.related a:hover { text-decoration: none; }
.related a:hover b { color: var(--jade); }
.related .ph { aspect-ratio: 3 / 2; overflow: hidden; }
.related .ph img { width: 100%; height: 100%; object-fit: cover; }
.related small { color: var(--ink-3); font-size: 12px; padding-inline: 18px; }
.related b { font-size: 19px; padding-inline: 18px; }

.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; max-width: 760px; }
.calc label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-3); }
.calc input { font: 600 19px var(--font); padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; min-height: 50px; width: 100%; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--white); }
.calc-out { margin-top: 22px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.calc-out b { font: 700 56px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-out .warn { color: #b23c0a; font-size: 14px; }
@media (max-width: 640px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 14px; padding: 6px 14px; border-radius: 980px; background: var(--gray); color: var(--ink-2); white-space: nowrap; }
.p-sec.gray .chip, .tile:not(.white) .chip { background: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { transform: translateY(18px); opacity: .001; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .9s; }
  .js .rv.in { transform: none; opacity: 1; }
}

/* ---------- root language page / 404 ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 40px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); background: var(--white); text-align: center; }
.gate-inner { display: grid; gap: 28px; justify-items: center; }
.gate-inner img.logo { height: 24px; width: auto; }
.gate-langs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.gate-langs a { min-width: 150px; }
.gate small { color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
