/* c-welcome — entry. Layout only; buttons, rows and type come from the shared components. */
.c-welcome {
  min-height: 100dvh;
  padding-top: calc(var(--status-h) + var(--space-32) * 2);
  padding-bottom: var(--space-24);
}
.c-welcome__logo {
  display: block; width: 74px; height: 34px; background: var(--ink);
  -webkit-mask: url('../../assets/taily-logo.svg') no-repeat left center / contain;
  mask: url('../../assets/taily-logo.svg') no-repeat left center / contain;
}
/* signature 1: the garment drawn on a warm tint, tilted */
.c-welcome__hero {
  display: flex; align-items: center; justify-content: center; width: min(160px, 22dvh); height: min(160px, 22dvh);
  margin: var(--rhythm-section) auto var(--rhythm-section); border-radius: var(--radius-full); background: var(--accent-bg);
}
.c-welcome__hero .garment-icon--hero { width: min(128px, 17.6dvh); height: min(128px, 17.6dvh); transform: rotate(-4deg); }
.c-welcome__title { text-wrap: balance; }
.c-welcome__lead { margin: var(--rhythm-group) 0 0; text-wrap: pretty; }
.c-welcome__spacer { flex: 1 1 auto; min-height: var(--space-32); }
.c-welcome__or { display: flex; align-items: center; gap: var(--space-12); margin-block: var(--space-12); }
.c-welcome__or::before, .c-welcome__or::after { content: ""; flex: 1 1 0; height: 1px; background: var(--neutral-200); }
.c-welcome__gap { height: var(--space-8); }
.c-welcome__login { margin: var(--space-20) 0 0; text-align: center; }   /* K-52 (D-420): the returning person's way in */
.c-welcome__legal { margin: var(--rhythm-group) 0 0; text-align: center; }
.c-welcome__tailor { display: block; margin: var(--space-20) 0 0; text-align: center; }
.c-welcome__link {
  display: inline; padding: var(--space-12) var(--space-4); margin: calc(var(--space-12) * -1) calc(var(--space-4) * -1);
  font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px;
}
/* M6-A-02: where the padded hit areas of Terms / Privacy and Join Taily meet, the legal links win (no dead strip on Terms) */
.c-welcome__legal .c-welcome__link { position: relative; z-index: 1; }
/* AU-P2-4: short viewports (390 × 664): the hero is capped by min(…, 22dvh) above; the top and hero margins tighten so Phone, Apple and Google all show */
@media (max-height: 760px) {
  .c-welcome { padding-top: calc(var(--status-h) + var(--space-16)); }
  .c-welcome__hero { margin-block: var(--rhythm-group); }
  .c-welcome__spacer { min-height: var(--space-16); }
}
.c-welcome__deleted { margin: 0 0 var(--rhythm-group); }   /* DG-3 A (pre-MVP B2): after Delete account */
