/* Shared service demonstration panel (Proposal A and the home page). */
/* The registry panel ------------------------------------------------- */
.a-demo {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: 0 1px 0 rgba(92,36,103,.04), 0 24px 60px -24px rgba(92,36,103,.35);
	overflow: hidden;
	scroll-margin-top: 110px;
}
.a-demo.is-pulse { animation: a-pulse 1.1s var(--ease); }
@keyframes a-pulse { 0% { box-shadow: 0 0 0 0 rgba(147,55,142,.45), 0 24px 60px -24px rgba(92,36,103,.35); } 100% { box-shadow: 0 0 0 18px rgba(147,55,142,0), 0 24px 60px -24px rgba(92,36,103,.35); } }
.a-demo__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; background: var(--deep); color: #fff; }
.a-demo__title { font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.a-demo__chip { font-size: 12px; font-weight: 600; letter-spacing: .04em; background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 999px; }

.a-rail { list-style: none; margin: 0; padding: 18px 22px 6px; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.a-rail li { position: relative; font-size: 12.5px; font-weight: 600; color: #8B8292; text-align: center; padding-top: 22px; }
.a-rail li::before {
	content: ""; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
	border-radius: 50%; background: var(--white); border: 2px solid var(--lilac); z-index: 1;
	transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.a-rail li::after { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.a-rail li:first-child::after { display: none; }
.a-rail li.is-done { color: var(--ink-2); }
.a-rail li.is-done::before { background: var(--green); border-color: var(--green); }
.a-rail li.is-done::after, .a-rail li.is-now::after { background: var(--green); }
.a-rail li.is-now { color: var(--deep); }
.a-rail li.is-now::before { border-color: var(--plum); background: var(--plum); transform: scale(1.25); }

.a-demo__stage { padding: 14px 22px 22px; min-height: 318px; }
.a-pane { animation: a-in .45s var(--ease); }
@keyframes a-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.a-pane__who { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); margin-bottom: 12px; }
.a-form { margin: 0 0 14px; display: grid; gap: 8px; }
.a-form div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; align-items: baseline; padding: 9px 12px; background: var(--lav); border-radius: var(--r-sm); }
.a-form dt { font-size: 13px; color: var(--ink-2); }
.a-form dd { margin: 0; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.a-docs, .a-checks { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.a-docs li { font-size: 13px; font-weight: 500; padding: 6px 10px 6px 28px; border: 1px solid var(--line); border-radius: 999px; position: relative; }
.a-docs li::before, .a-checks li::before {
	content: ""; position: absolute; left: 10px; top: 50%; width: 10px; height: 6px; margin-top: -5px;
	border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.a-checks { flex-direction: column; gap: 10px; }
.a-checks li { position: relative; padding: 11px 12px 11px 34px; background: var(--lav); border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; }
.a-checks li::before { left: 13px; }
.a-invoice { padding: 16px 18px; border: 1px dashed var(--lilac); border-radius: var(--r-md); margin-bottom: 18px; }
.a-invoice__head { font-family: var(--f-display); font-weight: 600; color: var(--deep); margin-bottom: .4em; }
.a-invoice p { font-size: 14.5px; }
.a-invoice__state { margin: 0; font-weight: 600; color: var(--plum); }
.a-cert {
	text-align: center; padding: 20px 18px 18px; margin-bottom: 16px;
	border: 2px solid var(--lilac); border-radius: var(--r-md);
	background: linear-gradient(180deg, var(--lav), #fff 70%);
}
.a-cert img { margin: 0 auto 10px; }
.a-cert p { margin: 0; }
.a-cert__kind { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); }
.a-cert__name { font-family: var(--f-display); font-weight: 600; font-size: 24px; color: var(--deep); margin: 6px 0 4px !important; }
.a-cert__code { font-size: 15px; }
.a-cert__code strong { font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--deep); }
.a-cert__small { font-size: 12.5px; color: var(--ink-2); margin-top: 6px !important; }
.a-demo__go { width: 100%; justify-content: center; }
.a-demo__foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); background: #FCFAFC; }
.a-demo__foot strong { font-variant-numeric: tabular-nums; color: var(--deep); }


@media (max-width: 620px) {
	.a-rail li { font-size: 11px; }
	.a-form div { grid-template-columns: 1fr; gap: 2px; }
}
