.product-code { min-width: 0; width: 100%; margin: 0; overflow: hidden; border: 1px solid #cbd8ee; border-radius: 16px; background: #101d39; color: #e8efff; box-shadow: 0 20px 48px rgb(16 29 57 / .12); }
.product-code__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid #30405e; font-size: 12px; color: #c0d0ee; }
.product-code__lines { margin: 0; padding: 28px 24px 28px 52px; list-style: decimal-leading-zero; font: 13px/1.8 ui-monospace, Consolas, monospace; }
.product-code__lines li { padding-left: 8px; color: #aec6f1; animation: product-code-line 8s linear infinite; animation-delay: calc(var(--line-index) * .15s); }
.product-code__lines li::marker { color: #8ea2c7; }
.product-code__lines code { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.product-code__response { min-height: 148px; padding: 20px 24px; background: #edf4ff; color: #214a85; }
.product-code__response > span { font-size: 12px; }
.product-code__response pre { margin: 12px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.65 ui-monospace, Consolas, monospace; animation: product-response 8s ease infinite; }
.product-code figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; font-size: 11px; color: #c0d0ee; }
.product-code button { min-height: 44px; border: 0; padding: 8px 0; color: #d3e1ff; background: transparent; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.product-code button:focus-visible { outline: 2px solid #aec6f1; outline-offset: 4px; }
.product-code:not(.is-playing) * { animation-play-state: paused; }
.product-value-demo { display: flex; min-height: var(--product-demo-height, 208px); padding: 24px; flex-direction: column; gap: 24px; background: #edf4ff; border-radius: 12px; color: #17376c; }
.product-value-demo__header { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.product-value-demo__header strong { flex: 1; }
.product-value-demo__header > span:last-child { color: #526481; font-size: 11px; }
.product-value-demo__dot { width: 8px; height: 8px; border-radius: 50%; background: #2868ed; flex: 0 0 auto; }
.product-value-demo__content { display: grid; gap: 12px; }
.product-value-demo__content p { width: fit-content; max-width: 100%; margin: 0; padding: 12px 16px; border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.product-value-demo .sms-values__caption { margin-top: auto; }
@keyframes product-code-line { 0%,10% { color: #aec6f1; background: transparent; } 18%,38% { color: #fff; background: #244576; } 48%,100% { color: #aec6f1; background: transparent; } }
@keyframes product-response { 0%,30% { opacity: .3; transform: translateY(6px); } 45%,94% { opacity: 1; transform: translateY(0); } 100% { opacity: .3; transform: translateY(6px); } }
@media (max-width: 620px) { .product-code__lines { padding: 20px 16px 20px 40px; font-size: 12px; } .product-code__toolbar,.product-code__response,.product-code figcaption { padding-inline: 20px; } .product-value-demo { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .product-code * { animation: none !important; } }
