.term { font-family: var(--mono); font-size: 13px; display: grid; gap: 9px; }
.term div { color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term .p { color: var(--fg-3); }
.term .c { color: var(--fg-3); }
/* ---------- You never edit a file: the section stays pinned while the page scrolls through four steps.
   On the right, a small Kanzo board in 3D; what floats above it follows the step you are on. ---------- */
@property --o { syntax: "<number>"; inherits: true; initial-value: 1; }
.sc { position: relative; height: calc(100vh + 4 * 72vh); }
.sc-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.sc-in { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; padding-top: 40px; }
.sc-text h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.03em; max-width: 9em; }
.sc-sub { margin-top: 14px; color: var(--fg-2); font-size: 18px; font-weight: 300; }
.sc-steps { list-style: none; margin: 44px 0 0; padding: 0; }
.sc-steps li { position: relative; padding: 13px 0 13px 24px; border-left: 1px solid var(--line-2); }
.sc-steps li::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--lav); transform-origin: top; transform: scaleY(var(--f, 0)); }
.sc-steps button { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 14px; font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -.015em; color: var(--fg-3); transition: color .4s; }
.sc-steps button:focus-visible { outline: 2px solid var(--lav); outline-offset: 4px; border-radius: 4px; }
.sc-steps .sn { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--fg-3); transition: color .4s; }
.sc-steps p { margin: 0 0 0 34px; max-width: 22em; color: var(--fg-2); font-size: 16px; font-weight: 300; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2,.8,.2,1), opacity .4s, margin .5s; }
.sc-steps code { font-family: var(--mono); font-size: .9em; color: var(--fg); }
.sc-steps li.on button { color: var(--fg); }
.sc-steps li.on .sn { color: var(--lav); }
.sc-steps li.on p { max-height: 80px; opacity: 1; margin-top: 6px; }
.sc-vis { position: relative; height: min(70vh, 600px); perspective: 2600px; }
.sc-vis::before { content: ""; position: absolute; inset: 4% 2% 0; z-index: -1; background: radial-gradient(closest-side, rgba(172,150,240,.36), rgba(172,150,240,.12) 60%, transparent); }
/* The scene: a 400 x 420 plane seen from above at an angle. x runs down to the right, y down to the left, z up. */
.iso { --rz: 45deg; --rx: 57deg; --k: 1; position: absolute; left: 50%; top: 50%; width: 400px; height: 420px; margin: -210px 0 0 -200px;
  transform-style: preserve-3d; transform: translateY(calc(var(--k) * 70px)) scale3d(var(--k), var(--k), var(--k)) rotateX(var(--rx)) rotateZ(var(--rz)); font-family: var(--ui); }
.iso .o { position: absolute; left: 0; top: 0; transform-style: preserve-3d;
  transform: translate3d(calc(var(--x, 0) * 1px), calc(var(--y, 0) * 1px), calc(var(--z, 0) * 1px));
  transition: transform .95s cubic-bezier(.2,.8,.2,1), --o .55s ease; }
.iso .bob { transform-style: preserve-3d; animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateZ(7px); } }
/* A box: its top face and the two sides that face you. */
.bx { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.bx > * { position: absolute; opacity: var(--o); }
.bx .tp { inset: 0; transform: translateZ(var(--h)); background: var(--top); }
.bx .fr { left: 0; top: 100%; width: 100%; height: var(--h); transform-origin: top; transform: translateZ(var(--h)) rotateX(-90deg); background: var(--front); }
.bx .rt { left: 100%; top: 0; height: 100%; width: var(--h); transform-origin: left; transform: translateZ(var(--h)) rotateY(90deg); background: var(--right); }
.bx.board { --top: linear-gradient(135deg, #f3eefe, #e2d8fa); --right: #c3b4ef; --front: #9c89dc; }
.bx.clay { --top: linear-gradient(135deg, #fff, #f1ecfd); --right: #ddd3f7; --front: #b7a7e8; }
.bx.peach { --top: linear-gradient(135deg, #fff1ea, #fbdccf); --right: #f0bfac; --front: #d69983; }
.bx.dark { --top: linear-gradient(135deg, #2e2945, #1a1727); --right: #17141f; --front: #0d0c13; }
.bx.board .tp { border-radius: 0; }
.bcol { position: absolute; top: 10px; width: 106px; height: 248px; border-radius: 12px; background: rgba(118,96,200,.11); }
.bcol span { position: absolute; left: 10px; top: 8px; display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 600; color: #6c5da8; }
.bcol i { width: 7px; height: 7px; border-radius: 50%; }
.bx.board .fr { display: flex; align-items: center; padding-left: 14px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.75); }
.tile .tp { padding: 7px 9px; border-radius: 3px; transition: box-shadow .5s; }
.tile .tp b { display: block; font-size: 10.5px; color: #6c5da8; }
.tile .tp i { display: block; height: 4px; border-radius: 2px; margin-top: 5px; width: 82%; background: #e6def9; }
.tile .tp i + i { width: 52%; }
.tile.peach .tp b { color: #b3593c; }
.tile.peach .tp i { background: #f5cbbb; }
.iso[data-s="1"] .hot .tp, .iso[data-s="3"] .hot .tp { box-shadow: 0 0 0 2px #fff, 0 0 22px 6px rgba(255,214,196,.75); }
.agent .tp { padding: 10px 12px; color: #ececec; }
.agent .who { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; }
.agent .who i { width: 8px; height: 8px; border-radius: 50%; background: #e8590c; box-shadow: 0 0 8px #e8590c; }
.agent .call { margin-top: 7px; font-family: var(--mono); font-size: 10px; color: var(--lav); }
.term .tp { padding: 9px 12px; font-family: var(--mono); font-size: 10px; line-height: 1.6; color: #ececec; white-space: nowrap; }
.term .dots { display: flex; gap: 5px; margin-bottom: 6px; }
.term .dots i { width: 7px; height: 7px; border-radius: 50%; background: #48425e; }
.term .p { color: var(--lav); }
.term .c { color: #6f6a85; }
.shd { position: absolute; left: 0; top: 0; border-radius: 14px; background: rgba(58,34,120,.42); filter: blur(10px); opacity: var(--o); }
.beam { position: absolute; left: -1px; top: 0; width: 2px; height: 117px; transform-origin: top; transform: rotateX(-90deg); opacity: var(--o);
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.9) 40%, rgba(255,255,255,0)) 0 -60px / 100% 60px no-repeat, linear-gradient(rgba(200,182,242,.25), rgba(200,182,242,.85));
  animation: beam 1.6s linear infinite; box-shadow: 0 0 10px rgba(200,182,242,.7); }
@keyframes beam { to { background-position: 0 140px, 0 0; } }
/* The cursor always faces you. */
.cur { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: rotateZ(calc(-1 * var(--rz))) rotateX(calc(-1 * var(--rx))); opacity: var(--o); }
.cur svg { display: block; filter: drop-shadow(0 4px 8px rgba(20,10,50,.45)); }
.cur span { position: absolute; left: 16px; top: 22px; font-size: 11px; font-weight: 600; background: #fff; white-space: nowrap; color: #17131f; border-radius: 6px; padding: 1px 7px; }
@media (max-width: 900px) {
  .sc-in { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 64px; }
  .sc-vis { order: -1; height: 44vh; }
  .sc-text h2 { font-size: 30px; }
  .sc-sub { display: none; }
  .sc-steps { margin-top: 18px; }
  .sc-steps li { padding: 8px 0 8px 18px; }
  .sc-steps button { font-size: 18px; }
}
.agent .tp { padding: 7px 10px; }
.agent .who { font-size: 10.5px; }
.agent .call { margin-top: 4px; }
.sc-who { position: absolute; z-index: 2; left: 50%; top: 0; transform: translateX(-50%); display: flex; align-items: center; padding: 5px; border-radius: 99px;
  background: rgba(44,39,68,.48); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); white-space: nowrap; }
.sc-who span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ui); font-size: 12px; color: var(--fg); border-radius: 99px; background: rgba(255,255,255,.07);
  max-width: 0; opacity: 0; padding: 3px 0; margin-right: 0; overflow: hidden; transform: scale(.8);
  transition: max-width .55s cubic-bezier(.2,.8,.2,1), opacity .35s, padding .55s, margin .55s, transform .45s cubic-bezier(.2,.8,.2,1); }
.sc-who span.on { max-width: 140px; opacity: 1; padding: 3px 10px 3px 8px; margin-right: 4px; transform: none; }
.sc-who span i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.sc-who .sc-count { padding: 0 10px 0 6px; font-family: var(--ui); font-size: 12px; font-weight: 400; color: var(--fg-3); }
@media (max-width: 900px) {
  .sc-who { top: auto; bottom: 0; max-width: 100%; overflow: hidden; }
  .sc-who .sc-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .iso .o { transition: none; }
  .iso .bob, .beam { animation: none; }
}
