/* Saath — DS-031 · TheLayoutLoft Parts Line — DESI tag
   +91 phone input — tricolour-touched prefix chip, 5+5 grouping,
   emerald validity tick. All .st- prefixed. */
.st-field {
  display:inline-flex; align-items:center; gap:0;
  height:52px; border-radius:14px; overflow:hidden;
  background:#12151E; border:1px solid rgba(255,255,255,.12);
  transition:border-color .25s, box-shadow .25s;
  font:600 17px/1 ui-sans-serif,system-ui,sans-serif;
}
.st-field:focus-within { border-color:rgba(255,255,255,.3); }
.st-field[data-st="valid"] { border-color:#34D399;
  box-shadow:0 0 0 3px rgba(52,211,153,.12); }

.st-pre {
  display:flex; align-items:center; gap:7px; height:100%;
  padding:0 13px; color:#8B93A7; font-size:.82em;
  background:rgba(255,255,255,.05); border-right:1px solid rgba(255,255,255,.09);
  user-select:none;
}
.st-pre::before { content:''; width:15px; height:11px; border-radius:2px;
  background:linear-gradient(180deg,#FF9933 0 33%,#F8FAFC 33% 66%,#138808 66%);
  box-shadow:0 0 0 .5px rgba(255,255,255,.2); }

.st-input {
  border:none; background:none; outline:none; color:#F8FAFC;
  font:inherit; letter-spacing:.08em; padding:0 14px; width:12.5ch;
}
.st-input::placeholder { color:#3A4054; letter-spacing:.05em; font-weight:400; }
.st-field[data-st="valid"] .st-input { color:#A7F3D0; }

.st-tick {
  width:20px; height:20px; flex:none; margin:0 14px 0 2px; border-radius:50%;
  background:rgba(52,211,153,.15); border:1px solid rgba(52,211,153,.4);
  opacity:0; transform:scale(.4);
  transition:opacity .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
  position:relative;
}
.st-tick::after {
  content:''; position:absolute; left:5.5px; top:4px;
  width:5px; height:9px; border:solid #34D399; border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.st-tick.st-on { opacity:1; transform:scale(1); }

.st-field.st-ping { animation:st-ping .4s ease-out; }
@keyframes st-ping {
  0% { box-shadow:0 0 0 0 rgba(52,211,153,.4); }
  100% { box-shadow:0 0 0 9px rgba(52,211,153,0); }
}
@media (prefers-reduced-motion:reduce) {
  .st-tick { transition:none; }
  .st-field.st-ping { animation: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; } }
