/* "See how it works" reading panel (shared with complyvane.com). */
.panel[data-explain] { cursor: pointer; }
.explain-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--accent); cursor: pointer; margin-right: 16px; }
/* The reading panel */
html.x-open { overflow: hidden; }
dialog.explain { width: min(780px, calc(100vw - 32px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--text);
  box-shadow: 0 2px 0 var(--accent) inset, 0 40px 120px -30px rgba(4,10,20,.75); overflow: hidden; font-family: var(--font); }
dialog.explain::backdrop { background: rgba(8,16,28,.58); backdrop-filter: blur(4px); }
dialog.explain[open] { display: flex; flex-direction: column; animation: x-in .22s ease-out; }
@keyframes x-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.explain[open] { animation: none; } }
.x-close { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 9px 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.x-close:hover, .x-close:focus-visible { background: var(--accent); }
.x-body { overflow: auto; overscroll-behavior: contain; padding: 34px 36px 30px; }
.x-body .x-shot { display: block; width: 100%; height: auto; border-radius: 14px; margin: 26px 0 22px; box-shadow: 0 14px 40px -18px rgba(4,10,20,.5); }
.x-body h2 { font-size: 30px; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin: 0 90px 10px 0; }
.x-body h3 { font-size: 18px; color: var(--ink); margin: 22px 0 10px; }
.x-body p { line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
.x-body .x-intro { font-size: 18px; color: var(--text); }
.x-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 54px; border-radius: 14px; background: #f3f6f8; line-height: 1.55; }
.x-steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.x-body .ticks { margin: 0 0 8px; }
.x-body .note { font-size: 14px; margin-top: 14px; }
.x-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.x-more .btn.small { padding: 9px 16px; font-size: 14px; }
.x-body .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 640px) { .x-body { padding: 26px 20px 22px; } .x-body h2 { font-size: 24px; margin-right: 80px; } .card.screen { width: 300px; } }
