/* Sign-in and first-access pages, after the Passi ones: a header with the mark, the product's name
   set very large behind a centred card, and the institutional footer. Built from the system's
   tokens and components, scoped to #studio-system like the hub. */
html, body { margin: 0; min-height: 100%; background: var(--st-canvas); }
#studio-system.acc-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--st-canvas); --app-gutter: clamp(16px, 3.4vw, 48px); }

#studio-system .acc-header {
  min-height: 72px; padding: 16px var(--app-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--st-surface); border-bottom: 1px solid var(--st-border); position: relative; z-index: 1;
}
#studio-system .acc-header .st-brand { text-decoration: none; }
#studio-system .acc-help { border-radius: 999px; padding-inline: 18px; }

#studio-system .acc-main { flex: 1; display: grid; place-items: center; position: relative; overflow: hidden; padding: 48px 20px; }
/* The name behind the card: decoration only, so it never takes a pointer or a selection. */
#studio-system .acc-word {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%);
  font-size: clamp(170px, 28vw, 500px); font-weight: 900; letter-spacing: -0.07em; line-height: 1; white-space: nowrap;
  color: var(--st-brand-soft); -webkit-text-stroke: 1px color-mix(in srgb, var(--st-brand) 24%, transparent);
  pointer-events: none; user-select: none;
}
#studio-system .acc-content { position: relative; z-index: 1; width: min(100%, 460px); text-align: center; }
#studio-system .acc-eyebrow { color: var(--st-brand); letter-spacing: .21em; margin-bottom: 14px; }
#studio-system .acc-content h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.07; letter-spacing: -0.045em; margin-bottom: 16px; }
#studio-system .acc-intro { font-size: 16px; }
/* The headline may run wider than the card so that it stays on one line. */
@media (min-width: 720px) { #studio-system .acc-content h1 { margin-inline: -100px; } }

#studio-system .acc-card {
  margin-top: 30px; padding: 28px; text-align: left;
  background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 20px; box-shadow: var(--st-shadow);
}
#studio-system .acc-caption { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--st-border); font-weight: 650; }
#studio-system .acc-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--st-brand); }
#studio-system .acc-card .st-input { min-height: 48px; }
#studio-system .acc-password { position: relative; }
#studio-system .acc-password .st-input { padding-right: 88px; }
#studio-system .acc-password button { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--st-brand); font-size: 12px; font-weight: 650; }
#studio-system .acc-submit { width: 100%; min-height: 48px; margin-top: 8px; font-size: 14px; gap: 12px; }
#studio-system .acc-submit span { font-size: 18px; line-height: 1; }
#studio-system .acc-note { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--st-border); font-size: 12px; line-height: 1.7; }
#studio-system .acc-account { margin-bottom: 16px; font-size: 13px; }
#studio-system .acc-error { margin: 0 0 14px; padding: 12px; border-radius: 8px; background: var(--st-danger-soft); color: var(--st-danger); font-size: 13px; }
#studio-system .acc-after { margin-top: 24px; }

@media (max-width: 480px) {
  #studio-system .acc-main { padding: 32px 16px; }
  #studio-system .acc-card { padding: 22px; margin-top: 24px; }
  #studio-system .acc-content h1 { font-size: 36px; }
  #studio-system .acc-intro { font-size: 14px; }
  #studio-system .acc-help { font-size: 12px; padding-inline: 14px; }
}
