.uc-sec { --uc-ease: cubic-bezier(.22, 1, .36, 1); --uc-rule: var(--cs-edge-2); }

.uc-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); column-gap: clamp(48px, 5.2vw, 96px); align-items: center; }
.uc-intro { min-width: 0; }
.uc-eyebrow { margin-bottom: 22px; }
.uc-sec .uc-title { max-width: 13.2em; font-size: clamp(34px, 3.05vw, 46px); line-height: 1.07; }
@media (min-width: 768px) { .uc-sec .uc-title:lang(en) .en-accent { display: inline-block; } }
.uc-sec .uc-lede { margin: 22px 0 0; padding: 0; max-width: 31em; font-size: clamp(16px, 1.12vw, 17px); line-height: 1.6; }

.uc-tabs { margin-top: clamp(30px, 2.6vw, 38px); display: flex; flex-direction: column; box-shadow: inset 0 1px 0 var(--uc-rule); }
.uc-tab {
  position: relative; display: flex; align-items: baseline; gap: 16px; width: 100%; min-height: 52px; margin: 0; padding: 16px 44px 15px 18px;
  border: 0; border-radius: 0; background: transparent; box-shadow: inset 0 -1px 0 var(--uc-rule);
  font: 500 16px/1.3 var(--sans, "Inter", system-ui, sans-serif); letter-spacing: -.008em; color: var(--cs-ink-2); text-align: left; cursor: pointer;
  transition: color .2s ease, background-color .25s ease;
}
.uc-tab-n { flex: none; width: 18px; font: 500 10.5px/1 var(--mono, "IBM Plex Mono", monospace); letter-spacing: .08em; color: var(--cs-muted); transition: color .2s ease; }
.uc-tab-t { min-width: 0; }
.uc-tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 1px; width: 2px; background: var(--cs-accent); transform: scaleY(0); transition: transform .35s var(--uc-ease); }
.uc-tab::after { content: ""; position: absolute; right: 18px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: solid var(--cs-accent); border-width: 1.5px 1.5px 0 0;
  transform: translateX(-4px) rotate(45deg); opacity: 0; transition: opacity .25s ease, transform .35s var(--uc-ease); }
.uc-tab:hover { color: var(--cs-ink); background: var(--cs-well); }
.uc-tab:hover .uc-tab-n { color: var(--cs-ink-2); }
.uc-tab[aria-selected="true"] { color: var(--cs-ink); background: linear-gradient(90deg, var(--cs-proof-bg), transparent 82%); }
.uc-tab[aria-selected="true"]::before { transform: none; }
.uc-tab[aria-selected="true"]::after { opacity: 1; transform: rotate(45deg); }
.uc-tab[aria-selected="true"] .uc-tab-n { color: var(--cs-accent); }
.uc-tab:focus-visible { outline: 2px solid var(--cs-accent); outline-offset: -2px; border-radius: 6px; }

.uc-sample { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 22px 0 0; }
.uc-sample-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; margin: 0; padding: 0 17px 0 14px; border: 0; border-radius: 10px;
  background: transparent; box-shadow: inset 0 0 0 1px var(--cs-edge-3); color: var(--cs-ink-2);
  font: 500 14.5px/1 var(--sans, "Inter", system-ui, sans-serif); letter-spacing: -.004em; cursor: not-allowed;
}
.uc-sample-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.uc-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; color: var(--cs-muted); }
.uc-soon i { flex: none; width: 5px; height: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--cs-muted); }

.uc-stage { min-width: 0; }
.uc-pack {
  position: relative; box-sizing: border-box; padding: 20px 26px 26px; border-radius: var(--cs-r-1);
  background: var(--cs-hero); box-shadow: var(--cs-hi-3), inset 0 0 0 1px var(--cs-edge-3), var(--cs-sh-3);
  font-family: var(--sans, "Inter", system-ui, sans-serif); color: var(--cs-ink); container-type: inline-size;
}
.uc-pack p, .uc-pack ol, .uc-pack ul { margin: 0; padding: 0; list-style: none; }
.uc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; box-shadow: inset 0 -1px 0 var(--cs-rule); }
.uc-kind { display: inline-flex; align-items: center; gap: 9px; font: 500 10.5px/1.2 var(--mono, "IBM Plex Mono", monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--cs-ink-2); }
.uc-doc { position: relative; width: 10px; height: 12px; border-radius: 1.5px; box-shadow: inset 0 0 0 1.25px var(--cs-edge-4); flex: none; }
.uc-doc::after { content: ""; position: absolute; left: 2.5px; right: 2.5px; top: 4px; height: 1.25px; background: var(--cs-edge-4); box-shadow: 0 2.5px 0 var(--cs-edge-4); }
.uc-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--cs-r-chip); box-shadow: inset 0 0 0 1px var(--cs-edge-3);
  font: 500 10px/1 var(--mono, "IBM Plex Mono", monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--cs-muted); white-space: nowrap; }

.uc-panels { display: grid; }
.uc-panel { grid-area: 1 / 1; min-width: 0; outline: none; display: flex; flex-direction: column; }
.uc-panel > .uc-top { flex: 1 0 auto; align-items: center; }
.uc-panel:not(.is-on) { visibility: hidden; opacity: 0; transition: opacity .1s ease, visibility 0s linear .1s; }
.uc-panel.is-on { opacity: 1; transition: opacity .2s ease .1s; }
.uc-panel:focus-visible { outline: 2px solid var(--cs-accent); outline-offset: 8px; border-radius: 10px; }

.uc-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; }
.uc-q { min-width: 0; padding: 14px 16px 16px; border-radius: var(--cs-r-3); background: var(--cs-well); box-shadow: inset 0 0 0 1px var(--cs-edge-2); }
.uc-asker { display: flex; align-items: center; gap: 7px; font: 500 10px/1.25 var(--mono, "IBM Plex Mono", monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--cs-ink-2); }
.uc-ask-ic { display: inline-flex; flex: none; color: var(--cs-accent); }
.uc-ask-ic svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.uc-qt { margin-top: 9px !important; font-size: 17px; line-height: 1.38; font-weight: 500; letter-spacing: -.012em; color: var(--cs-ink); text-wrap: pretty; }
.uc-dec { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.uc-dec::before { content: ""; position: absolute; left: -32px; top: 50%; width: 22px; height: 1px; background: var(--cs-edge-4); }
.uc-dec::after { content: ""; position: absolute; left: -15px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border: solid var(--cs-edge-4); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.uc-out { margin-top: 10px !important; font-size: clamp(26px, 4.9cqi, 34px); line-height: 1.06; font-weight: 500; letter-spacing: -.03em; color: var(--cs-ink); text-wrap: balance; }

.uc-sub { margin: 26px 0 16px !important; }

.uc-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
.uc-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.uc-node { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; box-sizing: border-box;
  background: var(--cs-raised); box-shadow: inset 0 0 0 1px var(--cs-edge-4); color: var(--cs-ink-2); }
.uc-node svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.uc-step.is-sign .uc-node { background: var(--cs-proof-ink); box-shadow: 0 0 0 4px var(--cs-proof-bg); color: var(--cs-hero); }
.uc-seg { position: absolute; left: 22px; top: 7px; width: calc(100% + 16px - 30px); height: 1px; background: var(--cs-edge-2); }
.uc-seg::after { content: ""; position: absolute; inset: 0; background: var(--cs-edge-4); transform-origin: left center; }
.uc-step:has(+ .uc-step.is-sign) .uc-seg::after { background: var(--cs-proof-edge); }
.uc-step b { margin: 14px 0 8px; font-size: 14.5px; line-height: 1.35; font-weight: 500; letter-spacing: -.006em; color: var(--cs-ink); text-wrap: pretty; overflow-wrap: break-word; hyphens: auto; }
.uc-actor { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: auto; font-size: 12px; line-height: 16px; color: var(--cs-muted); }
.uc-actor i { flex: none; width: 5px; height: 5px; border-radius: 1.25px; box-shadow: inset 0 0 0 1.1px var(--cs-muted); }
.uc-actor.is-person i { border-radius: 50%; }
.uc-actor.is-agent i { background: var(--cs-muted); box-shadow: none; }
.uc-step.is-sign .uc-actor { color: var(--cs-ink-2); }
.uc-step.is-sign .uc-actor i { box-shadow: inset 0 0 0 1.1px var(--cs-proof-ink); }

.uc-ev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.14fr); gap: 8px; }
.uc-ev-i { position: relative; display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px 13px 13px 12px; border-radius: var(--cs-r-3); background: var(--cs-well); box-shadow: inset 0 0 0 1px var(--cs-edge-1); }
.uc-ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--cs-raised); box-shadow: var(--cs-hi-1), inset 0 0 0 1px var(--cs-edge-2); color: var(--cs-ink-2); }
.uc-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.uc-ev-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 1px; }
.uc-ev-t b { font-size: 13.5px; line-height: 1.3; font-weight: 500; color: var(--cs-ink); overflow-wrap: break-word; hyphens: auto; }
.uc-ev-t span { font-size: 12.5px; line-height: 1.38; color: var(--cs-muted); }
.uc-ev-i.is-proof { background: var(--cs-proof-bg); box-shadow: var(--cs-hi-1), inset 0 0 0 1px var(--cs-proof-edge), var(--cs-sh-1); }
.uc-ev-i.is-proof .uc-ic { background: var(--cs-proof-bg); color: var(--cs-proof-ink); box-shadow: inset 0 0 0 1px var(--cs-proof-edge); }
.uc-ev-i.is-proof b { color: var(--cs-proof-ink); font-size: 14px; }
.uc-ev-i.is-proof .uc-ev-t span { color: var(--cs-ink-2); }

@container (max-width: 540px) {
  .uc-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .uc-dec::before, .uc-dec::after { display: none; }
  .uc-steps { grid-template-columns: minmax(0, 1fr); }
  .uc-step { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; min-height: 46px; padding: 6px 0; }
  .uc-seg { left: 6.5px; top: calc(50% + 9px); width: 1px; height: calc(100% - 16px); }
  .uc-seg::after { transform-origin: center top; }
  .uc-step b { margin: 0; }
  .uc-actor { margin: 0; justify-self: end; }
  .uc-ev { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .uc-ev-i { align-items: center; }
}
@container (max-width: 420px) {
  .uc-step { grid-template-columns: 14px minmax(0, 1fr); row-gap: 4px; padding: 10px 0; align-items: start; }
  .uc-step .uc-node { margin-top: 2px; }
  .uc-seg { top: 28px; height: calc(100% - 16px); }
  .uc-actor { grid-column: 2; justify-self: start; }
  .uc-out { font-size: 28px; }
}

@media (max-width: 1100px) {
  .uc-grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .uc-sec .uc-title { max-width: 17em; }
  .uc-sec .uc-lede { max-width: 38em; }
  .uc-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; box-shadow: none; }
  .uc-tab { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; min-height: 64px; padding: 11px 13px 12px; border-radius: 10px;
    background: transparent; box-shadow: inset 0 0 0 1px var(--uc-rule); font-size: 15px; }
  .uc-tab::before, .uc-tab::after { display: none; }
  .uc-tab[aria-selected="true"] { background: var(--cs-proof-bg); box-shadow: inset 0 0 0 1px var(--cs-proof-edge); }
  .uc-tab:focus-visible { outline-offset: 2px; border-radius: 10px; }
}
@media (max-width: 640px) {
  .uc-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-tab { min-height: 60px; font-size: 14.5px; }
  .uc-grid { row-gap: 28px; }
  .uc-pack { padding: 16px 16px 18px; border-radius: var(--cs-r-2); }
  .uc-head { padding-bottom: 14px; margin-bottom: 18px; }
  .uc-sub { margin: 22px 0 10px !important; }
}

.uc-sec { --uc-dim: .4; --uc-up: .6; --uc-done: .8; --uc-step: cubic-bezier(.4, 0, .2, 1); }
html.uc-motion .uc-panel.is-story { --t0: .55s; }
html.uc-motion .uc-panel.is-switch { --t0: .3s; }
.uc-node { --n-bg: var(--cs-raised); --n-sh: inset 0 0 0 1px var(--cs-edge-4); }
.uc-step.is-sign .uc-node { --n-bg: var(--cs-proof-ink); --n-sh: 0 0 0 4px var(--cs-proof-bg); }

html.uc-motion .uc-panel:not(.is-in) :is(.uc-q, .uc-dec, .uc-sub) { opacity: var(--uc-dim); }
html.uc-motion .uc-panel:not(.is-in) :is(.uc-step b, .uc-actor) { opacity: var(--uc-up); }
html.uc-motion .uc-panel:not(.is-in) .uc-node { background: var(--cs-hero); box-shadow: inset 0 0 0 1px var(--cs-edge-3); }
html.uc-motion .uc-panel:not(.is-in) .uc-node svg { opacity: 0; }
html.uc-motion .uc-panel:not(.is-in) .uc-seg::after { transform: scaleX(0); }

html.uc-motion .uc-panel.is-story .uc-q { animation: uc-up .45s var(--uc-ease) 0s both, uc-ask 1.3s ease calc(var(--t0) + 3.9s) both; }
html.uc-motion .uc-panel.is-story .uc-dec { animation: uc-lit .4s ease .12s both; }
html.uc-motion .uc-panel.is-story .uc-sub { animation: uc-lit .35s ease .3s both; }
html.uc-motion .uc-panel.is-switch :is(.uc-q, .uc-dec) { animation: uc-settle .3s var(--uc-ease) .1s both; }
html.uc-motion .uc-panel.is-switch .uc-q { animation: uc-settle .3s var(--uc-ease) .1s both, uc-ask 1.3s ease calc(var(--t0) + 3.9s) both; }

html.uc-motion .uc-panel.is-in .uc-step :is(b, .uc-actor),
html.uc-motion .uc-panel.is-in .uc-node,
html.uc-motion .uc-panel.is-in .uc-node svg,
html.uc-motion .uc-panel.is-in .uc-seg::after { animation-duration: 4s; animation-delay: var(--t0); animation-fill-mode: both; animation-timing-function: var(--uc-step); }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(1) :is(b, .uc-actor) { animation-name: uc-t1; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(2) :is(b, .uc-actor) { animation-name: uc-t2; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(3) :is(b, .uc-actor) { animation-name: uc-t3; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(4) :is(b, .uc-actor) { animation-name: uc-t4; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(1) .uc-node { animation-name: uc-n1; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(2) .uc-node { animation-name: uc-n2; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(3) .uc-node { animation-name: uc-n3; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(4) .uc-node { animation-name: uc-n4; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(1) .uc-node svg { animation-name: uc-c1; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(2) .uc-node svg { animation-name: uc-c2; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(3) .uc-node svg { animation-name: uc-c3; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(4) .uc-node svg { animation-name: uc-c4; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(1) .uc-seg::after { animation-name: uc-g1; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(2) .uc-seg::after { animation-name: uc-g2; }
html.uc-motion .uc-panel.is-in .uc-step:nth-child(3) .uc-seg::after { animation-name: uc-g3; }

html.uc-motion .uc-panel.is-in .uc-ev-i:nth-child(1) { animation: uc-ev-on .5s ease calc(var(--t0) + 4s) both; }
html.uc-motion .uc-panel.is-in .uc-ev-i:nth-child(2) { animation: uc-ev-on .5s ease calc(var(--t0) + 4.22s) both; }
html.uc-motion .uc-panel.is-in .uc-ev-i.is-proof { animation: uc-verify .5s ease calc(var(--t0) + 4.44s) both; }

@keyframes uc-t1 { 0% { opacity: var(--uc-up); } 4%, 23% { opacity: 1; } 27%, 97% { opacity: var(--uc-done); } }
@keyframes uc-t2 { 0%, 23% { opacity: var(--uc-up); } 27%, 48% { opacity: 1; } 52%, 97% { opacity: var(--uc-done); } }
@keyframes uc-t3 { 0%, 48% { opacity: var(--uc-up); } 52%, 73% { opacity: 1; } 77%, 97% { opacity: var(--uc-done); } }
@keyframes uc-t4 { 0%, 73% { opacity: var(--uc-up); } 77%, 97% { opacity: 1; } }
@keyframes uc-n1 {
  0%       { background: var(--cs-hero); box-shadow: inset 0 0 0 1px var(--cs-edge-3); }
  4%, 23%  { background: var(--cs-proof-bg); box-shadow: inset 0 0 0 1px var(--cs-proof-ink), 0 0 0 3px var(--cs-proof-bg); }
  27%      { background: var(--n-bg); box-shadow: var(--n-sh); }
}
@keyframes uc-n2 {
  0%, 21%  { background: var(--cs-hero); box-shadow: inset 0 0 0 1px var(--cs-edge-3); }
  25%, 48% { background: var(--cs-proof-bg); box-shadow: inset 0 0 0 1px var(--cs-proof-ink), 0 0 0 3px var(--cs-proof-bg); }
  52%      { background: var(--n-bg); box-shadow: var(--n-sh); }
}
@keyframes uc-n3 {
  0%, 46%  { background: var(--cs-hero); box-shadow: inset 0 0 0 1px var(--cs-edge-3); }
  50%, 73% { background: var(--cs-proof-bg); box-shadow: inset 0 0 0 1px var(--cs-proof-ink), 0 0 0 3px var(--cs-proof-bg); }
  77%      { background: var(--n-bg); box-shadow: var(--n-sh); }
}
@keyframes uc-n4 {
  0%, 71%  { background: var(--cs-hero); box-shadow: inset 0 0 0 1px var(--cs-edge-3); }
  75%, 97% { background: var(--cs-proof-bg); box-shadow: inset 0 0 0 1px var(--cs-proof-ink), 0 0 0 3px var(--cs-proof-bg); }
}
@keyframes uc-c1 { 0%, 24% { opacity: 0; } 28%, 100% { opacity: 1; } }
@keyframes uc-c2 { 0%, 49% { opacity: 0; } 53%, 100% { opacity: 1; } }
@keyframes uc-c3 { 0%, 74% { opacity: 0; } 78%, 100% { opacity: 1; } }
@keyframes uc-c4 { 0%, 97% { opacity: 0; } }
@keyframes uc-g1 { 0%, 20% { transform: scaleX(0); } 25% { transform: scaleX(1); } }
@keyframes uc-g2 { 0%, 45% { transform: scaleX(0); } 50% { transform: scaleX(1); } }
@keyframes uc-g3 { 0%, 70% { transform: scaleX(0); } 75% { transform: scaleX(1); } }
@keyframes uc-g1y { 0%, 20% { transform: scaleY(0); } 25% { transform: scaleY(1); } }
@keyframes uc-g2y { 0%, 45% { transform: scaleY(0); } 50% { transform: scaleY(1); } }
@keyframes uc-g3y { 0%, 70% { transform: scaleY(0); } 75% { transform: scaleY(1); } }

@keyframes uc-up { from { opacity: var(--uc-dim); transform: translate3d(0, 4px, 0); } }
@keyframes uc-lit { from { opacity: var(--uc-dim); } }
@keyframes uc-settle { from { transform: translate3d(0, 4px, 0); } }
@keyframes uc-ask { 20%, 75% { box-shadow: inset 0 0 0 1px var(--cs-proof-edge); } }
@keyframes uc-ev-on { 35% { background: var(--cs-raised); box-shadow: var(--cs-hi-1), inset 0 0 0 1px var(--cs-proof-edge); } }
@keyframes uc-verify { 45% { box-shadow: var(--cs-hi-1), inset 0 0 0 1px var(--cs-proof-ink), 0 0 0 3px var(--cs-proof-bg), var(--cs-sh-1); } }

@container (max-width: 540px) {
  html.uc-motion .uc-panel:not(.is-in) .uc-seg::after { transform: scaleY(0); }
  html.uc-motion .uc-panel.is-in .uc-step:nth-child(1) .uc-seg::after { animation-name: uc-g1y; }
  html.uc-motion .uc-panel.is-in .uc-step:nth-child(2) .uc-seg::after { animation-name: uc-g2y; }
  html.uc-motion .uc-panel.is-in .uc-step:nth-child(3) .uc-seg::after { animation-name: uc-g3y; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-panel, .uc-panel:not(.is-on), .uc-panel.is-on, .uc-tab, .uc-tab::before, .uc-tab::after { transition: none !important; }
}
