.kamh {
  --kh-blue: #2863f5;
  --kh-ink: #142f51;
  --kh-muted: #596f8e;
  --kh-line: #d8e4f5;
  --kh-green: #16775f;
  --kh-teal: #168579;
  color: var(--kh-ink);
  background: linear-gradient(112deg, #fff 18%, #f6f9ff 63%, #eaf2ff);
  border-bottom: 1px solid var(--kh-line);
  overflow: hidden;
  font-family: var(--font-sans);
}
.kamh *, .kamh *::before, .kamh *::after { box-sizing: border-box; }
.kamh-wrap { max-width: 1440px; margin: auto; padding: 28px 48px 20px; }
.kamh .breadcrumb { margin: 0 0 12px; font-size: 12px; }
.kamh-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 36px; align-items: center; }
.kamh-copy { position: relative; z-index: 1; padding: 22px 0 34px; }
.kamh-label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; font-size: 12px; color: #42638e; letter-spacing: .02em; }
.kamh-label > i { height: 7px; width: 7px; border-radius: 50%; background: var(--kh-blue); box-shadow: 0 0 0 5px #e7eeff; margin-right: 3px; }
.kamh-label > span { color: #9aacc5; }
.kamh #kamh-title { font-size: clamp(32px, 3.35vw, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -.045em; color: var(--kh-ink); margin: 0 0 24px; white-space: nowrap; }
.kamh #kamh-title > span { display: block; position: relative; color: var(--kh-blue); font-size: 1.24em; line-height: 1.25; letter-spacing: -.035em; margin-top: 4px; }
.kamh-title-line { display: inline-block; vertical-align: middle; width: 66px; height: 3px; margin: 0 0 7px 20px; background: linear-gradient(90deg, #7aa4ff, #d4e3ff); }
.kamh-promise { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.65; font-weight: 800; margin: 0 0 18px; letter-spacing: -.02em; color: var(--kh-ink); }
.kamh-promise > span { color: var(--kh-blue); }
.kamh .kamh-description { max-width: 28em; font-size: 15px; line-height: 1.95; color: var(--kh-muted); margin: 0; text-align: left; }
.kamh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.kamh-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; text-decoration: none; font-size: 13px; font-weight: 500; transition: background .2s, box-shadow .2s, color .2s; }
.kamh-actions .kamh-primary { color: #fff; background: var(--kh-blue); padding: 12px 18px; border-radius: 7px; box-shadow: 0 8px 20px #2863f51c; }
.kamh-actions .kamh-primary:hover { background: #194ed0; box-shadow: 0 10px 26px #2863f52e; }
.kamh-actions .kamh-secondary { color: #365c8a; padding: 10px 0; gap: 10px; }
.kamh-actions .kamh-secondary:hover { color: var(--kh-blue); }
.kamh-values { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #607796; margin-top: 32px; }
.kamh-values > i { width: 3px; height: 3px; border-radius: 50%; background: #a6bad5; }
.kamh a:focus-visible, .kamh button:focus-visible, .kamh [role="tabpanel"]:focus-visible { outline: 3px solid #d99320; outline-offset: 5px; }
.kamh-demo { width: 100%; max-width: 620px; justify-self: end; min-width: 0; }
.kamh-scene { width: 100%; aspect-ratio: 640 / 530; position: relative; isolation: isolate; }
.kamh-scene::before { content: ""; position: absolute; inset: 8% 0 0; background: radial-gradient(ellipse, #dce8ff9c, transparent 69%); z-index: -1; pointer-events: none; }
.kamh-scene-heading { position: absolute; top: 2%; left: 5%; right: 5%; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #59769c; font-size: 12px; }
.kamh-scene-heading > span:first-child { color: #345681; font-weight: 800; }
.kamh-scene-heading > span:last-child { font-size: 11px; }
.kamh-orbit { position: absolute; width: 87%; height: 78%; left: 7%; top: 14%; border: 1px solid #dbe6f8; border-radius: 50%; transform: rotate(-23deg); z-index: -1; }
.kamh-orbit--outer { width: 104%; height: 96%; left: -1%; top: 4%; border-color: #e4ecf9; }
.kamh-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kamh-track { stroke: #afc7ed; stroke-width: 1.6; }
.kamh-flow { stroke: #4b80f6; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 12 110; stroke-dashoffset: 18; opacity: 0; }
.kamh.is-playing .kamh-flow { opacity: 1; animation: kamh-flow 2.8s linear infinite; }
.kamh.is-playing .kamh-flow--right { animation-delay: .3s; }
.kamh.is-playing .kamh-flow--down { animation-delay: 1.4s; }
@keyframes kamh-flow { to { stroke-dashoffset: -104; } }
.kamh-party { position: absolute; top: 12.1%; height: 20.4%; width: 40.94%; padding: 18px; display: flex; align-items: center; gap: 13px; border: 1px solid #d4e2f7; background: #fffffff0; border-radius: 12px; box-shadow: 0 12px 30px #244b8610; }
.kamh-party--brand { left: 5%; }
.kamh-party--customer { right: 5%; background: #f9fdfc; border-color: #bdded7; }
.kamh-party--customer .kamh-party-icon { color: var(--kh-teal); }
.kamh-party--customer .kamh-party-role { color: #28736b; }
.kamh-flow--right { stroke: var(--kh-teal); }
.kamh-track--customer { stroke: #a4ccc4; }
.kamh-shared > span:last-child { color: #28736b; }
.kamh-shared > span:last-child b { color: #24645e; }
.kamh-party-icon { width: 40px; height: 44px; color: #3e75e7; flex: none; display: grid; place-items: center; }
.kamh-party-icon svg { width: 32px; height: 32px; }
.kamh-party-role { color: #587296; font-size: 12px; display: block; }
.kamh-party strong { display: block; font-size: 18px; line-height: 1.5; color: var(--kh-ink); margin: 2px 0 4px; }
.kamh-party small { font-size: 11px; color: #5e7595; display: block; white-space: nowrap; }
.kamh-presence { position: absolute; top: 17px; right: 17px; width: 5px; height: 5px; border-radius: 50%; background: #3aa58b; }
.kamh-between { position: absolute; width: 32px; height: 32px; top: 19.1%; left: calc(50% - 16px); color: #7c9bc8; display: grid; place-items: center; }
.kamh-between svg { width: 22px; height: 22px; }
.kamh-workspace { position: absolute; top: 44.9%; left: 8.4%; width: 83.2%; padding: 16px 16px 14px; border: 1px solid #3a73f7; border-radius: 16px; color: #fff; background: linear-gradient(123deg, #4d82ff, #2863f1 64%, #2454cc); box-shadow: 0 22px 40px #2863f529, 0 0 0 7px #e2ebff; overflow: hidden; }
.kamh-workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.kamh-wordmark { display: flex; align-items: center; gap: 9px; }
.kamh-wordmark strong { font-size: 18px; letter-spacing: -.025em; font-weight: 800; white-space: nowrap; }
.kamh-wordmark > span { font-size: 11px; color: #e5edff; border-left: 1px solid #ffffff4a; padding-left: 10px; margin-left: 2px; white-space: nowrap; }
.kamh-sync { font-size: 10px; color: #e5fff8; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.kamh-sync i { height: 4px; width: 4px; border-radius: 50%; background: #adf0da; }
.kamh-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.kamh-stages button { min-width: 0; min-height: 53px; border: 1px solid #ffffff30; color: #f0f5ff; border-radius: 7px; background: #ffffff0b; padding: 6px 4px; font: inherit; cursor: pointer; transition: background .2s, border-color .2s, color .2s; touch-action: manipulation; }
.kamh-stages button b { display: block; color: #e0eaff; font-size: 10px; line-height: 1.4; font-weight: 500; margin-bottom: 3px; letter-spacing: .05em; }
.kamh-stages button span { display: block; font-size: 13px; line-height: 1.4; }
.kamh-stages button:hover { background: #ffffff24; border-color: #ffffff85; }
.kamh-stages button[aria-selected="true"] { background: #fff; border-color: #fff; color: #2455cb; box-shadow: 0 3px 12px #13399020; }
.kamh-stages button[aria-selected="true"] b { color: #335ebd; font-weight: 800; }
.kamh-stages button:disabled { cursor: default; }
.kamh-stages button:focus-visible { outline-color: #ffda7a; outline-offset: 3px; }
.kamh-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #ffffff12; }
.kamh-progress > span { height: 100%; display: block; background: #b2e7ff; transform: scaleX(var(--kamh-progress, .2)); transform-origin: left; }
.kamh-detail { position: absolute; top: 75.1%; left: 11.25%; width: 77.5%; padding: 15px 18px 12px; border: 1px solid #cfdff5; border-radius: 12px; background: #fffffff5; box-shadow: 0 16px 36px #244b8610; }
.kamh-detail-head { display: flex; align-items: center; gap: 9px; }
.kamh-detail-code { font-size: 10px; font-weight: 800; color: #3564c8; background: #ebf1ff; padding: 4px 6px; border-radius: 4px; line-height: 1.3; }
.kamh-detail-head > strong { font-size: 14px; color: var(--kh-ink); }
.kamh-consistent { display: inline-flex; align-items: center; gap: 3px; color: var(--kh-green); font-size: 10px; margin-left: auto; white-space: nowrap; }
.kamh-shared { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 13px; margin-top: 12px; }
.kamh-shared > span { color: #637895; font-size: 10px; line-height: 1.5; }
.kamh-shared b { display: block; font-size: 11px; font-weight: 500; color: #355273; margin-top: 4px; min-height: 17px; }
.kamh-shared > i { background: #e1e9f5; width: 1px; }
.kamh-detail-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e5ecf7; margin-top: 12px; padding-top: 8px; color: #597496; font-size: 9px; line-height: 1.65; }
.kamh-detail-foot > span:last-child { color: #5273a6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kamh-demo-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 5% 0; min-height: 44px; color: #617894; font-size: 10px; }
.kamh-controls { display: flex; align-items: center; gap: 4px; }
.kamh-controls[hidden], .kamh-controls button[hidden] { display: none; }
.kamh-controls button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-height: 44px; border: 0; background: transparent; color: #42658f; font: inherit; font-size: 11px; padding: 5px 8px; cursor: pointer; touch-action: manipulation; }
.kamh-controls button:hover { color: #1e50c1; }
.kamh-boundary { display: flex; align-items: center; gap: 24px; border-top: 1px solid #dbe6f6; padding-top: 16px; margin-top: 20px; font-size: 11px; color: #5c7291; }
.kamh-boundary > span { display: inline-flex; align-items: center; gap: 7px; color: #355a87; white-space: nowrap; }
.kamh-boundary > span i { width: 5px; height: 5px; border-radius: 1px; background: #6b92d6; }
.kamh-boundary p { margin: 0; font-size: 11px; line-height: 1.8; }
.kamh-boundary p b { color: #3a5b86; font-weight: 800; }
.kamh-boundary p em { font-style: normal; color: #b4c5dd; margin: 0 7px; }
.kamh-boundary a { display: inline-flex; align-items: center; gap: 18px; min-height: 36px; margin-left: auto; color: #3f6497; text-decoration: none; white-space: nowrap; }
.kamh-boundary a:hover { color: var(--kh-blue); }
@media (min-width: 1200px) and (max-width: 1320px) {
  .kamh-wrap { padding-inline: 36px; }
  .kamh-layout { gap: 22px; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); }
  .kamh-party { padding: 14px; gap: 9px; }
  .kamh-party strong { font-size: 16px; }
  .kamh-party-icon { width: 32px; }
  .kamh-wordmark > span { display: none; }
  .kamh-detail { padding: 12px 14px 10px; }
  .kamh-shared { margin-top: 10px; gap: 9px; }
  .kamh-shared b { font-size: 10px; }
  .kamh-detail-foot { margin-top: 9px; }
}
@media (max-width: 1199px) {
  .kamh-wrap { padding: 30px 6% 24px; }
  .kamh-layout { grid-template-columns: 1fr; gap: 18px; }
  .kamh-copy { padding: 16px 0 0; max-width: 760px; }
  .kamh #kamh-title { font-size: 44px; }
  .kamh #kamh-title > span { display: inline; margin-left: 12px; font-size: 1em; }
  .kamh-title-line { display: none; }
  .kamh-promise br { display: none; }
  .kamh .kamh-description { max-width: 43em; }
  .kamh-demo { max-width: 640px; justify-self: center; }
  .kamh-values { margin-top: 24px; }
  .kamh-boundary { flex-wrap: wrap; gap: 4px 20px; }
}
@media (max-width: 600px) {
  .kamh-wrap { padding: 25px 6% 20px; }
  .kamh .breadcrumb { font-size: 10px; line-height: 1.8; gap: 8px; margin-bottom: 22px; }
  .kamh-copy { padding-top: 0; }
  .kamh-label { margin-bottom: 20px; font-size: 11px; gap: 8px; }
  .kamh #kamh-title { font-size: clamp(29px, 7.5vw, 42px); margin-bottom: 20px; white-space: normal; line-height: 1.4; }
  .kamh #kamh-title > span { margin-left: 8px; white-space: nowrap; }
  .kamh-promise { font-size: 21px; line-height: 1.65; margin-bottom: 16px; }
  .kamh-promise br { display: block; }
  .kamh .kamh-description { font-size: 16px; line-height: 1.9; }
  .kamh-actions { gap: 8px 18px; margin-top: 22px; }
  .kamh-actions a { font-size: 12px; gap: 12px; }
  .kamh-values { font-size: 11px; gap: 9px; margin-top: 24px; }
  .kamh-layout { gap: 38px; }
  .kamh-scene { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; padding-top: 42px; }
  .kamh-scene-heading { top: 0; left: 0; right: 0; font-size: 12px; gap: 8px; }
  .kamh-scene-heading > span:last-child { font-size: 10px; }
  .kamh-orbit, .kamh-connectors, .kamh-between { display: none; }
  .kamh-party { position: relative; inset: auto; width: auto; height: auto; min-height: 168px; padding: 17px 14px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .kamh-party-icon { width: 30px; height: 30px; }
  .kamh-party-icon svg { width: 29px; height: 29px; }
  .kamh-party strong { font-size: 17px; }
  .kamh-party small { font-size: 11px; white-space: normal; }
  .kamh-party-role { font-size: 12px; }
  .kamh-presence { top: 18px; right: 15px; }
  .kamh-workspace, .kamh-detail { position: relative; inset: auto; width: auto; grid-column: 1 / -1; margin: 0 5px; }
  .kamh-workspace { padding: 16px 13px 14px; overflow: visible; border-radius: 12px; box-shadow: 0 15px 35px #2863f525, 0 0 0 5px #e2ebff; }
  .kamh-workspace::before, .kamh-detail::before { content: ""; position: absolute; height: 30px; width: 1px; left: 50%; top: -31px; background: #abc4ee; }
  .kamh-wordmark { gap: 7px; }
  .kamh-wordmark > svg { width: 23px; height: 23px; }
  .kamh-wordmark strong { font-size: 18px; }
  .kamh-wordmark > span { display: none; }
  .kamh-sync { font-size: 10px; }
  .kamh-stages { gap: 8px; margin-top: 15px; }
  .kamh-stages button { min-height: 56px; padding: 7px 2px; }
  .kamh-stages button span { font-size: 13px; }
  .kamh-stages button b { font-size: 11px; }
  .kamh-progress { overflow: hidden; border-radius: 0 0 12px 12px; }
  .kamh-detail { padding: 16px; }
  .kamh-detail-head { gap: 7px; }
  .kamh-detail-head > strong { font-size: 14px; }
  .kamh-consistent { font-size: 10px; }
  .kamh-shared { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .kamh-shared > span { display: grid; grid-template-columns: 61px 1fr; align-items: baseline; font-size: 11px; gap: 8px; }
  .kamh-shared b { margin: 0; font-size: 12px; min-height: 18px; }
  .kamh-shared > i { display: none; }
  .kamh-detail-foot { font-size: 10px; line-height: 1.8; margin-top: 15px; }
  .kamh-demo-footer { margin: 14px 0 0; gap: 6px; font-size: 9px; }
  .kamh-controls { gap: 0; }
  .kamh-controls button { min-height: 44px; padding: 5px 7px; font-size: 10px; }
  .kamh-boundary { margin-top: 20px; padding-top: 18px; gap: 10px; align-items: flex-start; }
  .kamh-boundary > span { font-size: 11px; }
  .kamh-boundary p { width: 100%; font-size: 10px; line-height: 2; }
  .kamh-boundary p em { margin-inline: 4px; }
  .kamh-boundary a { font-size: 11px; margin-left: 0; min-height: 44px; }
}
@media (max-width: 360px) {
  .kamh-stages { gap: 4px; }
  .kamh-workspace { padding-inline: 10px; }
  .kamh-demo-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .kamh *, .kamh *::before, .kamh *::after { animation: none !important; transition: none !important; }
  .kamh-flow { display: none; }
}
