/* ==========================================================================
   Paigham Send · DS-011 · TheLayoutLoft Parts Line
   Part styles only — all selectors prefixed .pg- . Drop-in safe.
   ========================================================================== */

.pg-btn {
  display: inline-flex; align-items: center; gap: 9px;
  cursor: pointer; position: relative; overflow: visible;
  font: 600 13px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .04em; color: #E8E6F0;
  background: linear-gradient(180deg, #4F46E5, #4338CA);
  border: 1px solid #6D64F0; border-radius: 10px;
  padding: 12px 18px;
  transition: border-color .15s, filter .15s, transform .05s;
  -webkit-user-select: none; user-select: none;
}
.pg-btn:hover { filter: brightness(1.12); }
.pg-btn:active { transform: scale(.97); }
.pg-btn:focus-visible { outline: 2px solid #A5B4FC; outline-offset: 2px; }
.pg-btn.pg-flying { border-style: dashed; }

.pg-icw { position: relative; width: 17px; height: 17px; flex: none; }
.pg-plane, .pg-ck { position: absolute; inset: 0; width: 17px; height: 17px; }
.pg-plane { color: #E8E6F0; }
.pg-ck { color: #34D399; opacity: 0; transform: scale(1.25);
  transition: opacity .15s; }
.pg-ok .pg-ck { opacity: 1; }
.pg-ok .pg-plane { opacity: 0; }
.pg-ok { background: linear-gradient(180deg, #0D9488, #0F766E);
  border-color: #2DD4BF; }
.pg-bad { background: linear-gradient(180deg, #8C3A38, #6E2C2A);
  border-color: #D97706; border-style: dashed; }

.pg-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .pg-btn, .pg-ck, .pg-plane { transition: none; }
}

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
