/* ──────────────────────────────────────────────────────────────
   SDK section — "Build your own connector on Hands"
   Loaded by the homepage (nl + en) after landing.css.
   Colours come from the shared tokens only, so the dark theme
   flips with the rest of the site.
   ────────────────────────────────────────────────────────────── */

.sdk-section-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
}

.sdk-section-grid > .section-heading {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 440px;
}

.sdk-section-action {
  justify-content: flex-start;
  margin-top: 1.9rem;
}

.sdk-preview-note {
  margin: 1rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 42%, transparent);
}

/* ── capsule ─────────────────────────────────────────────────── */

.sdkcap {
  --cap-ink: var(--color-text);
  --cap-muted: color-mix(in srgb, var(--color-text) 62%, transparent);
  --cap-faint: color-mix(in srgb, var(--color-text) 42%, transparent);
  --cap-line: color-mix(in srgb, var(--color-text) 12%, transparent);
  --cap-dim: color-mix(in srgb, var(--color-text) 18%, transparent);
  --cap-grid: color-mix(in srgb, var(--color-text) 5%, transparent);
  --cap-panel: var(--color-neutral-100);
  --cap-inset: var(--color-neutral-200);
  --cap-accent: var(--color-accent);
  --cap-accent-strong: var(--color-accent-700);
  --cap-accent-soft: color-mix(in srgb, var(--color-accent) 12%, transparent);
  --cap-ok: var(--color-accent-2-700);
  --cap-ok-soft: color-mix(in srgb, var(--color-accent-2) 12%, transparent);
  --cap-ok-line: color-mix(in srgb, var(--color-accent-2-700) 28%, transparent);
  --cap-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --cap-loop: 9s;
  flex: 1 1 520px;
  min-width: 0;
  max-width: 680px;
}

.sdkcap-card {
  position: relative;
  width: 100%;
  aspect-ratio: 680 / 420;
  min-height: 310px;
  padding: clamp(18px, 4%, 30px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cap-line);
  border-radius: 22px;
  background-color: var(--cap-panel);
  background-image:
    linear-gradient(var(--cap-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--cap-grid) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  background-position: center;
  box-shadow: 0 30px 70px color-mix(in srgb, var(--color-neutral-900) 16%, transparent);
}

.sdkcap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cap-line);
}

.sdkcap-brand {
  font-family: var(--cap-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cap-accent-strong);
}

.sdkcap-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--cap-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--cap-muted);
}

.sdkcap-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cap-accent);
  animation: sdkcap-live 2.4s ease-in-out infinite;
}

/* ── flow row ────────────────────────────────────────────────── */

.sdkcap-flow {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr minmax(20px, .5fr) auto minmax(20px, .5fr) 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 0;
  row-gap: 9px;
  padding: 14px 0 4px;
}

.sdkcap-label {
  grid-row: 1;
  font-family: var(--cap-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--cap-muted);
}

.sdkcap-label--in { grid-column: 1; }
.sdkcap-label--core { grid-column: 3; text-align: center; }
.sdkcap-label--out { grid-column: 5; text-align: right; }

.sdkcap-in {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--cap-line);
  border-radius: 16px;
  background: var(--cap-inset);
}

.sdkcap-cmdline {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
}

.sdkcap-cmd {
  display: inline-block;
  width: 22ch;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--cap-mono);
  font-size: 11.5px;
  color: var(--cap-ink);
  animation: sdkcap-type var(--cap-loop) linear infinite;
}

.sdkcap-caret {
  position: absolute;
  top: 1px;
  left: 0;
  width: 1.5px;
  height: 14px;
  /* the caret rides on ch units, so it must share the mono metrics */
  font-family: var(--cap-mono);
  font-size: 11.5px;
  opacity: 0;
  animation: sdkcap-caret var(--cap-loop) linear infinite;
}

.sdkcap-caret i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cap-accent);
  animation: sdkcap-blink .9s steps(1) infinite;
}

.sdkcap-meta {
  margin-top: 9px;
  font-family: var(--cap-mono);
  font-size: 10.5px;
  color: var(--cap-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdkcap-meta + .sdkcap-meta { margin-top: 4px; }

.sdkcap-wire {
  grid-row: 2;
  position: relative;
  height: 1px;
  background: var(--cap-dim);
}

.sdkcap-wire--in { grid-column: 2; animation: sdkcap-wire-in var(--cap-loop) linear infinite; }
.sdkcap-wire--out { grid-column: 4; animation: sdkcap-wire-out var(--cap-loop) linear infinite; }

.sdkcap-packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, var(--cap-accent));
  opacity: 0;
  animation: sdkcap-packet var(--cap-loop) linear infinite;
}

.sdkcap-packet--out {
  background: linear-gradient(90deg, transparent, var(--cap-ok));
  animation-name: sdkcap-packet-out;
}

/* ── core ────────────────────────────────────────────────────── */

.sdkcap-core {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
}

.sdkcap-status {
  position: relative;
  height: 12px;
  width: 112px;
  text-align: center;
}

.sdkcap-status > span {
  position: absolute;
  inset: 0;
  font-family: var(--cap-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  opacity: 0;
}

.sdkcap-status .is-idle { color: var(--cap-muted); animation: sdkcap-stat-idle var(--cap-loop) linear infinite; }
.sdkcap-status .is-busy { color: var(--cap-accent-strong); animation: sdkcap-stat-busy var(--cap-loop) linear infinite; }
.sdkcap-status .is-done { color: var(--cap-ok); opacity: 1; animation: sdkcap-stat-done var(--cap-loop) linear infinite; }

.sdkcap-ring {
  position: relative;
  width: 112px;
  max-width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sdkcap-glow {
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--cap-accent) 45%, transparent), transparent 70%);
  opacity: .18;
  animation: sdkcap-glow var(--cap-loop) linear infinite;
}

.sdkcap-cross-h { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--cap-line); }
.sdkcap-cross-v { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--cap-line); }
.sdkcap-innerring { position: absolute; inset: 16%; border: 1px solid var(--cap-line); border-radius: 50%; }

.sdkcap-pulse {
  position: absolute;
  inset: 0;
  border: 1px solid var(--cap-accent);
  border-radius: 50%;
  opacity: .35;
  animation: sdkcap-pulse var(--cap-loop) cubic-bezier(.22, 1, .36, 1) infinite;
}

.sdkcap-burst {
  position: absolute;
  inset: 0;
  border: 1px solid var(--cap-accent);
  border-radius: 50%;
  opacity: 0;
  animation: sdkcap-burst var(--cap-loop) cubic-bezier(.22, 1, .36, 1) infinite;
}

.sdkcap-orbit {
  position: absolute;
  inset: 10.5%;
  animation: sdkcap-spin 30s linear infinite;
}

.sdkcap-orbit--2 { animation-delay: -7.5s; }
.sdkcap-orbit--3 { animation-delay: -15s; }
.sdkcap-orbit--4 { animation-delay: -22.5s; }

.sdkcap-orbit-tile {
  position: absolute;
  top: -11px;
  left: 50%;
  margin-left: -11px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cap-line);
  border-radius: 50%;
  background: var(--cap-panel);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-neutral-900) 10%, transparent);
  animation: sdkcap-spin-back 30s linear infinite;
}

.sdkcap-orbit--2 .sdkcap-orbit-tile { animation-delay: -7.5s; }
.sdkcap-orbit--3 .sdkcap-orbit-tile { animation-delay: -15s; }
.sdkcap-orbit--4 .sdkcap-orbit-tile { animation-delay: -22.5s; }

.sdkcap-orbit-tile img {
  position: absolute;
  width: 13px;
  height: 13px;
  animation: sdkcap-swap-a 24s linear infinite;
}

.sdkcap-orbit-tile img + img {
  opacity: 0;
  animation-name: sdkcap-swap-b;
}

.sdkcap-orbit--2 .sdkcap-orbit-tile img { animation-delay: -6s; }
.sdkcap-orbit--3 .sdkcap-orbit-tile img { animation-delay: -12s; }
.sdkcap-orbit--4 .sdkcap-orbit-tile img { animation-delay: -18s; }

.sdkcap-nucleus {
  position: relative;
  width: 46%;
  height: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cap-panel);
  animation: sdkcap-nucleus var(--cap-loop) linear infinite;
}

.sdkcap-nucleus img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  opacity: .5;
  animation: sdkcap-mark var(--cap-loop) cubic-bezier(.22, 1, .36, 1) infinite;
}

.sdkcap-corename {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 13px;
  letter-spacing: -.01em;
  color: var(--cap-ink);
}

/* ── outcome ─────────────────────────────────────────────────── */

.sdkcap-out {
  grid-column: 5;
  grid-row: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid var(--cap-ok-line);
  border-radius: 16px;
  background: var(--cap-ok-soft);
  animation: sdkcap-out var(--cap-loop) cubic-bezier(.22, 1, .36, 1) infinite;
}

.sdkcap-outline {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--cap-mono);
  font-size: 11px;
  color: var(--cap-ok);
}

.sdkcap-outline span { color: var(--cap-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdkcap-outline:nth-child(1) { animation: sdkcap-line-1 var(--cap-loop) linear infinite; }
.sdkcap-outline:nth-child(2) { animation: sdkcap-line-2 var(--cap-loop) linear infinite; }
.sdkcap-outline:nth-child(3) { animation: sdkcap-line-3 var(--cap-loop) linear infinite; }
.sdkcap-outline:nth-child(3) span { color: var(--cap-muted); }

/* ── two acts: pipeline, then catalogue ──────────────────────── */

.sdkcap-acts { position: relative; height: 32px; margin: 2px 0 14px; }

.sdkcap-trail {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  animation: sdkcap-act-a var(--cap-loop) linear infinite;
}

.sdkcap-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--cap-line);
  border-radius: 8px;
  font-family: var(--cap-mono);
  font-size: 10.5px;
  color: var(--cap-faint);
  white-space: nowrap;
}

.sdkcap-step--1 { animation: sdkcap-step-1 var(--cap-loop) linear infinite; }
.sdkcap-step--2 { animation: sdkcap-step-2 var(--cap-loop) linear infinite; }
.sdkcap-step--3 { animation: sdkcap-step-3 var(--cap-loop) linear infinite; }
.sdkcap-step--4 { animation: sdkcap-step-4 var(--cap-loop) linear infinite; }
.sdkcap-step--5 { animation: sdkcap-step-5 var(--cap-loop) linear infinite; }

.sdkcap-step-halo {
  position: absolute;
  inset: -3px;
  border: 1px solid var(--cap-accent);
  border-radius: 10px;
  opacity: 0;
  animation: sdkcap-halo var(--cap-loop) cubic-bezier(.22, 1, .36, 1) infinite;
}

.sdkcap-rule { flex: 1; min-width: 6px; height: 1px; background: var(--cap-line); }

.sdkcap-payoff {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  opacity: 0;
  animation: sdkcap-act-b var(--cap-loop) cubic-bezier(.22, 1, .36, 1) infinite;
}

.sdkcap-catalogue { display: flex; align-items: center; gap: 11px; min-width: 0; }
.sdkcap-tiles { display: flex; align-items: center; gap: 5px; }

.sdkcap-tile {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cap-line);
  border-radius: 7px;
  background: var(--cap-inset);
}

.sdkcap-tile img { width: 13px; height: 13px; }

.sdkcap-tile--new {
  position: relative;
  border: 1px dashed var(--cap-dim);
  background: transparent;
  animation: sdkcap-slot var(--cap-loop) linear infinite;
}

.sdkcap-tile--new i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cap-accent);
  opacity: 0;
  animation: sdkcap-newtile var(--cap-loop) cubic-bezier(.22, 1, .36, 1) infinite;
}

.sdkcap-payoff-label {
  font-family: var(--cap-mono);
  font-size: 10.5px;
  color: var(--cap-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdkcap-chip {
  padding: 3px 9px;
  border: 1px solid var(--cap-line);
  border-radius: 8px;
  background: var(--cap-inset);
  font-family: var(--cap-mono);
  font-size: 10.5px;
  color: var(--cap-muted);
  white-space: nowrap;
  opacity: 0;
  animation: sdkcap-chip var(--cap-loop) linear infinite;
}

.sdkcap-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--cap-line);
  font-family: var(--cap-mono);
  font-size: 10.5px;
  color: var(--cap-muted);
  white-space: nowrap;
}

.sdkcap-boundary {
  color: var(--cap-accent-strong);
  opacity: .35;
  animation: sdkcap-boundary var(--cap-loop) linear infinite;
}

/* ── timeline (one 9s cycle; all timing lives in the percentages) ── */

@keyframes sdkcap-type { 0%, 3% { width: 0 } 16%, 94% { width: 22ch } 96%, 100% { width: 0 } }
@keyframes sdkcap-caret { 0%, 2% { left: 0; opacity: 0 } 3% { left: 0; opacity: 1 } 16% { left: 22ch; opacity: 1 } 20%, 95% { left: 22ch; opacity: 0 } 98%, 100% { left: 0; opacity: 0 } }
@keyframes sdkcap-blink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes sdkcap-packet { 0%, 17% { left: 0; opacity: 0 } 19% { left: 8%; opacity: 1 } 25% { left: 92%; opacity: 1 } 27%, 100% { left: 100%; opacity: 0 } }
@keyframes sdkcap-packet-out { 0%, 56% { left: 0; opacity: 0 } 58% { left: 8%; opacity: 1 } 62% { left: 92%; opacity: 1 } 64%, 100% { left: 100%; opacity: 0 } }
@keyframes sdkcap-wire-in { 0%, 18% { background: var(--cap-dim) } 20%, 26% { background: var(--cap-accent) } 32%, 100% { background: var(--cap-dim) } }
@keyframes sdkcap-wire-out { 0%, 55% { background: var(--cap-dim) } 58%, 63% { background: var(--cap-ok) } 70%, 100% { background: var(--cap-dim) } }
@keyframes sdkcap-pulse { 0%, 24% { transform: scale(1); opacity: .35 } 27% { transform: scale(1.16); opacity: 1 } 33% { transform: scale(1); opacity: .8 } 92% { opacity: .75 } 96%, 100% { transform: scale(1); opacity: .35 } }
@keyframes sdkcap-burst { 0%, 25% { transform: scale(.85); opacity: 0 } 28% { transform: scale(1); opacity: .6 } 40%, 100% { transform: scale(1.85); opacity: 0 } }
@keyframes sdkcap-nucleus {
  0%, 24% { box-shadow: 0 0 0 1px var(--cap-line), 0 2px 6px color-mix(in srgb, var(--color-neutral-900) 12%, transparent) }
  28% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--cap-accent) 50%, transparent), 0 4px 18px color-mix(in srgb, var(--cap-accent) 35%, transparent) }
  57% { box-shadow: 0 0 0 1px var(--cap-ok-line), 0 4px 16px color-mix(in srgb, var(--color-accent-2) 30%, transparent) }
  94% { box-shadow: 0 0 0 1px var(--cap-ok-line), 0 3px 10px color-mix(in srgb, var(--color-accent-2) 20%, transparent) }
  96%, 100% { box-shadow: 0 0 0 1px var(--cap-line), 0 2px 6px color-mix(in srgb, var(--color-neutral-900) 12%, transparent) }
}
@keyframes sdkcap-mark { 0%, 24% { transform: scale(.94); opacity: .5; filter: grayscale(.45) } 28% { transform: scale(1.06); opacity: 1; filter: grayscale(0) } 34%, 94% { transform: scale(1); opacity: 1; filter: grayscale(0) } 96%, 100% { transform: scale(.94); opacity: .5; filter: grayscale(.45) } }
@keyframes sdkcap-glow { 0%, 24% { opacity: .18 } 29% { opacity: .6 } 57% { opacity: .5 } 96%, 100% { opacity: .18 } }
@keyframes sdkcap-spin { to { transform: rotate(360deg) } }
@keyframes sdkcap-spin-back { to { transform: rotate(-360deg) } }
@keyframes sdkcap-swap-a { 0%, 44% { opacity: 1 } 50%, 94% { opacity: 0 } 100% { opacity: 1 } }
@keyframes sdkcap-swap-b { 0%, 44% { opacity: 0 } 50%, 94% { opacity: 1 } 100% { opacity: 0 } }
@keyframes sdkcap-step-1 { 0%, 29% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } 31%, 95% { color: var(--cap-ok); border-color: var(--cap-ok-line); background: var(--cap-ok-soft) } 97%, 100% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } }
@keyframes sdkcap-step-2 { 0%, 34% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } 36%, 95% { color: var(--cap-ok); border-color: var(--cap-ok-line); background: var(--cap-ok-soft) } 97%, 100% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } }
@keyframes sdkcap-step-3 { 0%, 39% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } 41%, 95% { color: var(--cap-ok); border-color: var(--cap-ok-line); background: var(--cap-ok-soft) } 97%, 100% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } }
@keyframes sdkcap-step-4 { 0%, 44% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } 46%, 95% { color: var(--cap-ok); border-color: var(--cap-ok-line); background: var(--cap-ok-soft) } 97%, 100% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } }
@keyframes sdkcap-step-5 { 0%, 49% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } 51%, 55% { color: var(--cap-accent-strong); border-color: color-mix(in srgb, var(--cap-accent) 45%, transparent); background: var(--cap-accent-soft) } 57%, 95% { color: var(--cap-ok); border-color: var(--cap-ok-line); background: var(--cap-ok-soft) } 97%, 100% { color: var(--cap-faint); border-color: var(--cap-line); background: transparent } }
@keyframes sdkcap-halo { 0%, 49% { opacity: 0; transform: scale(.92) } 52%, 55% { opacity: 1; transform: scale(1) } 58%, 100% { opacity: 0; transform: scale(1.12) } }
@keyframes sdkcap-out { 0%, 57% { opacity: 0; transform: translateX(14px) } 63%, 95% { opacity: 1; transform: translateX(0) } 98%, 100% { opacity: 0; transform: translateX(14px) } }
@keyframes sdkcap-line-1 { 0%, 61% { opacity: 0 } 64%, 95% { opacity: 1 } 97%, 100% { opacity: 0 } }
@keyframes sdkcap-line-2 { 0%, 64% { opacity: 0 } 67%, 95% { opacity: 1 } 97%, 100% { opacity: 0 } }
@keyframes sdkcap-line-3 { 0%, 67% { opacity: 0 } 70%, 95% { opacity: 1 } 97%, 100% { opacity: 0 } }
@keyframes sdkcap-act-a { 0%, 68% { opacity: 1 } 72%, 96% { opacity: 0 } 99%, 100% { opacity: 1 } }
@keyframes sdkcap-act-b { 0%, 70% { opacity: 0; transform: translateY(6px) } 74%, 95% { opacity: 1; transform: translateY(0) } 97%, 100% { opacity: 0; transform: translateY(6px) } }
@keyframes sdkcap-newtile { 0%, 74% { opacity: 0; transform: scale(.7) } 77% { opacity: 1; transform: scale(1.12) } 79%, 95% { opacity: 1; transform: scale(1) } 97%, 100% { opacity: 0; transform: scale(.7) } }
@keyframes sdkcap-slot { 0%, 74% { border-color: var(--cap-dim); border-style: dashed; background: transparent } 77%, 95% { border-color: var(--cap-accent); border-style: solid; background: var(--cap-accent-soft) } 97%, 100% { border-color: var(--cap-dim); border-style: dashed; background: transparent } }
@keyframes sdkcap-chip { 0%, 77% { opacity: 0 } 80%, 95% { opacity: 1 } 97%, 100% { opacity: 0 } }
@keyframes sdkcap-boundary { 0%, 50% { opacity: .35 } 56%, 95% { opacity: 1 } 97%, 100% { opacity: .35 } }
@keyframes sdkcap-stat-idle { 0%, 20% { opacity: 1 } 24%, 95% { opacity: 0 } 98%, 100% { opacity: 1 } }
@keyframes sdkcap-stat-busy { 0%, 23% { opacity: 0 } 26%, 55% { opacity: 1 } 59%, 100% { opacity: 0 } }
@keyframes sdkcap-stat-done { 0%, 56% { opacity: 0 } 60%, 95% { opacity: 1 } 97%, 100% { opacity: 0 } }
@keyframes sdkcap-live { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--cap-accent) 45%, transparent) } 55% { opacity: .5; box-shadow: 0 0 0 5px transparent } }

@media (max-width: 720px) {
  .sdkcap-card { padding: 18px }
  .sdkcap-status, .sdkcap-ring { width: 92px }
  .sdkcap-step { padding: 5px 7px; font-size: 10px }
}

@media (prefers-reduced-motion: reduce) {
  .sdkcap-card, .sdkcap-card * { animation: none !important }
  .sdkcap-cmd { width: 22ch }
  .sdkcap-caret { display: none }
  .sdkcap-out, .sdkcap-outline, .sdkcap-payoff, .sdkcap-chip, .sdkcap-boundary { opacity: 1; transform: none }
  .sdkcap-trail { opacity: 0 }
  .sdkcap-tile--new { border-style: solid; border-color: var(--cap-accent); background: var(--cap-accent-soft) }
  .sdkcap-tile--new i { opacity: 1 }
  .sdkcap-status .is-idle, .sdkcap-status .is-busy { opacity: 0 }
  .sdkcap-status .is-done { opacity: 1 }
  .sdkcap-nucleus img { opacity: 1; filter: none }
}
