/* ── Landing Screen ──────────────────────────────────────── */
#landingScreen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.landing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
}

.landing-logo {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.landing-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 16px;
}

.landing-body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.6;
}

.landing-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.btn-accent {
  flex: 1;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 11px 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-accent:hover { opacity: 0.88; }

.btn-outline {
  flex: 1;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 11px 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-outline:hover { background: var(--accent-dim); }

.btn-demo {
  padding: 10px 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: var(--text-md);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-demo:hover {
  color: var(--text);
  border-color: var(--muted);
}

/* ── Auth Screen ─────────────────────────────────────────── */
#authScreen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 360px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.auth-back-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.auth-back-btn:hover {
  color: var(--text);
  background: var(--surface2);
}

.auth-logo {
  text-align: center;
  margin-bottom: 4px;
}

.auth-logo .logo-mark {
  font-size: var(--text-3xl);
}

.auth-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.auth-error {
  color: var(--red);
  font-size: var(--text-sm);
  min-height: 16px;
}

.auth-error-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent-text);
  text-decoration: underline;
  cursor: pointer;
}

.auth-error-link:hover { color: var(--accent); }

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 11px 0;
}

.auth-switch {
  font-size: var(--text-caption);
  color: var(--text-dim);
  text-align: center;
}

.auth-switch span {
  color: var(--accent);
  cursor: pointer;
}

.auth-switch span:hover {
  text-decoration: underline;
}
