.cx { margin: clamp(44px, 4vw, 64px) auto 0; max-width: 1180px; }
.cx-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 18px; }
.cx-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--rc-well); border: 1px solid var(--rc-border-2); }
.cx-opt {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px 0 14px; border: 0; border-radius: 9px;
  background: transparent; color: var(--rc-ink-2); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.cx-opt:hover { color: var(--rc-ink); }
.cx-opt[aria-checked="true"] { background: var(--rc-surface); color: var(--rc-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 6px 16px -10px rgba(0, 0, 0, .6), 0 0 0 1px var(--rc-border-2); }
.cx-opt:focus-visible { outline: 2px solid var(--rc-accent); outline-offset: 2px; }
.cx-opt-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; transition: background-color .25s, border-color .25s, opacity .25s; }
.cx-opt[data-case="allow"][aria-checked="true"] .cx-opt-dot { background: var(--rc-ok); border-color: var(--rc-ok); opacity: 1; }
.cx-opt[data-case="block"][aria-checked="true"] .cx-opt-dot { background: var(--rc-amber); border-color: var(--rc-amber); opacity: 1; }
.cx-note { margin: 0; font-size: 13px; color: var(--rc-ink-3); }

.cx-stage {
  position: relative; isolation: isolate; border-radius: 20px; padding: clamp(28px, 3vw, 44px) clamp(22px, 3vw, 44px) clamp(22px, 2.2vw, 30px);
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(36, 120, 86, .14) 0%, rgba(36, 120, 86, .05) 52%, rgba(36, 120, 86, 0) 100%),
    linear-gradient(180deg, #111714 0%, #0E1311 100%);
  border: 1px solid rgba(242, 241, 236, .07); box-shadow: 0 40px 80px -56px rgba(0, 0, 0, .9);
  --fl-line: 242, 241, 236, .3;
}
.cx-canvas { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.cx-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(56px, 6vw, 96px); align-items: stretch; }
.cx-dec { margin-left: clamp(20px, 2.6vw, 40px); }
.cx-el { display: flex; flex-direction: column; min-width: 0; }
.cx-step { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--rc-ink-3); transition: color .5s var(--ease); }
.cx-step b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rc-border-2); font-size: 11.5px; font-weight: 500; transition: border-color .5s, color .5s, background-color .5s; }
.cx[data-stage="1"] .cx-doc .cx-step, .cx[data-stage="2"] .cx-agent .cx-step, .cx[data-stage="3"] .cx-dec .cx-step, .cx[data-stage="4"] .cx-dec .cx-step { color: var(--rc-ink); }
.cx:not([data-stage="0"]) .cx-doc .cx-step b, .cx[data-stage="2"] .cx-agent .cx-step b, .cx[data-stage="3"] .cx-agent .cx-step b, .cx[data-stage="4"] .cx-agent .cx-step b,
.cx[data-stage="3"] .cx-dec .cx-step b, .cx[data-stage="4"] .cx-dec .cx-step b { border-color: var(--rc-ok-line); color: var(--rc-ink); }

.cx-paper {
  position: relative; overflow: hidden; flex: 1; padding: 20px 20px 18px; border-radius: 14px; background: #F7F6F1; color: #0F1210;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 34px -22px rgba(0, 0, 0, .65);
}
.cx-paper-k { margin: 0 0 6px; font-size: 12px; font-weight: 500; color: #126A49; }
.cx-paper-t { margin: 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.cx-lines { display: grid; gap: 7px; margin: 16px 0 18px; }
.cx-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(15, 18, 16, .08); }
.cx-lines i:nth-child(1) { width: 92%; } .cx-lines i:nth-child(2) { width: 78%; } .cx-lines i:nth-child(3) { width: 86%; } .cx-lines i:nth-child(4) { width: 64%; } .cx-lines i:nth-child(5) { width: 72%; }
.cx-class { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0; padding-top: 14px; border-top: 1px solid rgba(15, 18, 16, .1); }
.cx-class-l { font-size: 13px; color: #3E423D; }
.cx-paper .rc-chip-c { background: #0F1210; color: #F7F6F1; height: 24px; font-size: 11px; }
.cx-scan { position: absolute; left: 0; right: 0; top: 0; height: 100%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(23, 122, 85, 0) 0%, rgba(23, 122, 85, .12) 46%, rgba(23, 122, 85, .5) 50%, rgba(23, 122, 85, 0) 52%); transform: translateY(-100%); }
.cx[data-stage="1"] .cx-scan { animation: cx-scan 1s cubic-bezier(.45, 0, .2, 1) .15s both; }
@keyframes cx-scan { 0% { opacity: 1; transform: translateY(-60%); } 100% { opacity: 0; transform: translateY(55%); } }

.cx-card { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 14px; background: #161D19; border: 1px solid rgba(127, 209, 168, .16); }
.cx-who { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 500; color: var(--rc-ink-2); }
.cx-avatar { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1.5px dotted var(--rc-accent); }
.cx-avatar::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--rc-accent); opacity: .85; }
.cx-msg { margin: 0; padding: 12px 14px; border-radius: 4px 12px 12px 12px; background: rgba(242, 241, 236, .05); font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.4; font-weight: 500; color: var(--rc-ink); }
.cx-to { display: grid; gap: 3px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rc-border); }
.cx-to-l { font-size: 12.5px; color: var(--rc-ink-3); }
.cx-to > span:not(.cx-to-l) { font-size: 14.5px; line-height: 1.4; color: var(--rc-ink); }

.cx-verdict {
  --v: var(--rc-amber); --v-line: var(--rc-amber-line);
  position: relative; flex: 1; display: flex; flex-direction: column; padding: 22px 20px 18px; border-radius: 14px; overflow: hidden;
  background: var(--rc-surface); border: 1px solid var(--rc-border-2); transition: border-color .5s var(--ease);
}
.cx[data-case="allow"] .cx-verdict { --v: var(--rc-ok); --v-line: var(--rc-ok-line); }
.cx-verdict::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--v); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .8, .2, 1), background-color .4s; }
.cx[data-stage="4"] .cx-verdict { border-color: var(--v-line); }
.cx[data-stage="4"] .cx-verdict::before { transform: scaleX(1); }
.cx-v-k { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--rc-ink-3); }
.cx-v-h { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(23px, 1.95vw, 28px); line-height: 1.15; font-weight: 500; letter-spacing: -0.016em; color: var(--rc-ink); }
.cx-v-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--v); transition: border-color .4s; }
.cx-v-ic::before, .cx-v-ic::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--v); border-radius: 1px; transition: background-color .4s; }
.cx[data-case="block"] .cx-v-ic::before { width: 13px; height: 1.8px; transform: translate(-50%, -50%) rotate(45deg); }
.cx[data-case="block"] .cx-v-ic::after { width: 13px; height: 1.8px; transform: translate(-50%, -50%) rotate(-45deg); }
.cx[data-case="allow"] .cx-v-ic::before { width: 6px; height: 1.8px; transform: translate(-95%, 0) rotate(45deg); }
.cx[data-case="allow"] .cx-v-ic::after { width: 12px; height: 1.8px; transform: translate(-28%, -60%) rotate(-50deg); }
.cx-v-d { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--rc-ink-2); }
.cx-v-log { display: flex; align-items: center; gap: 9px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--rc-border); font-size: 13px; color: var(--rc-ink-3); }
.cx-v-log-ic { flex: none; width: 12px; height: 14px; border-radius: 2px; border: 1.2px solid currentColor; background: linear-gradient(currentColor 0 0) 2px 4px / 6px 1.2px no-repeat, linear-gradient(currentColor 0 0) 2px 7px / 6px 1.2px no-repeat; opacity: .8; }
.cx-verdict > *:not(.cx-v-k) { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cx:not([data-stage="4"]) .cx-verdict > :is(.cx-v-h, .cx-v-d, .cx-v-log) { opacity: 0; transform: translateY(5px); }
.cx[data-stage="4"] .cx-v-d { transition-delay: .12s; }
.cx[data-stage="4"] .cx-v-log { transition-delay: .32s; }

.cx[data-case="allow"] .cx-only-block, .cx[data-case="block"] .cx-only-allow,
.cx-tech-on-allow .cx-only-block, .cx-tech-on-block .cx-only-allow { display: none; }

.cx-gate { position: absolute; z-index: 2; left: var(--gx, -99px); top: var(--gy, -99px); width: 2px; height: 64px; border-radius: 1px; transform: translate(-50%, -50%) scaleY(0); background: var(--rc-ok); opacity: .9; pointer-events: none; transition: transform .38s cubic-bezier(.2, .8, .2, 1), background-color .35s; }
.cx-gate::before, .cx-gate::after { content: ""; position: absolute; left: 50%; width: 10px; height: 2px; border-radius: 1px; background: inherit; transform: translateX(-50%); }
.cx-gate::before { top: 0; } .cx-gate::after { bottom: 0; }
.cx[data-stage="3"] .cx-gate, .cx[data-stage="4"] .cx-gate { transform: translate(-50%, -50%) scaleY(1); }
.cx[data-stage="4"][data-case="block"] .cx-gate { background: var(--rc-amber); }
.cx[data-stage="4"][data-case="allow"] .cx-gate { opacity: .45; }
.cx-gate.is-h { width: 64px; height: 2px; transform: translate(-50%, -50%) scaleX(0); }
.cx-gate.is-h::before, .cx-gate.is-h::after { left: auto; top: 50%; width: 2px; height: 10px; transform: translateY(-50%); }
.cx-gate.is-h::before { left: 0; } .cx-gate.is-h::after { right: 0; }
.cx[data-stage="3"] .cx-gate.is-h, .cx[data-stage="4"] .cx-gate.is-h { transform: translate(-50%, -50%) scaleX(1); }
.cx-gate i { display: none; }
.cx-gate-l { position: absolute; z-index: 2; left: var(--gx, -99px); top: var(--gly, -99px); transform: translate(-50%, -100%); white-space: nowrap; font-size: 11.5px; font-weight: 500; color: var(--rc-ink-3); opacity: 0; transition: opacity .35s; pointer-events: none; }
.cx[data-stage="3"] .cx-gate-l, .cx[data-stage="4"] .cx-gate-l { opacity: 1; }
.cx-gate-l.is-h { transform: translate(14px, -50%); }

.cx-el { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.cx[data-stage="0"] .cx-el { opacity: .35; }
.cx[data-stage="1"] .cx-agent, .cx[data-stage="1"] .cx-dec, .cx[data-stage="2"] .cx-dec { opacity: .45; }
.cx-pop { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cx[data-stage="0"] .cx-pop, .cx[data-stage="1"] .cx-agent .cx-pop { opacity: 0; transform: translateY(4px); }
.cx[data-stage="1"] .cx-doc .cx-pop { transition-delay: .9s; }
.cx[data-stage="2"] .cx-agent .cx-to { transition-delay: .35s; }

.cx-policy { position: relative; z-index: 1; display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: clamp(22px, 2vw, 28px) 0 0; text-align: center; font-size: 13.5px; color: var(--rc-ink-2); }
.cx-policy span { font-size: 12px; font-weight: 500; color: var(--rc-ink-3); }

.cx-tech { max-width: 1180px; margin: 22px auto 0; }
.cx-tech summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 10px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 500; color: var(--rc-ink-2); transition: background-color .2s, color .2s;
}
.cx-tech summary::-webkit-details-marker { display: none; }
.cx-tech summary:hover { background: var(--rc-well); color: var(--rc-ink); }
.cx-tech summary:focus-visible { outline: 2px solid var(--rc-accent); outline-offset: 2px; }
.cx-tech-ic { position: relative; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--rc-border-2); }
.cx-tech-ic::before, .cx-tech-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s; }
.cx-tech-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.cx-tech[open] .cx-tech-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.cx-tech-in { margin-top: 10px; animation: cx-open .35s var(--ease) both; }
@keyframes cx-open { from { opacity: 0; transform: translateY(-4px); } }
.cx-tech-list { padding: 8px 16px 12px; }
.cx-tech-in .rc-app-cap { margin: 0; }
.cx-foot { max-width: 1180px; margin: 14px auto 0; font-size: 13.5px; line-height: 1.6; color: var(--rc-ink-3); }

html[data-hero-theme="light"] .cx-stage {
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(23, 122, 85, .06) 0%, rgba(23, 122, 85, 0) 100%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAF8 100%);
  border-color: rgba(15, 36, 27, .09); box-shadow: 0 40px 80px -56px rgba(15, 36, 27, .4);
}
html[data-hero-theme="light"] .cx-paper { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(15, 18, 16, .08), 0 16px 30px -20px rgba(15, 36, 27, .35); }
html[data-hero-theme="light"] .cx-card { background: #EEF5F1; border-color: rgba(23, 122, 85, .18); }
html[data-hero-theme="light"] .cx-msg { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(15, 18, 16, .06); }
html[data-hero-theme="light"] .cx-avatar { border-color: #177A55; }
html[data-hero-theme="light"] .cx-avatar::after { background: #177A55; }
html[data-hero-theme="light"] .cx-verdict { background: #FFFFFF; }
html[data-hero-theme="light"] .cx-opt[aria-checked="true"] { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(15, 18, 16, .1), 0 6px 14px -10px rgba(15, 36, 27, .35); }

@media (max-width: 1023px) {
  .cx-row { grid-template-columns: minmax(0, 1fr); row-gap: 64px; max-width: 560px; margin: 0 auto; }
  .cx-dec { margin-left: 0; }
  .cx-bar { justify-content: center; text-align: center; }
}
@media (max-width: 767px) {
  .cx-switch { width: 100%; }
  .cx-opt { flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; }
  .cx-stage { padding: 22px 16px 18px; border-radius: 16px; }
  .cx-row { row-gap: 60px; }
  .cx-v-h { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx *, .cx *::before, .cx *::after { transition: none !important; animation: none !important; }
}
.cx-stage { --fl-line: 242, 241, 236, .36; }
html[data-hero-theme="light"] .cx-stage { --fl-line: 15, 36, 27, .34; }
.cx-gate-l.is-h { white-space: normal; max-width: calc(50% - 46px); line-height: 1.3; }
.cx-tech-list .rc-ctxl { justify-content: flex-start; gap: 12px; }
.cx-tech-list .rc-ctxl > :first-child { min-width: 13.5em; }
@media (max-width: 767px) { .cx-tech-list .rc-ctxl > :first-child { min-width: 0; } .cx-tech-list .rc-ctxl { justify-content: space-between; } }
