/* Amplifi account-entry theme — shared by login.html, signup.html and
   accept-invite.html. Loaded after styles.css: overrides its design-token
   custom properties (so every existing .btn/.card/.form-input rule already
   built on those tokens repaints automatically) and adds the small set of
   entry-flow-specific pieces (brand lockup, shell layout) so the three
   pages don't each duplicate the same palette and markup. */

:root {
  --primary-50: #eef6f7;
  --primary-100: #d9eaec;
  --primary-200: #b9d7db;
  --primary-300: #86bac1;
  --primary-400: #4f98a3;
  --primary-500: #277785;
  --primary-600: #165f6c;
  --primary-700: #124d58;
  --primary-800: #103f48;
  --primary-900: #17302c;

  --neutral-50: #faf9f6;
  --neutral-100: #f2f0ea;
  --neutral-200: #e6e2d9;
  --neutral-300: #d2ccc0;
  --neutral-400: #9b958a;
  --neutral-500: #736e65;
  --neutral-600: #56524b;
  --neutral-700: #3b3935;
  --neutral-800: #292825;
  --neutral-900: #1b1d1c;

  --bg-primary: #fffefa;
  --bg-secondary: #f5f3ed;
  --bg-tertiary: #ebe8df;
  --bg-hover: #f0eee8;
  --bg-active: #eef6f7;

  --text-primary: #16211f;
  --text-secondary: #56655f;
  --text-tertiary: #8a968f;
  --text-disabled: #b8beb9;

  --border-light: #e6e5dd;
  --border-medium: #d3d1c5;
  --border-dark: #b6b2a4;

  --shadow-sm: 0 1px 2px rgba(20, 32, 30, 0.05);
  --shadow-md: 0 8px 20px rgba(20, 32, 30, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 32, 30, 0.1);
  --shadow-xl: 0 24px 60px rgba(20, 32, 30, 0.12);
  --shadow-2xl: 0 32px 80px rgba(20, 32, 30, 0.16);

  --radius-sm: 0.4rem;
  --radius-md: 0.55rem;
  --radius-lg: 0.65rem;
  --radius-xl: 0.9rem;
  --radius-2xl: 1.25rem;

  /* No page in this flow uses a serif face any more; keep the var mapped
     to Inter (rather than deleting it) so nothing that still references
     font-serif silently falls back to the browser's default serif. */
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --accent-lime: #d6efb0;
}

body {
  font-family: var(--font-sans);
}

/* Pill buttons read like a marketing site, not a workspace; the
   authenticated app already uses a restrained 9px radius (app-redesign.css) */
.btn {
  border-radius: 10px;
  font-weight: 650;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--primary-600);
  border: 1px solid var(--primary-600);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-700);
  border-color: var(--primary-700);
}

.card,
.login-card,
.signup-card,
.invite-container {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg) !important;
}

/* Shared brand lockup: an "A" mark on lime, matching the authenticated
   workspace sidebar (public/css/app-redesign.css .brand-mark), plus the
   wordmark stacked underneath for a centered entry-page header. */
.auth-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-8);
}

.auth-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-lime);
  color: var(--primary-900);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: var(--shadow-sm);
}

.auth-brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.auth-brand-tagline {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* A previously-clickable "Forgot password?" that only alerted "coming
   soon" reads as a broken feature. Keep the exact same behavior (no
   backend reset flow exists) but present it honestly as unavailable
   rather than as a working link. */
.auth-unavailable-link {
  color: var(--text-tertiary) !important;
  cursor: default;
}

.auth-unavailable-link:hover {
  color: var(--text-tertiary) !important;
  text-decoration: none !important;
}
