/* The sign-in page: one centred column on the page background (brand, card, language switch). Only tokens
 * (base.css supplies the components). */
.signin { min-height: 100dvh; display: flex; justify-content: center; align-items: center; padding: calc(var(--space) * 3) calc(var(--space) * 2); }
.column { width: 100%; max-width: calc(var(--space) * 48); display: flex; flex-direction: column; gap: calc(var(--space) * 3); }
.langs { align-self: center; display: inline-flex; padding: calc(var(--space) / 2); gap: calc(var(--space) / 2); border: var(--border-width) solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.langs button { min-width: calc(var(--space) * 6); min-height: calc(var(--control-height) - var(--space) * 1.5); border: 0; border-radius: var(--radius-md); background: transparent; color: var(--color-muted); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-strong); letter-spacing: .06em; cursor: pointer; }
.langs button:hover { color: var(--color-text); }
.langs [aria-pressed="true"] { background: var(--color-primary); color: var(--color-on-primary); }
.brand { display: flex; flex-direction: column; align-items: center; gap: var(--space); text-align: center; }
.brand .i { width: calc(var(--space) * 9); height: calc(var(--space) * 9); stroke: none; fill: currentColor; color: var(--color-primary); }
.brand h1 { margin: 0; font-size: var(--text-2xl); letter-spacing: .02em; }
.product, .eyebrow { margin: 0; font-size: var(--text-sm); font-weight: var(--weight-strong); letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.eyebrow { text-align: center; }
.door { gap: calc(var(--space) * 3); padding: calc(var(--space) * 4); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.step { gap: calc(var(--space) * 2); }
.way { width: 100%; justify-content: center; position: relative; }
.way .i { position: absolute; inset-inline-start: calc(var(--space) * 2); }
.way .logo { fill: initial; stroke: none; }
.link { align-self: center; min-height: var(--control-height); padding: 0 var(--space); border: 0; background: transparent; color: var(--color-muted); font: inherit; font-size: var(--text-sm); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.link:hover { color: var(--color-primary); }
.digits { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space); }
.digits .in { text-align: center; padding: 0; font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
.digits.is-error .in { border-color: var(--color-danger); }
.digits.is-shaking { animation: shake 320ms ease-in-out; }
@keyframes shake { 20%, 60% { transform: translateX(calc(var(--space) / -2)); } 40%, 80% { transform: translateX(calc(var(--space) / 2)); } }
.notice { min-height: calc(var(--space) * 3); font-size: var(--text-sm); color: var(--color-muted); }
.notice:empty { display: none; }
.notice.is-err { color: var(--color-danger); }
.notice.is-ok { color: var(--color-success); }
.door form.stack { gap: calc(var(--space) * 2); }
#email-form { margin-top: var(--space); }
