@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.growth-auth {
  --auth-accent: #075f93;
  --auth-ink: #1d2b3b;
  --auth-muted: #647387;
  --auth-border: #e2e8ee;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 24px;
  background: #f6f8fa;
  color: var(--auth-ink);
  font: 14px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
}
.growth-auth .auth-card {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  border: 1px solid var(--auth-border);
  border-radius: 16px;
  padding: 36px;
  background: white;
  box-shadow: 0 12px 40px #1d2b3b05;
}
.growth-auth .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.growth-auth .auth-brand-logo { width: 226px; max-width: 100%; height: 90px; object-fit: contain; margin: -16px 0 -14px -6px; }
.growth-auth .auth-app-name { margin-top: 0; font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: .08em; color: var(--auth-muted); }
.growth-auth h1 { margin: 28px 0 12px; font-size: 28px; line-height: 1.3; letter-spacing: -.035em; font-weight: 650; overflow-wrap: anywhere; }
.growth-auth p { color: var(--auth-muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.growth-auth label { font-size: 12px; font-weight: 600; line-height: 1.5; margin: 20px 0 6px; }
.growth-auth input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #cbd6e0;
  border-radius: 8px;
  padding: 9px 12px;
  background: white;
  color: var(--auth-ink);
  font: 14px/20px Inter, "Segoe UI", system-ui, sans-serif;
}
.growth-auth input[readonly] { background: #f6f8fa; }
.growth-auth button {
  min-height: 40px;
  border: 1px solid var(--auth-accent);
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--auth-accent);
  color: white;
  font: 600 13px/20px Inter, "Segoe UI", system-ui, sans-serif;
  white-space: normal;
  overflow-wrap: anywhere;
}
.growth-auth button:hover:not(:disabled) { background: #064b75; border-color: #064b75; }
.growth-auth button:disabled { opacity: .6; cursor: not-allowed; }
.growth-auth button.secondary { background: white; color: var(--auth-accent); border-color: #cbd6e0; }
.growth-auth button.secondary:hover:not(:disabled) { background: #edf5fb; }
.growth-auth button.link { min-height: 40px; border-color: transparent; padding: 8px 0; margin-top: 0; background: transparent; color: var(--auth-accent); font-size: 12px; }
.growth-auth button.link:hover:not(:disabled) { background: transparent; color: #064b75; text-decoration: underline; text-underline-offset: 3px; }
.growth-auth .links { gap: 8px 16px; margin-top: 12px; }
.growth-auth .existing-account .link { font-size: 12px; }
.growth-auth a { color: var(--auth-accent); text-underline-offset: 3px; }
.growth-auth :is(a, button, input):focus-visible { outline: 2px solid var(--auth-accent); outline-offset: 3px; box-shadow: 0 0 0 2px white; }
.growth-auth :is(#title, #status):focus { outline: none; }
.growth-auth .hint { color: var(--auth-muted); font-size: 12px; line-height: 1.6; }
.growth-auth .note { margin: 28px 0 0; padding-top: 20px; border-color: var(--auth-border); color: var(--auth-muted); font-size: 12px; line-height: 1.8; }
.growth-auth .status { margin: 20px 0; padding: 14px 16px; border: 1px solid #d4e4ee; border-radius: 8px; background: #edf5fb; color: #245a80; font-size: 13px; line-height: 1.65; }
.growth-auth .status.error { color: #a52e43; border-color: #efcbd3; background: #fceef0; }
.growth-auth .status.success { color: #24664d; border-color: #c8e2d3; background: #eaf5ef; }
.growth-auth .step-icon { width: 48px; height: 48px; margin-top: 24px; border-radius: 12px; background: #edf5fb; color: var(--auth-accent); font-size: 24px; }
.growth-auth .step-label { margin-top: 20px; font-size: 12px; color: var(--auth-muted); line-height: 1.5; letter-spacing: .04em; }
.growth-auth .step-label + h1 { margin-top: 10px; }
.growth-auth .email-card { margin: 24px 0; padding: 16px; border-color: var(--auth-border); border-radius: 10px; background: #f6f8fa; }
.growth-auth .email-card span { color: var(--auth-muted); font-size: 12px; letter-spacing: .04em; }
.growth-auth .email-card strong { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.growth-auth ol { color: #40566b; font-size: 14px; line-height: 1.65; }

@media (max-width: 640px) {
  .growth-auth input, .growth-auth button, .growth-auth button.link { min-height: 44px; }
}
@media (max-width: 600px) {
  .growth-auth { padding: 24px 16px; }
  .growth-auth .auth-card { padding: 28px 24px; }
  .growth-auth h1 { font-size: 26px; }
  .growth-auth .links { align-items: flex-start; }
}
@media (max-width: 360px) {
  .growth-auth { padding: 16px 12px; }
  .growth-auth .auth-card { padding: 24px 20px; }
  .growth-auth .auth-brand-logo { width: 210px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .growth-auth *, .growth-auth *::before, .growth-auth *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  .growth-auth :is(a, button, input):focus-visible { outline-color: Highlight; box-shadow: none; }
}
