/* The illustrations scale with their own panel instead of the page viewport. */
.ka-hero, .ka-card {
  isolation: isolate; position: relative; overflow: hidden; width: 100%;
  container-type: inline-size; display: grid; place-items: center;
}
.ka-hero *, .ka-card * { box-sizing: border-box; }
.ka-hero {
  min-height: 240px; height: 100%; aspect-ratio: 1.72; color: #263e34;
  background: radial-gradient(ellipse at 40% 28%, #e0f0dd, transparent 65%), #cce2cf;
}
.ka-hero::before, .ka-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .36;
  background-image: radial-gradient(#59706466 .6px, transparent .8px);
  background-size: 7px 7px; z-index: -1;
}
.ka-shadow {
  position: absolute; width: 71%; height: 29%; border-radius: 47%;
  background: #30493d60; filter: blur(2.1cqw);
  transform: translate(3%, 32%) rotate(-10deg) skewX(8deg);
}
.ka-case {
  position: relative; width: 78%; border: .23cqw solid #375947; border-radius: 1.65cqw;
  padding: 1.25cqw 1.65cqw 1.9cqw; background: linear-gradient(140deg,#8ba890,#779780 75%,#638771);
  box-shadow: inset .18cqw .25cqw .14cqw #d5e0c4, inset -.3cqw -.25cqw .16cqw #59775e,
    .13cqw .4cqw #67826a, .26cqw .8cqw #59775e, .39cqw 1.2cqw #53725a, .52cqw 1.6cqw #48684f,
    .65cqw 2.05cqw #3b5946, .8cqw 2.3cqw .2cqw #38553f;
  transform: perspective(105cqw) rotateX(28deg) rotateZ(-12deg) skewX(2deg);
}
.ka-console { height: 2.9cqw; display: flex; align-items: flex-start; justify-content: space-between; padding: .2cqw .85cqw 0; }
.ka-vents { width: 12cqw; height: .76cqw; background: repeating-linear-gradient(90deg,#597662 0 .24cqw, #a4b7a0 .26cqw .58cqw); border-radius: .25cqw; }
.ka-lamps { display: flex; align-items: center; gap: .48cqw; }
.ka-lamps i { width: .59cqw; height: .59cqw; border-radius: 50%; background: #435f4b; box-shadow: 0 .14cqw #b8c7a9; }
.ka-lamps i:first-child { background: #e6d998; }
.ka-well { display: grid; gap: .55cqw; border-radius: .6cqw; background: #344c3b; padding: .58cqw .5cqw .73cqw; }
.ka-row { display: flex; gap: .24cqw; }
.ka-key {
  --face: #e9e8d3; --rim: #b2b69d; --edge: #929a82;
  flex: var(--units) 1 0%; min-width: 0; height: 4.2cqw; display: flex; border-radius: .48cqw;
  padding: .12cqw .35cqw .64cqw .22cqw; background: linear-gradient(115deg,#d5d8bd, var(--rim) 50%,var(--edge));
  box-shadow: .11cqw .18cqw .13cqw #233d30;
}
.ka-key b { flex: 1; display: grid; place-items: center; font: 600 1.35cqw/1 ui-monospace, monospace; color: #334a38; border-radius: .36cqw;
  background: radial-gradient(ellipse at 45% 40%,var(--face) 60%,var(--rim) 135%); box-shadow: inset .12cqw .12cqw .1cqw #ffffff54; }
.ka-sage { --face: #adc2a6; --rim: #92a88d; --edge: #718a71; }
.ka-jade { --face: #4b755c; --rim: #416b52; --edge: #375942; }
.ka-jade b { color: #f0f2d9; }
.ka-amber { --face: #e6a26f; --rim: #b88761; --edge: #996c4c; }
.ka-marker b { position: relative; }
.ka-marker b::after { content:""; position: absolute; bottom: 12%; width: 28%; height: .22cqw; background: #c1d2b784; }
.ka-card { min-height: 118px; aspect-ratio: 2.65; }
.ka-peach { --bg:#f3dbcb; --face:#fff0d9; --side:#d39d7d; --front:#e5b79b; --ink:#825943; background:var(--bg); }
.ka-lilac { --bg:#e5ddef; --face:#f6effa; --side:#b5a2c6; --front:#cbbbd9; --ink:#675672; background:var(--bg); }
.ka-blue { --bg:#d5e4ee; --face:#ebf6f6; --side:#95adb9; --front:#b1c5d1; --ink:#506774; background:var(--bg); }
.ka-cluster { display:flex; gap:2cqw; transform: rotate(-12deg) skewX(7deg); }
.ka-cube { position:relative; width:16cqw; height:15cqw; padding: .8cqw 2.1cqw 2.6cqw 1.3cqw;
  border: .26cqw solid var(--ink); border-radius: 2.1cqw;
  background: linear-gradient(125deg,var(--front) 75%,var(--side) 76%);
  box-shadow: .3cqw .5cqw var(--side), .5cqw .8cqw var(--ink), .9cqw 1.6cqw 1.2cqw #24313627; }
.ka-cube b { width:100%;height:100%;display:grid;place-items:center;border-radius:1.5cqw;
  background:var(--face);border:.18cqw solid var(--side);font:600 7cqw/1 ui-monospace,monospace;color:var(--ink); }
.ka-peach .ka-cube:last-child { transform:translate(10%,-13%); }
.ka-lilac .ka-cluster { transform:rotate(-8deg) skewX(8deg); }
.ka-blue .ka-cube:nth-child(2) { transform: translateY(-24%); }
