/* TsBot redesign — /signup on top of the site's own component styles (panel.css, panel-cust.css, request.css,
   signup.css), which take the new palette and type through the compatibility tokens of ds.css. This file only adjusts
   the page frame. The identity card keeps its moving border: it is the card of this page. */
.su { padding-bottom: 20px; }
.su-bg .su-grid { display: none; }                                   /* ds.css already draws the dot grid */
.su-orb.o2 { background: radial-gradient(circle, rgba(255, 90, 51, .16), transparent 70%); }
.su-head { padding-top: clamp(40px, 6vw, 84px); gap: 20px; }
.su-head h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.su-head h1 .hot { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--fg); letter-spacing: -.01em; font-size: 1.07em; }
.su-head .eyebrow { color: var(--acc-text); border-color: var(--acc-line); background: var(--acc-soft); }

.su-steps li.is-now b { border-color: var(--acc); background: radial-gradient(circle at 30% 30%, #5a2414, #2a130c); box-shadow: 0 0 0 4px rgba(255, 90, 51, .14), 0 0 22px rgba(255, 90, 51, .4); animation: none; }
.su-steps-bar i { background: linear-gradient(90deg, #7a2a12, var(--acc) 60%, #ff9d8a); box-shadow: 0 0 12px rgba(255, 90, 51, .6); }

.su-card { border-radius: var(--r-lg); border-color: var(--line); background: linear-gradient(180deg, var(--glass-2), var(--glass)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 70px -40px rgba(0, 0, 0, .8); }
.su-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.su-card h2 small { color: var(--acc); padding: 4px 8px; border: 1px solid var(--acc-line); border-radius: 999px; font-size: 11px; letter-spacing: .1em; }
.rq-field input, .rq-field select, .pn-field input { border-radius: 12px; }
.rq-field input:focus, .rq-field select:focus, .pn-field input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 90, 51, .16); }
.su-fine a { color: var(--friend); }

/* the identity card: same moving border, accent coral where the old orange was */
.su-idcard { border-radius: var(--r-lg); }
.su-idcard::before { background: conic-gradient(from var(--su-a), transparent 0deg 240deg, rgba(34, 188, 214, .95) 290deg, rgba(83, 224, 143, .8) 320deg, rgba(255, 90, 51, .85) 340deg, transparent 360deg); }
.su-next { border-radius: var(--r-lg); }
.su-next li::before { border-color: var(--acc-line); color: var(--acc); }

.su-main > .stage-note { margin-bottom: 14px; }
form .stage-note { margin: 2px 0 4px; }
.stage-note.is-hit { border-style: solid; border-color: var(--acc); }

@media (max-width: 640px) {
  .su-head h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}

/* ───────────── the new sign-up (phase 1): three steps, one verified channel chosen by the person ───────────── */
.sb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 600px; }
.sb-consent { display: flex; flex-direction: column; gap: 6px; animation: suIn .3s ease-out; }
.sb .rq-cols { align-items: start; }
.sb .su-meter b { white-space: normal; }
.sb .rq-field-foot { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.sb .rq-field.is-bad .rq-hint { display: none; }                   /* the error replaces the hint, never both */

/* step 2 · the channel choice */
.sb-verify h2 { flex-wrap: wrap; }
.sb-ch-list { display: grid; gap: 12px; }
.sb-ch { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px; width: 100%; padding: 16px 18px;
  border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01));
  color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.sb-ch:hover:not(:disabled), .sb-ch:focus-visible { border-color: var(--acc); background: rgba(255, 90, 51, .06); outline: none; }
.sb-ch:active:not(:disabled) { transform: scale(.995); }
.sb-ch:disabled { opacity: .45; cursor: not-allowed; }
.sb-ch.is-busy { border-color: var(--acc); }
.sb-ch.is-busy .sb-ch-go { animation: sbBusy 1s linear infinite; }
.sb-ch-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(34, 188, 214, .45); color: var(--cyan); background: rgba(34, 188, 214, .08); }
.sb-ch-ic.wa { border-color: rgba(37, 211, 102, .45); color: #25d366; background: rgba(37, 211, 102, .08); }
.sb-ch-ic svg, .sb-ch-go svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sb-ch-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sb-ch-txt b { font-size: 16px; font-weight: 600; color: var(--strong); }
.sb-ch-to { font-size: 13px; color: var(--mut); overflow-wrap: anywhere; }
.sb-ch-go { color: var(--dim); display: grid; place-items: center; }
.sb-code { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 4px; }
.sb-code-title { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500; letter-spacing: -.01em; }
.sb-code-lead { margin: 0; max-width: 480px; overflow-wrap: anywhere; }
@keyframes sbBusy { to { transform: rotate(360deg); } }

/* step 3 · the 2FA offer */
.sb-ready { align-items: center; text-align: center; }
.sb-ready .pn-lead { max-width: 520px; margin: 0; }
.sb-r-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sb-ready .su-fine { margin: 0; max-width: 480px; }
.sb-enroll, .sb-codes { align-self: stretch; text-align: left; display: flex; flex-direction: column; gap: 16px; }

/* identity card: e-mail line and the security checklist (also on phones) */
.su-id-lines .sb-id-mail { font-size: 13px; color: var(--soft); overflow-wrap: anywhere; transition: opacity .25s; }
.su-id-lines .sb-id-mail.is-empty { opacity: .45; }
.su-id-lines .sb-id-phone { font-size: 13px; }

/* staging only (preview.tsbot.co): the «Preview next step» box and the «simulated» ribbon */
.sb-sim { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  border: 1px dashed rgba(255, 196, 92, .6); background: rgba(255, 196, 92, .06); text-align: left; align-self: stretch; }
.sb-sim p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--soft); }
.sb-sim .sb-sim-codes { color: var(--mut); }
.sb-sim-tag { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #ffc45c; }
.sb-sim-ribbon { margin: 0; align-self: stretch; padding: 9px 12px; border-radius: 10px; text-align: center;
  font: 600 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #ffc45c;
  border: 1px solid rgba(255, 196, 92, .5); background: repeating-linear-gradient(135deg, rgba(255, 196, 92, .08) 0 10px, rgba(255, 196, 92, .02) 10px 20px); }
.sb-sim-ribbon[hidden], .sb-sim[hidden] { display: none; }

@media (max-width: 640px) {
  .sb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sb .rq-cols { grid-template-columns: 1fr; }
  .sb .su-id-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .sb .su-id-checks li { font-size: 12.5px; align-items: flex-start; }
  .sb .su-id-checks li i { flex: 0 0 auto; margin-top: 1px; }
  .sb-ch { grid-template-columns: 40px minmax(0, 1fr) 16px; padding: 14px; gap: 12px; }
  .sb-ch-ic { width: 40px; height: 40px; }
  .sb-r-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .sb-consent, .sb-ch.is-busy .sb-ch-go { animation: none !important; } }
/* step 1 is judged at step 1: «Continue» looks off while a field is not right yet (a click then only shows what
   is missing), and «there is already an account…» carries its two links */
.sb .rq-submit.is-off { opacity: .5; cursor: not-allowed; }
.sb .rq-submit.is-off:hover svg { transform: none; }
.sb .rq-err a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
