/* Trust section: illustrative paperwork switcher + company strip (index.html #paperwork) */
.cz-docs-head { max-width: 640px; margin-bottom: 40px; }
.cz-docs-head .cz-hl { display: block; }
.cz-docs-head .cz-copy { margin-top: 18px; }

.cz-docs-card { min-width: 0; margin: 0; padding: 0; border: 6px solid #F5F3ED; border-radius: 22px; background: var(--white); box-shadow: 0 16px 40px -8px rgba(16,24,32,.08), 0 4px 12px rgba(16,24,32,.03); }
.cz-docs-body { display: grid; grid-template-columns: 1fr 1.05fr; }

.cz-docs-list { padding: 28px; }
.cz-docs-list > p { color: var(--muted); font: 600 12px/1.4 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.cz-docs-choices { display: grid; gap: 8px; }
.cz-docs-choice { display: grid; grid-template-columns: 1fr 16px; gap: 12px; padding: 15px 16px; border: 1px solid transparent; border-radius: 16px; cursor: pointer; transition: background-color .25s; }
.cz-docs-choice:hover { background: var(--cream); }
.cz-docs-choice strong { display: block; font: 600 16px/1.3 var(--font-display); }
.cz-docs-choice small { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cz-docs-choice .cz-icon { opacity: 0; margin-top: 3px; }

.cz-docs-stage { display: grid; place-items: center; min-height: 480px; padding: 40px; border-radius: 0 16px 16px 0; background: var(--charcoal); }
.cz-docs-stage { position: relative; isolation: isolate; overflow: hidden; }
.cz-docs-stage::before { content: ''; position: absolute; z-index: -1; inset: 0 -35% 0 -40%; background: #6BBF8C; opacity: .4; pointer-events: none; -webkit-mask: url('../images/flow/ribbon-why.svg') center / 100% 100% no-repeat; mask: url('../images/flow/ribbon-why.svg') center / 100% 100% no-repeat; }
.cz-docs-doc { --back-left: rotate(-8deg) translate(-13px, 8px); --back-right: rotate(5deg) translate(12px, 7px); display: none; width: min(290px, 100%); }
.cz-paper-stack { position: relative; isolation: isolate; }
.cz-paper-stack::before, .cz-paper-stack::after { content: ''; position: absolute; inset: 0; border-radius: 5px; pointer-events: none; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.cz-paper-stack::before { z-index: -2; background: var(--lilac); transform: var(--back-left); }
.cz-paper-stack::after { z-index: -1; background: var(--mint); transform: var(--back-right); }
#doc-inv-view { --back-left: rotate(-5deg) translate(-16px, 6px); --back-right: rotate(8deg) translate(13px, 9px); }
#doc-del-view { --back-left: rotate(-10deg) translate(-10px, 10px); --back-right: rotate(3deg) translate(16px, 6px); }
#doc-pay-view { --back-left: rotate(-6deg) translate(-15px, 10px); --back-right: rotate(7deg) translate(10px, 8px); }
.cz-docs-doc .cz-paper { min-height: 360px; }
.cz-docs-cap { display: none; }

#doc-agr:checked ~ .cz-docs-body #doc-agr-view,
#doc-inv:checked ~ .cz-docs-body #doc-inv-view,
#doc-del:checked ~ .cz-docs-body #doc-del-view,
#doc-pay:checked ~ .cz-docs-body #doc-pay-view { display: block; }
#doc-agr:checked ~ .cz-docs-body #doc-agr-view .cz-paper,
#doc-inv:checked ~ .cz-docs-body #doc-inv-view .cz-paper,
#doc-del:checked ~ .cz-docs-body #doc-del-view .cz-paper,
#doc-pay:checked ~ .cz-docs-body #doc-pay-view .cz-paper { animation: cz-paper-front .45s cubic-bezier(.22,1,.36,1); }
#doc-agr:checked ~ .cz-docs-body [for=doc-agr],
#doc-inv:checked ~ .cz-docs-body [for=doc-inv],
#doc-del:checked ~ .cz-docs-body [for=doc-del] { background: var(--mint); }
#doc-pay:checked ~ .cz-docs-body [for=doc-pay] { background: var(--lilac); }
#doc-agr:checked ~ .cz-docs-body [for=doc-agr] .cz-icon,
#doc-inv:checked ~ .cz-docs-body [for=doc-inv] .cz-icon,
#doc-del:checked ~ .cz-docs-body [for=doc-del] .cz-icon,
#doc-pay:checked ~ .cz-docs-body [for=doc-pay] .cz-icon { opacity: 1; }
#doc-agr:focus-visible ~ .cz-docs-body [for=doc-agr],
#doc-inv:focus-visible ~ .cz-docs-body [for=doc-inv],
#doc-del:focus-visible ~ .cz-docs-body [for=doc-del],
#doc-pay:focus-visible ~ .cz-docs-body [for=doc-pay] { outline: 3px solid var(--green-ink); outline-offset: 3px; }
.cz-docs--js .cz-docs-doc .cz-paper { animation: none !important; }
.cz-paper-ghost { position: absolute !important; inset: 0; z-index: 0; min-height: 0 !important; overflow: hidden; pointer-events: none; }
@keyframes cz-paper-front { from { opacity: .2; transform: translate(18px, 10px) rotate(5deg) scale(.96); } to { opacity: 1; transform: none; } }

/* Illustrative paper */
.cz-paper { position: relative; padding: 22px 22px 18px; border-radius: 5px; background: var(--ivory); color: var(--charcoal); box-shadow: 0 20px 48px -12px rgba(0,0,0,.35); }
.confident .cz-paper .cz-paper-brand { display: block; width: 84px; height: auto; filter: brightness(0); }
.cz-paper h3 { margin-top: 20px; font: 700 18px/1.2 var(--font-display); letter-spacing: -.03em; }
.cz-paper-sub { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.cz-paper-fields { display: grid; gap: 11px; margin-top: 18px; }
.cz-paper-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; line-height: 1.3; }
.cz-paper-f::after { content: ''; flex: 0 0 34%; height: 5px; border-radius: 3px; background: var(--line); }
.cz-paper-box { margin-top: 18px; padding: 12px; border-radius: 8px; background: var(--mint); }
.cz-paper--seller .cz-paper-box { background: var(--lilac); }
.cz-paper-box strong { display: block; font: 600 11px/1.4 var(--font-display); }
.cz-paper-box .cz-paper-f { margin-top: 9px; }
.cz-paper-box .cz-paper-f::after { background: rgba(16,24,32,.14); }
.cz-paper-foot { margin-top: 20px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

/* Company strip */
.cz-docs-company { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.confident .cz-docs-company img { width: 72px; height: 52px; border-radius: 10px; object-fit: cover; }
.cz-docs-company p { flex: 1 1 260px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cz-docs-company p strong { color: var(--charcoal); font-weight: 600; }
.cz-docs-company p > span { display: block; margin-top: 2px; font-size: 13px; }
.cz-docs-company .cz-nowrap { white-space: nowrap; }
.cz-docs-company .cz-link { font-size: 15px; }

@media (max-width: 820px) {
  .cz-docs-body { grid-template-columns: 1fr; }
  .cz-docs-list { padding: 18px 16px 16px; }
  .cz-docs-choices { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
  .cz-docs-choice { display: block; padding: 11px 6px; border: 1px solid var(--line); border-radius: 12px; text-align: center; white-space: nowrap; }
  .cz-docs-choice strong { font-size: 14px; }
  .cz-docs-choice small, .cz-docs-choice .cz-icon { display: none; }
  #doc-agr:checked ~ .cz-docs-body [for=doc-agr],
  #doc-inv:checked ~ .cz-docs-body [for=doc-inv],
  #doc-del:checked ~ .cz-docs-body [for=doc-del],
  #doc-pay:checked ~ .cz-docs-body [for=doc-pay] { border-color: transparent; }
  .cz-docs-stage { min-height: 0; padding: 28px 24px 22px; border-radius: 0 0 16px 16px; }
  .cz-docs-doc { width: min(264px, 100%); }
  .cz-docs-doc .cz-paper { min-height: 0; }
  .cz-docs-cap { display: block; color: var(--muted-on-dark); font-size: 14px; line-height: 1.45; text-align: center; position: relative; margin-top: 40px; }
  .cz-docs-company { align-items: flex-start; }
  .confident .cz-docs-company img { width: 56px; height: 44px; }
  .cz-docs-company p { flex: 1 1 calc(100% - 80px); }
  .cz-docs-company .cz-link { margin-left: 68px; }
}
@media (max-width: 560px) {
  .cz-docs-head { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-docs-doc .cz-paper { animation: none !important; }
  .cz-paper-stack::before, .cz-paper-stack::after { transition: none; }
  .cz-docs-choice { transition: none; }
}
.cz-docs .cz-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
