/* Curriculum Bridge pages: the entrance page's look (r5), scoped under .cb so it can sit under the map on the top page */
/* One deliberate look: light page, dark green-black bands. No dark-theme switch by design. */
.cb {
  color-scheme: light;
  --ink: #111a17; --body: #334155; --sub: #5b6b62;
  --line: #e3e9e1; --panel: #f5f8f2; --page: #f3f5f1; --card: #ffffff;
  --green-d: #276223; --green-m: #2f7130; --green-b: #52ab4c; --glow: #6ee7a0; --glow-soft: #9ef0bf;
  --night: #0d1714; --night2: #10231a; --night-ink: #e8efe9; --night-sub: #a9bcaf; --night-line: rgba(255,255,255,.12);
  --band: #e7eee4; --band-line: #d2ddcd;
  --focus: #b45309; --focus-on-dark: #fbbf24;
  --ease: cubic-bezier(.2,.8,.2,1);
  --font: "Pano Noto", "Noto Sans JP", "Pano Noto Fallback", -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
.cb {
  margin: 0; background: var(--page); color: var(--body);
  font-family: var(--font); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; font-feature-settings: "palt";
}
body.cb::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); }
.cb .in { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 720px) { .cb { --gutter-l: max(28px, env(safe-area-inset-left, 0px)); --gutter-r: max(28px, env(safe-area-inset-right, 0px)); } }
.cb a { color: var(--green-d); }
.cb :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.cb .dark :focus-visible { outline-color: var(--focus-on-dark); }
.cb .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cb .nw { display: inline-block; }

/* ---------- bar ---------- */
.cb .bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ink); color: #fff; }
.cb .bar .in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 52px; padding-block: 8px; }
.cb .bar .home { display: flex; align-items: center; flex: none; }
.cb .logo { height: 18px; width: auto; display: block; }
.cb .bar .sep { width: 1px; height: 18px; background: rgba(255,255,255,.25); flex: none; }
.cb .bar .prod-name { font-weight: 700; font-size: 14px; letter-spacing: .06em; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cb .bar nav { flex: none; }
.cb .bar nav { margin-left: auto; display: flex; gap: 6px; }
.cb .bar nav a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
.cb .bar nav a:hover { background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .cb .bar .sep, .cb .bar .prod-name, .cb .bar nav .long { display: none; } }
@media (max-width: 460px) { .cb .bar nav .n { display: none; } }
@media (max-width: 380px) { .cb .bar .in { gap: 8px; } .cb .bar .logo { height: 15px; } .cb .bar nav { gap: 4px; } .cb .bar nav a { padding: 4px 9px; font-size: 12px; } .cb .bar nav .n { display: none; } .cb .who b { font-size: 14.5px; } }

/* ---------- hero ---------- */
.cb .hero {
  position: relative; overflow: hidden; color: var(--night-ink);
  background:
    radial-gradient(900px 480px at 82% 18%, rgba(82,171,76,.30), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(39,98,35,.55), transparent 60%),
    linear-gradient(160deg, var(--night2) 0%, var(--night) 55%, var(--ink) 100%);
}
.cb .hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.cb .hero .in { position: relative; }
.cb .hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 8px; padding-block: 56px 4px; }
.cb .copy { display: grid; gap: 22px; align-content: center; position: relative; z-index: 1; }
.cb .eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--glow); }
.cb .hero h1 { margin: 0; color: #fff; font-weight: 900; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.22; letter-spacing: -.01em; }
.cb .hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--glow-soft), var(--green-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cb .lede { margin: 0; font-size: 16.5px; color: #c6d4ca; max-width: 30em; }
.cb .cta {
  justify-self: start; display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 16px; border-radius: 999px; padding: 8px 8px 8px 24px;
  box-shadow: 0 10px 30px rgba(110,231,160,.18); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cb .cta::after { content: "↓"; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-d); color: #fff; font-size: 18px; transition: transform .25s var(--ease); }
.cb .cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(110,231,160,.28); }
.cb .cta:hover::after { transform: translateY(3px); }
.cb .art { margin: 0 calc(-1 * var(--gutter-r)) 0 -4%; }
.cb .art img {
  display: block; width: 100%; height: auto; max-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
  mask-composite: intersect; -webkit-mask-composite: source-in;
  animation: rise 1.1s var(--ease) .1s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }

.cb .who-wrap { position: relative; padding-block: 28px 44px; }
.cb .who-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--night-sub); }
.cb .who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.cb .who li { padding: 16px 18px 4px; border-right: 1px solid rgba(255,255,255,.08); min-width: 0; display: grid; align-content: start; gap: 4px; }
.cb .who li:first-child { padding-left: 0; }
.cb .who li:last-child { border-right: 0; }
.cb .who b { color: #fff; font-size: 16px; font-weight: 800; line-height: 1.4; }
.cb .who span { color: var(--night-sub); font-size: 13px; line-height: 1.6; word-break: auto-phrase; }

/* ---------- sections ---------- */
.cb .bar nav a { display: inline-flex; align-items: baseline; gap: 6px; }
.cb .bar nav .n { font-size: 11px; font-weight: 800; color: var(--glow); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.cb .bar nav a[aria-current="true"] { background: var(--green-d); border-color: var(--green-b); }
.cb .bar nav a[aria-current="true"] .n { color: #fff; }

/* ---------- the page's backbone: a 3-step strip, then 3 chapters ---------- */
.cb .flow-strip { background: var(--page); border-bottom: 1px solid var(--line); }
.cb .flow-strip .in { padding-block: 22px 26px; display: grid; gap: 12px; }
.cb .flow-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--sub); }
.cb .flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.cb .flow-list li { min-width: 0; position: relative; }
.cb .flow-list li + li::before { content: "→"; position: absolute; left: -12px; top: 50%; width: 12px; transform: translateY(-50%); text-align: center; font-weight: 800; color: var(--green-m); }
.cb .flow-list a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: baseline; height: 100%; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--body); transition: border-color .25s, transform .25s var(--ease); }
.cb .flow-list a:hover { border-color: var(--green-b); transform: translateY(-2px); }
.cb .flow-list .fn { grid-row: 1 / 3; font-size: 30px; font-weight: 900; line-height: 1; color: var(--green-d); font-variant-numeric: tabular-nums; }
.cb .flow-list .ft { color: var(--ink); font-size: 16.5px; font-weight: 800; line-height: 1.4; }
.cb .flow-list .fs { font-size: 13px; color: var(--sub); line-height: 1.55; text-wrap: pretty; }

.cb .chapter { padding-block: 96px 104px; border-top: 1px solid var(--line); }
.cb .chapter.ch1 { background: var(--page); border-top: 0; }
.cb .chapter.ch2 { background: var(--card); }
.cb .chapter.ch3 { background: var(--band); }
.cb .ch-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 28px; align-items: end; padding-bottom: 26px; margin-bottom: 44px; border-bottom: 2px solid var(--ink); }
.cb .ch-no { font-size: clamp(64px, 8vw, 112px); font-weight: 900; line-height: .78; letter-spacing: -.04em; color: var(--green-d); font-variant-numeric: tabular-nums; }
.cb .ch-text { display: grid; gap: 8px; min-width: 0; }
.cb .ch-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--green-m); }
.cb h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 3.8vw, 46px); font-weight: 900; line-height: 1.2; letter-spacing: .01em; text-wrap: balance; }
.cb .ch-lead { margin: 0; color: var(--body); font-size: 16.5px; text-wrap: pretty; }
.cb .ch-toc { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cb .ch-toc a { display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.cb .ch-toc a:hover { border-color: var(--green-b); }
.cb .ch-toc .tn, .cb .kicker .kn { font-size: 11.5px; font-weight: 800; color: var(--green-m); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.cb .chapter.ch1 .ch-toc a, .cb .chapter.ch3 .ch-toc a { background: var(--card); }

.cb .sub { min-width: 0; }
.cb .sub + .sub { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); }
.cb .chapter.ch3 .sub + .sub { border-top-color: var(--band-line); }
.cb .sub-head { display: grid; gap: 8px; margin-bottom: 26px; max-width: 46rem; }
.cb .kicker { margin: 0; justify-self: start; display: inline-flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--green-d); border-top: 2px solid var(--green-d); padding-top: 5px; }
.cb .kicker .kn { letter-spacing: .04em; }
.cb .sub-head h3 { margin: 0; color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; line-height: 1.35; text-wrap: balance; }
.cb .sec-lead { margin: 0; color: var(--sub); }
@media (max-width: 560px) { .cb .ch-head { grid-template-columns: minmax(0, 1fr); gap: 10px; } .cb .ch-no { font-size: 56px; } }

/* promises */
.cb .promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cb .promises > li {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px;
  display: grid; gap: 10px; align-content: start; min-width: 0; box-shadow: 0 1px 2px rgba(17,26,23,.06);
}
.cb .promises .no { font-size: 13px; font-weight: 800; color: var(--green-m); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.cb .promises > li > b { color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1.45; }
.cb .promises .txt { font-size: 15px; }
.cb .promises > li.key { background: var(--ink); border-color: var(--ink); color: #c6d4ca; }
.cb .promises > li.key > b { color: #fff; }
/* samples: what you actually get (fictional, labelled 例) */
.cb .sample { margin: 6px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 8px; min-width: 0; }
.cb .sample .ex { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--sub); text-align: left; caption-side: top; padding-bottom: 6px; }
.cb .sample table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cb .sample th { text-align: left; font-size: 11px; color: var(--sub); font-weight: 700; padding: 0 8px 4px 0; }
.cb .sample td { padding: 7px 8px 7px 0; border-top: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.cb .sample td:first-child { color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 幅 300px 以下（拡大表示の狭い画面）は列に収めると単元が1〜3字ずつ折れるため、行を縦に積む。1行目に設問と単元、2行目に観点。見出し行も同じ並びにして、どの値が何かを読めるようにする */
@media (max-width: 300px) { .cb .sample table, .cb .sample caption, .cb .sample thead, .cb .sample tbody, .cb .sample tr { display: block; } .cb .sample tr { padding: 6px 0; } .cb .sample tbody tr { border-top: 1px solid var(--line); } .cb .sample th, .cb .sample td { display: inline; padding: 0 6px 0 0; border-top: 0; } .cb .sample th:last-child, .cb .sample td:last-child { display: block; padding-top: 2px; } }
.cb .kanten { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 8px; border-radius: 999px; background: #ecfdf3; color: #067647; border: 1px solid #a6f4c5; white-space: nowrap; }
.cb .bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cb .bars li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 2.8em; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink); }
.cb .bars i { display: block; height: 8px; border-radius: 999px; background: var(--panel); position: relative; overflow: hidden; }
.cb .bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--green-d), var(--green-b)); transform-origin: left; animation: grow 1.1s var(--ease) .3s both; }
@keyframes grow { from { transform: scaleX(0); } }
.cb .bars li > span:last-child { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.cb .flowmini { margin: 6px 0 0; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.cb .flowmini span { font-size: 12.5px; font-weight: 700; color: #fff; padding: 3px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); }
.cb .flowmini .ar { border: 0; padding: 0; color: var(--glow); }
.cb .flowmini .ai { background: var(--glow); color: var(--night); border-color: transparent; }
.cb .flowmini small { font-size: 11px; font-weight: 800; margin-left: 6px; }
.cb .promises li.key .no { color: var(--glow); }
.cb .proof { margin: 18px 0 0; display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--sub); }
.cb .proof::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* status tags: text + shape, never color alone */

/* ---------- the board (diagram) ---------- */
.cb figure { margin: 0; }
.cb .board {
  position: relative; overflow: hidden; border-radius: 22px; padding: 30px 30px 26px; color: var(--night-ink);
  background: radial-gradient(800px 360px at 70% 0%, rgba(82,171,76,.22), transparent 60%), linear-gradient(160deg, var(--night2), var(--night) 60%, var(--ink));
  box-shadow: 0 24px 48px rgba(17,26,23,.22);
  --gap-x: 34px; --gap-y: 54px; --lane-gap: 52px;
}
.cb .board::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cb .bridge { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); column-gap: var(--lane-gap); row-gap: var(--gap-y); }
.cb .lane { display: grid; grid-template-rows: auto 1fr; gap: 12px; min-width: 0; position: relative; }
.cb .lane-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--glow); display: flex; align-items: center; gap: 10px; }
.cb .lane-label::after { content: ""; flex: 1; border-top: 1px solid var(--night-line); }
.cb .lane-apps::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(-1 * var(--lane-gap) / 2); border-left: 1px dashed rgba(255,255,255,.18); }
.cb .flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-x); }
.cb .flow.apps { grid-template-columns: minmax(0, 1fr); }
.cb .node {
  position: relative; display: grid; gap: 8px; align-content: start; min-width: 0;
  background: var(--card); color: var(--body); border-radius: 14px; padding: 16px 16px 18px; text-decoration: none;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: pop .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms);
}
.cb .node:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.35), 0 0 0 2px var(--green-b); }
.cb .node .step { font-size: 12px; font-weight: 700; color: var(--green-m); letter-spacing: .06em; padding-right: 30px; }
.cb .node .name { font-size: 19px; font-weight: 900; color: var(--ink); line-height: 1.35; }
.cb .node .what { font-size: 13.5px; line-height: 1.65; color: var(--sub); }
.cb .node .open { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--panel); color: var(--green-d); display: grid; place-items: center; font-size: 13px; font-weight: 800; transition: background .2s, color .2s; }
.cb .node:hover .open { background: var(--green-d); color: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
.cb .handoff { position: absolute; top: 40px; right: calc(-1 * var(--gap-x)); width: var(--gap-x); display: grid; justify-items: center; gap: 3px; pointer-events: none; }
.cb .handoff svg { width: 26px; height: 12px; display: block; }
.cb .handoff svg path { stroke: var(--glow); fill: none; stroke-width: 1.8; }
.cb .handoff span { font-size: 11px; line-height: 1.25; color: var(--night-sub); writing-mode: vertical-rl; letter-spacing: .12em; }
/* the light from the ruler up to each product */
.cb .node::after {
  content: ""; position: absolute; left: 50%; bottom: calc(-1 * var(--gap-y) - 1.5px); height: var(--gap-y); width: 2px; transform: translateX(-1px);
  background: linear-gradient(0deg, var(--glow), rgba(110,231,160,.15)); box-shadow: 0 0 10px rgba(110,231,160,.7);
}
.cb .node.is-dev::after { background: repeating-linear-gradient(0deg, var(--glow) 0 5px, transparent 5px 10px); box-shadow: none; opacity: .8; }
.cb .node.no-ruler::after { display: none; }
.cb .node .nw { display: inline-block; }
.cb .ruler {
  grid-column: 1 / -1; position: relative; overflow: hidden; text-decoration: none; color: var(--night);
  border-radius: 12px; padding: 30px 24px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  background: linear-gradient(90deg, #4fbf6f, var(--glow) 55%, #4fbf6f);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 0 40px rgba(110,231,160,.45), 0 10px 30px rgba(0,0,0,.3);
}
.cb .ruler::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 16px; opacity: .55;
  background: repeating-linear-gradient(90deg, var(--night) 0 1.5px, transparent 1.5px 50px), repeating-linear-gradient(90deg, var(--night) 0 1px, transparent 1px 10px);
  background-size: 100% 16px, 100% 8px; background-repeat: no-repeat;
}
.cb .ruler .name { font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.cb .ruler .what { font-size: 14.5px; font-weight: 500; }
.cb .ruler .glint { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: glint 2.2s ease-in-out .9s 1 both; pointer-events: none; }
@keyframes glint { from { left: -30%; } to { left: 110%; } }
.cb .ruler:hover { box-shadow: 0 0 0 2px #fff inset, 0 0 52px rgba(110,231,160,.6), 0 10px 30px rgba(0,0,0,.3); }
.cb .slab {
  position: relative; margin-top: 14px; border-radius: 12px; padding: 14px 22px; text-decoration: none; color: var(--night-ink);
  background: rgba(255,255,255,.06); border: 1px solid var(--night-line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
}
.cb .slab:hover { background: rgba(255,255,255,.1); }
.cb .slab .name { font-size: 17px; font-weight: 800; color: #fff; }
.cb .slab .what { font-size: 13.5px; color: var(--night-sub); }
.cb figcaption { margin-top: 14px; font-size: 13.5px; color: var(--sub); max-width: 52rem; }

/* ---------- 3 tiers: boxes, chips and named arrows (the shape of the old figure 1) ---------- */
.cb .tiers { display: grid; gap: 0; }
.cb .tier { position: relative; display: grid; gap: 4px; min-width: 0; overflow: hidden; padding: 20px 24px 22px 32px; border-radius: 14px; border: 2px solid var(--ink); background: var(--card); }
.cb .tier::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ink); }
.cb .t-pos { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--sub); }
.cb .t-name { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; color: var(--ink); font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 1.4; }
.cb .t-name small { font-size: 13px; font-weight: 600; color: var(--sub); }
.cb .t-desc { margin: 0; font-size: 14.5px; color: var(--body); }
.cb .t-chips { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cb .t-chips.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cb .t-chips li { display: grid; gap: 2px; align-content: center; text-align: center; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--panel); }
.cb .t-chips b { color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1.4; }
.cb .t-chips span { font-size: 12px; color: var(--sub); line-height: 1.5; }
.cb .t-chips li.ext { border: 1.5px dashed #8d9b93; background: var(--card); }
.cb .tier.t-ruler { border-color: transparent; background: linear-gradient(90deg, #4fbf6f, var(--glow) 55%, #4fbf6f); box-shadow: 0 10px 26px rgba(39,98,35,.18); }
.cb .tier.t-ruler::before { background: var(--night); }
.cb .tier.t-ruler .t-pos, .cb .tier.t-ruler .t-name, .cb .tier.t-ruler .t-name small, .cb .tier.t-ruler .t-desc, .cb .tier.t-ruler .t-chips b, .cb .tier.t-ruler .t-chips span { color: var(--night); }
.cb .tier.t-ruler .t-chips li { background: rgba(255,255,255,.6); border-color: rgba(13,23,20,.18); }
.cb .tier.t-base { background: var(--ink); border-color: var(--ink); }
.cb .tier.t-base::before { background: var(--glow); }
.cb .tier.t-base .t-pos, .cb .tier.t-base .t-desc { color: var(--night-sub); }
.cb .tier.t-base .t-name { color: #fff; }
.cb .t-arrow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 8px 0; }
.cb .t-arrow .ln { grid-column: 2; position: relative; width: 2px; height: 48px; background: var(--green-d); }
.cb .t-arrow .ln::after { content: ""; position: absolute; left: -6px; bottom: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--green-d); }
.cb .t-arrow.up .ln::after { bottom: auto; top: 0; border-top: 0; border-bottom: 10px solid var(--green-d); }
.cb .t-arrow p { grid-column: 3; margin: 0; display: grid; gap: 0; min-width: 0; }
.cb .t-arrow b { font-size: 14.5px; font-weight: 800; color: var(--green-d); }
.cb .t-arrow p span { font-size: 12.5px; color: var(--sub); }
@media (max-width: 720px) { .cb .t-chips, .cb .t-chips.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cb .tier { padding: 16px 16px 18px 24px; }
  .cb .t-arrow { grid-template-columns: auto minmax(0, 1fr); padding-left: 36px; }
  .cb .t-arrow .ln { grid-column: 1; }
  .cb .t-arrow p { grid-column: 2; }
}
@media (max-width: 420px) { .cb .t-chips, .cb .t-chips.c3 { grid-template-columns: minmax(0, 1fr); } }
/* where a code leads: inside the ruler's description */
.cb .reach { margin: 0; padding: 14px 0; display: grid; gap: 10px; }
.cb .reach-t { margin: 0; font-size: 12.5px; font-weight: 800; color: var(--green-m); letter-spacing: .04em; }
.cb .reach-flow { display: grid; grid-template-columns: auto auto auto auto minmax(0, 1fr); align-items: center; gap: 10px; }
.cb .r-box { font-size: 14px; font-weight: 800; color: var(--ink); padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); white-space: nowrap; }
.cb .r-box.r-code { background: var(--glow); border-color: transparent; color: var(--night); }
.cb .r-ar { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--green-d); white-space: nowrap; }
.cb .r-ar i { font-style: normal; font-size: 16px; }
.cb .prod .r-out { list-style: none; margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; font-size: 14px; }
.cb .r-out li { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.cb .r-out b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink); font-size: 14.5px; }
.cb .reach .note { margin: 0; font-size: 13px; color: var(--sub); }
@media (max-width: 720px) {
  .cb .reach-flow { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 6px; }
  .cb .r-ar i { transform: rotate(90deg); }
  .cb .prod .r-out { justify-self: stretch; }
}

/* ---------- V8 ---------- */
.cb .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cb .steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.cb .steps li + li::before { content: "→"; position: absolute; left: -16px; top: 30px; width: 16px; text-align: center; color: var(--green-b); font-weight: 800; }
.cb .steps .no { font-size: 40px; font-weight: 900; line-height: 1; color: #c9d4c7; font-variant-numeric: tabular-nums; }
.cb .steps b { color: var(--ink); font-size: 19px; font-weight: 800; }
.cb .steps .txt { font-size: 14.5px; }
.cb .steps li.core { border: 2px solid var(--green-d); box-shadow: 0 14px 30px rgba(39,98,35,.14); }
.cb .steps li.core .no { color: var(--green-b); }
.cb .pill { justify-self: start; font-size: 12px; font-weight: 800; color: #fff; background: var(--green-d); border-radius: 999px; padding: 1px 12px; letter-spacing: .04em; }
.cb .fine { margin: 14px 0 0; font-size: 13.5px; color: var(--sub); }

/* ---------- case: one publisher's workflow, step by step ---------- */
.cb .case { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: c; position: relative; }
.cb .case > li { display: grid; grid-template-columns: 64px minmax(0, .85fr) minmax(0, 1.15fr); gap: 0 32px; align-items: start; padding-block: 34px; border-top: 1px solid var(--line); min-width: 0; }
.cb .case > li:first-child { border-top: 0; padding-top: 6px; }
.cb .case .num { font-size: 44px; font-weight: 900; line-height: 1; color: var(--green-b); font-variant-numeric: tabular-nums; position: relative; }
.cb .case .num::after { content: ""; position: absolute; left: 21px; top: 56px; width: 2px; height: 60px; background: linear-gradient(180deg, var(--green-b), transparent); }
.cb .case > li:last-child .num::after { display: none; }
.cb .case .txt { display: grid; gap: 10px; align-content: start; min-width: 0; }
.cb .case .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; font-weight: 700; color: var(--green-m); letter-spacing: .08em; }
.cb .case h4 { margin: 0; color: var(--ink); font-size: 22px; font-weight: 900; line-height: 1.4; }
.cb .case p { margin: 0; font-size: 15px; }
.cb .case .note { font-size: 13px; color: var(--sub); }
.cb .case .pic { margin: 0; min-width: 0; display: grid; gap: 8px; }
.cb .case .pic svg, .cb .case .pic img { display: block; width: 100%; height: auto; border-radius: 14px; }
.cb .case .pic svg { background: var(--card); border: 1px solid var(--line); }
.cb .case .pic img { border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(17,26,23,.14); background: #fff; }
.cb .case .pic figcaption { margin: 0; font-size: 12.5px; color: var(--sub); }
.cb .case .pic figcaption a { font-weight: 700; }
.cb .case .pic .scroll { overflow-x: auto; border-radius: 14px; -webkit-overflow-scrolling: touch; }
.cb .case .pic .scroll svg { min-width: 600px; }
.cb .case .swipe { display: none; margin: 0; font-size: 12px; color: var(--sub); text-align: center; }
@media (max-width: 640px) { .cb .case .swipe { display: block; } }
.cb .case .ex-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--sub); }

/* every printed output, as a gallery under step 4 */
.cb .papers { grid-column: 2 / -1; margin-top: 28px; display: grid; gap: 14px; min-width: 0; }
.cb .papers h5 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--ink); font-size: 17px; font-weight: 800; }
.cb .papers h5 small { font-size: 13px; font-weight: 500; color: var(--sub); }
.cb .paper-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cb .paper { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--body); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.cb .paper:hover { transform: translateY(-3px); border-color: var(--green-b); box-shadow: 0 14px 30px rgba(17,26,23,.12); }
.cb div.paper:hover { transform: none; border-color: var(--line); box-shadow: none; }
.cb .paper .thumb { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--panel); border-bottom: 1px solid var(--line); overflow: hidden; }
.cb .paper .thumb img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; filter: drop-shadow(0 4px 10px rgba(17,26,23,.18)); }
.cb .paper .p-body { display: grid; gap: 4px; align-content: start; padding: 12px 14px 14px; }
.cb .paper .p-who { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--green-m); }
.cb .paper .p-name { color: var(--ink); font-size: 15.5px; font-weight: 800; line-height: 1.45; }
.cb .paper .p-what { font-size: 13px; color: var(--sub); line-height: 1.6; }
.cb .paper .p-open { font-size: 12.5px; font-weight: 700; color: var(--green-d); margin-top: 4px; }

/* ---------- demos ---------- */
.cb .demos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cb .demo { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--ink); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--night-ink); box-shadow: 0 14px 34px rgba(17,26,23,.18); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cb .demo:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(17,26,23,.26), 0 0 0 2px var(--green-b); }
.cb .demo .shot { aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; border-bottom: 1px solid var(--night-line); }
.cb .demo .shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.cb .demo:hover .shot img { transform: scale(1.04); }
.cb .demo .d-body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; }
.cb .demo .d-name { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.45; }
.cb .demo .d-what { font-size: 14px; color: var(--night-sub); }
.cb .demo .d-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.cb .data { font-size: 11.5px; font-weight: 700; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--night-line); color: var(--night-sub); white-space: nowrap; }
.cb .data.pub { color: var(--glow); border-color: rgba(110,231,160,.45); }
.cb .demo .go { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: #fff; }
.cb .demo .go::after { content: "→"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-d); transition: transform .25s var(--ease); }
.cb .demo:hover .go::after { transform: translateX(3px); }
.cb .demo-note { margin: 16px 0 0; font-size: 13.5px; color: var(--sub); }

/* ---------- contact ---------- */
.cb .contact { background: linear-gradient(160deg, var(--night2) 0%, var(--night) 55%, var(--ink) 100%); color: var(--night-ink); }
.cb .contact .in { padding-block: 72px 80px; display: grid; gap: 14px; justify-items: start; }
.cb .contact h2 { margin: 0; color: #fff; font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; line-height: 1.4; }
.cb .contact p { margin: 0; max-width: 40em; color: #c6d4ca; }
.cb .contact .cta { margin-top: 6px; }
.cb .contact .cta::after { content: "→"; }
.cb .contact .cta:hover::after { transform: translateX(3px); }
.cb .contact .where { font-size: 13px; color: var(--night-sub); }

/* ---------- products (folded) ---------- */
.cb .prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.cb .prod { background: var(--card); border: 1px solid var(--line); border-radius: 16px; min-width: 0; scroll-margin-top: 72px; transition: border-color .25s, box-shadow .25s; }
.cb .prod.wide { grid-column: 1 / -1; }
.cb .prod[open] { border-color: var(--green-b); box-shadow: 0 12px 28px rgba(17,26,23,.08); }
.cb .prod:target { box-shadow: 0 0 0 3px rgba(82,171,76,.4); }
.cb .prod summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 18px 20px 18px 22px; border-radius: 16px; }
.cb .prod summary::-webkit-details-marker { display: none; }
.cb .prod .t { display: grid; gap: 4px; min-width: 0; }
.cb .prod .lane-of { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--green-m); }
.cb .prod h4 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--ink); font-size: 19px; font-weight: 900; line-height: 1.4; }
.cb .prod h4 small { font-size: 12.5px; font-weight: 500; color: var(--sub); }
.cb .prod .one { color: var(--body); font-size: 14.5px; }
.cb .prod .pm { width: 40px; height: 40px; border-radius: 50%; background: var(--green-d); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; transition: transform .3s var(--ease); }
.cb .prod .pm::before { content: "＋"; }
.cb .prod[open] .pm { transform: rotate(45deg); }
.cb .prod summary:hover .pm { background: var(--green-m); }
.cb .prod .body { padding: 0 22px 20px; }
.cb .prod ul { margin: 0; padding: 14px 0 0 1.2em; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14.5px; }
.cb .prod .more { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.cb .spec { margin: 0; padding: 14px 0 4px; border-top: 1px solid var(--line); display: grid; gap: 0; }
.cb .spec > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.cb .spec dt { font-size: 12.5px; font-weight: 800; color: var(--green-m); letter-spacing: .04em; padding-top: 1px; }
.cb .spec dd { margin: 0; font-size: 14.5px; color: var(--ink); min-width: 0; }
.cb .prod .spec + ul { border-top: 0; padding-top: 12px; }
.cb .prod .more { display: flex; flex-wrap: wrap; gap: 6px 1.5em; }
@media (max-width: 560px) { .cb .spec > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.cb .prod.is-ruler { border-color: var(--green-d); }

/* ---------- footer ---------- */
.cb footer { margin-top: 0; background: var(--ink); color: var(--night-sub); font-size: 13px; }
.cb footer .in { padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.cb footer .logo { height: 16px; }
.cb footer .end { margin-left: auto; }

/* ---------- widths ---------- */
@media (max-width: 1100px) {
  .cb .who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cb .who li:nth-child(3n) { border-right: 0; }
  .cb .who li:nth-child(3n+1) { padding-left: 0; }
  .cb .who li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 900px) {
  .cb .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 36px 0; gap: 0; }
  .cb .art { margin: -4px calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); }
  .cb .art img { mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-composite: add; -webkit-mask-composite: source-over; }
  .cb .who-wrap { padding-top: 8px; }
  .cb .chapter { padding-block: 64px 72px; }
  .cb .ch-head { margin-bottom: 32px; }
  .cb .sub + .sub { margin-top: 64px; padding-top: 44px; }
  .cb .flow-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cb .flow-list li + li::before { content: "↓"; left: 0; right: 0; top: -9px; width: auto; transform: none; font-size: 12px; line-height: 1; }
  .cb .flow-list a { padding: 10px 14px; }
  .cb .flow-list .fn { font-size: 24px; }
  .cb .promises, .cb .steps { grid-template-columns: minmax(0, 1fr); }
  .cb .steps { gap: 24px; }
  .cb .steps li + li::before { content: "↓"; left: 0; right: 0; top: -22px; width: auto; height: 20px; line-height: 20px; }
  .cb .prods { grid-template-columns: minmax(0, 1fr); }
  .cb .case > li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px 16px; padding-block: 28px; }
  .cb .case .num { font-size: 32px; }
  .cb .case .num::after { display: none; }
  .cb .case .pic { grid-column: 1 / -1; }
  .cb .demos { grid-template-columns: minmax(0, 1fr); }
  .cb .papers { grid-column: 1 / -1; margin-top: 8px; }
  .cb .paper-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cb .board { padding: 22px 18px 20px; border-radius: 18px; --gap-x: 22px; --gap-y: 40px; }
  .cb .bridge { grid-template-columns: 52px minmax(0, 1fr); column-gap: var(--gap-x); row-gap: 30px; }
  .cb .lane { grid-column: 2; }
  .cb .lane-apps::before { display: none; }
  .cb .flow { grid-template-columns: minmax(0, 1fr); gap: var(--gap-y); }
  .cb .handoff { top: auto; right: auto; left: 0; bottom: calc(-1 * var(--gap-y)); width: 100%; height: var(--gap-y); grid-auto-flow: column; align-content: center; justify-content: center; gap: 8px; }
  .cb .handoff svg { transform: rotate(90deg); }
  .cb .handoff span { writing-mode: horizontal-tb; }
  .cb .node::after { left: calc(-1 * var(--gap-x) - 1.5px); bottom: auto; top: 30px; height: 2px; width: var(--gap-x); transform: none; background: linear-gradient(270deg, rgba(110,231,160,.15), var(--glow)); }
  .cb .node.is-dev::after { background: repeating-linear-gradient(90deg, var(--glow) 0 5px, transparent 5px 10px); }
  .cb .ruler { grid-column: 1; grid-row: 1 / span 2; padding: 18px 8px 18px 22px; flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 14px; }
  .cb .ruler::before { inset: 0 auto 0 0; width: 16px; height: auto; background: repeating-linear-gradient(180deg, var(--night) 0 1.5px, transparent 1.5px 50px), repeating-linear-gradient(180deg, var(--night) 0 1px, transparent 1px 10px); background-size: 16px 100%, 8px 100%; background-repeat: no-repeat; }
  .cb .ruler .name, .cb .ruler .what { writing-mode: vertical-rl; }
  .cb .ruler .name { font-size: 19px; }
  .cb .ruler .what { font-size: 13px; }
  .cb .ruler .glint { top: -30%; left: 0; width: 100%; height: 30%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.6), transparent); animation-name: glint-v; }
  @keyframes glint-v { from { top: -30%; } to { top: 110%; } }
}
@media (max-width: 560px) {
  .cb .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb .who li, .cb .who li:nth-child(3n), .cb .who li:nth-child(3n+1), .cb .who li:nth-child(n+4) { border-right: 0; border-top: 0; padding: 12px 10px 4px 0; }
  .cb .who li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .cb .who li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .cb .who li:nth-child(even) { padding-left: 12px; }
  .cb .lede { font-size: 15.5px; }
  .cb footer .end { margin-left: 0; }
}
@media (max-width: 300px) {
  .cb .who { grid-template-columns: minmax(0, 1fr); }
  .cb .who li:nth-child(odd) { border-right: 0; }
  .cb .who li:nth-child(even) { padding-left: 0; }
  .cb .who li:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.08); }
  .cb .who span { word-break: normal; }
  .cb .r-box { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cb .art img, .cb .node, .cb .bars i::after { animation: none; }
  .cb .ruler .glint { display: none; }
  .cb .node, .cb .cta, .cb .cta::after, .cb .prod .pm, .cb .demo, .cb .demo .shot img, .cb .demo .go::after, .cb .paper { transition: none; }
  .cb .node:hover, .cb .cta:hover, .cb .demo:hover, .cb .demo:hover .shot img, .cb .demo:hover .go::after, .cb .paper:hover { transform: none; }
}

/* ---------- layered pages (2026-10-20): breadcrumb, flow bar, product head, in/out, prev/next ---------- */
.cb .p-top { background: var(--page); }
.cb .p-top .in { padding-block: 18px 44px; display: grid; gap: 22px; }
.cb .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--sub); }
.cb .crumbs li + li::before { content: "＞"; margin-right: 8px; }
.cb .crumbs a { font-weight: 700; }
.cb .crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* the flow of products on every product page: where this page sits */
.cb .flowbar { background: var(--ink); color: var(--night-ink); border-radius: 16px; padding: 14px 16px 16px; display: grid; gap: 10px; }
.cb .fb-t { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--glow); }
.cb .fb-t span { font-weight: 500; letter-spacing: .02em; color: var(--night-sub); }
.cb .fb-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr); gap: 10px 22px; }
.cb .fb-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; }
.cb .fb-flow li { position: relative; min-width: 0; }
.cb .fb-flow li + li::before { content: "→"; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 800; color: var(--glow); }
.cb .fb-apps { display: grid; gap: 6px; align-content: start; min-width: 0; padding-left: 18px; border-left: 1px dashed rgba(255,255,255,.22); }
.cb .fb-k { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--night-sub); }
.cb .fb-apps ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cb .flowbar a { display: grid; gap: 2px; align-content: center; height: 100%; min-height: 44px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); color: #fff; text-decoration: none; font-size: 14px; font-weight: 800; line-height: 1.35; }
.cb .flowbar a:hover { border-color: var(--green-b); background: rgba(255,255,255,.1); }
.cb .fb-n { font-size: 11px; font-weight: 800; color: var(--glow); font-variant-numeric: tabular-nums; }
.cb .flowbar a[aria-current="page"] { background: #fff; color: var(--ink); border-color: #fff; }
.cb .flowbar a[aria-current="page"] .fb-n { color: var(--green-d); }
.cb .fb-here { justify-self: start; font-size: 11px; font-weight: 800; color: #fff; background: var(--green-d); border-radius: 999px; padding: 0 8px; }
.cb .flowbar a.fb-ruler { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; border: 0; color: var(--night); background: linear-gradient(90deg, #4fbf6f, var(--glow) 55%, #4fbf6f); }
.cb .flowbar a.fb-ruler:hover { box-shadow: 0 0 0 2px #fff inset; }
.cb .flowbar a.fb-ruler[aria-current="page"] { box-shadow: 0 0 0 3px #fff inset; }
.cb .fb-ruler small { font-size: 12.5px; font-weight: 600; }
.cb .fb-ruler .fb-here { align-self: center; }
@media (max-width: 900px) {
  .cb .fb-row { grid-template-columns: minmax(0, 1fr); }
  .cb .fb-apps { padding-left: 0; border-left: 0; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.22); }
}
/* narrow: 2 by 2, read like text (1 2 / 3 4); the arrow into the second row is dropped */
@media (max-width: 640px) {
  .cb .fb-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb .fb-flow li:nth-child(3)::before { display: none; }
}

.cb .p-title { display: grid; gap: 8px; max-width: 52rem; }
.cb .p-kind { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--green-m); }
.cb .p-title h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; color: var(--ink); font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.25; }
.cb .p-title h1 small { font-size: 15px; font-weight: 600; color: var(--sub); }
.cb .p-one { margin: 0; font-size: 18px; font-weight: 500; color: var(--body); text-wrap: pretty; }

.cb .p-sec { padding-block: 48px 52px; border-top: 1px solid var(--line); background: var(--card); }
.cb .p-sec.band { background: var(--band); border-top-color: var(--band-line); }
.cb .p-sec h2 { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 28px); }
.cb .p-lead { margin: -8px 0 20px; max-width: 46rem; color: var(--sub); }
.cb .p-sec .spec { border-top: 0; padding-top: 0; max-width: 52rem; }

/* what goes in, what comes out */
.cb .io { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; margin-bottom: 22px; max-width: 52rem; }
.cb .io-box { display: grid; gap: 4px; align-content: start; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--panel); }
.cb .io-box.out { border-color: var(--green-b); background: var(--card); }
.cb .io-k { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: var(--green-m); }
.cb .io-v { margin: 0; font-size: 15.5px; color: var(--ink); }
.cb .io-ar { align-self: center; font-size: 22px; font-weight: 900; color: var(--green-d); }
@media (max-width: 640px) {
  .cb .io { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cb .io-ar { justify-self: center; transform: rotate(90deg); }
}

.cb .can { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 52rem; }
.cb .can li { position: relative; padding: 12px 16px 12px 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 15.5px; color: var(--ink); }
.cb .can li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-b); }
.cb .p-sec .fine { max-width: 52rem; }
.cb .p-sec .steps { margin-top: 4px; }
.cb .p-sec .demos { max-width: 60rem; }
.cb .papers h3 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--ink); font-size: 17px; font-weight: 800; }
.cb .papers h3 small { font-size: 13px; font-weight: 500; color: var(--sub); }
.cb .shown { display: grid; gap: 28px; }
.cb .shown .pic { max-width: 52rem; }
.cb .shown-g { display: grid; gap: 12px; min-width: 0; }
.cb .shown-h { margin: 0; color: var(--ink); font-size: 17px; font-weight: 800; }
.cb .demos-g { margin: 40px 0 0; }
.cb .flowbar .nw { display: inline-block; }

.cb .pn { background: var(--page); border-top: 1px solid var(--line); }
.cb .pn .in { padding-block: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cb .pn a { display: grid; gap: 2px; align-content: center; min-height: 44px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; }
.cb .pn a:hover { border-color: var(--green-b); }
.cb .pn .next { grid-column: 2; text-align: right; }
.cb .pn-k { font-size: 12.5px; font-weight: 700; color: var(--green-m); }
.cb .pn-name { font-size: 17px; font-weight: 800; color: var(--ink); }
@media (max-width: 560px) {
  .cb .pn .in { grid-template-columns: minmax(0, 1fr); }
  .cb .pn .next { grid-column: auto; text-align: left; }
}

/* ---------- the top page, under the map ---------- */
.cb .b-sec { padding-block: 72px 80px; border-top: 1px solid var(--line); }
.cb .b-sec.alt { background: var(--card); }
.cb .b-head { display: grid; gap: 8px; margin-bottom: 26px; max-width: 46rem; }
.cb .b-head h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.cb .b-head p { margin: 0; color: var(--sub); }
.cb .node .state { display: grid; gap: 2px; padding: 7px 9px; border-radius: 8px; background: var(--panel); font-size: 12.5px; line-height: 1.6; color: var(--body); }
.cb .node .state b, .cb .ruler .state b { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--green-m); }
.cb .node .go { margin-top: 2px; font-size: 13.5px; font-weight: 800; color: var(--green-d); }
.cb .ruler .state { flex-basis: 100%; font-size: 13px; font-weight: 500; }
.cb .ruler .state b { color: var(--night); }
.cb .ruler .go { font-size: 13.5px; font-weight: 800; }
.cb .ruler-state { display: none; margin: 12px 0 0; font-size: 13.5px; color: var(--body); }
.cb .ruler-state b { color: var(--ink); }
.cb .ruler-state a { font-weight: 800; }
@media (max-width: 900px) {
  .cb .ruler .state, .cb .ruler .go { display: none; }
  .cb .ruler-state { display: block; }
}
@media (min-width: 901px) {
  .cb .bridge { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr); }
  .cb .flow.apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cb .board .node { display: flex; flex-direction: column; }
  .cb .board .node .go { margin-top: auto; padding-top: 4px; }
  .cb .bridge.no-apps { grid-template-columns: minmax(0, 1fr); }
}
.cb .fb-row.no-apps { grid-template-columns: minmax(0, 1fr); }
/* small laptops and tablets on their side: tighter cards so the names break only between words */
@media (min-width: 901px) and (max-width: 1179px) {
  .cb .board { padding: 24px 20px 20px; --gap-x: 26px; --lane-gap: 36px; }
  .cb .flow.apps { gap: 12px; }
  .cb .board .node { padding: 14px 12px 16px; }
  .cb .board .node .name { font-size: 17px; }
}
.cb .board .node .step { padding-right: 0; }
/* the overview from the service guide (00_INDEX 01): the problem, why it blocks adoption, and the answer */
.cb .why-end { margin: 22px 0 0; max-width: 46rem; font-size: 16px; color: var(--body); }
.cb .why-end b { color: var(--ink); }
.cb .who-t { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); max-width: 60rem; }
.cb .who-t table { width: 100%; border-collapse: collapse; }
.cb .who-t th, .cb .who-t td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.cb .who-t thead th { border-top: 0; background: var(--panel); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: var(--green-m); }
.cb .who-t tbody th { color: var(--ink); font-weight: 800; white-space: nowrap; }
.cb .who-t td a { font-weight: 700; }
@media (max-width: 640px) {
  .cb .who-t table, .cb .who-t tbody, .cb .who-t tr, .cb .who-t th, .cb .who-t td { display: block; }
  .cb .who-t thead { display: none; }
  .cb .who-t tr { padding: 12px 16px; border-top: 1px solid var(--line); }
  .cb .who-t tr:first-child { border-top: 0; }
  .cb .who-t th, .cb .who-t td { padding: 2px 0; border-top: 0; white-space: normal; }
  .cb .who-t td::before { content: attr(data-k); display: block; font-size: 11.5px; font-weight: 800; color: var(--green-m); }
}

/* ---------- product pages filled out (2026-10-21): assumed uses, before/after, the three worries, what comes next ---------- */
.cb .scn-note { margin: -8px 0 18px; max-width: 46rem; font-size: 14px; color: var(--sub); }
.cb .scenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; max-width: 60rem; }
.cb .scenes li { display: grid; gap: 6px; align-content: start; padding: 16px 18px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.cb .scn-who { justify-self: start; font-size: 12.5px; font-weight: 800; color: var(--green-d); background: var(--panel); border-radius: 999px; padding: 2px 10px; }
.cb .scn-when { margin: 0; font-size: 14px; font-weight: 700; color: var(--sub); }
.cb .scn-what { margin: 0; font-size: 15.5px; color: var(--ink); }
.cb .ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; max-width: 52rem; }
.cb .ba-box { display: grid; gap: 4px; align-content: start; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--panel); }
.cb .ba-box.now { border-color: var(--green-b); background: var(--card); }
.cb .ba-k { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: var(--sub); }
.cb .ba-box.now .ba-k { color: var(--green-m); }
.cb .ba-v { margin: 0; font-size: 15.5px; color: var(--ink); }
.cb .ba-ar { align-self: center; font-size: 22px; font-weight: 900; color: var(--green-d); }
.cb .fears { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 52rem; }
.cb .fears li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 4px 20px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.cb .fear-q, .cb .fear-a { margin: 0; display: grid; gap: 2px; }
.cb .fear-k { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--sub); }
.cb .fear-a .fear-k { color: var(--green-m); }
.cb .fear-q b { font-size: 16px; color: var(--ink); }
.cb .fear-a span:last-child { font-size: 15.5px; color: var(--ink); }
.cb .vague { margin: 22px 0 0; max-width: 52rem; padding: 16px 18px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--panel); display: grid; gap: 6px; }
.cb .vague p { margin: 0; color: var(--body); }
.cb .vague .vague-k { font-size: 12.5px; font-weight: 800; color: var(--sub); }
.cb .vague q { font-size: 16.5px; font-weight: 700; color: var(--ink); quotes: "「" "」"; }
.cb .next-t small { margin-left: 12px; font-size: 14px; font-weight: 700; color: var(--sub); }
.cb .next-note { margin: 12px 0 0; max-width: 52rem; font-size: 14px; color: var(--sub); }
@media (max-width: 640px) {
  .cb .ba { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cb .ba-ar { justify-self: center; transform: rotate(90deg); }
  .cb .fears li { grid-template-columns: minmax(0, 1fr); }
}

/* Mincho for page names and page one-liners (2026-10-21: Numa 00:49 / 01:09) */
.cb { --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "BIZ UDMincho", serif; }
.cb .p-title h1 { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; }
.cb .p-title h1 small { font-family: var(--font); }
.cb .p-one { font-family: var(--serif); font-size: 19px; line-height: 1.85; }
/* Very narrow screens: the nav takes its own row and wraps instead of running off the page */
@media (max-width: 300px) { .cb .bar nav { flex: 1 1 100%; flex-wrap: wrap; margin-left: 0; } }

/* until Noto Sans JP arrives: device fonts sized to Noto's ascent/descent (and Latin width), so lines keep their place when it swaps in */
@font-face { font-family: "Pano Noto Fallback"; font-weight: 100 500; src: local("Noto Sans CJK JP"), local("NotoSansCJKjp-Regular"), local("Hiragino Sans W3"), local("HiraginoSans-W3"), local("Hiragino Kaku Gothic ProN W3"), local("HiraKakuProN-W3"), local("Yu Gothic Regular"), local("YuGothic-Regular"), local("Meiryo"); size-adjust: 100.0%; ascent-override: 116.00%; descent-override: 28.80%; line-gap-override: 0%; }
@font-face { font-family: "Pano Noto Fallback"; font-weight: 600 900; src: local("Noto Sans CJK JP Bold"), local("NotoSansCJKjp-Bold"), local("Hiragino Sans W6"), local("HiraginoSans-W6"), local("Hiragino Kaku Gothic ProN W6"), local("HiraKakuProN-W6"), local("Yu Gothic Bold"), local("YuGothic-Bold"), local("Meiryo Bold"); size-adjust: 100.0%; ascent-override: 116.00%; descent-override: 28.80%; line-gap-override: 0%; }
@font-face { font-family: "Pano Noto Fallback"; font-weight: 100 500; src: local("Helvetica Neue"), local("HelveticaNeue"), local("Arial"), local("ArialMT"); unicode-range: U+0020-007E, U+00A0-00D6, U+00D8-00F6, U+00F8-00FF; size-adjust: 100.2%; ascent-override: 115.77%; descent-override: 28.74%; line-gap-override: 0%; }
@font-face { font-family: "Pano Noto Fallback"; font-weight: 600 900; src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Arial Bold"), local("Arial-BoldMT"); unicode-range: U+0020-007E, U+00A0-00D6, U+00D8-00F6, U+00F8-00FF; size-adjust: 103.3%; ascent-override: 112.29%; descent-override: 27.88%; line-gap-override: 0%; }

/* ---------- 2026-10-23 two domains: parts the product pages and the new pages add ---------- */
/* product pages ①: the three ways in, each linked to its definition on /adoption/ */
.cb .p-forms { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; color: var(--body); }
.cb .p-forms b { color: var(--green-d); font-weight: 800; }
.cb .p-forms a { font-weight: 700; }
.cb .p-forms .p-forms-how { font-size: 13px; }
/* product pages ⑤ ⑥ ⑦ */
.cb .combos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; max-width: 60rem; }
.cb .combos li { display: grid; gap: 6px; align-content: start; padding: 14px 18px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.cb .cb-with { justify-self: start; font-size: 12.5px; font-weight: 800; color: var(--green-d); background: var(--panel); border-radius: 999px; padding: 2px 10px; }
.cb .combos p { margin: 0; font-size: 15px; color: var(--ink); }
.cb .p-more { margin: 14px 0 0; font-size: 14.5px; color: var(--body); max-width: 52rem; }
.cb .p-more a { font-weight: 700; }
.cb .oem-line, .cb .real-case { margin: 0; max-width: 52rem; padding: 14px 18px; border-left: 4px solid var(--green-b); background: var(--panel); border-radius: 0 12px 12px 0; font-size: 15.5px; color: var(--ink); }
.cb .band .oem-line, .cb .band .real-case { background: var(--card); }
.cb .demo .cbx-dom { color: var(--night-sub); }

/* education / (E1) */
.cb .e-top { padding-block: 40px 44px; }
.cb .e-top .p-title { max-width: 60rem; }
.cb .e-forms { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 60rem; }
.cb .e-forms a { display: grid; gap: 2px; height: 100%; padding: 12px 16px 14px; border-radius: 14px; border: 1.5px solid var(--green-b); background: var(--card); text-decoration: none; color: var(--ink); }
.cb .e-forms a:hover { background: var(--panel); }
.cb .e-forms b { font-size: 16px; font-weight: 900; color: var(--green-d); }
.cb .e-forms span { font-size: 14px; color: var(--body); }
.cb .e-forms-note { margin: 10px 0 0; max-width: 60rem; font-size: 13px; color: var(--sub); }
.cb .e-cards { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cb .e-cards li.e-wide { grid-column: 1 / -1; }
.cb .e-card { display: grid; gap: 6px; align-content: start; height: 100%; padding: 16px 16px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--body); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cb .e-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,26,23,.12), 0 0 0 2px var(--green-b); }
.cb .e-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--green-m); }
.cb .e-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 19px; font-weight: 900; color: var(--ink); line-height: 1.35; }
.cb .e-name small { font-size: 12.5px; font-weight: 600; color: var(--sub); }
.cb .e-one { font-size: 14px; line-height: 1.65; }
.cb .e-single { justify-self: start; margin-top: 4px; font-size: 12.5px; font-weight: 800; color: var(--green-d); background: var(--panel); border-radius: 999px; padding: 2px 10px; }
.cb .e-go { margin-top: 2px; font-size: 13.5px; font-weight: 800; color: var(--green-d); }
.cb .e-go::after { content: " →"; }
.cb .e-card.e-ruler { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 18px; background: linear-gradient(90deg, #4fbf6f, var(--glow) 55%, #4fbf6f); border-color: transparent; color: var(--night); }
.cb .e-card.e-ruler > * { grid-column: 1; }
.cb .e-card.e-ruler .e-go { grid-column: 2; grid-row: 1 / span 4; }
.cb .e-card.e-ruler .e-k, .cb .e-card.e-ruler .e-name, .cb .e-card.e-ruler .e-name small, .cb .e-card.e-ruler .e-go { color: var(--night); }
.cb .e-card.e-ruler .e-single { background: rgba(255,255,255,.6); color: var(--night); }
.cb .board .slab.is-base { cursor: default; }
.cb .board .slab.is-base:hover { background: rgba(255,255,255,.06); }
.cb .roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cb .p-title h1 .nw { display: inline-block; }
.cb .roles li { display: grid; gap: 8px; align-content: start; padding: 16px 18px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.cb .roles h3 { margin: 0; font-size: 17px; font-weight: 900; color: var(--ink); }
.cb .role-k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--green-m); }
.cb .roles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; color: var(--ink); }
.cb .roles ul li { display: block; padding: 0 0 0 14px; border: 0; border-radius: 0; background: none; position: relative; }
.cb .roles ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-b); }
.cb .role-go { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cb .role-go a { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--green-b); font-size: 13px; font-weight: 700; text-decoration: none; color: var(--green-d); }
.cb .role-go a:hover { background: var(--panel); }
.cb .roles-more { margin: 16px 0 0; font-size: 14.5px; color: var(--body); }
.cb .roles-more a { font-weight: 700; }
.cb .world-go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cb .world-go a { display: grid; gap: 2px; padding: 14px 18px; min-width: min(100%, 300px); border-radius: 14px; border: 1.5px solid var(--green-b); background: var(--card); text-decoration: none; color: var(--ink); font-weight: 800; }
.cb .world-go a:hover { background: var(--panel); }
.cb .world-go a span { font-size: 13.5px; font-weight: 500; color: var(--body); }
@media (max-width: 1000px) { .cb .e-cards, .cb .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cb .e-forms { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .cb .e-cards, .cb .roles { grid-template-columns: minmax(0, 1fr); }
  .cb .e-card.e-ruler { grid-template-columns: minmax(0, 1fr); }
  .cb .e-card.e-ruler .e-go { grid-column: 1; grid-row: auto; }
}

/* education /adoption/ (E7) */
.cb .forms3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 64rem; }
.cb .forms3 > li { display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; border-radius: 16px; border: 1.5px solid var(--green-b); background: var(--card); scroll-margin-top: 76px; }
.cb .forms3 h3 { margin: 0; font-size: 21px; font-weight: 900; color: var(--green-d); }
.cb .forms3 .f-def { margin: 0; font-size: 15.5px; color: var(--ink); }
.cb .forms3 .f-k { margin: 6px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--green-m); }
.cb .forms3 ul { margin: 0; padding-left: 1.2em; font-size: 14.5px; color: var(--body); }
.cb .forms3 :target, .cb .forms3 > li:target { box-shadow: 0 0 0 3px var(--glow); }
.cb .ad-start { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; max-width: 52rem; font-size: 15.5px; color: var(--ink); }
.cb .ad-base { margin: 22px 0 0; max-width: 52rem; padding: 16px 20px; border-radius: 12px; background: linear-gradient(90deg, #4fbf6f, var(--glow) 55%, #4fbf6f); color: var(--night); font-weight: 700; }
.cb .ad-base a { color: var(--night); }
@media (max-width: 860px) { .cb .forms3 { grid-template-columns: minmax(0, 1fr); } }

/* curriculumbridge.jp /demos/ (C5) and the next-step band at the end of each demo */
.cb .demos.d3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.cb .d-step { display: inline-block; justify-self: start; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--glow); }
.cb .d-prod { font-size: 13px; color: var(--night-ink); }
.cb .d-under { margin: 18px 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--green-m); display: flex; align-items: center; gap: 10px; }
.cb .d-under::after { content: ""; flex: 1; border-top: 1px dashed var(--band-line); }
.cb .demos.d1 { grid-template-columns: minmax(0, 1fr); max-width: none; }
.cb .demos.d1 .demo { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto; }
.cb .demos.d1 .demo .shot { border-bottom: 0; border-right: 1px solid var(--night-line); }
@media (max-width: 1000px) { .cb .demos.d3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .cb .demos.d1 .demo { grid-template-columns: minmax(0, 1fr); }
  .cb .demos.d1 .demo .shot { border-right: 0; border-bottom: 1px solid var(--night-line); }
}

/* curriculumbridge.jp / (C1) below the map, and /story/ (C2) step links */
.cb .three { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 64rem; counter-reset: three; }
.cb .three li { position: relative; display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.cb .three li + li::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); font-weight: 900; color: var(--green-d); }
.cb .three li.r { background: linear-gradient(90deg, #4fbf6f, var(--glow) 55%, #4fbf6f); border-color: transparent; }
.cb .three b { font-size: 17px; font-weight: 900; color: var(--ink); }
.cb .three span { font-size: 13.5px; color: var(--body); }
.cb .three li.r span { color: var(--night); }
@media (max-width: 720px) {
  .cb .three { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cb .three li + li::before { content: "↓"; left: 50%; top: -22px; transform: translateX(-50%); }
}
.cb .node .single { justify-self: start; align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--green-d); background: var(--panel); border-radius: 999px; padding: 2px 9px; }
.cb .node .go small { display: block; font-size: 11px; font-weight: 600; color: var(--sub); }
.cb .ruler .state small { display: inline; }
.cb .ruler-state small { display: block; }
.cb #flow .world-go { margin-top: 26px; }
.cb .ws-prod { margin: 16px 0 0; display: grid; gap: 8px; }
.cb .ws-prod-k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--green-m); }
.cb .ws-prod-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cb .ws-p, .cb .ws-d { display: grid; gap: 2px; min-width: min(100%, 220px); padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.cb .ws-p { background: var(--card); border: 1.5px solid var(--green-b); }
.cb .ws-p b, .cb .ws-d b { font-size: 15.5px; font-weight: 900; }
.cb .ws-p span { font-size: 12.5px; font-weight: 800; color: var(--green-d); }
.cb .ws-p small { font-size: 11px; color: var(--sub); }
.cb .ws-d { align-content: center; background: var(--panel); border: 1px solid var(--line); }
.cb .ws-d span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--green-m); }
.cb .ws-p:hover, .cb .ws-d:hover { box-shadow: 0 0 0 2px var(--green-b); }
